/* ============================================================
   BENTAM CHALK — styles.css
   Dark luxury theme. Mobile-first. Copper/bronze accents.
   ------------------------------------------------------------
   Section index:
   0. Design tokens (CSS custom properties)
   1. Reset & base
   2. Layout helpers (container, section)
   3. Buttons & badges
   4. Header & nav
   5. Hero
   6. Trust strip
   7. Serviceability / pincode
   8. Product cards
   9. Nutrition panel
   10. Care block
   11. Ingredient story
   12. FAQ
   13. Footer
   14. Cart drawer & checkout modal
   15. Mobile buy bar
   16. Responsive breakpoints
   17. Accessibility (focus, reduced motion)
   ============================================================ */

/* -------------------- 0. DESIGN TOKENS -------------------- */
:root {
  /* Brand colours */
  --bg:            #0E0E0E;   /* rich dark background */
  --bg-elevated:   #171717;   /* cards / panels */
  --bg-elevated-2: #1F1F1F;   /* nested surfaces */
  --copper:        #B87333;   /* primary metallic accent */
  --gold:          #D4AF37;   /* secondary metallic accent */
  --white:         #FFFFFF;   /* crisp primary text */
  --cream:         #E7E1D6;   /* secondary text */
  --slate:         #A6A29B;   /* muted / tertiary text */
  --line:          rgba(255,255,255,0.10); /* hairline borders */

  /* Status flag colours (never rely on colour alone — always paired with icon+text) */
  --lab-green:     #4CAF7D;
  --est-amber:     #E0A82E;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius:    14px;
  --radius-sm: 9px;
  --maxw: 1200px;

  --shadow: 0 18px 50px rgba(0,0,0,0.55);
  --copper-grad: linear-gradient(135deg, var(--copper), var(--gold));
}

/* -------------------- 1. RESET & BASE -------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
/* Safety net: never allow sideways scrolling on any screen (esp. phones). */
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--gold); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------- 2. LAYOUT HELPERS -------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 820px; }

.section { padding-block: var(--space-xl); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-lg); }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.section-sub { color: var(--slate); margin-top: var(--space-sm); font-size: 1.02rem; }
.section-sub strong { color: var(--cream); font-weight: 600; }

/* -------------------- 3. BUTTONS & BADGES -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  min-height: 44px; /* tap target */
  white-space: nowrap;
}
.btn-primary { background: var(--copper-grad); color: #1a1206; box-shadow: 0 8px 24px rgba(184,115,51,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(184,115,51,0.5); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--copper); color: var(--white); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem; border-radius: 6px; text-transform: uppercase;
  white-space: nowrap;
}
.badge-lab { background: rgba(76,175,125,0.15); color: var(--lab-green); border: 1px solid rgba(76,175,125,0.4); }
.badge-est { background: rgba(224,168,46,0.14); color: var(--est-amber); border: 1px solid rgba(224,168,46,0.4); }

/* -------------------- 4. HEADER & NAV -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.site-header.scrolled { background: rgba(14,14,14,0.94); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--white); }
.logo .tm { color: var(--copper); font-size: 0.7em; vertical-align: super; }
/* Header brand mark — the complete logo lockup, uncropped (object-fit: contain). */
.logo-img { height: 46px; width: auto; display: block; flex-shrink: 0; object-fit: contain; }


.main-nav { display: none; gap: 1.75rem; margin-left: auto; }
.main-nav a { color: var(--cream); font-size: 0.95rem; font-weight: 500; position: relative; padding: 0.3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--copper-grad); transition: width .25s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

.cart-toggle { position: relative; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.3rem; padding: 0.4rem; min-width: 44px; min-height: 44px; }
.cart-count {
  position: absolute; top: 0; right: 0; background: var(--copper-grad); color: #1a1206;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px;
}
.btn-cta { display: none; }

.nav-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-width: 44px; min-height: 44px; background: none; border: none; cursor: pointer; padding: 0.6rem; margin-left: 0.25rem; }
.nav-burger span { width: 24px; height: 2px; background: var(--white); transition: transform .25s ease, opacity .25s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown nav */
.main-nav.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(14,14,14,0.98); border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1.25rem;
}
.main-nav.open a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }

/* -------------------- 5. HERO -------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-sound {
  position: absolute; top: 82px; right: 20px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  cursor: pointer; font-size: 1.05rem; line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hero-sound:hover { background: rgba(0, 0, 0, 0.65); transform: scale(1.06); }
.hero-sound:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.hero-sound[aria-pressed="true"] { border-color: var(--copper); background: rgba(184, 115, 51, 0.35); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 40%, rgba(14,14,14,0.9) 100%),
    radial-gradient(circle at 30% 40%, rgba(184,115,51,0.14), transparent 55%);
}
.hero-content { position: relative; z-index: 2; padding-block: var(--space-xl); max-width: 760px; }
/* Brand + tagline are the large, highlighted lockup; the stat headline supports below. */
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(1.5rem, 4.2vw, 2.4rem); color: var(--copper); font-weight: 700; margin-bottom: 0.3rem; line-height: 1.1; }
.hero-tagline { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(2rem, 6.5vw, 3.8rem); line-height: 1.05; color: var(--gold); margin-bottom: 1.1rem; }
.hero-headline { font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 600; color: var(--cream); }
.hero-headline .accent { color: var(--copper); }
.hero-sub { color: var(--cream); font-size: clamp(0.95rem, 2.2vw, 1.15rem); margin-top: 0.9rem; max-width: 34ch; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0; }
.hero-badges li {
  font-size: 0.82rem; font-weight: 600; color: var(--cream);
  border: 1px solid rgba(212,175,55,0.4); border-radius: 100px; padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.badge-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--copper-grad); color: #1a1206; font-size: 0.62rem; font-weight: 900;
}

/* -------------------- 6. TRUST STRIP -------------------- */
.trust-strip { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.trust-inner { display: flex; gap: 1rem; padding-block: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.trust-item {
  scroll-snap-align: center; flex: 1 0 auto; min-width: 150px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: relative;
}
.trust-item .t-icon { font-size: 1.6rem; }
.trust-item .t-label { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.trust-item .t-tip { font-size: 0.78rem; color: var(--slate); max-width: 22ch; line-height: 1.4; }

/* -------------------- 7. SERVICEABILITY (delivery check, lives inside the cart drawer) -------------------- */
.pin-form label, .pin-serviceable label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--cream); }
.pin-row { display: flex; gap: 0.6rem; }
.pin-row input { flex: 1; }

input, select, textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--white);
  background: var(--bg-elevated-2); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem; transition: border-color .2s ease;
}
input::placeholder, textarea::placeholder { color: var(--slate); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); }
select { cursor: pointer; }

.field-help { font-size: 0.82rem; color: var(--slate); margin-top: 0.6rem; }
.field.error input, input.error { border-color: #e0574e; }

.pin-result { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--line); }
.pin-ok { color: var(--lab-green); font-weight: 600; margin-bottom: 0.9rem; }
.pin-no { color: var(--est-amber); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.4rem; }
.waitlist-form { margin-top: 0.9rem; }
.waitlist-done { color: var(--lab-green); font-weight: 600; margin-top: 0.7rem; }

/* -------------------- 8. PRODUCT CARDS -------------------- */
/* align-items left at default (stretch) so both cards in a row share one equal
   height; .pc-actions' margin-top:auto then pins each card's buttons to a common
   bottom edge regardless of how much attribute/description text each has. */
.product-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }
.product-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }

/* Both product videos share ONE identical landscape frame (16:9) and fill it
   edge-to-edge. The portrait Chaas clip is centre-filled into the same frame so the
   two cards are exactly the same size and stay aligned. */
.pc-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pc-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pc-media-badge { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; background: rgba(14,14,14,0.7); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.85rem; font-size: 0.78rem; font-weight: 600; color: var(--gold); }

.pc-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.pc-title { font-size: 1.7rem; }
.pc-tagline { color: var(--copper); font-weight: 600; font-size: 0.92rem; margin-top: -0.4rem; }
.pc-desc { color: var(--slate); font-size: 0.92rem; }

.pc-attrs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pc-attrs span { font-size: 0.75rem; color: var(--cream); border: 1px solid var(--line); border-radius: 100px; padding: 0.28rem 0.7rem; background: var(--bg-elevated-2); }

/* Size toggle (segmented control) */
.seg-control { display: inline-flex; background: var(--bg-elevated-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px; gap: 4px; }
.seg-control button {
  border: none; background: none; color: var(--slate); font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 1rem; border-radius: 100px; cursor: pointer; transition: background .2s ease, color .2s ease; min-height: 38px;
}
.seg-control button.is-active { background: var(--copper-grad); color: #1a1206; }

.pc-stats { display: flex; gap: 1.5rem; padding: var(--space-sm) 0; border-block: 1px solid var(--line); }
.pc-stat .num { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.pc-stat .lbl { font-size: 0.76rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; }

.pc-care { list-style: none; display: grid; gap: 0.35rem; }
.pc-care li { font-size: 0.82rem; color: var(--slate); padding-left: 1.3rem; position: relative; }
.pc-care li::before { content: "✓"; position: absolute; left: 0; color: var(--copper); font-weight: 700; }

/* Order options */
.pc-order label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--cream); margin-bottom: 0.5rem; }
.pc-order select { margin-bottom: 0.4rem; }
.pc-qty { margin-top: 0.6rem; }
.pc-qty input[type="number"] {
  width: 5.5rem; padding: 0.5rem 0.6rem; font-size: 0.95rem; font-weight: 600;
  color: var(--white); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.4); border-radius: 8px;
}
.pc-qty input[type="number"]:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.pc-price { font-size: 0.85rem; color: var(--slate); }
.pc-price .rupee { color: var(--gold); font-weight: 700; font-size: 1.05rem; }

.pc-actions { display: flex; gap: 0.6rem; margin-top: auto; }
.pc-actions .btn { flex: 1; }

/* -------------------- 9. NUTRITION PANEL -------------------- */
.nutrition { background: linear-gradient(180deg, var(--bg) 0%, #0b0b0b 100%); }
/* minmax(0,1fr) stops the video's intrinsic width from blowing the grid track
   wider than the screen (which caused horizontal scroll on phones). */
.nutrition-layout { display: grid; gap: var(--space-lg); grid-template-columns: minmax(0, 1fr); }

.nutrition-video { position: relative; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nutrition-video video { width: 100%; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nutrition-video-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1rem 1rem; font-family: var(--font-serif); font-size: 1.15rem; background: linear-gradient(0deg, rgba(14,14,14,0.9), transparent); }

.nutrition-panel { min-width: 0; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md); }
.nutrition-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-bottom: var(--space-sm); }

.nutrition-tabs { display: flex; gap: 0.25rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: var(--space-sm); }
.nutrition-tabs button { border: none; background: none; color: var(--slate); font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; padding: 0.7rem 0.9rem; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.nutrition-tabs button.is-active { color: var(--white); border-bottom-color: var(--copper); }

.nutrient-rows { display: grid; gap: 0.9rem; }
.nutrient-row { display: grid; gap: 0.4rem; }
.nr-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.nr-name { font-size: 0.92rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nr-val { font-size: 0.9rem; color: var(--cream); font-weight: 600; white-space: nowrap; }
.nr-bar { height: 8px; background: var(--bg-elevated-2); border-radius: 100px; overflow: hidden; }
.nr-fill { height: 100%; background: var(--copper-grad); border-radius: 100px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.nr-fill.over { background: linear-gradient(135deg, var(--gold), #f0d876); }
.nr-rda { font-size: 0.78rem; color: var(--slate); }
.nr-rda .over-txt { color: var(--gold); font-weight: 700; }

.rda-footnote { font-size: 0.8rem; color: var(--slate); margin-top: var(--space-md); font-style: italic; }
.legend { font-size: 0.76rem; color: var(--slate); margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }

/* -------------------- 10. CARE BLOCK -------------------- */
.care-block { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.care-grid { display: grid; gap: var(--space-md); grid-template-columns: repeat(2, 1fr); text-align: center; }
.care-item .care-icon { font-size: 2rem; }
.care-item h3 { font-size: 1.15rem; margin: 0.5rem 0 0.3rem; }
.care-item p { font-size: 0.85rem; color: var(--slate); }

/* -------------------- 11. FAQ -------------------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--white); font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; padding: 1.15rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .chev { color: var(--copper); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.25rem 1.25rem; color: var(--slate); font-size: 0.92rem; }

/* "Ask Bentam" chatbot */
.faq-chat {
  max-width: 520px; margin: 0 auto; display: flex; flex-direction: column;
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line);
}
.chat-head-title { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--cream); }
.chat-head-ava {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.55rem; font-weight: 700; color: #1a1206; background: var(--copper-grad);
}
.chat-reset {
  font-size: 0.72rem; color: var(--slate); background: none; border: 1px solid var(--line);
  border-radius: 100px; padding: 0.22rem 0.6rem; cursor: pointer;
}
.chat-reset:hover { color: var(--cream); border-color: var(--copper); }
.chat-nudge { display: none; }
.chat-log { height: 200px; overflow-y: auto; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.chat-msg { display: flex; gap: 0.4rem; max-width: 88%; }
.chat-bot { align-self: flex-start; }
.chat-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-ava {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em;
  color: #1a1206; background: var(--copper-grad); margin-top: auto;
}
.chat-bubble {
  padding: 0.5rem 0.75rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.4;
  background: rgba(255, 255, 255, 0.05); color: var(--cream); border: 1px solid var(--line);
}
.chat-user .chat-bubble { background: var(--copper-grad); color: #1a1206; border: none; font-weight: 600; }
.chat-bubble a { color: var(--copper); text-decoration: none; border-bottom: 1px solid rgba(184,115,51,0.5); }
.chat-bubble a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.chat-typing { display: inline-flex; gap: 4px; padding: 0.15rem 0; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); animation: chatBlink 1.2s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.2s; }
.chat-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBlink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.chat-suggests { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.55rem 1rem; border-top: 1px solid var(--line); }
.chat-suggests { padding: 0.4rem 0.75rem; }
.chat-chip {
  border: 1px solid var(--line); border-radius: 100px; padding: 0.24rem 0.6rem;
  font-size: 0.72rem; color: var(--cream); background: transparent; cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.chat-chip:hover, .chat-chip:focus-visible { border-color: rgba(212,175,55,0.6); background: rgba(255,255,255,0.05); outline: none; }
.chat-input-row { display: flex; gap: 0.4rem; padding: 0.5rem 0.75rem; border-top: 1px solid var(--line); background: rgba(0,0,0,0.2); }
.chat-input-row input {
  flex: 1; padding: 0.45rem 0.7rem; font-size: 0.85rem; color: var(--white);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 100px;
}
.chat-input-row input:focus-visible { outline: none; border-color: var(--copper); }
.chat-send {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--copper-grad); color: #1a1206; font-size: 0.9rem; display: grid; place-items: center;
}
.chat-send:hover { filter: brightness(1.08); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* -------------------- 13. FOOTER -------------------- */
.site-footer { background: #080808; border-top: 1px solid var(--line); padding-top: var(--space-md); }
.footer-inner { display: grid; gap: var(--space-md); grid-template-columns: 1fr; padding-bottom: var(--space-md); align-items: start; }
.footer-brand p { color: var(--slate); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-legal { display: grid; gap: 0.4rem; align-content: start; }
.footer-legal p { font-size: 0.82rem; color: var(--cream); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: var(--space-md); display: grid; gap: 0.4rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--slate); }
.staff-link { color: var(--slate); text-decoration: none; margin-left: 0.6rem; opacity: 0.7; }
.staff-link:hover { color: var(--copper); opacity: 1; }

/* -------------------- 14. CART DRAWER & CHECKOUT -------------------- */
.cart-scrim, .modal-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; backdrop-filter: blur(2px); }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); z-index: 210;
  background: var(--bg-elevated); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transform: translateX(100%); transition: transform .3s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md); border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 1.5rem; }
.icon-btn { background: none; border: none; color: var(--slate); font-size: 1.2rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.icon-btn:hover { color: var(--white); }

/* Delivery check, moved inside the cart so it only appears at the point of purchase.
   Two states: the pincode form (default), or — once a locality is confirmed — a
   compact "Delivering to: X · Change" bar that replaces it. */
.cart-delivery { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--line); }
.cart-delivery .pin-form { margin: 0; }
.cart-delivery .pin-row input { padding: 0.65rem 0.8rem; }
.cart-delivery .pin-result { margin-top: 0.9rem; padding-top: 0.9rem; }
.cart-delivery.is-set .pin-form,
.cart-delivery.is-set .pin-result,
.cart-delivery.is-set .geo-btn,
.cart-delivery.is-set #geoStatus { display: none; }
.geo-btn { display: block; margin-top: 0.6rem; }

/* :not([hidden]) so the element's own `hidden` attribute (toggled from JS) still wins —
   otherwise this display:flex rule would out-cascade the browser's default [hidden] rule. */
.cart-locality-set:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.cart-locality { padding: 0; font-size: 0.85rem; color: var(--gold); }
.link-btn { background: none; border: none; color: var(--copper); font-size: 0.8rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0.2rem; flex-shrink: 0; }
.link-btn:hover { color: var(--gold); }

.cart-items { flex: 1; overflow-y: auto; padding: var(--space-sm) var(--space-md); display: grid; gap: 0.9rem; align-content: start; }
.cart-empty { color: var(--slate); text-align: center; padding: var(--space-lg) 0; font-size: 0.9rem; }

.cart-line { display: grid; gap: 0.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem; background: var(--bg-elevated-2); }
.cart-line .cl-top { display: flex; justify-content: space-between; gap: 0.5rem; }
.cart-line .cl-name { font-weight: 600; font-size: 0.92rem; }
.cart-line .cl-meta { font-size: 0.78rem; color: var(--slate); }
.cart-line .cl-price { color: var(--gold); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.cart-line .cl-remove { background: none; border: none; color: var(--slate); font-size: 0.78rem; cursor: pointer; justify-self: start; padding: 0.2rem 0; text-decoration: underline; }
.cart-line .cl-remove:hover { color: #e0574e; }

.cart-foot { border-top: 1px solid var(--line); padding: var(--space-md); display: grid; gap: 0.75rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.cart-total span:last-child { color: var(--gold); }
.cart-note { font-size: 0.74rem; color: var(--slate); }

.checkout-modal {
  position: fixed; z-index: 220; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(480px, 92vw); max-height: 90vh; overflow-y: auto;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.checkout-form { padding: var(--space-md); display: grid; gap: var(--space-sm); }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--cream); }
.checkout-summary { font-size: 0.85rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: var(--space-sm); }
.checkout-done { color: var(--lab-green); font-weight: 600; font-size: 0.9rem; text-align: center; }

/* -------------------- 15. MOBILE BUY BAR -------------------- */
.mobile-buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--copper-grad); color: #1a1206; text-align: center; font-weight: 700;
  padding: 1rem; font-size: 1rem; box-shadow: 0 -6px 20px rgba(0,0,0,0.4);
}

/* -------------------- 15b. EYE-CATCHERS: CTA glow-pulse + price-pill shimmer --------------------
   Scoped to the "one clear action" buttons only (nav CTA, hero CTA, mobile bar, WhatsApp) —
   not applied to every button on the page, so it draws the eye instead of becoming noise. */
@keyframes ctaGlowPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(184,115,51,0.35), 0 0 0 0 rgba(212,175,55,0.45); }
  50%      { box-shadow: 0 8px 24px rgba(184,115,51,0.35), 0 0 0 10px rgba(212,175,55,0); }
}
.btn-cta, .btn-lg, .mobile-buy-bar { animation: ctaGlowPulse 2.6s ease-in-out infinite; }

@keyframes waPulseRing {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.55); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 9px rgba(37,211,102,0); }
}
.wa-float { animation: waPulseRing 2.6s ease-in-out infinite; }

@keyframes savePillShimmer {
  0%   { background-position: -120% 0; }
  60%, 100% { background-position: 220% 0; }
}
.pc-price .save {
  background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%),
                     linear-gradient(0deg, rgba(184,115,51,0.16), rgba(184,115,51,0.16));
  background-size: 200% 100%, 100% 100%;
  animation: savePillShimmer 3.2s ease-in-out infinite;
}

/* -------------------- 16. RESPONSIVE -------------------- */
@media (min-width: 720px) {
  .care-grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .btn-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-buy-bar { display: none; }
  .nutrition-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .trust-inner { justify-content: space-between; overflow: visible; }
}

/* -------------------- 17. ACCESSIBILITY -------------------- */
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  /* Pause decorative autoplay video for motion-sensitive users */
  .hero-video, .nutrition-video video, .hero-sound { display: none; }
  .hero { background: linear-gradient(160deg, #1a130a, var(--bg)); }
}

body.no-scroll { overflow: hidden; }

/* -------------------- 17b. WHY IT'S DIFFERENT (auto-fade carousel) + COMPARISON -------------------- */
/* Single card visible at a time — section height = one card, not six. */
.why-carousel { position: relative; display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; max-width: 640px; margin-inline: auto; }
.why-track { position: relative; flex: 1; min-height: 190px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.why-slide {
  position: absolute; inset: 0; padding: 1.6rem 1.8rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.why-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.why-ic { font-size: 1.7rem; display: block; margin-bottom: 0.6rem; }
.why-slide h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.4rem; color: var(--white); }
.why-slide p { color: var(--cream); font-size: 0.94rem; line-height: 1.6; }

.why-nav {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--line); color: var(--cream);
  font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.why-nav:hover { color: var(--gold); border-color: var(--copper); }

.why-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.why-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; }
.why-dot.is-active { background: var(--copper); width: 22px; border-radius: 4px; transition: width 0.3s ease, background 0.3s ease; }

@media (max-width: 560px) {
  .why-track { min-height: 230px; }
  .why-nav { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-slide { transition: opacity 0.01ms; transform: none; }
}

/* -------------------- 17b. MISSION & VISION -------------------- */
.mv { text-align: center; }
.mv-kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 1.1rem;
}
.mv-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 2.3rem); line-height: 1.28; color: var(--gold);
  margin: 0 0 var(--space-lg); text-wrap: balance;
}
.mv-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; text-align: left; max-width: 760px; margin-inline: auto; }

/* Founder profile card: large portrait ABOVE, identical header block BELOW.
   Both cards share the exact same structure so their lines align 1:1. */
.mv-block {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; align-items: center;
  padding-top: 1.8rem;
}
.mv-photo {
  width: 74%; max-width: 260px; aspect-ratio: 3 / 4;   /* matches the source photos */
  border-radius: 50%;                                  /* oval frame */
  background-repeat: no-repeat;
  background-size: contain;                             /* whole photo, never cropped */
  background-position: center;
  background-color: var(--card);
  border: 2px solid var(--copper);
  box-shadow: 0 0 0 4px var(--bg-elevated), 0 0 0 5px rgba(184,115,51,0.3);
  filter: contrast(1.02);                              /* natural, not over-processed */
}
.mv-body { padding: 1.4rem 1.7rem 1.7rem; align-self: stretch; }
.mv-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 0.55rem;
}
.mv-name {
  font-family: var(--font-serif); font-size: 1.35rem; color: var(--white);
  margin: 0 0 0.1rem; letter-spacing: 0.01em; line-height: 1.15;
}
.mv-role {
  font-size: 0.82rem; font-weight: 600; color: var(--copper); margin: 0 0 1rem;
}
.mv-text {
  color: var(--cream); font-size: 0.95rem; line-height: 1.65; margin: 0;
  padding-top: 1rem; border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- 17c. BACKED BY GLOBAL SCIENCE -------------------- */
/* Reuses the .faq-list / .faq-item accordion; these only style the citation link + disclaimer. */
.faq-a-inner a { color: var(--copper); text-decoration: none; border-bottom: 1px solid rgba(184,115,51,0.5); }
.faq-a-inner a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.sci-link { margin-top: 0.9rem; font-weight: 600; }
.sci-link a { border-bottom: none; }
.science-disclaimer { margin-top: 1.4rem; text-align: center; font-size: 0.78rem; color: var(--slate); line-height: 1.5; }

/* -------------------- 18. PRICING (launch price + MRP) -------------------- */
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.6rem; margin-top: 0.75rem; }
.pc-price .rupee { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 700; color: var(--white); }
.pc-price .mrp { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--copper); font-size: 1rem; }
.pc-price .save { background: rgba(184,115,51,0.16); border: 1px solid rgba(212,175,55,0.4); color: var(--gold); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 100px; }
.pc-price .per { flex-basis: 100%; color: var(--slate); font-size: 0.82rem; }
.pc-stat .lbl .stat-note { display: block; font-size: 0.66rem; color: var(--slate); font-weight: 400; }

/* Inline transparency badge inside nutrient rows */
.nr-name .badge { margin-left: 0.4rem; font-size: 0.6rem; padding: 0.08rem 0.4rem; vertical-align: middle; }
.rda-footnote .badge { font-size: 0.6rem; padding: 0.08rem 0.4rem; }

/* -------------------- 19. CHECKOUT payment (Razorpay-only) -------------------- */
.pay-methods { border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; }
.pay-single-note { font-size: 0.85rem; color: var(--cream); line-height: 1.5; margin: 0; }
.checkout-note { font-size: 0.8rem; color: var(--slate); margin-top: 0.75rem; }

/* -------------------- 18b. PLAN PICKER (Single / Weekly / 15 Days / Monthly) -------------------- */
.pc-plans { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.pc-plan {
  flex: 1 1 auto; min-width: 6.2rem; text-align: center; cursor: pointer;
  background: var(--bg-elevated-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.55rem 0.6rem; color: var(--cream); font-family: inherit;
  display: flex; flex-direction: column; gap: 0.25rem; transition: border-color 0.15s, background 0.15s;
}
.pc-plan:hover { border-color: var(--copper); }
.pc-plan.active { border-color: var(--gold); background: rgba(212,175,55,0.12); }
.pc-plan-name { font-weight: 700; font-size: 0.88rem; color: var(--white); }
.pc-plan-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); }
.pc-plan-tag.one-time { color: var(--slate); }

/* -------------------- 20. FOOTER CONTACT -------------------- */
.footer-contact { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.55rem 1.2rem; margin-top: 1rem; }
.c-link { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--cream); font-size: 0.9rem; text-decoration: none; width: fit-content; }
.c-link .c-ic { flex-shrink: 0; }
.c-link span { border-bottom: 1px solid transparent; }
.c-link:hover span { border-bottom-color: currentColor; }
/* Brand colours on the glyphs */
.c-wa .c-ic   { color: #25D366; }
.c-ig .c-ic   { color: #E4405F; }
.c-fb .c-ic   { color: #1877F2; }
.c-mail .c-ic { color: var(--copper); }
.c-link:hover { color: var(--white); }


/* -------------------- 21. FLOATING WHATSAPP BUTTON -------------------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #1faa54; color: #fff; text-decoration: none;
  padding: 0.7rem 1rem; border-radius: 100px; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.wa-float:hover { background: #17974a; }
.wa-float .wa-ic { font-size: 1.15rem; line-height: 1; }
/* On phones, lift it above the sticky buy bar and shrink to an icon */
@media (max-width: 768px) {
  .wa-float { bottom: 4.75rem; padding: 0.7rem; }
  .wa-float .wa-txt { display: none; }
}
