/* ══════════════════════════════════════════════════════
   SOHODOR — Premium E-commerce Stylesheet
   Theme: teal Green + Warm Cream + Gold Accents
   Font: Hind Siliguri (Bengali)
══════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────── */
:root {
/* =======================================================
     Core Brand Colors (Updated for SOHODOR)
     Based on Logo Teal
     ======================================================= */
  
  /* The logo's exact primary teal color */
  --brand-color: #179998;

  /* Expanded Core Palette */
  --teal-dark: #074747;   /* Deepest value, for headers/dark text */
  --teal: #179998;        /* The core brand color from the logo */
  --teal-mid: #2eb4b3;    /* A slightly brighter mid-point */
  --teal-light: #52cccc;  /* Clear, energetic for accents/icons */
  --teal-pale: #b3e7e6;   /* Very light, for backgrounds and states */
  --teal-tint: #e6f6f6;   /* Subtle, near-white background tint */

  /* Neutral/Supporting Palette (Refined for cool tones) */
  --white: #ffffff;
  --cream: #f6faf9;        /* Subtle green-tinted white for warmth */
  --cream-dark: #e6eee0;   /* A cool beige, good for backgrounds */
  --charcoal: #14171a;    /* Very dark, slightly cool charcoal */
  --dark: #263332;        /* Dark gray-green, cool professional tone */
  --muted: #627575;       /* Muted gray-green for body text and inactive elements */
  --border: #d4e0e0;      /* Clean, cool border color */
  --shadow-color: rgba(23, 153, 152, 0.12); /* Shadow with brand color influence */

  /* Communication Channels (Kept as standards) */
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --ms-blue: #0084ff;
  --ms-dark: #006acc;
  --phone-amber: #f59e0b;
  --phone-dark: #d97706;

  /* Typography */
  --font-bn:        'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-display:   'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-py:     5rem;
  --container-max:  1200px;
  --gap:            1.5rem;

  /* Radii */
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.14);
  --shadow-card:    0 4px 20px var(--shadow-color);

  /* Transitions */
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-bn);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* ── Container ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 99px; }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 247, 240, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  align-items: center;
  gap: 0.5rem;
}

.logo-icon { font-size: 1.8rem; }

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-tagline-nav {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 99px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--teal);
  background: var(--teal-tint);
}

/* Cart Button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-size: 1.3rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.cart-btn:hover {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.08);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-fast);
}

.cart-count.has-items {
  opacity: 1;
  transform: scale(1);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.menu-toggle:hover { background: var(--teal-tint); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.5rem 1rem;
  gap: 0.1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-menu a {
  padding: 0.65rem 0.5rem;
  font-size: 1rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--cream) 0%, var(--teal-tint) 50%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
  gap: 3rem;
  padding-left: max(1.5rem, calc((100vw - 1200px)/2 + 1.5rem));
  padding-right: max(1.5rem, calc((100vw - 1200px)/2 + 1.5rem));
}

/* Background blobs */
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
}

.blob-1 {
  width: 500px; height: 500px;
  background: var(--teal-pale);
  top: -100px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-2 {
  width: 350px; height: 350px;
  background: var(--gold-light);
  bottom: -80px; left: 30%;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.blob-3 {
  width: 250px; height: 250px;
  background: var(--teal-pale);
  top: 40%; left: -80px;
  animation: blobFloat 12s ease-in-out infinite 2s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

/* Decorative leaves */
.hero-leaf {
  position: absolute;
  font-size: 3.5rem;
  opacity: 0.15;
  pointer-events: none;
  animation: leafSway 6s ease-in-out infinite;
}

.leaf-tl { top: 15%; left: 2%; animation-delay: 0s; }
.leaf-tr { top: 10%; right: 5%; animation-delay: 2s; }
.leaf-br { bottom: 15%; right: 3%; animation-delay: 4s; }

@keyframes leafSway {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-12px); }
}

/* Hero Content */
.hero-content {
  flex: 1;
  z-index: 1;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--teal-tint);
  border: 1.5px solid var(--teal-pale);
  color: var(--teal-dark);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.hero-badge i { font-size: 1rem; color: var(--teal); }

.hero-title {
  font-family: var(--font-bn);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.hero-title-accent {
  color: var(--teal);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Trust items */
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item i { color: var(--teal); font-size: 1rem; }

/* Hero Visual */
.hero-visual {
  flex: 1;
  max-width: 480px;
  z-index: 1;
  animation: fadeInRight 0.9s ease 0.2s both;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--teal-pale);
}

.hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════════════════════ */
.features-strip {
  background: var(--teal-dark);
  padding: 2.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.feature-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════════════════════════ */
.products-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* ── Product Card ───────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-light);
  box-shadow: 0 16px 48px rgba(21, 108, 69, 0.18);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.07);
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.product-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: var(--transition-fast);
}

.product-card:hover .product-card-fav { opacity: 1; }

.product-card-body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-unit {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.product-card-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.product-add-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-bn);
  transition: var(--transition-fast);
}

.product-add-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.03);
}

.product-add-btn i { font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════ */
.about-section {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--teal-pale);
}

.stat-1 { bottom: 40px; left: -30px; }
.stat-2 { top: 40px; right: -30px; }

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.about-title { margin-top: 0.5rem; }

.about-text {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 1rem;
  line-height: 1.85;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--dark);
  font-weight: 500;
}

.value-item i {
  font-size: 1.3rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  font-family: var(--font-bn);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21,108,69,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-light);
}

.btn-outline:hover {
  background: var(--teal-tint);
  transform: translateY(-2px);
}

.btn-cart {
  flex: 1;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn-cart:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21,108,69,0.3);
}

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp-success {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: var(--white);
  border-color: transparent;
  font-size: 1.05rem;
  padding: 1rem;
}

.btn-whatsapp-success:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23074747' d='M0,40L60,34C120,28,240,16,360,16C480,16,600,28,720,32C840,36,960,32,1080,26C1200,20,1320,12,1380,8L1440,4L1440,40Z'/%3E%3C/svg%3E") no-repeat center / cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-img { height: 44px; width: auto; object-fit: contain; margin-bottom: 0.75rem; }
.footer-logo-fallback { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-tagline { color: var(--gold-light); font-weight: 600; font-size: 1rem; margin-bottom: 0.6rem; }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.75; }

.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-items { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-contact-item:hover { color: var(--gold-light); }
.footer-contact-item i { font-size: 1.1rem; color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-made { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════════════════
   MODALS — BASE
══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: rotate(90deg);
}

/* ══════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
══════════════════════════════════════════════════════ */
.product-modal-box {
  width: min(900px, 95vw);
  padding: 0;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Image Side */
.modal-img-side {
  background: var(--cream);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.modal-img-wrap {
  height: 100%;
  min-height: 380px;
  position: relative;
}

.modal-product-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}

/* Content Side */
.modal-content-side {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.modal-unit-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.modal-unit {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--cream);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 1.1rem 0;
}

.modal-desc-section h4,
.modal-benefits-section h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-benefits-section h4 i { color: #e05252; }

.modal-desc-section p,
.modal-benefits-section p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.modal-benefits-section { margin-top: 0.75rem; }

/* Quantity */
.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  background: var(--cream);
  transition: var(--transition-fast);
}

.qty-btn:hover { background: var(--teal-tint); color: var(--teal); }

.qty-num {
  min-width: 40px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Order Buttons */
.order-now-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem !important;
}

.order-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
}

.order-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-bn);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.order-btn i { font-size: 1.5rem; }

.order-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.order-whatsapp {
  background: linear-gradient(135deg, #e8faf0, #c3f0d5);
  color: var(--wa-dark);
  border: 1.5px solid #a3e6bf;
}

.order-whatsapp:hover { background: linear-gradient(135deg, #25d366, #128c7e); color: var(--white); }

.order-messenger {
  background: linear-gradient(135deg, #e8f3ff, #c3d9f7);
  color: var(--ms-dark);
  border: 1.5px solid #a3c5f2;
}

.order-messenger:hover { background: linear-gradient(135deg, #0084ff, #006acc); color: var(--white); }

.order-phone {
  background: linear-gradient(135deg, #fef9e7, #fde9a2);
  color: var(--phone-dark);
  border: 1.5px solid #f9d46e;
}

.order-phone:hover { background: linear-gradient(135deg, #f59e0b, #d97706); color: var(--white); }

/* ══════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.cart-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
  background: var(--cream);
  transition: var(--transition-fast);
}

.drawer-close:hover { background: var(--charcoal); color: var(--white); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

/* Empty Cart */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  color: var(--muted);
}

.cart-empty i { font-size: 3.5rem; opacity: 0.3; }
.cart-empty p { font-size: 1rem; font-weight: 500; }
.cart-empty small { font-size: 0.85rem; opacity: 0.7; }

/* Cart Item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.25s ease;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit {
  font-size: 0.73rem;
  color: var(--muted);
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: 0.2rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--dark);
  transition: var(--transition-fast);
}

.cart-qty-btn:hover { background: var(--teal); color: var(--white); }

.cart-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #e05252;
  margin-left: 0.25rem;
  transition: var(--transition-fast);
}

.cart-item-remove:hover { background: #ffe8e8; }

.cart-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--cream);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.cart-total-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ══════════════════════════════════════════════════════
   CHECKOUT MODAL
══════════════════════════════════════════════════════ */
.checkout-modal-box {
  width: min(520px, 95vw);
  padding: 2rem;
}

.checkout-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.checkout-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--teal);
  margin: 0 auto 1rem;
}

.checkout-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.3rem; }
.checkout-header p { font-size: 0.88rem; color: var(--muted); }

/* Order Summary */
.checkout-order-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  max-height: 160px;
  overflow-y: auto;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  color: var(--dark);
  border-bottom: 1px dashed var(--border);
}

.checkout-summary-item:last-child { border-bottom: none; }
.checkout-summary-item-name { font-weight: 500; }
.checkout-summary-item-price { font-weight: 600; color: var(--teal-dark); }

/* Form */
.checkout-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group label i { font-size: 1rem; color: var(--teal); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-bn);
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
  resize: none;
}

.form-input:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(45,173,110,0.12);
}

.form-input.error { border-color: #e05252; box-shadow: 0 0 0 3px rgba(224,82,82,0.12); }

.form-textarea { min-height: 80px; }

.checkout-total-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--teal-tint);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.final-total {
  font-size: 1.5rem;
  color: var(--teal-dark);
}

.btn-checkout-submit {
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.checkout-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.6;
}

.checkout-note i { flex-shrink: 0; margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   SUCCESS MODAL
══════════════════════════════════════════════════════ */
.success-modal-box {
  width: min(420px, 95vw);
  padding: 2.5rem 2rem;
  text-align: center;
}

.success-animation {
  margin-bottom: 1.5rem;
}

.success-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  margin: 0 auto;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 12px 36px rgba(21,108,69,0.35);
}

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title { font-size: 1.6rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.4rem; }
.success-subtitle { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 0.75rem; }
.success-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--teal-dark);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3000;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.toast i { color: var(--gold-light); }

.toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

/* Stagger cards */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.10s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.20s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.30s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.40s; }

/* ══════════════════════════════════════════════════════
   LOADING STATE
══════════════════════════════════════════════════════ */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  right: 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* Large Tablets */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Tablets */
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  /* Navbar */
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 90px;
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-img { height: 320px; }
  .hero-leaf { display: none; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual { order: -1; }
  .about-img { height: 300px; }
  .stat-1 { bottom: 20px; left: 10px; }
  .stat-2 { top: 20px; right: 10px; }

  /* Product modal */
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-box { width: min(95vw, 540px); }
  .modal-img-side { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal-img-wrap, .modal-product-img { min-height: 240px; height: 240px; }

  /* Order Btns */
  .order-btns { grid-template-columns: 1fr 1fr 1fr; }
  .order-btn span { display: none; }
  .order-btn i { font-size: 1.8rem; }
  .order-btn { padding: 0.85rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

  .product-card-img-wrap { height: 160px; }
  .product-card-body { padding: 0.85rem; }
  .product-card-name { font-size: 0.95rem; }
  .product-card-price { font-size: 1.1rem; }
  .product-add-btn { padding: 0.4rem 0.7rem; font-size: 0.75rem; }

  .modal-content-side { padding: 1.25rem; }
  .modal-title { font-size: 1.3rem; }
  .modal-qty-row { flex-direction: column; align-items: stretch; }

  .hero-title { font-size: 2rem; }
  .btn { padding: 0.65rem 1.3rem; font-size: 0.9rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 0.75rem 0; }

  .checkout-modal-box { padding: 1.5rem 1rem; }

  .order-btns { grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; }
}

/* Very small screens */
@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr; }
}
