/* ============================================================
   SARVNIPUN — herbal Botanical Powders
   Design System — light, natural, botanical, calm
   Category: natural wellness / plant-based superfoods
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Fresh botanical greens (from product sheet) */
  --green-900: #23361f;   /* deep forest text-green */
  --green-800: #2f4a28;   /* forest */
  --green-700: #3d6b35;   /* leaf green (primary) */
  --green-600: #4a7c2f;   /* fresh green */
  --green-500: #6b9b52;   /* soft green */
  --sage:      #8ba06a;
  --sage-soft: #e4ecd8;   /* pale sage tint */
  --sage-tint: #f0f3e8;   /* very pale wash */

  /* Warm turmeric-ochre accent (from logo) — flat, restrained */
  --ochre:      #c99a3f;
  --ochre-dark: #a87e2c;
  --ochre-soft: #f3e9d0;

  --berry:     #8f3f52;   /* beetroot accent for variety */

  /* Warm light canvas */
  --cream:     #f7f3ea;   /* warm cream */
  --cream-2:   #efe8d8;   /* deeper cream band */
  --paper:     #fdfbf5;   /* near-white paper */
  --white:     #ffffff;

  /* Warm neutral text */
  --ink:       #33352c;   /* warm charcoal */
  --muted:     #6f7263;   /* sage-grey */
  --line:      #e7e0cf;   /* soft warm hairline */

  --radius:    18px;
  --radius-sm: 10px;
  --shadow:    0 6px 24px rgba(45, 74, 40, 0.06);
  --shadow-lg: 0 16px 44px rgba(45, 74, 40, 0.10);
  --maxw:      1200px;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:  "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 500; line-height: 1.16;
  color: var(--green-800); letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 860px) { .container { padding-inline: 20px; } }
@media (max-width: 480px) { .container { padding-inline: 16px; } }
.section { padding: 84px 0; }
.section--tight { padding: 52px 0; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: "❋"; color: var(--ochre); font-size: .9rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 660px; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; text-align: center;
  padding: 15px 30px; border-radius: 50px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .3s ease; white-space: nowrap;
}
.btn--primary { background: var(--green-700); color: var(--cream); }
.btn--primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn--ghost:hover { background: var(--green-700); color: var(--cream); border-color: var(--green-700); }
.btn--gold { background: var(--ochre); color: #ffffff; }
.btn--gold:hover { background: var(--ochre-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: 11px 20px; font-size: .74rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Announcement Bar ---------- */
.announce {
  background: var(--green-800);
  color: var(--cream);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 10px 12px;
}
.announce span { color: var(--ochre); margin: 0 8px; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .14em; color: var(--green-800); }
.brand-text small { font-family: var(--sans); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre-dark); margin-top: 4px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: .84rem; font-weight: 600; letter-spacing: .03em;
  color: var(--green-800); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--ochre); transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-600); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  background: none; border: none; cursor: pointer; color: var(--green-800);
  display: inline-flex; position: relative; padding: 4px; font-size: 1.1rem;
}
.icon-btn:hover { color: var(--ochre-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--green-800); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 88% 10%, var(--sage-tint), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
  padding: 76px 0 84px;
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 500; margin: 8px 0 20px; }
.hero h1 .accent-text { color: var(--green-600); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin-bottom: 12px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-media { position: relative; width: 460px; max-width: 100%; margin-left: auto; }
.hero-media img {
  width: 460px; height: 520px; max-width: 100%; object-fit: cover;
  border-radius: 48% 52% 46% 54% / 40% 42% 58% 60%;
  box-shadow: var(--shadow-lg); border: 10px solid var(--white);
}
.hero-badge {
  position: absolute; bottom: 24px; left: 4px;
  background: var(--white); color: var(--green-700);
  border-radius: 50%; width: 96px; height: 96px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: .92rem;
  box-shadow: var(--shadow-lg); border: 2px solid var(--sage-soft);
}

/* ---------- Philosophy chips ---------- */
.philosophy { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.chip {
  font-family: var(--serif); font-size: 1.4rem; font-style: italic;
  color: var(--green-700); background: var(--white);
  border: 1px solid var(--line); border-radius: 50px; padding: 8px 28px;
  box-shadow: var(--shadow);
}

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 46px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; transition: transform .4s ease, box-shadow .4s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .ico {
  font-size: 1.7rem; margin-bottom: 14px; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%; margin-inline: auto;
  background: var(--sage-soft);
}
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--muted); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; margin: 0 auto 8px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.divider { width: 60px; height: 2px; background: var(--ochre); border-radius: 2px; margin: 18px auto 0; }

/* ---------- Products grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 48px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-thumb {
  aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative;
  background: var(--paper); overflow: hidden;
}
.product-thumb .leaf { font-size: 3.6rem; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb .swatch { position: absolute; inset: 0; opacity: .12; }
/* soft scrim so the pill stays legible over any image content */
.product-thumb::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 70px; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  pointer-events: none;
}
.pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--white); color: var(--green-700);
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 50px; font-weight: 700;
  box-shadow: 0 2px 10px rgba(45,74,40,.18); border: 1px solid var(--line);
}
.product-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; }
.product-body h3 { font-size: 1.1rem; line-height: 1.2; }
.product-body h3 a { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-body .desc { font-size: .82rem; color: var(--muted); margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-body .botanical { font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--ochre-dark); }
.product-body .tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.product-meta .price { font-family: var(--serif); font-size: 1.5rem; color: var(--green-800); font-weight: 600; }
.product-meta .qty { font-size: .74rem; color: var(--muted); }
.product-actions { display: flex; gap: 10px; margin-top: 16px; }
.product-actions .btn { flex: 1; }

/* ---------- Detailed product (shop page) ---------- */
.powder {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow);
}
.powder-head { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.powder-visual { background: var(--sage-tint); display: grid; place-items: center; position: relative; overflow: hidden; }
.powder-visual .leaf { font-size: 4.4rem; }
.powder-visual img { width: 100%; height: 100%; object-fit: cover; }
.powder-visual:not(:has(img)) { padding: 34px; }
.powder-main { padding: 30px 32px; }
.powder-main .num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ochre-dark); }
.powder-main h2 { font-size: 2.2rem; margin: 2px 0; }
.powder-main .subtitle { font-family: var(--serif); font-style: italic; color: var(--green-600); font-size: 1.1rem; margin-bottom: 4px; }
.powder-main .attrs { font-size: .74rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.powder-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.block-title {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--green-700); margin-bottom: 12px;
  display: inline-block; padding: 5px 12px; background: var(--sage-soft); border-radius: 50px;
}
.benefits li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .93rem; color: var(--ink); }
.benefits li::before { content: "🌿"; position: absolute; left: 0; font-size: .85rem; }
.recipe { background: var(--sage-tint); border-radius: var(--radius-sm); padding: 18px 20px; }
.recipe h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; color: var(--green-800); }
.recipe ul li { font-size: .9rem; color: var(--muted); padding-left: 16px; position: relative; margin-bottom: 4px; }
.recipe ul li::before { content: "•"; position: absolute; left: 0; color: var(--ochre); }
.recipe .tip { margin-top: 10px; font-style: italic; font-size: .88rem; color: var(--green-600); }
.powder-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 32px; background: var(--cream); flex-wrap: wrap;
}
.powder-footer .price { font-family: var(--serif); font-size: 1.7rem; color: var(--green-800); font-weight: 600; }
.powder-footer .sizes { font-size: .82rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--green-800); color: var(--cream); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.trust-item .ico { font-size: 1.2rem; }
.trust-tag { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ochre); margin-top: 22px; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.story-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.story-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.story-card .kicker { color: var(--ochre-dark); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; margin-bottom: 12px; display: block; }
.value-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.value-list li::before { content: "🌿"; position: absolute; left: 0; font-size: .85rem; }
.value-list b { color: var(--green-700); }

.callout {
  background: linear-gradient(160deg, var(--green-700), var(--green-800));
  color: var(--cream); border-radius: var(--radius); padding: 46px;
  text-align: center;
}
.callout h2 { color: var(--cream); }
.callout p { color: rgba(247,243,234,.9); max-width: 580px; margin: 12px auto 0; }
.callout a:not(.btn) { color: var(--ochre); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 24px; font-family: var(--serif); font-size: 1.25rem; color: var(--green-800);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { color: var(--ochre); font-size: 1.4rem; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.info-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { font-size: 1.3rem; flex-shrink: 0; }
.info-row .ico svg { width: 22px; height: 22px; color: var(--green-600); }
.info-row b { color: var(--green-800); display: block; font-size: .92rem; }
.info-row span, .info-row a { color: var(--muted); font-size: .92rem; }
.info-row a:hover { color: var(--ochre-dark); }

/* Quick contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease, border-color .3s ease;
}
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ochre); }
.c-card .c-ic {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sage-soft);
  display: grid; place-items: center; margin-bottom: 8px; color: var(--green-700);
}
.c-card .c-ic svg { width: 26px; height: 26px; }
.c-card b { font-family: var(--serif); font-size: 1.2rem; color: var(--green-800); font-weight: 600; }
.c-card span { font-size: .86rem; color: var(--muted); }

.info-list { margin-top: 26px; }

/* Form status */
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #b3452f; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green-700); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .95rem; background: var(--paper); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--sage-soft);
}
.form-note { font-size: .84rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 860px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Page banner ---------- */
.page-banner {
  background:
    radial-gradient(700px 320px at 88% 0%, var(--sage-tint), transparent 65%),
    linear-gradient(180deg, var(--cream), var(--paper));
  color: var(--green-800); padding: 42px 0; text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { color: var(--green-800); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-banner p { color: var(--muted); max-width: 640px; margin: 10px auto 0; font-size: 1rem; }
.page-banner .eyebrow { justify-content: center; }
.crumbs { font-size: .78rem; color: var(--muted); margin-top: 12px; letter-spacing: .06em; }
.crumbs a:hover { color: var(--ochre-dark); }

/* ---------- Band / doshas / steps ---------- */
.band { background: var(--cream); }
.dosha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.dosha { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.dosha .ico { font-size: 2rem; margin-bottom: 12px; }
.dosha h3 { font-size: 1.5rem; margin-bottom: 8px; }
.dosha p { font-size: .92rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; }
.step { text-align: center; }
.step .num {
  width: 58px; height: 58px; border-radius: 50%; background: var(--sage-soft); color: var(--green-700);
  font-family: var(--serif); font-size: 1.5rem; display: grid; place-items: center; margin: 0 auto 16px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Footer (compact) ---------- */
.footer { background: var(--green-900); color: rgba(247,243,234,.72); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px;
  padding: 26px 0; border-bottom: 1px solid rgba(247,243,234,.1);
}
.footer .f-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer .f-brand img { height: 40px; width: auto; }
.footer .f-brand b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: .16em; color: var(--cream); display: block; line-height: 1.1; }
.footer .f-brand small { font-family: var(--sans); font-size: .54rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { font-size: .8rem; letter-spacing: .06em; color: rgba(247,243,234,.78); transition: color .25s ease; }
.footer-nav a:hover { color: var(--ochre); }
.footer .footer-social { display: inline-flex; gap: 10px; }
.footer .footer-social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247,243,234,.14); color: #f7f3ea;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.footer .footer-social a:hover { background: var(--ochre); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(247,243,234,.5);
}
.footer-bottom .contact-inline { color: rgba(247,243,234,.6); }
.footer-bottom .contact-inline a { color: rgba(247,243,234,.6); }
.footer-bottom .contact-inline a:hover { color: var(--ochre); }
.footer-bottom .credit a { color: var(--ochre); font-weight: 700; }
.footer-bottom .credit a:hover { color: #e6c877; text-decoration: underline; }
.footer .disclaimer {
  font-size: .72rem; color: rgba(247,243,234,.4); text-align: center; line-height: 1.55;
  padding: 12px 0 18px; max-width: 880px; margin: 0 auto;
}
@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* ---------- WhatsApp ---------- */
.btn--wa { background: #25d366; color: #ffffff; border-color: #25d366; }
.btn--wa:hover { background: #1eb455; border-color: #1eb455; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--wa svg { width: 16px; height: 16px; }

.wa-float {
  position: fixed; right: 24px; bottom: 84px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: wa-pop .5s .6s both;
}
.wa-float::after {
  content: "Order on WhatsApp";
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--green-800); color: var(--cream);
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  padding: 8px 14px; border-radius: 50px; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(37, 211, 102, .55); }
.wa-float:hover::after { opacity: 1; transform: translateX(0); }
@keyframes wa-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 76px; width: 52px; height: 52px; }
  .wa-float::after { display: none; }
}

/* ---------- Premium Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity .7s ease, visibility .7s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
html.preload-active { overflow: hidden; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-mark { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.pl-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--sage-soft);
  border-top-color: var(--green-600);
  border-right-color: var(--ochre);
  animation: pl-spin 1s linear infinite;
}
.pl-leaf { font-size: 2.2rem; animation: pl-pulse 1.6s ease-in-out infinite; }
.pl-brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .26em; color: var(--green-800); text-transform: uppercase;
}
.pl-tag {
  font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ochre-dark); margin-top: -14px;
}
.pl-bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 40%; background: var(--green-600); border-radius: 2px; animation: pl-load 1.3s ease-in-out infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .7; } }
@keyframes pl-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) {
  .pl-ring, .pl-leaf, .pl-bar span { animation: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--green-700); color: var(--cream); padding: 13px 26px; border-radius: 50px;
  box-shadow: var(--shadow-lg); font-size: .92rem; z-index: 999;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .dosha-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 110; }
  .nav-links {
    position: fixed; top: 0; bottom: 0; right: 0; left: auto;
    width: min(80%, 320px); height: 100vh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 90px 30px; gap: 22px;
    transform: translateX(24px);
    visibility: hidden; opacity: 0;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    box-shadow: var(--shadow-lg); z-index: 105; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; opacity: 1; }
  .nav-links a { font-size: 1.05rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-media { order: -1; width: 340px; max-width: 90%; margin-inline: auto; }
  .hero-media img { width: 100%; height: auto; aspect-ratio: 1 / 1.13; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .powder-head { grid-template-columns: 1fr; }
  .powder-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid, .dosha-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 30px 0; }
  .section { padding: 44px 0; }
  .section--tight { padding: 32px 0; }
  .hero { padding: 40px 0 48px; }
  .powder-main { padding: 22px 20px; }
  .product-body { padding: 16px; }
  .story-card, .info-card { padding: 24px 20px; }
  .brand-text small { display: none; }

  /* Mobile header: logo only (hide the SARVNIPUN wordmark) */
  .brand-text { display: none; }
  .brand img { height: 64px; }
  /* Logo is a JPEG with a white background — blend it into the header so the
     white block disappears on mobile (header bg is white/paper). */
  .header .brand img {
    mix-blend-mode: multiply;
    background: transparent;
  }
}
