@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f7faf7;
    color: #333;
}




/* ==========================================================================
   PURE REALISTIC 3D GLASS HEADER - DYNAMIC SEQUENTIAL COLOR GLOW (TALLER HEIGHT)
   ========================================================================= */

/* ১. এক এক চক্রে কালার পরিবর্তন হয়ে ডান থেকে বামে লাইট সুইপ করার স্মুথ অ্যানিমেশন */
@keyframes dynamicMultiColorSweep {
  /* Phase 1: সবুজ (Green) + সাদা */
  0% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(34, 197, 94, 0.6) 55%, transparent 100%);
  }
  3% { opacity: 1; }
  13% { opacity: 1; }
  15% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(34, 197, 94, 0.6) 55%, transparent 100%);
  }

  /* Phase 2: লাল (Red) + সাদা */
  17% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(239, 68, 68, 0.6) 55%, transparent 100%);
  }
  20% { opacity: 1; }
  30% { opacity: 1; }
  32% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(239, 68, 68, 0.6) 55%, transparent 100%);
  }

  /* Phase 3: নীল (Blue) + সাদা */
  34% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(59, 130, 246, 0.6) 55%, transparent 100%);
  }
  37% { opacity: 1; }
  47% { opacity: 1; }
  49% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(59, 130, 246, 0.6) 55%, transparent 100%);
  }

  /* Phase 4: বেগুনি (Purple) + সাদা */
  51% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(168, 85, 247, 0.6) 55%, transparent 100%);
  }
  54% { opacity: 1; }
  64% { opacity: 1; }
  66% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(168, 85, 247, 0.6) 55%, transparent 100%);
  }

  /* Phase 5: হলুদ (Yellow) + সাদা */
  68% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(234, 179, 8, 0.7) 55%, transparent 100%);
  }
  71% { opacity: 1; }
  81% { opacity: 1; }
  83% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(234, 179, 8, 0.7) 55%, transparent 100%);
  }

  /* Phase 6: পিঙ্ক (Pink) + সাদা */
  85% {
    transform: translateX(100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(236, 72, 153, 0.6) 55%, transparent 100%);
  }
  88% { opacity: 1; }
  98% { opacity: 1; }
  100% {
    transform: translateX(-100%);
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(236, 72, 153, 0.6) 55%, transparent 100%);
  }
}

/* ২. মেইন ৩ডি গ্লাস হেডার (উচ্চতা বাড়ানো হয়েছে padding দিয়ে) */
.main-header {
  position: relative;
  margin: 12px auto 15px auto;
  width: calc(100% - 32px);
  max-width: 1200px;
  
  /* 🔹 পরিবর্তন ১: padding বাড়িয়ে 16px 20px করা হয়েছে (আগে ছিল 10px 16px) */
  padding: 16px 20px; 
  
  border-radius: 18px;
  overflow: hidden;
  z-index: 50;

  /* ফ্রস্টেড গ্লাস ইফেক্ট */
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);

  /* থ্রিডি এজ বর্ডার */
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;

  /* ডেপথ শ্যাডো */
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.12),
    0 8px 16px -8px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(0, 0, 0, 0.04);

  transition: all 0.3s ease;
}

/* ৩. গ্লাসের পেছনে ডাইনামিক লাইট লেয়ার */
.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  animation: dynamicMultiColorSweep 18s ease-in-out infinite;
}

/* ৪. হেডার কন্টেইনার */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ৫. ব্র্যান্ড এরিয়া */
.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#menuToggle {
  font-size: 1.15rem;
  color: #1e293b;
  cursor: pointer;
  
  /* 🔹 পরিবর্তন ২: বাটন হাইট সামঞ্জস্য করতে ৪৬ পিক্সেল করা হয়েছে */
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

#menuToggle:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.site-logo {
  /* 🔹 পরিবর্তন ৩: লোগোর সর্বোচ্চ হাইট বাড়িয়ে ৪২ পিক্সেল করা হয়েছে */
  max-height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}

.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
  white-space: nowrap;
}

/* ৪. ৩ডি গ্লাস সার্চ বক্স */
.search-box {
  flex: 1;
  position: relative; /* এটি ড্রপডাউনকে নিজের ভেতর অ্যাঙ্কর করে রাখবে */
  max-width: 500px;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  height: 42px;
  padding: 10px 16px 10px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.search-box input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: #0284c7;
  box-shadow: 
    0 0 0 4px rgba(2, 132, 199, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: #0284c7;
  font-size: 0.95rem;
  pointer-events: none;
}

/* --- নতুন যুক্ত করা ড্রপডাউন স্টাইল (হেডার ভাঙবে না) --- */
#searchSuggestions {
  position: absolute;
  top: calc(100% + 8px); /* সার্চ ইনপুটের ঠিক ৮ পিক্সেল নিচে ভাসবে */
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  z-index: 9999; /* যেন অন্য যেকোনো সেকশনের উপরে ভেসে ওঠে */
  display: none;
  max-height: 360px;
  overflow-y: auto;
}

/* ৭. কার্ট বাটন */
.cart-icon-wrapper {
  flex-shrink: 0;
}

.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* 🔹 পরিবর্তন ৫: কার্ট বাটনের হাইট/উইডথ বাড়িয়ে ৪৬ পিক্সেল করা হয়েছে */
  width: 46px;
  height: 46px;
  
  border-radius: 14px;
  text-decoration: none;
  font-size: 1.1rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
}

.cart-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 8px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* ==========================================================================
   ৮. মোবাইল ও ট্যাবলেট রেসপন্সিভ মিডিয়া কোয়েরি
   ========================================================================= */
@media screen and (max-width: 768px) {
  .main-header {
    width: 100%;
    margin: 0 0 12px 0;
    border-radius: 0 0 18px 18px;
    padding: 12px 14px; /* মোবাইলেও ব্যালেন্সড হাইট থাকবে */
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
  }

  .header-container {
    gap: 10px;
  }

  .site-title {
    font-size: 1.05rem;
  }

  .search-box {
    max-width: 100%;
  }

  .search-box input {
    height: 40px;
    font-size: 0.85rem;
    padding-left: 34px;
  }

  .search-icon {
    left: 12px;
    font-size: 0.88rem;
  }

  #menuToggle, .cart-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .site-title {
    display: none;
  }
}



/* ==========================================================================
   PREMIUM GLASS SIDEBAR DRAWER STYLES (FIXED POSITIONING & SMOOTH SLIDE)
   ========================================================================= */

/* ব্যাকড্রপ ওভারলে */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* মেইন সাইডবার ড্রয়ার */
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0; /* বাম পজিশনে লক করা হলো */
    width: 290px;
    max-width: 80vw;
    height: 100vh;
    height: 100dvh; /* মোবাইল ভিউপোর্টের সামঞ্জস্যতার জন্য */
    z-index: 999;
    padding: 24px 20px;
    box-sizing: border-box;

    /* স্ক্রিনের বামে একদম লুকিয়ে রাখা হলো */
    transform: translateX(-100%);
    will-change: transform;
    
    /* স্মুথ অ্যানিমেশন টাইমিং */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    /* ফ্রস্টেড গ্লাস ইফেক্ট */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    /* বর্ডার ও শ্যাডো */
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
}

/* সাইডবার ওপেন হওয়ার ক্লাস */
.sidebar-drawer.active {
    transform: translateX(0) !important; /* বাম দিক থেকে স্লাইড হয়ে দৃশ্যমান হবে */
}

/* সাইডবার হেডার ও ক্লোজ বাটন */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sidebar-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.6);
    color: #475569;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* সাইডবার লিঙ্কস */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

.sidebar-menu li a i {
    font-size: 1.1rem;
    color: #64748b;
    width: 20px;
    text-align: center;
    transition: color 0.25s ease;
}

/* হোভার ইফেক্ট */
.sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.sidebar-menu li a:hover i {
    color: #2563eb;
}


/******************* Hero Section ****************/
.hero-grid-container {
    padding: 20px 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.hero-main-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hero-card-content {
    border-radius: 20px;
    height: 420px; /* ডেস্কটপ হাইট */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.hero-card-content:hover .hero-img img {
    transform: scale(1.03);
}

/* স্লাইডার ডিসকাউন্ট ব্যাজ */
.hero-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: #e53935;
    color: #fff;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.35);
}

/* স্লাইডার ওভারলে ইনফরমেশন (শুধুমাত্র প্রাইস কনটেইনার) */
.hero-info-overlay {
    position: relative;
    z-index: 2;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    width: 100%;
    box-sizing: border-box;
}

.hero-price-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85); /* ডার্ক স্ল্যাট ব্যাকগ্রাউন্ড */
    padding: 6px 16px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.main-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #22c55e; /* ব্রাইট গ্রিন অফার প্রাইস */
}

.strike-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* সাইড কার্ড স্টাইলিং */
.hero-side-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.side-card {
    border-radius: 18px;
    height: calc((420px - 15px) / 2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.side-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: #ff9800;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.side-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.side-card:hover .side-img img {
    transform: scale(1.05);
}

.side-details {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 12px 15px;
    text-decoration: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    box-sizing: border-box;
}

.side-price-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.side-price-box .main-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #38bdf8; /* সাইড কার্ডের জন্য হালকা নীল/স্কাই কালার */
}

.side-price-box .strike-price {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* ==========================================================================
   মোবাইলের জন্য মিডিয়া কোয়েরি
   ========================================================================== */
@media (max-width: 768px) {
    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px 12px;
    }

    .hero-side-cards {
        display: none;
    }

    .hero-card-content {
        height: 200px; /* মোবাইলে উপযুক্ত স্লাইডার হাইট */
        border-radius: 14px;
    }

    .hero-badge {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .hero-info-overlay {
        padding: 10px 12px;
    }

    .hero-price-box {
        padding: 4px 12px;
    }

    .main-price {
        font-size: 0.95rem;
    }

    .strike-price {
        font-size: 0.78rem;
    }
}

/* Category Slider (Grid Layout for 6 on Desktop, 3 on Mobile) */
.categories-section {
    padding: 15px 5%;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* ডেস্কটপে ৬টি কলাম */
    gap: 20px;
    align-items: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-icon-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee; /* ডিফোল্ট বর্ডার */
    padding: 0; /* ইমেজের আশেপাশের প্যাডিং তুলে দেওয়া হলো যেন সম্পূর্ণ বক্স ফিট হয় */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden; /* বর্ডার রেডিয়াসের বাইরে ইমেজ যেন না যায় */
}

/* 🟢 ইমেজ নিখুঁতভাবে বক্সে ফিট করার ফিক্স */
.category-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* সব খালি জায়গা পূরণ করে পারফেক্টলি ফিট করবে */
    object-position: center;
}

.category-item span {
    font-size: 1rem;
    font-weight: 700;
}

/* 🎨 প্রতিটি ক্যাটাগরির জন্য আলাদা বর্ডার এবং টেক্সট কালার */

/* ১ম ক্যাটাগরি (সবুজ) */
.category-item:nth-child(1) .category-icon-box { border-color: #2e7d32; }
.category-item:nth-child(1) span { color: #2e7d32; }

/* ২য় ক্যাটাগরি (কমলা) */
.category-item:nth-child(2) .category-icon-box { border-color: #ff6f00; }
.category-item:nth-child(2) span { color: #ff6f00; }

/* ৩য় ক্যাটাগরি (বেগুনি) */
.category-item:nth-child(3) .category-icon-box { border-color: #7b1fa2; }
.category-item:nth-child(3) span { color: #7b1fa2; }

/* ৪র্থ ক্যাটাগরি (নীল) */
.category-item:nth-child(4) .category-icon-box { border-color: #0288d1; }
.category-item:nth-child(4) span { color: #0288d1; }

/* ৫মে ক্যাটাগরি (লাল/গোলাপী) */
.category-item:nth-child(5) .category-icon-box { border-color: #e91e63; }
.category-item:nth-child(5) span { color: #e91e63; }

/* ৬ষ্ঠ ক্যাটাগরি (তেল/হলুদ) */
.category-item:nth-child(6) .category-icon-box { border-color: #f57f17; }
.category-item:nth-child(6) span { color: #f57f17; }

/* Section Titles */
.section-title-wrapper {
    text-align: center;
    margin: 45px 0 25px 0;
}

.section-title-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
}

.section-title-wrapper p {
    color: #666;
    font-size: 1rem;
}

/* 📱 Responsive Styles (Mobile & Tablet) */
@media (max-width: 991px) {
    .categories-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .categories-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 10px 3%;
    }

    .category-icon-box {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .category-item span {
        font-size: 0.7rem;
    }

    .section-title-wrapper h2 {
        font-size: 1.5rem;
    }

    .section-title-wrapper p {
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   Products Grid & Dynamic Cards Styling
   ========================================================================== */

/* 1. গ্রিড লেআউট সেটআপ */
.products-grid-container {
    display: grid;
    /* মোবাইল ও ছোট স্ক্রিনে ডিফল্ট ২টি করে প্রোডাক্ট */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px 0;
}

/* ট্যাবলেট স্ক্রিনে ৩টি করে */
@media (min-width: 600px) {
    .products-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* মাঝারি ডেস্কটপ / ল্যাপটপে ৪টি করে */
@media (min-width: 900px) {
    .products-grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* বড় ডেস্কটপে একসাথে ৫টি করে প্রোডাক্ট */
@media (min-width: 1200px) {
    .products-grid-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}


/* 2. প্রোডাক্ট কার্ড ডিজাইন */
.fruit-card {
    position: relative;
    border-radius: 16px;
    padding: 12px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify: space-between;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.fruit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}


/* 3. ইমেজ কন্টেইনার (1:1 Aspect Ratio) */
.fruit-img-link {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.fruit-img {
    width: 100%;
    /* 1:1 পারফেক্ট স্কয়ার রেশিও নিশ্চিত করে */
    aspect-ratio: 1 / 1; 
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fruit-img img {
    width: 100%;
    height: 100%;
    /* ইমেজ যেন কেটে বা বিকৃত না হয়ে কন্টেইনারে সুন্দর ফিট হয় */
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.fruit-card:hover .fruit-img img {
    transform: scale(1.06);
}


/* 4. টেক্সট, টাইটেল ও মেটা ইনফো */
.fruit-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222222;
    margin: 4px 0 8px 0;
    line-height: 1.35;
    /* ২ লাইনের বেশি হলে অটোমেটিক ... দিয়ে ট্রাঙ্কেট করবে */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.product-rating {
    color: #f59e0b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.product-sold-count {
    color: #6b7280;
    font-size: 0.75rem;
}

.fruit-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.main-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
}

.strike-price {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}


/* 5. ডিসকাউন্ট ಬ್ಯಾডজ */
.discount-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}


/* 6. ডায়নামিক ব্যাকগ্রাউন্ড কালার থিমস (Soft Pastel Colors) */
.fruit-card.card-bg-1 {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
}

.fruit-card.card-bg-2 {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
}

.fruit-card.card-bg-3 {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
}

.fruit-card.card-bg-4 {
    background-color: #fefce8;
    border: 1px solid #fef9c3;
}

.fruit-card.card-bg-5 {
    background-color: #faf5ff;
    border: 1px solid #f3e8ff;
}

.fruit-card.card-bg-6 {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
}

.fruit-card.card-bg-7 {
    background-color: #f0fdfa;
    border: 1px solid #ccfbf1;
}

.fruit-card.card-bg-8 {
    background-color: #fdf2f8;
    border: 1px solid #fce7f3;
}


/* 7. মোবাইল স্ক্রিনের জন্য স্মল এডজাস্টমেন্ট */
@media (max-width: 599px) {
    .fruit-card {
        padding: 10px;
        border-radius: 14px;
    }

    .fruit-card h3 {
        font-size: 0.88rem;
    }

    .main-price {
        font-size: 1rem;
    }

    .discount-badge {
        top: 14px;
        left: 14px;
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}



/* ==========================================================================
   FEATURE INFO BAR & REAL LOGO PAYMENT SECTION
   ========================================================================= */

/* ১. ইনফো বার সেকশন */
.info-bar-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 20px auto;
    padding: 20px 24px;
    max-width: 1200px;
    width: calc(100% - 32px);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.info-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-box i {
    font-size: 1.6rem;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.info-box h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.info-box p {
    margin: 3px 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ২. পেমেন্ট ও সার্ভিস সেকশন */
.payment-service-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    padding: 20px 28px;
    max-width: 1200px;
    width: calc(100% - 32px);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-icon-box i {
    font-size: 1.5rem;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-left h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.service-left p {
    margin: 3px 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* ৩. পেমেন্ট লোগো কার্ডসমূহ */
.payment-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pay-card {
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pay-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.nagad-img {
    height: 28px; /* নগদের লোগো ক্লিয়ার করার জন্য উচ্চতা অ্যাডজাস্ট করা হলো */
}

/* ক্যাশ অন ডেলিভারি ও কার্ড আইকন */
.cod-card {
    gap: 6px;
    color: #0284c7;
    font-weight: 800;
    font-size: 0.85rem;
}

.cod-card i {
    font-size: 1.1rem;
}

.visa-card i {
    font-size: 1.8rem;
    color: #1a1f71;
}

.mastercard-card i {
    font-size: 1.8rem;
    color: #eb001b;
}

/* ৪. মোবাইল ও ট্যাবলেট রেসপন্সিভ লেআউট */
@media screen and (max-width: 992px) {
    .payment-service-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-logos {
        width: 100%;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 600px) {
    .info-bar-section, .payment-service-section {
        padding: 16px;
        margin: 12px auto;
        width: calc(100% - 24px);
    }

    .pay-card {
        height: 34px;
        padding: 0 10px;
    }

    .pay-img {
        height: 18px;
    }

    .nagad-img {
        height: 22px;
    }

    .visa-card i, .mastercard-card i {
        font-size: 1.5rem;
    }
}