/* ============================================================
   GREENBASKET — Fresh Indian Grocery
   Aesthetic: Earthy · Organic · Farm-feel · Warm & Natural
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Earthy Palette */
  --soil:      #3B2314;     /* Deep soil brown */
  --bark:      #5C3D1E;     /* Warm bark */
  --terracotta:#C2622A;     /* Terracotta accent */
  --harvest:   #E8963A;     /* Harvest orange */
  --saffron:   #F4C03E;     /* Saffron yellow */
  --leaf:      #3A6B35;     /* Deep leaf green */
  --moss:      #4E8C47;     /* Moss green */
  --sage:      #88B07F;     /* Sage light */
  --cream:     #FBF5EC;     /* Warm cream bg */
  --wheat:     #F3E9D4;     /* Warm wheat */
  --parchment: #EDE0C4;     /* Parchment */
  --charcoal:  #2C1A0E;     /* Deep charcoal */
  --muted:     #7D6352;     /* Warm muted */
  --white:     #FFFDF8;     /* Off-white */
  --border:    rgba(59,35,20,.12);

  /* Surfaces */
  --bg:       var(--cream);
  --surface:  var(--white);
  --surface2: var(--wheat);

  /* Shadows */
  --shadow:   0 4px 20px rgba(59,35,20,.10);
  --shadow-lg:0 12px 40px rgba(59,35,20,.16);
  --shadow-xl:0 24px 64px rgba(59,35,20,.20);

  /* Radii */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  /* Layout */
  --header-h: 70px;
  --promo-h: 38px;
  --tr: .25s cubic-bezier(.4,0,.2,1);
}

/* DARK MODE */
[data-theme="dark"] {
  --cream:    #1A1008;
  --wheat:    #211508;
  --parchment:#2A1B0C;
  --bg:       #1A1008;
  --surface:  #221405;
  --surface2: #2A1B0C;
  --charcoal: #F0E6D4;
  --muted:    #B09A82;
  --border:   rgba(232,150,58,.12);
  --shadow:   0 4px 20px rgba(0,0,0,.4);
  --shadow-lg:0 12px 40px rgba(0,0,0,.55);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background var(--tr), color var(--tr);
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* GRAIN TEXTURE */
.grain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   PROMO BANNER
   ================================================================ */
.promo-banner {
  height: var(--promo-h);
  background: var(--leaf);
  color: #fff;
  display: flex; align-items: center;
  overflow: hidden; position: relative;
  font-size: .78rem; font-weight: 600;
  z-index: 1100;
  transition: height .3s ease;
}
.promo-banner.hidden { height: 0; }
.promo-scroll {
  display: flex; gap: 36px; white-space: nowrap;
  animation: scroll-left 35s linear infinite;
  padding-left: 100%;
}
.promo-scroll span { color: rgba(255,255,255,.8); }
.promo-scroll strong { color: var(--saffron); }
.promo-scroll .sep { color: var(--saffron); opacity: .6; }
@keyframes scroll-left { to { transform: translateX(-50%); } }
.promo-close {
  position: absolute; right: 14px;
  background: none; color: rgba(255,255,255,.5);
  font-size: .75rem; padding: 4px 8px;
  transition: color .2s; z-index: 2;
}
.promo-close:hover { color: #fff; }

/* ================================================================
   CART DRAWER
   ================================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(26,16,8,.55);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 420px; max-width: 100vw; height: 100vh;
  background: var(--surface);
  z-index: 1300; display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 60px rgba(59,35,20,.25);
  border-left: 2px solid var(--parchment);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 2px dashed var(--parchment);
  background: var(--surface2);
}
.cart-head h3 {
  font-family: 'Yeseva One', Georgia, serif;
  font-size: 1.4rem; font-weight: 400;
  display: flex; align-items: center; gap: 10px;
}
.cart-badge {
  background: var(--terracotta); color: #fff;
  font-size: .7rem; font-weight: 800;
  font-family: 'Nunito', sans-serif;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-close-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--parchment); color: var(--muted);
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr);
}
.cart-close-btn:hover { background: var(--terracotta); color: #fff; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 0; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%;
  gap: 8px; color: var(--muted); text-align: center; padding: 40px;
}
.empty-basket { font-size: 3.5rem; margin-bottom: 8px; }
.cart-empty p { font-size: 1rem; font-weight: 700; }
.cart-empty span { font-size: .85rem; }

.cart-item-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px dashed var(--parchment);
  animation: slideR .25s ease;
}
@keyframes slideR { from { opacity:0; transform:translateX(14px); } to { opacity:1; transform:none; } }
.ci-emoji-box {
  font-size: 2rem; width: 50px; height: 50px;
  background: var(--surface2); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ci-details { flex: 1; min-width: 0; }
.ci-details h4 { font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-details span { font-size: .76rem; color: var(--muted); }
.ci-qty { display: flex; align-items: center; gap: 7px; }
.q-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 700; color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.q-btn:hover { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.q-val { font-size: .88rem; font-weight: 800; min-width: 18px; text-align: center; }
.ci-price { font-size: .88rem; font-weight: 800; color: var(--leaf); min-width: 52px; text-align: right; }

.cart-foot { padding: 18px 24px 26px; border-top: 2px dashed var(--parchment); background: var(--surface2); }
.promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.promo-row input {
  flex: 1; padding: 9px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: 'Nunito', sans-serif; font-size: .83rem; color: var(--charcoal);
  outline: none; transition: border-color .2s;
}
.promo-row input:focus { border-color: var(--leaf); }
.promo-row button {
  padding: 9px 16px; background: var(--bark); color: #fff;
  border-radius: var(--r-sm); font-size: .8rem; font-weight: 700;
  transition: background .2s;
}
.promo-row button:hover { background: var(--leaf); }
.promo-feedback { font-size: .76rem; margin-bottom: 10px; min-height: 16px; }
.promo-feedback.ok  { color: var(--leaf); }
.promo-feedback.err { color: #C0392B; }
.price-row, .discount-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; font-size: .92rem;
}
.price-row strong {
  font-family: 'Yeseva One', serif; font-size: 1.3rem; color: var(--soil);
}
[data-theme="dark"] .price-row strong { color: var(--charcoal); }
.disc-val { color: var(--leaf); font-weight: 800; }
.delivery-tag {
  font-size: .75rem; color: var(--muted); background: var(--parchment);
  padding: 7px 12px; border-radius: var(--r-sm); margin: 10px 0 16px;
}
.full-w { width: 100%; justify-content: center; margin-bottom: 8px; }

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(26,16,8,.96);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 100px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-modal { width: 100%; max-width: 660px; padding: 0 24px; }
.search-field {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full); padding: 14px 22px;
  color: #fff; margin-bottom: 20px; font-size: 1.1rem;
}
.search-field input {
  flex: 1; background: none; border: none; outline: none;
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: #fff;
}
.search-field input::placeholder { color: rgba(255,255,255,.35); }
.search-field button { background: none; color: rgba(255,255,255,.4); font-size: .9rem; }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 380px; overflow-y: auto; }
.sr-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 12px 16px;
  cursor: pointer; transition: background .2s, transform .2s;
}
.sr-card:hover { background: rgba(232,150,58,.15); transform: translateX(4px); }
.sr-emoji { font-size: 1.8rem; }
.sr-info h4 { font-size: .85rem; font-weight: 700; color: #fff; }
.sr-info span { font-size: .74rem; color: rgba(255,255,255,.45); }
.sr-price { margin-left: auto; font-weight: 800; color: var(--saffron); font-size: .9rem; }
.search-hint { text-align: center; color: rgba(255,255,255,.25); font-size: .78rem; margin-top: 18px; }
.no-sr { text-align: center; color: rgba(255,255,255,.3); padding: 28px; font-size: .9rem; grid-column: 1/-1; }

/* ================================================================
   HEADER
   ================================================================ */
#header {
  position: fixed; top: var(--promo-h); left: 0; right: 0;
  z-index: 1000; background: transparent;
  transition: top .3s, background .3s, border-color .3s, box-shadow .3s;
}
#header.no-banner { top: 0; }
#header.scrolled {
  background: rgba(251,245,236,.92);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 2px solid var(--parchment);
  box-shadow: var(--shadow);
}
[data-theme="dark"] #header.scrolled {
  background: rgba(26,16,8,.92);
  border-bottom-color: var(--border);
}
.nav {
  display: flex; align-items: center;
  height: var(--header-h); gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Yeseva One', Georgia, serif;
  font-size: 1.45rem; font-weight: 400;
  color: var(--soil); flex-shrink: 0; letter-spacing: -.01em;
}
[data-theme="dark"] .logo { color: var(--saffron); }
.logo em { font-style: normal; color: var(--leaf); }
.logo-leaf { font-size: 1.6rem; }
.footer-logo { color: var(--wheat) !important; }
[data-theme="dark"] .footer-logo { color: var(--saffron) !important; }
.footer-logo em { color: var(--sage) !important; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: var(--r-full);
  font-size: .83rem; font-weight: 700; color: var(--muted);
  transition: background var(--tr), color var(--tr);
  letter-spacing: .01em;
}
.nav-links a:hover { background: var(--parchment); color: var(--soil); }
[data-theme="dark"] .nav-links a:hover { background: var(--surface2); color: var(--charcoal); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: background var(--tr);
}
.icon-btn:hover { background: var(--parchment); }
[data-theme="dark"] .icon-btn:hover { background: var(--surface2); }
.moon { display: none; }
[data-theme="dark"] .sun { display: none; }
[data-theme="dark"] .moon { display: block; }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--terracotta); color: #fff;
  font-size: .6rem; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: var(--r-full);
  display: none; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--bg);
  font-family: 'Nunito', sans-serif;
}
.cart-count.show { display: flex; animation: pop .22s ease; }
@keyframes pop { from { transform:scale(0); } 70% { transform:scale(1.3); } to { transform:scale(1); } }
.wa-nav-btn {
  display: flex; align-items: center; gap: 7px;
  background: #25D366; color: #fff;
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: .8rem; font-weight: 800;
  transition: transform .2s, box-shadow .2s;
}
.wa-nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.4); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--leaf); color: #fff;
  padding: 12px 26px; border-radius: var(--r-full);
  font-size: .88rem; font-weight: 800;
  transition: background .2s, transform .15s, box-shadow .2s;
  font-family: 'Nunito', sans-serif; letter-spacing: .02em;
}
.btn-primary:hover { background: var(--moss); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(58,107,53,.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--charcoal);
  padding: 12px 26px; border-radius: var(--r-full);
  font-size: .88rem; font-weight: 700;
  border: 2px solid var(--parchment);
  transition: border-color .2s, background .2s, color .2s;
  font-family: 'Nunito', sans-serif;
}
.btn-ghost:hover { border-color: var(--leaf); background: rgba(58,107,53,.08); color: var(--leaf); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  background: transparent;
}
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--charcoal); border-radius: 2px;
  transition: transform .3s, opacity .2s; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--surface); border-top: 2px dashed var(--parchment);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 320px; }
.mobile-menu a {
  display: block; padding: 13px 24px;
  font-size: .92rem; font-weight: 700;
  color: var(--charcoal); border-bottom: 1px dashed var(--parchment);
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--surface2); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--promo-h) + var(--header-h));
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(58,107,53,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(194,98,42,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(244,192,62,.06) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: center;
  padding-top: 60px; padding-bottom: 20px;
  position: relative; z-index: 1;
}
.hero-text { animation: fadeUp .9s .1s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(36px); } to { opacity:1; transform:none; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--parchment);
  padding: 7px 16px; border-radius: var(--r-full);
  font-size: .78rem; font-weight: 700; color: var(--muted);
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.blink-dot {
  width: 8px; height: 8px; background: var(--leaf); border-radius: 50%;
  position: relative; flex-shrink: 0;
}
.blink-dot::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--leaf);
  animation: blink 2s infinite;
}
@keyframes blink { from { transform:scale(1); opacity:1; } to { transform:scale(3); opacity:0; } }
h1 {
  font-family: 'Yeseva One', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400; line-height: 1.1;
  color: var(--soil); margin-bottom: 18px;
  letter-spacing: -.01em;
}
[data-theme="dark"] h1 { color: var(--saffron); }
h1 em { font-style: italic; color: var(--leaf); }
h2 {
  font-family: 'Yeseva One', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 400; line-height: 1.15; color: var(--soil);
  letter-spacing: -.01em;
}
[data-theme="dark"] h2 { color: var(--saffron); }
h2 em { font-style: italic; color: var(--leaf); }
.hero p {
  font-size: 1rem; color: var(--muted); max-width: 480px;
  margin-bottom: 28px; line-height: 1.75;
}
.hero-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: var(--r-full);
  padding: 7px 7px 7px 20px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--parchment);
  max-width: 540px; margin-bottom: 20px;
  font-size: 1.1rem; color: var(--muted);
}
.hero-search-bar input {
  flex: 1; border: none; outline: none;
  font-family: 'Nunito', sans-serif; font-size: .95rem;
  color: var(--charcoal); background: transparent;
}
.hero-search-bar input::placeholder { color: var(--muted); }
.hero-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.hero-tags span {
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--surface2); border: 1.5px solid var(--parchment);
  font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; color: var(--bark);
}
.hero-tags span:hover { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.hero-stats {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; }
.hstat strong {
  font-family: 'Yeseva One', serif; font-size: 1.7rem;
  font-weight: 400; color: var(--soil); line-height: 1;
}
[data-theme="dark"] .hstat strong { color: var(--saffron); }
.hstat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hdiv { width: 1px; height: 36px; background: var(--parchment); }

/* HERO VISUAL */
.hero-visual {
  position: relative; height: 460px;
  animation: fadeUp .9s .25s ease both;
}
.hero-circle {
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,107,53,.12) 0%, transparent 70%);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
}
.circle-ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed;
}
.r1 { inset: -30px; border-color: rgba(58,107,53,.2); animation: spin 30s linear infinite; }
.r2 { inset: -70px; border-color: rgba(232,150,58,.15); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-emoji-main { font-size: 8rem; animation: bounce 3s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }
.hv-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--parchment);
  border-radius: var(--r-md); padding: 10px 16px;
  box-shadow: var(--shadow-lg); font-size: .8rem; z-index: 3;
  transition: transform .3s;
}
.hv-float:hover { transform: translateY(-4px) scale(1.02); }
.hv-float > span { font-size: 1.8rem; }
.hv-float strong { display: block; font-weight: 800; font-size: .82rem; }
.hv-float small { color: var(--muted); font-size: .73rem; }
.f1 { top: 5%;  left: -5%;  animation: flt 6s ease-in-out infinite; }
.f2 { top: 10%; right: -2%; animation: flt 7s ease-in-out infinite .7s; }
.f3 { bottom: 15%; right: 0; animation: flt 5.5s ease-in-out infinite 1.3s; }
.f4 { bottom: 5%;  left: 0;  animation: flt 6.5s ease-in-out infinite .4s; }
@keyframes flt { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }

/* MARQUEE */
.marquee-strip {
  overflow: hidden; border-top: 2px dashed var(--parchment);
  padding: 14px 0; background: var(--surface2); margin-top: 20px;
}
.marquee-inner {
  display: flex; gap: 28px; width: max-content;
  animation: marquee 30s linear infinite;
  font-size: .8rem; font-weight: 700; color: var(--bark);
  text-transform: uppercase; letter-spacing: .06em;
}
.marquee-inner span:nth-child(even) { color: var(--terracotta); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 90px 0; position: relative; z-index: 1; }
.section-sm { padding: 48px 0; }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head:not(.center) {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.sec-head p { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; color: var(--terracotta);
  margin-bottom: 10px;
}
.text-link {
  font-size: .85rem; font-weight: 800; color: var(--leaf);
  transition: gap .2s; display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.text-link:hover { gap: 10px; }

/* ================================================================
   CATEGORIES
   ================================================================ */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-lg); padding: 24px 20px;
  cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity .3s; border-radius: inherit;
  background: linear-gradient(135deg, rgba(58,107,53,.08), transparent);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.cat-icon { font-size: 2.4rem; margin-bottom: 12px; }
.cat-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 4px; color: var(--soil); }
[data-theme="dark"] .cat-card h3 { color: var(--charcoal); }
.cat-card p { font-size: .78rem; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.cat-count {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; background: var(--surface2);
  color: var(--muted); padding: 3px 10px; border-radius: var(--r-full);
  border: 1px solid var(--parchment);
}

/* ================================================================
   PRODUCTS
   ================================================================ */
.products-section { background: var(--surface2); }
.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.f-btn {
  padding: 7px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--parchment);
  background: var(--surface); color: var(--muted);
  font-size: .8rem; font-weight: 700;
  transition: all .2s; font-family: 'Nunito', sans-serif;
}
.f-btn:hover { border-color: var(--sage); color: var(--charcoal); }
.f-btn.active { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.prod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.prod-card {
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .2s;
  position: relative; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px);
  animation: cardAppear .45s ease forwards;
}
@keyframes cardAppear { to { opacity:1; transform:none; } }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.prod-card.hidden { display: none; }
.prod-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(58,107,53,.12); color: var(--leaf); z-index: 2;
}
.prod-tag.hot { background: rgba(194,98,42,.12); color: var(--terracotta); }
.prod-tag.sale { background: rgba(244,192,62,.18); color: #8B6914; }
.prod-visual {
  height: 150px; background: var(--wheat);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.8rem; transition: transform .3s, background .2s;
}
.prod-card:hover .prod-visual { background: var(--parchment); transform: scale(1.05); }
.prod-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-unit { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--terracotta); margin-bottom: 4px; }
.prod-body h3 { font-size: .92rem; font-weight: 800; margin-bottom: 3px; color: var(--soil); }
[data-theme="dark"] .prod-body h3 { color: var(--charcoal); }
.prod-body p { font-size: .76rem; color: var(--muted); margin-bottom: 12px; flex: 1; line-height: 1.5; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.prod-price {
  font-family: 'Yeseva One', serif; font-size: 1.2rem; font-weight: 400; color: var(--soil);
}
[data-theme="dark"] .prod-price { color: var(--saffron); }
.prod-price s { font-size: .75rem; color: var(--muted); margin-right: 4px; font-family: 'Nunito', sans-serif; }
.add-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.add-btn:hover { background: var(--bark); transform: scale(1.12) rotate(90deg); }
.grid-cta { text-align: center; margin-top: 36px; }

/* ================================================================
   DEALS
   ================================================================ */
.deals-section { background: var(--parchment); }
[data-theme="dark"] .deals-section { background: var(--surface2); }
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.deal-card {
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.deal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.deal-badge {
  display: inline-block; background: var(--terracotta); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 14px;
}
.deal-emoji { font-size: 3.2rem; margin-bottom: 12px; }
.deal-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.deal-card p { font-size: .78rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.deal-price {
  display: flex; align-items: baseline; gap: 8px;
  justify-content: center; margin-bottom: 16px;
}
.deal-price s { color: var(--muted); font-size: .85rem; }
.deal-price strong {
  font-family: 'Yeseva One', serif; font-size: 1.5rem;
  font-weight: 400; color: var(--leaf);
}
.countdown-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.countdown {
  font-family: 'Yeseva One', Georgia, serif; font-size: 2rem;
  font-weight: 400; color: var(--terracotta); letter-spacing: .04em;
}

/* ================================================================
   PROMO STRIP
   ================================================================ */
.promo-strip { background: var(--bg); }
.promo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promo-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-lg); padding: 20px;
  transition: transform .25s, box-shadow .25s, border-color .2s;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.pc-icon { font-size: 2rem; flex-shrink: 0; }
.promo-card h4 { font-size: .9rem; font-weight: 800; color: var(--soil); letter-spacing: .04em; }
[data-theme="dark"] .promo-card h4 { color: var(--saffron); }
.promo-card p { font-size: .76rem; color: var(--muted); }
.copy-btn {
  margin-left: auto; flex-shrink: 0;
  padding: 7px 14px; border-radius: var(--r-full);
  background: var(--surface2); border: 1.5px solid var(--parchment);
  font-size: .74rem; font-weight: 800; color: var(--bark);
  transition: background .2s, border-color .2s, color .2s;
}
.copy-btn:hover { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.auto-tag {
  margin-left: auto; flex-shrink: 0;
  font-size: .72rem; font-weight: 800; color: var(--leaf);
  background: rgba(58,107,53,.1); padding: 6px 12px; border-radius: var(--r-full);
}

/* ================================================================
   TRACKING
   ================================================================ */
.tracking-section { background: var(--surface2); }
.track-widget {
  max-width: 700px; margin: 0 auto;
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-xl); padding: 40px;
  box-shadow: var(--shadow-lg);
}
.track-input-row {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.track-input-row input {
  flex: 1; padding: 13px 18px; border-radius: var(--r-full);
  border: 2px solid var(--parchment); background: var(--surface2);
  font-family: 'Nunito', sans-serif; font-size: .92rem; color: var(--charcoal);
  outline: none; transition: border-color .2s;
}
.track-input-row input:focus { border-color: var(--leaf); }
.track-sample { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 20px; }
.sample-id {
  background: none; color: var(--leaf); font-weight: 800; font-size: .8rem;
  border-bottom: 1.5px dashed var(--leaf); padding: 0; font-family: 'Nunito', sans-serif;
}
.track-order-info {
  display: flex; gap: 20px; flex-wrap: wrap;
  background: var(--surface2); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 28px;
  border: 1.5px solid var(--parchment);
}
.toi-item { display: flex; flex-direction: column; gap: 3px; }
.toi-item span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toi-item strong { font-size: .88rem; font-weight: 800; color: var(--soil); }
[data-theme="dark"] .toi-item strong { color: var(--charcoal); }
.track-steps { display: flex; align-items: center; gap: 0; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 100px; position: relative; z-index: 1;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--parchment);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: background .3s, border-color .3s;
}
.step.done .step-icon { background: rgba(58,107,53,.12); border-color: var(--leaf); }
.step.active .step-icon { background: var(--leaf); border-color: var(--leaf); animation: pulse-step 1.5s ease-in-out infinite; }
@keyframes pulse-step { 0%,100% { box-shadow: 0 0 0 0 rgba(58,107,53,.3); } 50% { box-shadow: 0 0 0 10px rgba(58,107,53,0); } }
.step-text { text-align: center; }
.step-text strong { display: block; font-size: .78rem; font-weight: 800; color: var(--soil); }
[data-theme="dark"] .step-text strong { color: var(--charcoal); }
.step-text span { font-size: .68rem; color: var(--muted); }
.step-line {
  flex: 1; height: 2px; background: var(--parchment); margin-bottom: 24px;
  transition: background .3s;
}
.step-line.done { background: var(--sage); }
.step-line.active { background: linear-gradient(to right, var(--sage), var(--parchment)); }

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-section { background: var(--parchment); }
[data-theme="dark"] .reviews-section { background: var(--surface2); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px;
}
.review-card {
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-stars { color: var(--harvest); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card blockquote {
  font-size: .92rem; line-height: 1.7; color: var(--bark);
  margin-bottom: 18px; font-style: italic;
}
[data-theme="dark"] .review-card blockquote { color: var(--muted); }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .88rem; font-weight: 800; color: var(--soil); }
[data-theme="dark"] .reviewer strong { color: var(--charcoal); }
.reviewer span { font-size: .75rem; color: var(--muted); }
.review-stats {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background: var(--surface); border: 2px solid var(--parchment);
  border-radius: var(--r-xl); padding: 28px; flex-wrap: wrap;
}
.rstat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rstat strong { font-family: 'Yeseva One', serif; font-size: 2.2rem; color: var(--soil); line-height: 1; }
[data-theme="dark"] .rstat strong { color: var(--saffron); }
.rstat > span { color: var(--harvest); font-size: .9rem; }
.rstat small { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rdiv { width: 1px; height: 50px; background: var(--parchment); }

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-section { background: var(--leaf); }
[data-theme="dark"] .newsletter-section { background: #1A3018; }
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative;
}
.nl-text .eyebrow { color: var(--sage); }
.nl-text h2 { color: var(--wheat); }
[data-theme="dark"] .nl-text h2 { color: var(--saffron); }
.nl-text p { color: rgba(251,245,236,.65); margin: 12px 0 20px; font-size: .95rem; }
.nl-perks { display: flex; flex-direction: column; gap: 8px; }
.nl-perks li { font-size: .87rem; color: rgba(251,245,236,.7); }
.nl-form {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(6px);
}
.nl-input {
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--r-md); padding: 12px 18px;
  font-family: 'Nunito', sans-serif; font-size: .9rem; color: var(--wheat);
  outline: none; transition: border-color .2s, background .2s;
}
.nl-input::placeholder { color: rgba(251,245,236,.4); }
.nl-input:focus { border-color: var(--saffron); background: rgba(255,255,255,.15); }
.nl-note { font-size: .72rem; color: rgba(251,245,236,.3); text-align: center; margin-top: 10px; }
.nl-success {
  background: rgba(244,192,62,.1); border: 1px solid rgba(244,192,62,.25);
  border-radius: var(--r-xl); padding: 32px; text-align: center; color: var(--wheat);
}
.nl-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.nl-success strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.nl-success p { font-size: .86rem; color: rgba(251,245,236,.65); }
.nl-form .btn-primary { background: var(--soil); color: var(--wheat); }
.nl-form .btn-primary:hover { background: var(--bark); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--soil); color: var(--wheat); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 60px; padding-bottom: 56px;
  border-bottom: 2px dashed rgba(255,255,255,.1);
}
.footer-brand p { font-size: .86rem; color: rgba(251,245,236,.5); line-height: 1.75; margin: 14px 0 24px; }
.store-hours h5 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(251,245,236,.4); margin-bottom: 10px; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: .82rem; color: rgba(251,245,236,.6);
}
.hours-row:last-child { border-bottom: none; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fc h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(251,245,236,.35); margin-bottom: 16px; }
.fc a, .fc p {
  display: block; font-size: .83rem; color: rgba(251,245,236,.6);
  margin-bottom: 9px; transition: color .2s;
}
.fc a:hover { color: var(--sage); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .77rem; color: rgba(251,245,236,.3);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(251,245,236,.3); transition: color .2s; }
.footer-legal a:hover { color: var(--sage); }

/* WA FAB */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 14px 18px; border-radius: var(--r-full);
  font-size: .84rem; font-weight: 800;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden; white-space: nowrap;
}
.wa-fab span { max-width: 0; overflow: hidden; transition: max-width .35s ease; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,.5); }
.wa-fab:hover span { max-width: 200px; }

/* TOAST */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--soil); color: var(--wheat);
  padding: 12px 24px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 700;
  z-index: 2000; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow-xl); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
}

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--cd, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-up { opacity: 0; transform: translateY(36px); animation: fadeUp .9s .1s ease both; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 300px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .track-steps { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .step-line { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .wa-nav-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .deals-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .review-stats { gap: 16px; }
}
@media (max-width: 520px) {
  .prod-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-cards { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 16px; border-radius: 50%; }
  h1 { font-size: 2.6rem; }
}

/* RIPPLE */
@keyframes ripple-out { to { transform: scale(1); opacity: 0; } }

/* ================================================================
   PINCODE CHECK BAR
   ================================================================ */
.pincode-bar {
  background: var(--leaf);
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* ================================================================
   LANGUAGE TOGGLE
   ================================================================ */
.lang-toggle {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); border-radius: 999px;
  padding: 5px 12px; font-size: .78rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
  letter-spacing: .04em; flex-shrink: 0;
}
.lang-toggle:hover { background: rgba(255,255,255,.2); }
[data-lang="as"] .en-text { display: none; }
[data-lang="as"] .as-text { display: inline; }
.as-text { display: none; }

/* ================================================================
   WISHLIST BUTTON
   ================================================================ */
.wishlist-btn {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: transform .2s, background .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  z-index: 2;
}
.wishlist-btn:hover { transform: scale(1.15); }
.wishlist-btn.wishlisted { background: #fff0f0; }
.wishlist-btn.wishlisted::after { content: ''; }

/* ================================================================
   SCHEDULE DELIVERY PICKER
   ================================================================ */
.schedule-delivery {
  margin: 10px 0 12px;
  background: rgba(58,107,53,.08); border-radius: 12px;
  padding: 12px 14px; border: 1px solid rgba(58,107,53,.15);
}
.schedule-label {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; color: var(--leaf);
  margin-bottom: 8px;
}
.slot-select {
  width: 100%; padding: 9px 12px; border-radius: 999px;
  border: 1.5px solid rgba(58,107,53,.2);
  background: var(--surface); color: var(--charcoal);
  font-family: 'Nunito', sans-serif; font-size: .85rem;
  outline: none; cursor: pointer;
}
.slot-select:focus { border-color: var(--leaf); }

/* ================================================================
   RECENTLY VIEWED SECTION
   ================================================================ */
.recently-viewed-section { background: var(--wheat); }

/* ================================================================
   RESPONSIVE ADDITIONS
   ================================================================ */
@media (max-width: 600px) {
  .lang-toggle { display: none; }
  .pincode-bar .container { flex-direction: column; align-items: flex-start; }
}
