* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.menuBarIcon {
  font-size: 24px;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .menuBarIcon {
    display: none !important;
  }
}






    @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

    body {
      font-family: "Poppins", sans-serif;
    }

    /* ── Sliders ── */
    .vegetablesSlider {
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .vegetablesSlider.slick-initialized {
      visibility: visible;
      opacity: 1;
    }

    .vegetablesSlider .slick-track {
      margin-left: 0 !important;
    }

    .vegetablesSlider .slick-dots {
      bottom: -10px !important;
      position: relative;
      margin-top: 10px;
      display: flex !important;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 0;
      list-style: none;
    }

    .vegetablesSlider .slick-dots li {
      margin: 0 !important;
      width: 8px !important;
      height: 8px !important;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .vegetablesSlider .slick-dots li button {
      width: 8px !important;
      height: 8px !important;
      padding: 0 !important;
    }

    .vegetablesSlider .slick-dots li button:before {
      font-size: 6px !important;
      width: 8px !important;
      height: 8px !important;
      line-height: 8px !important;
      color: #d1d5db !important;
      opacity: 1 !important;
      transition: all 0.3s ease;
    }

    .vegetablesSlider .slick-dots li.slick-active button:before {
      color: #E0509F !important;
      font-size: 8px !important;
    }

    .vegetablesSlider .slick-dots li button:hover:before {
      color: #E0509F !important;
    }

    /* ── Sidebar ── */
    #sidebar {
      transition: transform 0.3s ease-in-out;
    }

    #sidebarOverlay {
      transition: opacity 0.3s ease-in-out;
    }

    #sidebarOverlay.show {
      display: block;
      opacity: 1;
    }

    body.sidebar-open {
      overflow: hidden;
    }

    /* ── Cart ── */
    #cartSidebar {
      transition: transform 0.3s ease-in-out;
    }

    #cartSidebar.open {
      transform: translateX(0);
    }

    #cartOverlay {
      transition: opacity 0.3s ease-in-out;
    }

    body.cart-open {
      overflow: hidden;
    }

    #cartItems::-webkit-scrollbar {
      width: 6px;
    }

    #cartItems::-webkit-scrollbar-thumb {
      background: #E0509F;
      border-radius: 10px;
    }

   @media (max-width: 640px) {
      #cartSidebar {
        width: 80%;
      }
    }
    
  /* Sidebar open — blur effect */
body.sidebar-open #navbar,
body.sidebar-open main,
body.sidebar-open footer,
body.sidebar-open nav.fixed.bottom-0 {
  filter: blur(3px);
  pointer-events: none;
  transition: filter 0.3s ease;
}

body:not(.sidebar-open) #navbar,
body:not(.sidebar-open) main,
body:not(.sidebar-open) footer,
body:not(.sidebar-open) nav.fixed.bottom-0 {
  filter: blur(0);
  pointer-events: auto;
  transition: filter 0.3s ease;
}

    .cart-item {
      opacity: 0;
      animation: fadeInUp 0.3s ease-in-out forwards;
    }

    #cartSidebar.open .cart-item:nth-child(1) { animation-delay: 0.1s; }
    #cartSidebar.open .cart-item:nth-child(2) { animation-delay: 0.15s; }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: none; }
    }

    /* ── Marquee ── */
    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .animate-marquee {
      display: flex;
      width: max-content;
      animation: marquee 25s linear infinite;
    }

    .marquee-container:hover .animate-marquee {
      animation-play-state: paused;
    }

    /* ── Reviews ── */
    .reviewSlider { padding-bottom: 40px; }
    .reviewSlider .slick-dots { bottom: 0; position: absolute; }
    .reviewSlider .slick-dots li.slick-active button:before { color: #E0509F !important; }

    /* ── Badge pulse ── */
    .badge-pulse { animation: bpulse 2s infinite; }
    @keyframes bpulse {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.7; }
    }

    /* ══════════════════════════════════════════
       PRODUCT CARD
    ══════════════════════════════════════════ */
    .gadget-card {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .product-img-wrap {
      position: relative;
      width: 100%;
      /* Fixed aspect ratio — সব card এ height-width সমান */
      aspect-ratio: 1 / 1;
      overflow: hidden;
      background: #f9fafb;
      flex-shrink: 0;
    }

    /* ✅ object-contain — যেকোনো size image crop ছাড়া fit হবে */
    .product-img-wrap img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 8px;
      transition: transform 0.5s ease;
      background: #f9fafb;
    }

    /* Primary / Hover image swap */
    .product-img-wrap .primary-img {
      transition: opacity 0.4s ease, transform 0.5s ease;
    }
    .product-img-wrap .hover-img {
      opacity: 0;
      transform: translateX(100%);
      transition: opacity 0.4s ease, transform 0.5s ease;
    }
    .gadget-card:hover .primary-img {
      opacity: 0;
      transform: scale(1.04);
    }
    .gadget-card:hover .hover-img {
      opacity: 1;
      transform: translateX(0);
    }

    /* Cart overlay */
    .cart-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .gadget-card:hover .cart-overlay { opacity: 1; }

    /* Card info */
    .card-info {
      padding: 10px 12px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .card-info h3 {
      font-size: 12px;
      font-weight: 600;
      color: #441F60;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 8px;
    }

    @media (min-width: 768px) {
      .card-info h3 { font-size: 14px; }
    }

    .card-bottom {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }

    .card-price {
      font-size: 13px;
      font-weight: 900;
      color: #111;
      margin: 0;
    }

    .card-price-old {
        font-size: 12px;
        color: #E0509F;   /* ← grey থেকে pink */
        text-decoration: line-through;
        margin: 0;
    }
    
    .card-bottom > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
   }

    @media (min-width: 768px) {
      .card-price { font-size: 15px; }
    }

    /* Buy button */
    .buy-btn {
      background-color: #441F60;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 8px;
      transition: background-color 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      /* Mobile: circle */
      width: 34px;
      height: 34px;
      font-size: 14px;
      padding: 0;
    }

    .buy-btn:hover { background-color: #E0509F; }
    .buy-btn .btn-text { display: none; }

    @media (min-width: 768px) {
      .buy-btn {
        width: auto;
        height: auto;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 700;
        gap: 5px;
        border-radius: 8px;
      }
      .buy-btn .btn-text { display: inline; }
    }

    /* Product Grid */
    .product-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 768px) {
      .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    }

    @media (min-width: 1024px) {
      .product-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
    }

    .product-grid > a { display: flex; flex-direction: column; height: 100%; }

    /* ══════════════════════════════════════════
       SECTION BAR
    ══════════════════════════════════════════ */
    .section-bar {
      display: flex;
      width: 100%;
      height: 48px;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    @media (min-width: 768px) {
      .section-bar { height: 56px; }
    }

    .section-bar-left {
      display: flex;
      align-items: center;
      padding: 0 20px;
      background: #441F60;
      width: 68%;
      position: relative;
      flex-shrink: 0;
    }

    .section-bar-left::after {
      content: '';
      position: absolute;
      right: -1px;
      top: 0;
      bottom: 0;
      width: 40px;
      background: #C0392B;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%);
    }

    @media (min-width: 768px) {
      .section-bar-left { padding: 0 32px; }
      .section-bar-left::after { width: 56px; }
    }

    .section-bar-left h2 {
      color: white;
      font-weight: 600;
      font-size: 13px;
      white-space: nowrap;
      position: relative;
      z-index: 1;
    }

    @media (min-width: 768px) {
      .section-bar-left h2 { font-size: 18px; }
    }

    .section-bar-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 0 16px;
      background: #E0509F;
      flex: 1;
      text-decoration: none;
    }

    @media (min-width: 768px) {
      .section-bar-right { padding: 0 28px; }
    }

    .section-bar-right span {
      color: white;
      font-weight: 600;
      font-size: 11px;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    @media (min-width: 768px) {
      .section-bar-right span { font-size: 14px; }
    }

    /*html, body {*/
    /*  overflow-x: hidden;*/
    /*  max-width: 100%;*/
    /*}*/
    
    
    html {
        overflow-x: clip;
    }
    body {
        overflow-x: clip;
        max-width: 100%;
    }

 