/* Sri Madhura Agro Traders storefront.
   Brand: logo forest green + harvest gold; orange for buying actions.
   Text is deliberately dark and heavy for easy reading on white. */
:root {
  --brand: #163321;
  --brand-700: #1E4A30;
  --brand-600: #25603D;
  --brand-50: #EAF4ED;
  --gold: #C9A24B;
  --gold-50: #FBF1D9;
  --gold-800: #6E500C;
  --cta: #E36A06;
  --cta-700: #BF5704;
  --cta-50: #FDEBD8;
  --sky: #16619A;
  --sky-50: #E3EFF9;
  --berry: #9C2F5F;
  --berry-50: #F8E5EE;
  --ink: #0B1710;
  --ink-2: #2E3B33;
  --ink-3: #4F5C54;
  --line: #DCE3DE;
  --bg: #F3F6F4;
  --surface: #FFFFFF;
  --ok: #17803F;
  --warn: #A8410F;
  --warn-50: #FCEBE2;
  --wa: #179C49;
  --shadow-sm: 0 1px 2px rgba(11, 23, 16, .07), 0 1px 3px rgba(11, 23, 16, .09);
  --shadow-md: 0 6px 16px rgba(11, 23, 16, .1), 0 2px 4px rgba(11, 23, 16, .06);
  --shadow-lg: 0 18px 44px rgba(11, 23, 16, .22);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --head-h: 124px;
  --font-head: "Poppins", "Noto Sans Tamil", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html[lang="ta"] {
  --font-head: "Noto Sans Tamil", "Poppins", system-ui, sans-serif;
  --font-body: "Noto Sans Tamil", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--head-h) + 10px); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body.has-cart { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: .9rem; padding-right: .9rem; }
@media (min-width: 768px) { .wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }

.net, .demo { margin: 0; padding: .5rem 1rem; font-size: .85rem; font-weight: 600; text-align: center; }
.net { background: var(--ink); color: #FDE9B8; padding-top: calc(.5rem + env(safe-area-inset-top, 0px)); }
.demo { background: var(--gold-50); color: var(--gold-800); border-bottom: 1px solid #EBD9A8; }

/* ---------- Sticky header: brand, language, orders, cart, search ---------- */
.head {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(11, 23, 16, .05);
  padding-top: env(safe-area-inset-top, 0px);
}
.bar { display: flex; align-items: center; gap: .5rem; min-height: 60px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; min-width: 0; flex: 1; }
.brand img { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--gold); }
.brand-t { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.15; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .74rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .brand-sub { display: none; } .brand-name { font-size: .9rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
.lang { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--brand-50); border: 1px solid #CFE3D5; }
.lang button { border: 0; background: transparent; border-radius: 999px; padding: .25rem .55rem; font-size: .78rem; font-weight: 700; color: var(--brand-600); min-height: 30px; }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.hbtn { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; border: 0; background: transparent; color: var(--brand); padding: .2rem .3rem; min-width: 48px; border-radius: var(--r-sm); }
.hbtn:hover { background: var(--brand-50); }
.hbtn-i { position: relative; display: grid; place-items: center; }
.hbtn-l { font-size: .68rem; font-weight: 700; color: var(--ink-2); line-height: 1.1; }
.count { position: absolute; top: -7px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--cta); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.dot-alert { position: absolute; top: -2px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--cta); border: 2px solid #fff; }
.searchrow { padding-bottom: .65rem; }
.search { display: flex; align-items: center; gap: .55rem; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 0 .9rem; color: var(--ink-3); }
.search:focus-within { border-color: var(--brand-600); background: var(--surface); box-shadow: 0 0 0 4px rgba(37, 96, 61, .12); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; padding: .7rem 0; font-size: 1rem; font-weight: 600; color: var(--ink); min-width: 0; }
.search input::placeholder { color: #6B776F; font-weight: 500; }

/* Compact category chips: appear in the header once the tiles scroll away */
.chipbar { display: none; gap: .45rem; overflow-x: auto; padding-bottom: .6rem; scrollbar-width: none; }
.chipbar::-webkit-scrollbar { display: none; }
body.cats-away .chipbar { display: flex; }
@media (min-width: 1000px) { body.cats-away .chipbar { display: none; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; padding: .2rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .82rem; color: var(--ink-2); }
.chip svg { color: var(--tone); }
.chip[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-current="true"] svg { color: var(--gold); }

/* ---------- Promo strip (slim on phones, banner on desktop) ---------- */
.promo { background: var(--brand); color: #fff; }
.promo-in { display: flex; align-items: center; gap: 1rem; padding-top: .8rem; padding-bottom: .85rem; }
.promo-logo { display: none; }
.promo h1 { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3; margin: 0 0 .5rem; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .45rem; }
.trust li { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: #F6E7BF; background: rgba(201, 162, 75, .16); border: 1px solid rgba(201, 162, 75, .5); border-radius: 999px; padding: .22rem .6rem; }
.trust svg { color: var(--gold); }
@media (min-width: 768px) {
  .promo-in { gap: 1.8rem; padding-top: 1.5rem; padding-bottom: 1.6rem; }
  .promo-logo { display: block; width: 150px; height: 150px; border-radius: var(--r-lg); flex: none; }
  .promo h1 { font-size: 1.9rem; margin-bottom: .8rem; max-width: 24ch; }
  .trust li { font-size: .88rem; padding: .32rem .85rem; }
}

/* ---------- Layout: category tiles / sidebar + catalog ---------- */
.layout { padding-top: .9rem; padding-bottom: 1.2rem; }
@media (min-width: 1000px) {
  .layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-top: 1.4rem; }
}

/* Category tiles (phone: horizontal row; desktop: sticky sidebar) */
.cats { display: flex; gap: .6rem; overflow-x: auto; padding: .1rem .1rem .8rem; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; gap: .35rem; border: 0; background: transparent; padding: 0; text-align: center; }
.tile-i { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--tone-bg); color: var(--tone); border: 2px solid transparent; transition: border-color .15s ease, transform .15s ease; }
.tile-l { font-size: .76rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.tile-n { display: none; }
.tile[aria-current="true"] .tile-i { border-color: var(--tone); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.tile[aria-current="true"] .tile-l { color: var(--brand); }
@media (min-width: 1000px) {
  .cats { position: sticky; top: calc(var(--head-h) + 12px); flex-direction: column; gap: .3rem; overflow: visible; padding: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
  .tile { width: 100%; flex-direction: row; gap: .7rem; padding: .45rem .5rem; border-radius: var(--r-sm); text-align: left; }
  .tile:hover { background: var(--bg); }
  .tile-i { width: 40px; height: 40px; border-radius: 12px; }
  .tile-l { flex: 1; font-size: .9rem; }
  .tile-n { display: inline; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
  .tile[aria-current="true"] { background: var(--brand-50); }
  .tile[aria-current="true"] .tile-i { transform: none; box-shadow: none; }
}
[data-tone="0"] { --tone: var(--brand-600); --tone-bg: var(--brand-50); }
[data-tone="1"] { --tone: var(--cta-700); --tone-bg: var(--cta-50); }
[data-tone="2"] { --tone: var(--sky); --tone-bg: var(--sky-50); }
[data-tone="3"] { --tone: var(--berry); --tone-bg: var(--berry-50); }
[data-tone="4"] { --tone: var(--gold-800); --tone-bg: var(--gold-50); }

/* Sections */
.sec { margin-bottom: 1.6rem; }
.sec-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; }
.sec-i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tone-bg); color: var(--tone); flex: none; }
.sec-head h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin: 0; color: var(--ink); flex: 1; }
.sec-n { font-size: .82rem; font-weight: 700; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .6rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty { text-align: center; color: var(--ink-2); font-weight: 600; padding: 3rem 1rem; margin: 0; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-md); }

/* Product card */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease; }
@media (hover: hover) { .card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } }
.card.is-out .ph img { filter: grayscale(.85); opacity: .55; }
.ph { position: relative; aspect-ratio: 1 / 1; background: var(--brand-50); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 0; left: 0; font-size: .72rem; font-weight: 800; padding: .3rem .6rem; border-radius: 0 0 var(--r-sm) 0; letter-spacing: .01em; }
.tag-off { background: var(--sky); color: #fff; }
.tag-out { background: rgba(11, 23, 16, .82); color: #fff; }
.card-b { padding: .65rem .7rem .75rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: .96rem; line-height: 1.25; margin: 0; color: var(--ink); }
.alt { margin: -.1rem 0 0; font-size: .82rem; font-weight: 600; color: var(--ink-3); line-height: 1.3; }
.packs { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .1rem; }
.pack { min-height: 30px; padding: .1rem .55rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.pack[aria-pressed="true"] { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand); }
.pack-one { margin: .1rem 0 0; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.buy { margin-top: auto; padding-top: .45rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.now { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.price s { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.add { min-width: 76px; min-height: 40px; padding: 0 .9rem; border: 1.5px solid var(--cta); border-radius: var(--r-sm); background: var(--cta-50); color: var(--cta-700); font-weight: 800; font-size: .9rem; }
.add:hover { background: var(--cta); color: #fff; }
.add:active { transform: scale(.97); }
.step { display: flex; align-items: center; min-height: 40px; border-radius: var(--r-sm); overflow: hidden; background: var(--cta); color: #fff; }
.step button { width: 34px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 1.25rem; font-weight: 800; }
.step output { font-weight: 800; min-width: 2ch; text-align: center; }
.out { margin: 0; font-size: .8rem; font-weight: 700; color: var(--ink-3); padding: .55rem .6rem; border-radius: var(--r-sm); background: #EEF1EF; }

/* Skeletons */
.skel { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.skel div { background: linear-gradient(90deg, #EBEFEC 0%, #F6F8F7 50%, #EBEFEC 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skel .s-img { aspect-ratio: 1 / 1; }
.skel .s-l { height: 12px; margin: .8rem .8rem 0; border-radius: 6px; }
.skel .s-l.short { width: 50%; margin-bottom: .9rem; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel div { animation: none; } .card, .add, .tile-i { transition: none; } }

.cached { font-size: .82rem; font-weight: 600; color: var(--ink-3); text-align: center; margin: 0 auto 1rem; }

/* Footer */
.foot { background: var(--brand); color: #DCE8DF; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.1rem; }
.foot-brand { display: flex; gap: .8rem; align-items: center; }
.foot-brand img { border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--gold); }
.foot p { margin: .1rem 0; font-size: .88rem; }
.foot p:empty { display: none; }
.foot-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem !important; }
.foot a { color: #F6E7BF; font-weight: 700; font-size: .92rem; }
.foot-copy { font-size: .78rem !important; color: #9DB5A6; padding-top: .8rem; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .1); }

/* Floating cart bar */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px)); }
.cartbar-btn { display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 560px; min-height: 58px; margin: 0 auto; padding: .5rem .6rem .5rem 1.1rem; border: 0; border-radius: var(--r-md); background: var(--brand); color: #fff; text-align: left; box-shadow: var(--shadow-lg); }
#cartSummary { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.cb-count { font-size: .8rem; font-weight: 600; color: #CFE0D4; }
.cb-total { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.cb-go { background: var(--cta); color: #fff; font-weight: 800; border-radius: var(--r-sm); padding: .6rem 1rem; }

/* Sheet */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(11, 23, 16, .52); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 560px; max-height: 92vh; max-height: 92dvh; margin: 0 auto;
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.sheet.open { transform: none; }
@media (min-width: 768px) {
  .sheet { top: 50%; bottom: auto; border-radius: var(--r-lg); max-height: 86vh; transform: translateY(-46%); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
  .sheet.open { transform: translateY(-50%); opacity: 1; }
  .sheet-grip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: .55rem auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.2rem .7rem; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin: 0; }
.x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #EEF1EF; color: var(--ink); display: grid; place-items: center; }
.sheet-body { overflow: auto; padding: 1rem 1.2rem 1.4rem; -webkit-overflow-scrolling: touch; }

/* Cart lines */
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t t" "s p"; gap: .55rem .8rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.line-t { grid-area: t; }
.line .step { grid-area: s; justify-self: start; }
.line-p { grid-area: p; margin: 0; font-weight: 800; }
.line-n { margin: 0; font-weight: 700; }
.line-m { margin: 0; font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.line.is-out .line-n { text-decoration: line-through; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .2rem; font-weight: 700; }
.sum strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; }
.hint { font-size: .85rem; font-weight: 600; color: var(--ink-3); margin: .35rem 0 .8rem; }
.warn { background: var(--warn-50); color: var(--warn); font-weight: 600; border-radius: var(--r-sm); padding: .65rem .85rem; font-size: .88rem; }

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; min-height: 50px; margin-top: .6rem; padding: .5rem 1rem; border: 0; border-radius: var(--r-sm); font-weight: 800; font-size: 1rem; text-align: center; text-decoration: none; }
.btn.primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--cta-700); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.ghost { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--bg); }
.btn.small { width: auto; min-height: 36px; margin: 0; font-size: .82rem; flex: none; padding: .3rem .8rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: .5rem; }
.row .btn { flex: 1; }

/* Form */
.field { margin-bottom: .95rem; }
.field label, .group-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .85rem; border: 1.5px solid #CDD6D0; border-radius: var(--r-sm); background: #fff; font-size: 1rem; font-weight: 600; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(37, 96, 61, .12); }
.field textarea { resize: vertical; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--warn); }
.err { color: var(--warn); font-size: .84rem; font-weight: 700; margin: .3rem 0 0; }
.seg { border: 0; padding: 0; margin: 0 0 .95rem; min-width: 0; }
.seg-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: .4rem; border: 1.5px solid #CDD6D0; border-radius: var(--r-sm); font-weight: 700; font-size: .9rem; text-align: center; cursor: pointer; }
.opt input:checked + span { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-600); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.co[data-mode="pickup"] .only-delivery,
.co:not([data-mode="pickup"]) .only-pickup,
.co:not([data-pay="upi"]) .only-upi { display: none; }

/* Order placed */
.done { text-align: center; }
.done-icon { width: 64px; height: 64px; margin: .3rem auto .6rem; border-radius: 50%; background: var(--brand-50); color: var(--ok); display: grid; place-items: center; }
.done-no { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; margin: 0; color: var(--brand); }
.done-t { margin: .1rem 0 .6rem; font-weight: 700; color: var(--ink-2); }
.done p { margin-left: auto; margin-right: auto; max-width: 42ch; }
.badge { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .25rem .65rem; font-size: .78rem; font-weight: 700; margin: .2rem 0 .5rem; }
.b-pending { background: var(--gold-50); color: var(--gold-800); }
.b-saved { background: var(--brand-50); color: var(--brand-600); }
.b-failed { background: var(--warn-50); color: var(--warn); }
.b-demo { background: #ECEFED; color: var(--ink-2); }
.upi { margin-top: 1rem; padding: .9rem; border: 1.5px dashed #CDD6D0; border-radius: var(--r-md); text-align: left; background: #FAFBFA; }
.upi p { margin: 0 0 .4rem; max-width: none; }

/* Orders list */
.olist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ocard { border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem .9rem; box-shadow: var(--shadow-sm); }
.ocard-top { display: flex; align-items: center; gap: .55rem; }
.ocard-i { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.ocard-no { font-family: var(--font-head); font-weight: 800; font-size: .98rem; margin: 0; flex: 1; }
.ocard-items { list-style: none; margin: .55rem 0 .5rem; padding: 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.ocard-items li { display: flex; justify-content: space-between; gap: .6rem; padding: .12rem 0; }
.ocard-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--line); padding-top: .55rem; }
.ocard-total { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.ocard .badge { margin: 0; }

.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; margin: 0; padding: .7rem 1.1rem; max-width: calc(100% - 2rem); border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: .88rem; font-weight: 600; text-align: center; box-shadow: var(--shadow-lg); }

/* =====================================================================
   Design refresh (v5)
   Type: Anek (Ek Type, an Indian foundry) for headings, with its own
   Tamil companion, and Hind Madurai for text — both cover Tamil
   natively, so English and Tamil read as one family.
   The one bold element: the price is a sack tag, the punched label hung
   on grain sacks at a mandi. Everything else stays quiet.
   ===================================================================== */
:root {
  --font-head: "Anek Latin", "Anek Tamil", "Noto Sans Tamil", system-ui, sans-serif;
  --font-body: "Hind Madurai", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tag: #F6E7BF;
  --tag-edge: #C9A24B;
}
html[lang="ta"] {
  --font-head: "Anek Tamil", "Anek Latin", "Noto Sans Tamil", system-ui, sans-serif;
  --font-body: "Hind Madurai", "Noto Sans Tamil", system-ui, sans-serif;
}
body { font-family: var(--font-body); }

/* Headings: slightly wide Anek gives the signboard feel of a shopfront. */
.promo h1,
.sec-head h2 { font-stretch: 112%; letter-spacing: -.01em; }
.promo h1 { font-size: 1.28rem; line-height: 1.2; }
.card h3 { font-weight: 700; font-size: 1rem; line-height: 1.22; }
@media (min-width: 720px) {
  .promo h1 { font-size: 2.1rem; }
}

/* Price as a sack tag: notched left end with a punched hole. */
.price {
  position: relative;
  align-self: flex-end;
  padding: .3rem .65rem .32rem 1.2rem;
  background: var(--tag);
  box-shadow: inset 0 0 0 1.5px var(--tag-edge);
  clip-path: polygon(.6rem 0, 100% 0, 100% 100%, .6rem 100%, 0 calc(100% - .6rem), 0 .6rem);
  border-radius: 0 8px 8px 0;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}
.price::before {
  content: "";
  position: absolute;
  left: .42rem;
  top: 50%;
  width: .42rem;
  height: .42rem;
  margin-top: -.21rem;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--tag-edge);
}
.now { color: var(--brand); font-size: 1.14rem; }
.price s { color: var(--gold-800); }
.is-out .price { transform: none; filter: grayscale(1); opacity: .7; }
.buy { align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .price { transform: none; }
}

/* Tag on its own line, full-width buying control below it: fits the
   narrow two-column phone layout and gives a bigger tap target. */
.buy { flex-direction: column; align-items: stretch; gap: .55rem; }
.buy .price { align-self: flex-start; margin-left: .15rem; }
.buy .add, .buy .step { width: 100%; }
.buy .step { justify-content: space-between; }
/* Small phones: the shop name uses Anek's narrow width, like a signboard,
   so the full name fits beside the language switch. */
@media (max-width: 420px) { .brand-name { font-stretch: 85%; } }

/* =====================================================================
   v6: store features — all content comes from the shop app
   ===================================================================== */

/* Easier reading for everyone, including older customers in sunlight. */
html { font-size: 106.25%; }
body { font-size: 1rem; line-height: 1.5; }
.alt { font-size: .86rem; }
.pack { min-height: 36px; font-size: .84rem; }
.add, .step button { min-height: 44px; }

/* Delivery strip under the header */
.strip { margin: 0; padding: .5rem 1rem; background: var(--gold-50); color: var(--gold-800); font-weight: 600; font-size: .86rem; text-align: center; border-bottom: 1px solid rgba(201, 162, 75, .35); }

/* Offer banners: swipe with a finger, dots show position. No auto-play. */
.banners { padding: .8rem 0 .2rem; }
.bn-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.bn-track::-webkit-scrollbar { display: none; }
.bn { position: relative; scroll-snap-align: start; min-height: 150px; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; text-align: left; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--brand) 70%); display: flex; align-items: flex-end; cursor: default; }
button.bn { cursor: pointer; }
.bn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 23, 16, .78), rgba(11, 23, 16, 0) 65%); }
.bn-t { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; }
.bn-t strong { font-family: var(--font-head); font-stretch: 108%; font-size: 1.3rem; line-height: 1.2; }
.bn-t span { color: #F6E7BF; font-weight: 600; font-size: .9rem; }
.bn-dots { display: flex; justify-content: center; gap: .4rem; padding-top: .5rem; min-height: .5rem; }
.bn-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); }
.bn-dots button[aria-current="true"] { width: 22px; background: var(--brand); }
@media (min-width: 900px) { .bn { min-height: 220px; } .bn-t strong { font-size: 1.8rem; } }

/* Category tiles with the shop's own photos */
.tile-i.has-photo { overflow: hidden; padding: 0; background: var(--brand-50); }
.tile-i.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Product cards: tap photo or name for details; badges; per-kg and savings */
.ph[data-act="view"] { cursor: pointer; }
.pname { all: unset; cursor: pointer; }
.pname:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.badges { position: absolute; left: .45rem; bottom: .45rem; display: flex; flex-wrap: wrap; gap: .25rem; }
.badge-p { font-size: .7rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; color: #fff; }
.b-home { background: var(--berry); }
.b-best { background: var(--gold-800); }
.b-new { background: var(--sky); }
.meta-p { display: flex; flex-wrap: wrap; gap: .15rem .6rem; margin: -.15rem 0 0 .2rem; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.meta-p .save { color: var(--ok); }
.saved { margin: .2rem 0 .4rem; padding: .5rem .7rem; border-radius: var(--r-sm); background: #E7F5EC; color: var(--ok); font-weight: 700; font-size: .9rem; }

/* Product page (in the bottom sheet) */
.pv-ph { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--brand-50); aspect-ratio: 4 / 3; }
.pv-ph img { width: 100%; height: 100%; object-fit: cover; }
.pv-alt { margin: .6rem 0 .5rem; }
.pv .packs { margin: .4rem 0 .2rem; }
.pv-buy { margin: .7rem 0 1rem; }
.pv-desc { margin: 0 0 .8rem; line-height: 1.55; color: var(--ink-2); }
.pv-h { font-family: var(--font-head); font-size: 1rem; margin: 1rem 0 .4rem; }
.pv-det { margin: 0; padding-left: 1.1rem; color: var(--ink-2); line-height: 1.6; }
.pv-wa { display: flex; justify-content: center; margin-top: 1rem; }
.pv-rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.rel { display: flex; flex-direction: column; gap: .25rem; padding: .45rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); text-align: left; }
.rel img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--brand-50); }
.rel-n { font-weight: 600; font-size: .85rem; line-height: 1.25; color: var(--ink); }
.rel-p { font-weight: 800; font-size: .9rem; color: var(--brand); }

/* Categories list (bottom menu) */
.cat-list { display: flex; flex-direction: column; gap: .4rem; }
.cat-row { display: flex; align-items: center; gap: .8rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-align: left; min-height: 60px; }
.cat-row .tile-i { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.cat-row-l { flex: 1; font-weight: 700; color: var(--ink); }

/* Owner story + about */
.story { background: var(--surface); border-top: 1px solid var(--line); margin-top: 1.5rem; }
.story-in { display: grid; gap: 1rem; padding-top: 1.6rem; padding-bottom: 1.6rem; align-items: center; }
.story-ph { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--gold-50), 0 0 0 6px var(--gold); background: var(--brand-50); }
.story-ph img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { font-family: var(--font-head); font-stretch: 108%; font-size: 1.35rem; margin: 0; color: var(--brand); }
.story-years { margin: .15rem 0 .6rem; font-weight: 700; color: var(--gold-800); }
.story-years:empty { display: none; }
.story-msg { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.story h3 { font-family: var(--font-head); font-size: 1.02rem; margin: 1.1rem 0 .3rem; }
.story-t p#storyAbout { margin: 0; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 720px) { .story-in { grid-template-columns: auto 1fr; gap: 2rem; } .story-ph { width: 168px; height: 168px; } }

/* Footer contact links */
.foot-links { display: flex; flex-direction: column; gap: .45rem; }
.foot-links a, .foot-links p { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.foot-links svg { color: var(--gold); flex: none; }

/* Bottom menu on phones, always within thumb reach */
.bnav { display: none; }
@media (max-width: 999px) {
  .bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 16px rgba(11, 23, 16, .06); }
  .bnav button { display: flex; flex-direction: column; align-items: center; gap: .1rem; min-height: 58px; padding: .4rem 0 .35rem; border: 0; background: none; color: var(--ink-2); font-size: .72rem; font-weight: 700; }
  .bnav button:active { color: var(--brand); }
  .bnav-i { position: relative; display: inline-flex; }
  .cartbar { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); padding-bottom: .5rem; }
  .foot-copy { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)) !important; }
  #headOrders, #headCart { display: none; }
}

/* Hero v7: headline leads; tagline; two clear actions; trust lines quiet. */
.promo-sub { margin: -.1rem 0 .8rem; color: #CFE3D5; font-size: .98rem; max-width: 52ch; }
.promo-cta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 .9rem; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1.15rem; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; }
.hero-btn.primary { background: var(--gold); color: var(--brand); }
.hero-btn.wa { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.hero-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.promo .trust { gap: .3rem 1.1rem; }
.promo .trust li { background: none; border: 0; padding: 0; color: #CFE3D5; font-weight: 600; font-size: .82rem; }
.promo .trust svg { color: var(--gold); }

/* =====================================================================
   v8: fresher, younger look. Rounder, bolder, brighter — same brand green.
   ===================================================================== */
:root {
  --bg: #F2F6F1;
  --lime: #D9F99D;
  --lime-ink: #2F5A05;
  --sun: #FFD84D;
  --r-card: 22px;
}
body { background: var(--bg); }

/* Hero: deep green with a warm glow, pill buttons */
.promo { background: radial-gradient(120% 140% at 85% 0%, #2E6B45 0%, var(--brand) 55%); }
.hero-btn { border-radius: 999px; padding: 0 1.3rem; }
.hero-btn.primary { background: var(--sun); color: var(--brand); box-shadow: 0 6px 18px rgba(255, 216, 77, .28); }
.hero-btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.hero-btn:active { transform: scale(.97); }

/* Cards: same height everywhere — photo locked to a square, name to two lines */
.grid { align-items: stretch; }
.card { border: 0; border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(11, 23, 16, .05), 0 8px 24px rgba(11, 23, 16, .05); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.ph { aspect-ratio: 1 / 1; overflow: hidden; background: #E6EFE5; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.44em; }
.card .alt { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card .packs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.card .packs::-webkit-scrollbar { display: none; }
.pack { border-radius: 999px; }
.pack[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tag { border-radius: 0 0 14px 0; }
.badge-p { border-radius: 999px; }

/* Price: big and clear, no sack tag */
.price, .buy .price {
  transform: none; clip-path: none; background: none; box-shadow: none; border-radius: 0;
  padding: 0; margin: 0; flex-direction: row; align-items: baseline; gap: .45rem; align-self: flex-start;
}
.price::before { display: none; }
.now { font-size: 1.32rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price s { color: var(--ink-3); font-size: .82rem; }
.meta-p { margin: 0; }
.meta-p .save { background: var(--lime); color: var(--lime-ink); padding: .05rem .5rem; border-radius: 999px; font-weight: 800; }
.is-out .price { filter: none; opacity: .55; }

/* Buttons: green pill Add + round WhatsApp */
.act-row { display: flex; gap: .45rem; align-items: stretch; }
.act-row > .add, .act-row > .step, .act-row > .out { flex: 1; }
.add { border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; }
.add::before { content: "+ "; }
.add:hover { background: var(--brand-600); color: #fff; }
.step { border-radius: 999px; overflow: hidden; }
.wa-mini { flex: none; width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 999px; background: #E3F6EA; color: var(--wa); }
.wa-mini:active { transform: scale(.95); }

/* Product page tabs */
.pv-tabs { display: flex; gap: .3rem; margin: 1rem 0 .8rem; padding: .25rem; border-radius: 999px; background: #EAF0E9; }
.pv-tab { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: none; font-weight: 700; color: var(--ink-2); font-size: .88rem; }
.pv-tab[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(11, 23, 16, .1); }
.pv-panel { min-height: 120px; }
.pv-list { margin: 0; padding-left: 1.2rem; line-height: 1.6; color: var(--ink-2); }
.pv-list li { margin-bottom: .45rem; }
.pv-list.ok { list-style: none; padding-left: 0; }
.pv-list.ok li { position: relative; padding-left: 1.6rem; }
.pv-list.ok li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: .2rem; }
.pv-list.steps li::marker { font-weight: 800; color: var(--brand); }
.health-note { margin: .8rem 0 0; font-size: .78rem; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.tip { margin: 0 0 .6rem; padding: .7rem .9rem; border-radius: 14px; background: #F4F8F3; }
.tip p { margin: 0; line-height: 1.5; }
.tip cite { display: block; margin-top: .25rem; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--ink-3); }
.tip-form { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.tip-form input, .tip-form textarea { font: inherit; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.tip-form input:focus, .tip-form textarea:focus { outline: 3px solid var(--brand-50); border-color: var(--brand); }

/* Know your grains */
.learn-intro { margin: 0 0 .8rem; color: var(--ink-2); }
.learn-row { display: flex; gap: .8rem; width: 100%; margin-bottom: .6rem; padding: .6rem; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(11, 23, 16, .08); text-align: left; }
.learn-ph { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #E6EFE5; }
.learn-ph img { width: 100%; height: 100%; object-fit: cover; }
.learn-t { display: flex; flex-direction: column; gap: .15rem; font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
.learn-t strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.learn-t em { font-style: normal; font-weight: 700; color: var(--brand); margin-top: .1rem; }

/* Bottom menu: active feel */
.bnav { border-top: 0; box-shadow: 0 -6px 20px rgba(11, 23, 16, .07); }
/* Equal card heights: reserve one line each for the Tamil name and price details. */
.card .alt, .card .meta-p { min-height: 1.35em; }
.card .alt:empty { display: block; }
/* Fixed slots: size row and price-detail row are the same height on every card. */
.card .pack-one { min-height: 36px; display: flex; align-items: center; margin: .1rem 0 0; }
.card .meta-p { min-height: 44px; align-content: flex-start; }

/* Weight products: preset sizes + Custom kg */
.pack.custom { border-style: dashed; }
.pack.custom[aria-pressed="true"] { border-style: solid; }
.kg-form { display: flex; flex-direction: column; gap: .5rem; }
.kg-name { margin: 0 0 .4rem; font-weight: 700; color: var(--brand); }
.kg-form label { font-weight: 700; font-size: .9rem; }
.kg-form input { font: inherit; font-size: 1.4rem; font-weight: 800; padding: .7rem .9rem; border: 2px solid var(--line); border-radius: 14px; }
.kg-form input:focus { outline: 3px solid var(--brand-50); border-color: var(--brand); }
.kg-hint { margin: 0 0 .4rem; font-size: .82rem; color: var(--ink-3); }
/* Size chips: never split "500 g" across lines; up to two rows, same space on every card. */
.pack { white-space: nowrap; }
.card .packs { flex-wrap: wrap; overflow: visible; gap: .3rem; min-height: 70px; align-content: flex-start; }
.card .pack { min-height: 32px; padding: 0 .6rem; font-size: .78rem; }
.card .pack-one { min-height: 70px; align-items: flex-start; padding-top: .35rem; }

/* v10: no reserved gaps; bigger photo; compact product page. */
.card .alt, .card .meta-p, .card .packs { min-height: 0; }
.card .pack-one { min-height: 0; padding-top: 0; align-items: center; margin: 0; font-weight: 700; color: var(--ink-2); }
.card .alt:empty, .card .meta-p:empty { display: none; }
.clamp2 { min-height: 0; }
.ph { aspect-ratio: 4 / 5; }
.card-b { display: flex; flex-direction: column; gap: .4rem; flex: 1; padding: .75rem .8rem .85rem; }
.card-b h3 { margin: 0; }
.card .buy { margin-top: auto; gap: .45rem; }
.pv-ph { aspect-ratio: 1 / 1; max-height: 46vh; margin: 0 auto; }
.pv-alt { margin: .5rem 0 .3rem; }
.pv-buy { margin: .5rem 0 .4rem; }
.pv-tabs { margin: .6rem 0 .6rem; }
.pv-panel { min-height: 0; }
.pv-wa { margin-top: .8rem; }

/* v11: floating WhatsApp, sort menu, roomier cards, moving banners */
.wa-fab { position: fixed; right: 14px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 31; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(18, 140, 126, .38); }
.wa-fab:active { transform: scale(.94); }
@media (max-width: 999px) {
  .wa-fab { bottom: calc(58px + 16px + env(safe-area-inset-bottom, 0px)); }
  body.has-cart .wa-fab { bottom: calc(58px + 92px + env(safe-area-inset-bottom, 0px)); }
}
.sortbar { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin: .2rem 0 .6rem; }
.sortbar label { font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.sortbar select { font: inherit; font-size: .88rem; font-weight: 600; padding: .45rem 2rem .45rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.ph { aspect-ratio: 1 / 1.08; }
.card .pack-one { font-size: .86rem; }
/* Banner shine: a soft light sweeps across every few seconds. */
.bn { isolation: isolate; }
.bn::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); animation: bn-shine 4.5s ease-in-out infinite; }
@keyframes bn-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .bn::before { animation: none; display: none; } }

/* v12: sub-category chips, WhatsApp button hides while scrolling */
.subchips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: -.2rem 0 .7rem; padding-bottom: .1rem; }
.subchips::-webkit-scrollbar { display: none; }
.subchip { flex: none; min-height: 38px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .86rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.subchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.wa-fab { transition: transform .25s ease, opacity .25s ease; }
body.is-scrolling .wa-fab { opacity: 0; transform: translateY(18px) scale(.85); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

/* v13: chip bar floats under the header, so the page never jumps while scrolling */
.head .chipbar { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); padding: .5rem 1rem .6rem; box-shadow: 0 6px 14px rgba(11, 23, 16, .08); animation: chips-in .18s ease-out; }
@keyframes chips-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .head .chipbar { animation: none; } }
/* Health benefits: its own bright colour, next to the yellow Start shopping */
.hero-btn.ghost { background: #D9F99D; color: #1E3A0A; box-shadow: 0 6px 16px rgba(217, 249, 157, .22); }
.hero-btn.ghost:hover { background: #C8F07A; }
/* long search hints end with … instead of being cut mid-word */
#search::placeholder { text-overflow: ellipsis; }
#search { text-overflow: ellipsis; }

/* v15: combo offers */
.combo-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .3rem; }
.combo-row::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .combo-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; } }
.combo-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card, 22px); overflow: hidden; box-shadow: 0 1px 2px rgba(11, 23, 16, .05), 0 8px 24px rgba(11, 23, 16, .06); }
.cb-photos { position: relative; display: flex; height: 132px; background: #E6EFE5; }
.cb-ph { flex: 1; overflow: hidden; }
.cb-ph + .cb-ph { border-left: 3px solid #fff; }
.cb-ph img { width: 100%; height: 100%; object-fit: cover; }
.cb-tag { position: absolute; left: .55rem; top: .55rem; background: var(--sun, #FFD84D); color: var(--brand); font-weight: 800; font-size: .72rem; padding: .15rem .55rem; border-radius: 999px; }
.cb-body { display: flex; flex-direction: column; gap: .35rem; padding: .8rem .9rem .9rem; flex: 1; }
.cb-body h3 { margin: 0; font-size: 1.05rem; }
.cb-list { margin: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.cb-body .act-row { margin-top: auto; }
.combo-card.is-out { opacity: .6; }

/* v16: structured address, charges, confirmation */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.sum.sub { font-size: .9rem; color: var(--ink-2); padding-top: .2rem; padding-bottom: .2rem; border: 0; }
.confirm { display: flex; flex-direction: column; gap: .6rem; }
.addr-card { padding: .85rem 1rem; border-radius: 14px; background: #F4F8F3; border: 1.5px solid var(--brand-50, #DDEBDD); line-height: 1.5; }
.confirm-q { margin: 0; font-weight: 700; color: var(--brand); }

/* v19: direct UPI payment */
.pay-info { margin: .2rem 0 0; padding: .7rem .85rem; border-radius: 12px; background: #F4F8F3; font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.upi { display: flex; flex-direction: column; gap: .5rem; width: 100%; margin: .4rem 0; }
.pay-now { font-size: 1.1rem; min-height: 54px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.linkish { border: 0; background: none; padding: 0 .3rem; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; }

/* v21: install bar + offer alerts */
.install-bar { position: fixed; left: 10px; right: 10px; top: calc(var(--head-h, 124px) + 8px); z-index: 32; display: flex; align-items: center; gap: .6rem; padding: .6rem .6rem .6rem .7rem; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(11, 23, 16, .18); animation: chips-in .25s ease-out; }
.install-bar img { border-radius: 10px; flex: none; }
.install-t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.install-t strong { font-size: .92rem; color: var(--brand); }
.install-t span { font-size: .74rem; color: var(--ink-3); }
.install-go { flex: none; min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-weight: 800; }
.install-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #F1F4F0; color: var(--ink-2); font-size: 1.2rem; line-height: 1; }
@media (min-width: 1000px) { .install-bar { left: auto; right: 24px; width: 380px; } }
.alerts-card { width: 100%; padding: .8rem .9rem; border-radius: 14px; background: #FFF8E1; display: flex; flex-direction: column; gap: .5rem; }
.alerts-card p { margin: 0; font-size: .88rem; }
.alerts-on { margin: 0; font-weight: 700; color: var(--ok); }
.foot-alerts { color: inherit; text-align: left; padding: 0; }
.install-t strong, .install-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-go { padding: 0 .85rem; font-size: .86rem; }

/* v22: order tracking */
.timeline { list-style: none; margin: .4rem 0 1rem; padding: 0; }
.tl { position: relative; display: flex; gap: .8rem; padding: 0 0 1.1rem 0; color: var(--ink-3); }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.tl.done:not(:last-child)::before { background: var(--ok); }
.tl-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 1px; }
.tl.done .tl-dot { background: var(--ok); border-color: var(--ok); }
.tl.now .tl-dot { box-shadow: 0 0 0 5px rgba(22, 163, 74, .18); }
.tl.cancel .tl-dot { background: var(--danger, #DC2626); border-color: var(--danger, #DC2626); }
.tl div { display: flex; flex-direction: column; }
.tl.done strong { color: var(--ink); }
.tl small { font-size: .78rem; color: var(--ink-3); min-height: 1em; }
.courier { padding: .8rem .9rem; border-radius: 14px; background: #F4F8F3; display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; }
.courier p { margin: 0; }
.ocard-foot { gap: .4rem; }

.site-version { opacity: .55; font-size: .75rem; }

/* v25: pay first, screenshot, order updates */
.paystep { display: flex; flex-direction: column; gap: .55rem; padding: .9rem; border-radius: 16px; background: #FFF8E1; border: 1.5px solid #F2D27A; }
.step-h { margin: .2rem 0 0; font-weight: 800; color: var(--brand); }
.upi-line { margin: 0; font-size: .9rem; }
.upload-btn { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.proof-img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.utr { font: inherit; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.btn[aria-disabled="true"] { opacity: .45; }
.proof-sent { margin: 0; padding: .8rem .9rem; border-radius: 14px; background: #E7F5EC; color: var(--ok); font-weight: 700; line-height: 1.45; }
.notify-opt { display: flex; gap: .55rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 14px; background: #EEF6FF; font-size: .88rem; line-height: 1.4; cursor: pointer; }
.notify-opt input { width: 20px; height: 20px; margin-top: .1rem; flex: none; accent-color: var(--brand); }
.pay-help { border-radius: 12px; background: #fff; border: 1px dashed #E4C770; padding: .5rem .75rem; }
.pay-help summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: .9rem; }
.pay-help p { margin: .5rem 0; font-size: .85rem; line-height: 1.5; color: var(--ink-2); }
.pay-copy { display: flex; gap: .4rem; flex-wrap: wrap; }
/* v28: QR + UPI ID first, link second */
.pay-how { margin: 0; font-weight: 600; font-size: .9rem; }
.pay-qr { align-self: center; width: 220px; max-width: 80%; aspect-ratio: 1; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.pay-qr img { width: 100%; height: 100%; object-fit: contain; }
.pay-note { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.pay-note.small { font-size: .76rem; color: var(--ink-3); }
.pay-rows { display: flex; flex-direction: column; gap: .4rem; }
.pay-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: .5rem; padding: .45rem .6rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.pay-row span { font-size: .8rem; color: var(--ink-3); }
.pay-row strong { font-size: 1rem; word-break: break-all; }
.pay-link { display: flex; justify-content: center; text-decoration: none; }
/* v29: one Pay now button, big amount */
.amount-big { display: flex; flex-direction: column; align-items: center; padding: .7rem; border-radius: 14px; background: #fff; border: 2px solid var(--brand); }
.amount-big span { font-size: .82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.amount-big strong { font-size: 2.4rem; line-height: 1.1; color: var(--brand); font-weight: 800; }

/* v30: labelled WhatsApp button */
.wa-fab { width: auto; height: 48px; padding: 0 1rem 0 .8rem; gap: .45rem; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.wa-fab svg { width: 24px; height: 24px; flex: none; }
.wa-fab-t { white-space: nowrap; }
/* install: a calm card in the footer instead of a banner over the page */
.install-card { position: static; display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding: .75rem .8rem; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.install-card[hidden] { display: none; }
.install-card img { border-radius: 10px; flex: none; }
.install-card .install-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.install-card .install-t strong { color: inherit; font-size: .95rem; }
.install-card .install-t span { opacity: .75; font-size: .78rem; }
.install-card .install-go { background: var(--sun, #FFD84D); color: var(--brand); }
/* payment choice + UPI app buttons */
.pay-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.pay-choice { display: flex; align-items: center; gap: .4rem; padding: .6rem .7rem; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .86rem; cursor: pointer; }
.pay-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50, #DDEBDD); }
.pay-choice input { accent-color: var(--brand); }
.copied-line { margin: 0; font-weight: 700; color: var(--ok); }
.app-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .4rem; }
.app-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .5rem; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: .86rem; text-decoration: none; }
.wa-note { padding: .7rem .8rem; border-radius: 12px; background: #E7F8EE; }
/* reviews */
.rating { margin: 0; font-size: .82rem; font-weight: 700; color: #B7791F; }
.rating span { color: var(--ink-3); font-weight: 600; }
.rating.big { font-size: 1.2rem; margin-bottom: .5rem; }
.stars { color: #D69E2E; letter-spacing: .1em; margin: 0 0 .2rem !important; }
.rate-box { margin-top: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.rate-item { display: flex; flex-direction: column; gap: .4rem; padding: .7rem; border-radius: 14px; background: #F4F8F3; margin: 0; }
.rate-item input, .rate-item textarea { font: inherit; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.star-row { display: flex; gap: .2rem; }
.star { border: 0; background: none; font-size: 1.9rem; line-height: 1; color: #CBD5CB; padding: 0 .1rem; cursor: pointer; }
.star.on { color: #E0A11B; }
.stock-btn { width: 100%; margin-top: .3rem; }
.stock-on { font-size: .82rem; margin-top: .3rem; }
/* v32: feedback */
.fb-card { display: flex; flex-direction: column; gap: .2rem; text-align: left; margin-top: .6rem; padding: .8rem .9rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: inherit; font: inherit; cursor: pointer; }
.fb-card strong { font-size: .95rem; }
.fb-card span { opacity: .8; font-size: .8rem; line-height: 1.4; }
.fb-form { display: flex; flex-direction: column; gap: .55rem; }
.fb-form label { font-weight: 700; }
.fb-form textarea, .fb-form input { font: inherit; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.empty .btn { margin-top: .7rem; }

/* =====================================================================
   v33: home page in customer-centric order (template-inspired)
   ===================================================================== */
.promo { position: relative; overflow: hidden; }
.promo-bg { position: absolute; inset: 0; z-index: 0; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; }
.promo.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(14, 40, 22, .92) 0%, rgba(14, 40, 22, .72) 45%, rgba(14, 40, 22, .15) 100%); }
.promo-in { position: relative; z-index: 1; }
.promo.has-photo .promo-logo { display: none; }
.hero-btn.wa-order { background: #fff; color: #128C7E; display: inline-flex; align-items: center; text-decoration: none; }

.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; padding-top: .9rem; padding-bottom: .9rem; }
@media (min-width: 900px) { .trustbar-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tb { display: flex; align-items: center; gap: .6rem; }
.tb-i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EAF3EA; color: var(--brand); }
.tb strong { display: block; font-size: .88rem; line-height: 1.2; }
.tb span { display: block; font-size: .74rem; color: var(--ink-3); }

.home-sec { padding: 1.6rem 0 .6rem; }
.home-h { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 .9rem; color: var(--ink); }
.why-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: .7rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; }
.why-grid::-webkit-scrollbar { display: none; }
.why { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1rem .6rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(11, 23, 16, .07); }
.why-i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #FFF6DA; color: var(--brand); }
.why strong { font-size: .88rem; }
.why span { font-size: .74rem; color: var(--ink-3); }

.rev-avg { font-size: .95rem; color: #B7791F; font-weight: 800; margin-left: .3rem; }
.rev-grid { display: grid; gap: .7rem; }
@media (min-width: 900px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev { margin: 0; padding: 1rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(11, 23, 16, .07); }
.rev p { margin: .2rem 0; line-height: 1.5; }
.rev cite { display: block; margin-top: .4rem; font-style: normal; font-size: .8rem; color: var(--ink-3); font-weight: 700; }

.visit { padding-bottom: 1.6rem; }
.visit-in { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 900px) { .visit-in { grid-template-columns: 1.1fr 1fr; gap: 2rem; } }
.visit-ph { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #E6EFE5; }
.visit-ph img { width: 100%; height: 100%; object-fit: cover; }
.visit-name { margin: 0 0 .5rem; font-weight: 800; font-size: 1.05rem; color: var(--brand); }
.visit-line { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .45rem; color: var(--ink-2); }
.visit-line:empty { display: none; }
.visit-line svg { flex: none; margin-top: .15rem; color: var(--brand); }
.visit-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.visit-btns .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

.wa-fab, .wa-fab:hover, .wa-fab-t { text-decoration: none; color: #fff; }
@media (max-width: 699px) {
  .promo-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
  .promo-cta .hero-btn { min-height: 44px; padding: 0 .6rem; font-size: .9rem; justify-content: center; text-align: center; }
  .promo-cta .hero-btn.ghost { grid-column: 1 / -1; }
}

/* =====================================================================
   v34: richer first impression — photos up front, warmer and roomier
   ===================================================================== */
:root { --bg: #F8F5EE; }
body { background: var(--bg); }

/* desktop menu bar */
.topnav { display: none; }
@media (min-width: 1000px) {
  .topnav { display: flex; align-items: center; gap: .2rem; margin-left: 1.2rem; margin-right: auto; }
  .topnav button, .topnav a { border: 0; background: none; font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink-2); padding: .5rem .7rem; border-radius: 999px; text-decoration: none; cursor: pointer; }
  .topnav button:hover, .topnav a:hover { background: #EEF4EC; color: var(--brand); }
}

/* hero: deeper colour, golden glow, product collage */
.promo { background: radial-gradient(900px 420px at 85% 10%, rgba(255, 216, 77, .18), transparent 60%), linear-gradient(135deg, #1F4D2E 0%, #163A23 55%, #10291A 100%); }
.promo h1 { letter-spacing: -.01em; }
.promo.has-collage .promo-logo { display: none; }
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.hero-collage .hc:nth-child(4) { display: none; }
.hc { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #24402c; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.hc img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hc span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .5rem .4rem; font-size: .72rem; font-weight: 800; color: #fff; text-align: left; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .promo.has-collage .promo-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .hero-collage { grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 0; }
  .hero-collage .hc:nth-child(4) { display: block; }
  .hero-collage .hc:nth-child(2n) { transform: translateY(22px); }
  .hero-collage { padding-bottom: 22px; }
  .hc span { font-size: .85rem; padding: 1.6rem .7rem .55rem; }
  .hc:hover img { transform: scale(1.06); }
  .promo h1 { font-size: 2.5rem; line-height: 1.12; }
}

/* category tiles: photos, larger */
.tile-i.has-photo { border-radius: 20px; box-shadow: 0 6px 16px rgba(11, 23, 16, .12); }
@media (max-width: 999px) {
  .cats .tile { min-width: 84px; }
  .cats .tile-i { width: 72px; height: 72px; border-radius: 20px; }
}

/* cards and sections: softer, roomier */
.card { box-shadow: 0 1px 2px rgba(11, 23, 16, .04), 0 10px 28px rgba(11, 23, 16, .06); transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 23, 16, .05), 0 16px 34px rgba(11, 23, 16, .1); } }
.sec { margin-bottom: 1.6rem; }
#whyUs { background: #FFFDF7; border-top: 1px solid #EFE7D2; border-bottom: 1px solid #EFE7D2; padding-bottom: 1.6rem; }
#homeReviews { background: var(--bg); }
.visit { background: #fff; border-top: 1px solid var(--line); }
.home-h { font-size: 1.45rem; }
.home-h::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-top: .4rem; background: var(--sun, #FFD84D); }
.trustbar { box-shadow: 0 6px 18px rgba(11, 23, 16, .05); }

@media (min-width: 1000px) {
  .head .brand { flex: none; }
  .head .brand-name, .head .brand-sub { white-space: nowrap; overflow: visible; text-overflow: clip; }
  .topnav { gap: 0; margin-left: .8rem; }
  .topnav button, .topnav a { font-size: .86rem; padding: .45rem .55rem; }
}
@media (max-width: 899px) {
  .promo.has-collage .promo-in { display: block; }
  .promo.has-collage .promo-copy { width: 100%; }
  .promo.has-collage .hero-collage { margin-top: 1rem; }
}

/* =====================================================================
   v35: warm cream & forest-green look (from the reference designs)
   ===================================================================== */
:root {
  --bg: #F6F0E4; --surface: #FFFDF8; --line: #E9DFCC;
  --brand: #1F5631; --brand-600: #2E7D32; --ink: #1E2A20; --ink-2: #3F4B40; --ink-3: #6B7568;
  --gold: #D9A441;
}
body { background: var(--bg); color: var(--ink); }
.head { background: var(--surface); border-bottom: 1px solid var(--line); }
#search { background: #F8F3E8; border-color: var(--line); }
.strip { background: var(--brand); color: #F3EBD7; }

/* light, warm hero (dark text) — ready for the AI hero image */
.promo { background: radial-gradient(700px 360px at 85% 0%, rgba(217, 164, 65, .22), transparent 60%), linear-gradient(135deg, #F4ECDA 0%, #EDE2C9 100%); color: var(--ink); }
.promo h1 { color: #1F3D27; }
.promo-sub { color: #4C5B49; }
.promo .trust li { color: #33503A; }
.promo .trust svg { color: var(--brand-600); }
.promo.has-photo::after { background: linear-gradient(90deg, rgba(246, 240, 228, .97) 0%, rgba(246, 240, 228, .85) 42%, rgba(246, 240, 228, 0) 75%); }
@media (max-width: 899px) { .promo.has-photo::after { background: linear-gradient(180deg, rgba(246, 240, 228, .96) 0%, rgba(246, 240, 228, .88) 60%, rgba(246, 240, 228, .55) 100%); } }
.hero-btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(31, 86, 49, .25); }
.hero-btn.wa-order { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.hero-btn.ghost { background: #FFF6DE; color: #6B4E10; border: 1.5px solid #EBCB7E; box-shadow: none; }
.hc { box-shadow: 0 10px 24px rgba(60, 45, 15, .18); }

/* trust strip: real icons in filled circles */
.trustbar { background: var(--surface); }
.tb-i { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; }
.tb-i svg { width: 22px; height: 22px; }
.tb strong { color: var(--ink); }

/* cards, buttons, sections */
.card, .combo-card, .why, .rev { background: var(--surface); border: 1px solid #EFE6D4; }
.add { background: var(--brand-600); }
.add:hover { background: var(--brand); }
.sec-head h2 { color: var(--brand); }
.why-i { background: var(--brand); color: #fff; }
#whyUs { background: #FBF6EA; border-color: var(--line); }
.visit { background: var(--surface); }
.home-h { color: var(--brand); }
.home-h::after { background: var(--gold); }

/* phones: 2 roomy product columns (no cramped 3-column grid) */
@media (max-width: 699px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem; }
}

/* categories: bigger photo tiles */
@media (max-width: 999px) {
  .cats .tile { min-width: 100px; }
  .cats .tile-i { width: 88px; height: 88px; border-radius: 22px; }
  .cats .tile-l { font-size: .84rem; font-weight: 800; color: var(--ink); }
}

/* offer banners: show the whole banner image (text inside it is never cut) */
.bn img { object-fit: contain; background: #EFE6D2; }

/* "Can't find what you need?" — highlighted band above the footer */
.ask-band { background: linear-gradient(135deg, #FFF1C9, #FBE3A6); border-top: 1px solid #EDD49A; }
.ask-in { display: flex; flex-direction: column; gap: .9rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
@media (min-width: 900px) { .ask-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.ask-t h2 { margin: 0 0 .3rem; font-size: 1.3rem; color: #3D2E05; }
.ask-t p { margin: 0; color: #5C4A1C; line-height: 1.45; }
.ask-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.ask-btns .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1.2rem; }
.ask-btns .btn.primary { background: var(--brand); color: #fff; }
.ask-btns .btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }

/* footer: organised columns, clean links, clear of the bottom bar */
.foot { background: #173F25; color: #E4EDE3; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 1.4rem; padding-top: 1.8rem; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.3fr 1fr 1.3fr; } .foot { padding-bottom: 2rem; } }
.foot-h { margin: 0 0 .6rem; font-size: .95rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.foot-shop { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.foot-a { border: 0; background: none; padding: .15rem 0; font: inherit; color: #E4EDE3; cursor: pointer; text-align: left; }
.foot-a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; flex-direction: column; gap: .5rem; }
.foot-links a, .foot-links a span { color: #E4EDE3 !important; text-decoration: none !important; }
.foot-links a:hover span { color: #fff !important; text-decoration: underline !important; }
.foot .fb-card { border-color: rgba(217, 164, 65, .55); background: rgba(217, 164, 65, .12); }
.install-card { grid-column: 1 / -1; }
.tb .tb-i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; }
.tb .tb-i svg { color: #fff; }
.why .why-i { display: grid; place-items: center; background: var(--brand); color: #fff; }
.why .why-i svg { color: #fff; }

/* =====================================================================
   v36: menu, filters, product page, cart, checkout steps
   ===================================================================== */
.menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: .3rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--brand); cursor: pointer; }
@media (min-width: 1000px) { .menu-btn { display: none; } }
.m-list { display: flex; flex-direction: column; }
.m-item { display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: 0 .3rem; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.m-i { width: 28px; text-align: center; font-size: 1.1rem; }
.m-contact { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.m-contact .btn { display: flex; justify-content: center; align-items: center; text-decoration: none; min-height: 46px; }
.m-addr { margin: .3rem 0 0; color: var(--ink-2); line-height: 1.45; }

.sortbar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; align-items: center; }
.fsel { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.fsel select { font: inherit; font-weight: 700; color: var(--ink); padding: .45rem .6rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); }
@media (max-width: 699px) { .sortbar { justify-content: stretch; } .fsel { flex: 1 1 30%; flex-direction: column; align-items: stretch; gap: .15rem; } .fsel select { width: 100%; } }

.pv-rating { margin: .2rem 0; }
.qchips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
.qchips span { padding: .3rem .65rem; border-radius: 999px; background: #EAF3E6; color: var(--brand); font-size: .78rem; font-weight: 700; }
.pv-wa2 { display: flex; justify-content: center; align-items: center; min-height: 48px; margin: .6rem 0; border-radius: 999px; border: 1.5px solid #128C7E; color: #128C7E; background: #fff; font-weight: 800; text-decoration: none; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: .6rem; align-items: center; }
.line .line-ph, .addon .line-ph { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #EFE6D2; display: block; }
.line-ph img { width: 100%; height: 100%; object-fit: cover; }
.line .stepper, .line .line-p { grid-column: 2 / -1; }
@media (min-width: 520px) { .line { grid-template-columns: 56px 1fr auto auto; } .line .stepper, .line .line-p { grid-column: auto; } }
.free-nudge { margin: .5rem 0; padding: .55rem .8rem; border-radius: 12px; background: #FFF4D6; color: #6B4E10; font-weight: 700; font-size: .86rem; }
.addons { margin: .8rem 0; padding: .8rem; border-radius: 16px; background: #F7F1E3; border: 1px dashed #E2CF9E; display: flex; flex-direction: column; gap: .55rem; }
.addons-h { margin: 0; font-weight: 800; color: var(--brand); }
.addon { display: grid; grid-template-columns: 56px 1fr auto; gap: .6rem; align-items: center; }
.addon-t { display: flex; flex-direction: column; min-width: 0; }
.addon-t strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addon-t span { font-size: .8rem; color: var(--ink-3); }

.steps { list-style: none; display: flex; gap: .4rem; margin: 0 0 1rem; padding: 0; }
.steps li { flex: 1; display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--ink-3); padding-bottom: .5rem; border-bottom: 3px solid var(--line); }
.steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: .75rem; flex: none; }
.steps li.now { color: var(--brand); border-color: var(--brand); }
.steps li.now span, .steps li.done span { background: var(--brand); color: #fff; }
.steps li.done { color: var(--brand-600); border-color: var(--brand-600); }
.lines .line { display: grid !important; grid-template-columns: 56px 1fr auto; grid-template-areas: "ph t t" "ph s p"; gap: .35rem .75rem; align-items: center; }
.lines .line .line-ph { grid-area: ph; align-self: start; }
.lines .line .line-t { grid-area: t; min-width: 0; }
.lines .line .stepper { grid-area: s; justify-self: start; grid-column: auto; }
.lines .line .line-p { grid-area: p; justify-self: end; margin: 0; grid-column: auto; font-weight: 800; }

.stepper { background: var(--brand-600) !important; border-color: var(--brand-600) !important; color: #fff; }
.stepper button, .stepper output { color: #fff; }

/* =====================================================================
   v37: Today's recipe
   ===================================================================== */
.today-recipe { margin: 0 0 1.4rem; }
.tr-kicker { margin: 0 0 .5rem; font-weight: 800; color: #9A6B12; letter-spacing: .02em; }
.tr-card { display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, #FFFDF6, #FBF1DB); border: 1px solid #EBDDBA; box-shadow: 0 10px 28px rgba(60, 45, 15, .08); }
@media (min-width: 700px) { .tr-card { grid-template-columns: 300px 1fr; } }
.tr-ph { position: relative; padding: 0; border: 0; background: #EFE3C6; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; display: grid; place-items: center; }
.tr-ph img { width: 100%; height: 100%; object-fit: cover; }
.tr-emoji { font-size: 4rem; }
.tr-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.tr-body h2 { margin: 0; font-size: 1.35rem; color: var(--brand); }
.tr-meta { margin: 0; color: var(--ink-3); font-weight: 600; font-size: .88rem; }
.tr-ben { margin: .15rem 0 0; color: #33503A; font-weight: 600; }
.tr-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.tr-btns .btn { flex: 1 1 140px; min-height: 46px; }

.rc { display: flex; flex-direction: column; gap: .45rem; }
.rc-ph { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #EFE3C6; display: grid; place-items: center; }
.rc-ph img { width: 100%; height: 100%; object-fit: cover; }
.rc-list { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .35rem; line-height: 1.5; }
.rc-why { padding: .7rem .9rem; border-radius: 14px; background: #EEF5EA; }
.rc-why .rc-list { padding-left: 1.1rem; }
.rc-items { display: flex; flex-direction: column; gap: .55rem; padding: .8rem; border-radius: 16px; background: #F7F1E3; border: 1px dashed #E2CF9E; }
.rc-tip { margin: .4rem 0; padding: .7rem .9rem; border-radius: 14px; background: #FFF4D6; color: #5C4A1C; line-height: 1.5; }
.rc-more { display: flex; flex-wrap: wrap; gap: .4rem; }
.rc .btn.wa { display: flex; justify-content: center; align-items: center; text-decoration: none; min-height: 46px; }
/* stepper's real class is .step */
.step { background: var(--brand-600) !important; border-color: var(--brand-600) !important; color: #fff; }
.step button, .step output { color: #fff; }
.lines .line .step { grid-area: s; justify-self: start; }

/* main buttons in forest green, matching the reference designs */
.btn.primary { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn.primary:hover { background: var(--brand); border-color: var(--brand); }

/* v38: "Why us?" badges in the hero */
.promo .trust.hero-why { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.hero-why li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .82); border: 1px solid #E5D5AE; font-weight: 800; font-size: .82rem; color: #2C4A33; box-shadow: 0 2px 6px rgba(60, 45, 15, .06); }
.hero-why li svg { display: none; }
.hero-why li.hw-label { background: var(--brand); border-color: var(--brand); color: #fff; }
.why-sub { margin: -.4rem 0 1rem; color: var(--ink-2); font-weight: 600; }
.promo .trust.hero-why li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid #E5D5AE; font-weight: 800; font-size: .82rem; color: #2C4A33; box-shadow: 0 2px 6px rgba(60, 45, 15, .06); }
.promo .trust.hero-why li.hw-label { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 900px) { .promo .trust.hero-why li { font-size: .88rem; padding: .45rem .85rem; } }

/* v39: "How was your order?" card */
.rate-nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin: 0 0 1.2rem; padding: .9rem 1rem; border-radius: 18px; background: linear-gradient(135deg, #FFF6D9, #FDEBB8); border: 1px solid #EBCB7E; }
.rate-nudge div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1 1 220px; }
.rate-nudge strong { color: #5A3F05; }
.rate-nudge span { color: #6B5320; font-size: .88rem; }
.rate-nudge .btn { min-height: 44px; padding: 0 1.2rem; }
@media (max-width: 699px) {
  .promo .trust.hero-why { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1rem; padding: 0 1rem .2rem 0; }
  .promo .trust.hero-why::-webkit-scrollbar { display: none; }
  .hero-why li { flex: none; }
}

/* v40: Google-page summary (shown above the footer on /p/ and /recipe/ pages), share link */
.seo-block { padding-top: 1.4rem; padding-bottom: 1.4rem; color: var(--ink-2); line-height: 1.55; }
.seo-block h1 { font-size: 1.3rem; color: var(--brand); margin: 0 0 .4rem; }
.seo-block h2 { font-size: 1.05rem; margin: .8rem 0 .3rem; color: var(--brand); }
.pv-share { display: block; text-align: center; margin: -.2rem 0 .6rem; color: #128C7E; font-weight: 700; text-decoration: none; }

/* v41: offers stand out; UPI apps + downloadable QR */
.price .now { color: var(--brand); }
.price s { color: #B42318; font-size: .92rem; font-weight: 700; text-decoration-thickness: 2px; margin-left: .4rem; }
.tag-off { background: #D92D20 !important; color: #fff !important; font-weight: 800; }
.meta-p .save { background: #FDECEC; color: #B42318; font-weight: 800; padding: .05rem .5rem; border-radius: 999px; }
.pay-sub { margin: .3rem 0 0; font-weight: 800; color: var(--brand); }
.app-btn.other { background: #F4F8F3; }
.qr-box { display: flex; flex-direction: column; gap: .45rem; padding: .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.qr-box .pay-qr { align-self: center; }
.dl-qr { min-height: 44px; }

/* ---------- v42: names, How to cook, FAQ, policies ---------- */
.also { margin: .15rem 0 .55rem; font-size: .86rem; color: var(--ink-3); line-height: 1.45; }
.also strong { color: var(--ink-2); }
.cook-box { margin: .9rem 0; padding: .75rem .9rem .85rem; border-radius: var(--r-md); background: var(--gold-50); border: 1px solid #EBD9A8; }
.cook-box .pv-h { margin: 0 0 .4rem; }
.cook-box .pv-list { margin: .3rem 0 .2rem; }
.cook-uses { margin: 0 0 .35rem; font-size: .92rem; color: var(--ink-2); }
.cook-r { margin: .55rem 0 .35rem; font-weight: 700; font-size: .86rem; color: var(--ink-2); }
.faq-list { display: grid; gap: .5rem; max-width: 820px; }
.faq-i { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); padding: 0 .95rem; box-shadow: var(--shadow-sm); }
.faq-i summary { cursor: pointer; font-weight: 700; padding: .75rem 1.6rem .75rem 0; list-style: none; color: var(--brand); position: relative; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; position: absolute; right: 0; top: .6rem; font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.faq-i[open] summary::after { content: "–"; }
.faq-i p { margin: 0 0 .8rem; color: var(--ink-2); line-height: 1.55; }
.foot-pol { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding-top: .7rem; padding-bottom: .2rem; font-size: .82rem; }
.foot-pol a { color: #CFE0D2; text-decoration: none; }
.foot-pol a:hover { color: #fff; text-decoration: underline; }
.foot-pol .fssai { color: #9DB5A6; }
a.foot-a { display: inline-block; text-decoration: none; color: #E4EDE3; font-weight: 400; font-size: inherit; }
a.foot-a:hover { color: #fff; text-decoration: underline; }
.foot .foot-pol a { font-weight: 600; font-size: .82rem; color: #CFE0D2; }
a.chip { text-decoration: none; }
.policy p { line-height: 1.6; margin: 0 0 .75rem; color: var(--ink-2); }
.pol-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.contact-rows p { margin: .3rem 0; }
.contact-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.seo-block .crumbs { font-size: .8rem; margin: 0 0 .5rem; }
.seo-block a { color: var(--brand-600); }
.seo-block ul, .seo-block ol { padding-left: 1.2rem; margin: .3rem 0 .6rem; }
.seo-block .also { font-size: .9rem; }
/* Cooking steps are a normal numbered list (the checkout progress bar also uses .steps) */
.pv-list.steps { display: block; list-style: decimal; padding-left: 1.3rem; margin: .3rem 0 .4rem; }
.pv-list.steps li { display: list-item; flex: none; border: 0; padding: 0; margin-bottom: .4rem; font-size: .95rem; font-weight: 400; color: var(--ink-2); line-height: 1.5; }

/* ---------- v44: price list, photos on Google pages ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: .3rem 0 .9rem; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .8rem; }
.price-table td:nth-child(2) { font-weight: 700; color: var(--brand); white-space: nowrap; }
.price-table s { color: #B42318; margin-left: .2rem; }
.price-table .linkish { text-align: left; font-weight: 600; }
.seo-block .seo-img { display: block; width: 180px; height: 180px; object-fit: cover; border-radius: var(--r-md); margin: .2rem 0 .6rem; }
.seo-block .seo-list { list-style: none; padding-left: 0; }
.seo-block .seo-list li { display: flex; align-items: center; gap: .5rem; margin: .3rem 0; }
.seo-block .seo-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }

/* v45: first-order coupon */
.cpn-strip { margin: 0; padding: .5rem 1rem; background: #FFF4DC; color: #6B4A00; font-weight: 600; font-size: .86rem; text-align: center; border-bottom: 1px solid rgba(201, 162, 75, .45); display: flex; flex-wrap: wrap; gap: .4rem .6rem; justify-content: center; align-items: center; }
.cpn-strip[hidden] { display: none; }
.cpn-copy { border: 1px dashed #B8860B; background: #fff; color: #6B4A00; font: inherit; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; cursor: pointer; }
.cpn-hint { margin-top: -.3rem; color: #6B4A00; }
.cpn-row span:last-child { color: #1E7A3C; font-weight: 700; }
#f-coupon { text-transform: uppercase; letter-spacing: .05em; }
