/* ==========================================================================
   HILLROOT — Northeast India's farmer marketplace
   Design system v2.

   Direction: warm retail, not editorial. Rounded friendly type, cream page,
   soft shadows, generous pills. The shelf should feel like a good grocer —
   confident, clean, unfussy — with the farmer's name never more than a glance
   away from the price.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Surfaces — the page is cream, never white. White is reserved for cards. */
  --cream:      #FDF8ED;
  --cream-2:    #F7EFDE;
  --sand:       #F0E4CC;
  --card:       #FFFFFF;

  /* Green — the house colour */
  --green:      #0B3D2C;
  --green-2:    #145240;
  --green-3:    #2E7157;
  --green-soft: #DDEBE2;
  --green-tint: #EEF6F0;

  /* Accents */
  --clay:       #C4552F;   /* terracotta — sale, urgency, chilli */
  --clay-soft:  #FAE3D8;
  --turmeric:   #E3A21C;   /* the crop itself — badges, highlights */
  --turmeric-2: #C4870F;
  --turmeric-soft: #FBEBC8;
  --plum:       #6E3B5C;   /* women-led */

  /* Ink */
  --ink:        #1C2B23;
  --ink-2:      #405147;
  --ink-3:      #6D7C73;
  --ink-4:      #97A39B;

  --line:       #E7DDC8;
  --line-2:     #D6C9AE;
  --white:      #FFFFFF;

  /* Type — rounded and friendly, deliberately unlike a magazine */
  --display: "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body:    "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --pill: 999px;

  --shell: 1240px;

  /* Shadow — warm, low, never grey */
  --sh-1: 0 1px 2px rgba(28,43,35,.05), 0 2px 6px rgba(28,43,35,.04);
  --sh-2: 0 2px 6px rgba(28,43,35,.06), 0 10px 24px rgba(28,43,35,.07);
  --sh-3: 0 8px 20px rgba(28,43,35,.10), 0 22px 48px rgba(28,43,35,.11);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Type ------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.06rem; font-weight: 700; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.kicker {
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--turmeric-2);
  display: block;
  margin-bottom: .75rem;
}
.kicker--light { color: var(--turmeric); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); line-height: 1.62; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.tiny { font-size: .8rem; }
.strong { color: var(--ink); font-weight: 600; }

/* ---------- 4. Layout ---------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1rem, 3.5vw, 2rem); }
.shell-narrow { max-width: 820px; }
.band { padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.band-sm { padding-block: clamp(2rem, 4vw, 3.25rem); }
.bg-cream2 { background: var(--cream-2); }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-green { background: var(--green); color: #C6D8CE; }
.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4 { color: #fff; }
.bg-tint { background: var(--green-tint); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.split--l { grid-template-columns: .9fr 1.1fr; }
.split--r { grid-template-columns: 1.1fr .9fr; }
.split--top { align-items: start; }

.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-s { gap: .5rem; } .gap { gap: 1rem; } .gap-l { gap: 1.75rem; }
.tac { text-align: center; }
.mt-s { margin-top: .6rem; } .mt { margin-top: 1.25rem; } .mt-l { margin-top: 2.25rem; }
.mb-s { margin-bottom: .6rem; } .mb { margin-bottom: 1.25rem; } .mb-l { margin-bottom: 2.25rem; }

.head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.head p { margin-top: .7rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.35rem, 2.5vw, 2rem); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem;
  font-family: var(--body);
  font-size: .92rem; font-weight: 700;
  border-radius: var(--pill);
  border: 2px solid transparent;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--sh-1); }
.btn-green:hover { background: var(--green-2); box-shadow: var(--sh-2); }
.btn-clay { background: var(--clay); color: #fff; box-shadow: var(--sh-1); }
.btn-clay:hover { background: #B04726; box-shadow: var(--sh-2); }
.btn-turmeric { background: var(--turmeric); color: #33240A; box-shadow: var(--sh-1); }
.btn-turmeric:hover { background: #EEB030; box-shadow: var(--sh-2); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 17px; height: 17px; flex: none; }

.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .88rem; color: var(--green);
  transition: gap .2s var(--ease);
}
.tlink::after { content: "→"; }
.tlink:hover { gap: .7rem; }

/* ---------- 6. Header ---------------------------------------------------- */
.promo {
  background: var(--green); color: #BFD4C8; font-size: .78rem; text-align: center;
  padding: .5rem 1rem;
}
.promo b { color: var(--turmeric); }

.head-main {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.head-main.stuck { box-shadow: var(--sh-2); }
.head-bar { display: flex; align-items: center; gap: 1rem; min-height: 70px; }

.logo { display: flex; align-items: center; gap: .55rem; flex: none; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-txt { font-family: var(--display); font-size: 1.44rem; font-weight: 800; color: var(--green); letter-spacing: -.028em; line-height: 1; }
.logo-sub { display: block; font-family: var(--body); font-size: .55rem; font-weight: 700; letter-spacing: .17em; color: var(--turmeric-2); text-transform: uppercase; margin-top: 3px; }

/* search */
.searchbox { flex: 1; max-width: 460px; position: relative; }
.searchbox input {
  width: 100%; padding: .68rem 1rem .68rem 2.5rem;
  border: 2px solid var(--line); border-radius: var(--pill);
  background: var(--white); font-size: .88rem; transition: border-color .2s;
}
.searchbox input:focus { outline: none; border-color: var(--green-3); }
.searchbox svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-4); }

.tools { display: flex; align-items: center; gap: .35rem; margin-left: auto; flex: none; }
.tool {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--pill);
  color: var(--ink-2); position: relative; transition: background-color .18s, color .18s;
}
.tool:hover { background: var(--green-soft); color: var(--green); }
.tool svg { width: 21px; height: 21px; }
.bubble {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--clay); color: #fff; border-radius: var(--pill);
  font-size: .64rem; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.bubble[data-n="0"], .bubble:empty { display: none; }

/* category strip */
.catbar { background: var(--white); border-bottom: 1px solid var(--line); }
.catbar-in { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding-block: .4rem; }
.catbar-in::-webkit-scrollbar { display: none; }
.catbar a {
  padding: .5rem .85rem; font-size: .855rem; font-weight: 600; color: var(--ink-2);
  border-radius: var(--pill); white-space: nowrap; transition: background-color .18s, color .18s;
}
.catbar a:hover { background: var(--green-tint); color: var(--green); }
.catbar a.on { background: var(--green); color: #fff; }

.burger { display: none; }
@media (max-width: 1000px) {
  .searchbox { order: 3; flex-basis: 100%; max-width: none; margin-bottom: .7rem; }
  .head-bar { flex-wrap: wrap; padding-top: .7rem; }
  .burger { display: grid; }
  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 5rem 1.2rem 2rem; gap: .15rem;
    box-shadow: var(--sh-3); z-index: 70; border-left: 1px solid var(--line); overflow-y: auto;
    transform: translateX(101%); visibility: hidden; opacity: 0; pointer-events: none;
    transition: transform .32s var(--ease), opacity .26s, visibility .32s;
  }
  .mainnav.open { transform: translateX(0); visibility: visible; opacity: 1; pointer-events: auto; }
  .mainnav a { padding: .85rem .6rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .scrim { position: fixed; inset: 0; background: rgba(28,43,35,.45); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .28s; }
  .scrim.on { opacity: 1; pointer-events: auto; }
}
.mainnav { display: flex; align-items: center; gap: .1rem; }
.mainnav a { padding: .5rem .78rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); border-radius: var(--pill); transition: background-color .18s, color .18s; }
.mainnav a:hover { background: var(--green-tint); color: var(--green); }
.mainnav a.on { color: var(--green); font-weight: 700; }

/* ---------- 7. Delivery / pincode bar ------------------------------------ */
.pin-bar {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: var(--turmeric-soft); border: 1px solid #EBD9A8;
  border-radius: var(--pill); padding: .45rem .5rem .45rem 1rem; font-size: .82rem;
}
.pin-bar svg { width: 16px; height: 16px; color: var(--turmeric-2); flex: none; }
.pin-bar input {
  border: 1.5px solid #E4CE95; border-radius: var(--pill); padding: .35rem .8rem;
  background: var(--white); font-size: .82rem; width: 120px;
}
.pin-bar input:focus { outline: none; border-color: var(--turmeric-2); }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero { background: var(--cream-2); overflow: hidden; position: relative; }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.25rem, 5vw, 4.25rem); }
.hero h1 { color: var(--green); }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero-art { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.hero-art svg { width: 100%; height: auto; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-pts { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-pt { display: flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.hero-pt svg { width: 17px; height: 17px; color: var(--green-3); flex: none; }
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; } }

/* ---------- 9. Trust strip ----------------------------------------------- */
.trust-strip { background: var(--green); }
.trust-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.1rem; }
.ts { display: flex; align-items: center; gap: .65rem; color: #C6D8CE; font-size: .82rem; font-weight: 600; }
.ts svg { width: 22px; height: 22px; color: var(--turmeric); flex: none; }
@media (max-width: 780px) { .trust-strip .shell { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }

/* ---------- 10. Product card --------------------------------------------- */
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.pmedia { position: relative; aspect-ratio: 1/1; background: var(--cream-2); overflow: hidden; display: block; }
.pmedia svg { width: 100%; height: 100%; }
/* Photographs. Objects are cover-fitted so a square tile never letterboxes. */
.ph { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--cream-2); }
.pmedia .ph { position: absolute; inset: 0; }
.pcard:hover .zoom { transform: scale(1.05); }
.zoom { transition: transform .5s var(--ease); }
.ptags { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; z-index: 2; }
.pwish {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 32px; height: 32px;
  border-radius: var(--pill); background: rgba(255,255,255,.94); display: grid; place-items: center;
  color: var(--ink-3); box-shadow: var(--sh-1); transition: color .18s, transform .18s;
}
.pwish:hover { color: var(--clay); transform: scale(1.1); }
.pwish.on { color: var(--clay); }
.pwish svg { width: 15px; height: 15px; }
.pbody { padding: .9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.porigin {
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--turmeric-2); display: flex; align-items: center; gap: .3rem;
}
.porigin svg { width: 11px; height: 11px; }
.pname { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-top: .28rem; line-height: 1.3; }
.pfarm { font-size: .765rem; color: var(--ink-3); margin-top: .3rem; }
.prate { display: flex; align-items: center; gap: .3rem; font-size: .755rem; color: var(--ink-3); margin-top: .45rem; }
.prate .st { color: var(--turmeric); letter-spacing: .02em; }
.psizes { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .65rem; }
.psize {
  padding: .22rem .5rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-size: .715rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .16s;
  background: var(--white);
}
.psize:hover { border-color: var(--green-3); }
.psize.on { background: var(--green); border-color: var(--green); color: #fff; }
.pfoot { margin-top: auto; padding-top: .8rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.pprice { font-family: var(--display); font-size: 1.16rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.pprice s { color: var(--ink-4); font-weight: 500; font-size: .8rem; margin-right: .25rem; }
.pmember { font-size: .72rem; color: var(--green-3); font-weight: 700; margin-top: .18rem; }
.pgst { font-size: .68rem; color: var(--ink-4); font-weight: 500; }

/* tags */
.tag {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .25rem .48rem; border-radius: var(--r-sm); line-height: 1.3;
}
.tag-gi      { background: var(--turmeric); color: #33240A; }
.tag-org     { background: var(--green); color: #fff; }
.tag-off     { background: var(--clay); color: #fff; }
.tag-women   { background: var(--plum); color: #fff; }
.tag-new     { background: var(--green-3); color: #fff; }
.tag-soft    { background: var(--green-soft); color: var(--green); }
.tag-sand    { background: var(--sand); color: var(--ink-2); }
.tag svg { width: 10px; height: 10px; }

/* ---------- 11. Category tile -------------------------------------------- */
.ctile {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; text-align: center;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.ctile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.ctile-art { aspect-ratio: 1/.82; background: var(--cream-2); position: relative; overflow: hidden; }
.ctile-art svg { width: 100%; height: 100%; }
.ctile-art .ph { position: absolute; inset: 0; }
.ctile:hover .ph.zoom { transform: scale(1.05); }

/* A photographic band: image with a dark scrim so light text stays readable. */
.photoband { position: relative; overflow: hidden; isolation: isolate; }
.photoband > .ph {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.photoband::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,61,44,.93) 0%, rgba(11,61,44,.82) 46%, rgba(11,61,44,.55) 100%);
}
.photoband--soft::after { background: linear-gradient(180deg, rgba(11,61,44,.34), rgba(11,61,44,.72)); }

/* Framed photograph with a caption underneath. */
.figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: var(--cream-2); }
.figure .ph { aspect-ratio: 16/9; }
.figure--sq .ph { aspect-ratio: 1/1; }
.figure figcaption { font-size: .76rem; color: var(--ink-3); padding: .6rem .2rem 0; }

/* The Northeast map, used as artwork rather than a survey document. */
.mapwrap { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); padding: 1rem; }
.mapwrap img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.mapghost { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(560px, 52%); opacity: .1; pointer-events: none; z-index: 0; }
.mapghost img { width: 100%; }
@media (max-width: 860px) { .mapghost { display: none; } }
.ctile-b { padding: .8rem .6rem 1rem; }
.ctile h4 { font-size: .95rem; }
.ctile span { font-size: .73rem; color: var(--ink-3); display: block; margin-top: .15rem; }

/* concern pill */
.concern {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.1rem .6rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); text-align: center; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.concern:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--green-soft); }
.concern-ic { width: 46px; height: 46px; border-radius: var(--pill); background: var(--green-tint); display: grid; place-items: center; color: var(--green); }
.concern-ic svg { width: 22px; height: 22px; }
.concern b { font-size: .84rem; color: var(--ink); font-weight: 700; }

/* ---------- 12. Stats ---------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.stat { text-align: center; padding: .5rem; }
.stat-n { font-family: var(--display); font-size: clamp(1.55rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--turmeric); line-height: 1; }
.bg-cream2 .stat-n, .bg-white .stat-n { color: var(--green); }
.stat-l { font-size: .78rem; margin-top: .4rem; line-height: 1.35; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

/* ---------- 13. Farmer card ---------------------------------------------- */
.fcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .24s var(--ease), box-shadow .24s; display: block; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.fcard-top { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.1rem 0; }
.fface { width: 58px; height: 58px; border-radius: var(--pill); overflow: hidden; flex: none; border: 3px solid var(--turmeric-soft); }
.fface--lg { width: 104px; height: 104px; border-width: 4px; }
.fface svg { width: 100%; height: 100%; }
.fname { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.fmeta { font-size: .755rem; color: var(--ink-3); margin-top: .15rem; display: flex; align-items: center; gap: .3rem; }
.fmeta svg { width: 12px; height: 12px; }
.fquote { font-size: .875rem; color: var(--ink-2); font-style: italic; padding: 1rem 1.1rem 0; line-height: 1.55; }
.fstats { display: flex; justify-content: space-between; gap: .5rem; padding: 1rem 1.1rem; margin-top: .7rem; border-top: 1px solid var(--line); font-size: .755rem; color: var(--ink-3); }
.fstats b { display: block; color: var(--ink); font-family: var(--display); font-size: .98rem; font-weight: 800; }

/* ---------- 14. Reviews -------------------------------------------------- */
.rev { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.rev-st { color: var(--turmeric); font-size: .95rem; letter-spacing: .04em; }
.rev p { font-size: .9rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.6; }
.rev-by { display: flex; align-items: center; gap: .65rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.rev-av { width: 36px; height: 36px; border-radius: var(--pill); background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; font-family: var(--display); }
.rev-nm { font-size: .84rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.rev-pl { font-size: .74rem; color: var(--ink-3); }

/* ---------- 15. Forms ---------------------------------------------------- */
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.field .req { color: var(--clay); }
.inp, .sel, .txt {
  width: 100%; padding: .7rem .9rem; background: var(--white);
  border: 2px solid var(--line); border-radius: var(--r-sm);
  font-size: .9rem; color: var(--ink); transition: border-color .18s;
}
.inp:hover, .sel:hover, .txt:hover { border-color: var(--line-2); }
.inp:focus, .sel:focus, .txt:focus { outline: none; border-color: var(--green-3); }
.txt { min-height: 120px; resize: vertical; }
.sel {
  appearance: none; padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236D7C73' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
.hint { font-size: .75rem; color: var(--ink-4); margin-top: .28rem; }
.chk { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--green); margin-top: 2px; flex: none; }

/* ---------- 16. Shop layout ---------------------------------------------- */
.shoplay { display: grid; grid-template-columns: 244px 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.filters { position: sticky; top: 150px; }
.fgrp { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.fgrp:first-child { padding-top: 0; }
.fgrp h5 { font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7rem; }
.fopt { display: flex; align-items: center; gap: .5rem; padding: .28rem 0; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.fopt:hover { color: var(--green); }
.fopt input { width: 16px; height: 16px; accent-color: var(--green); flex: none; }
.fopt .n { margin-left: auto; font-size: .73rem; color: var(--ink-4); }
.shopbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.ftoggle { display: none; }
@media (max-width: 920px) {
  .shoplay { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; margin-bottom: 1.25rem; }
  .filters.open { display: block; }
  .ftoggle { display: inline-flex; }
}

/* ---------- 17. Product detail ------------------------------------------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
.pd-gal { position: sticky; top: 150px; }
.pd-main { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); aspect-ratio: 1/1; }
.pd-main svg { width: 100%; height: 100%; }
.pd-th { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-top: .6rem; }
.pd-t { border: 2px solid var(--line); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--cream-2); cursor: pointer; transition: border-color .18s; }
.pd-t.on, .pd-t:hover { border-color: var(--turmeric); }
.pd-t svg { width: 100%; height: 100%; }
.pricebox { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; margin-block: 1.1rem; }
.price-lg { font-family: var(--display); font-size: 2.05rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price-was { color: var(--ink-4); text-decoration: line-through; font-size: 1rem; margin-left: .45rem; font-weight: 500; }
.price-off { background: var(--clay); color: #fff; font-size: .72rem; font-weight: 800; padding: .18rem .45rem; border-radius: var(--r-sm); margin-left: .45rem; }
.member-row { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line-2); font-size: .85rem; }
.member-row b { color: var(--green); font-family: var(--display); font-size: 1.05rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--pill); overflow: hidden; background: var(--white); }
.qty button { width: 38px; height: 42px; display: grid; place-items: center; color: var(--ink-2); font-size: 1.1rem; }
.qty button:hover { background: var(--green-tint); color: var(--green); }
.qty input { width: 44px; height: 42px; text-align: center; border: 0; font-weight: 700; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.spec td { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; vertical-align: top; }
.spec td:first-child { color: var(--ink-3); width: 42%; }
.spec td:last-child { color: var(--ink); font-weight: 600; }
.spec tr:last-child td { border-bottom: 0; }
.tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin-bottom: 1.4rem; overflow-x: auto; }
.tab { padding: .75rem 1.1rem; font-size: .88rem; font-weight: 700; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--green); border-color: var(--turmeric); }
.pane { display: none; }
.pane.on { display: block; animation: fadein .3s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(5px);} to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .pd { grid-template-columns: 1fr; } .pd-gal { position: static; } }

/* ---------- 18. Feature row ---------------------------------------------- */
.feat { display: flex; gap: .9rem; align-items: flex-start; }
.feat-ic { width: 44px; height: 44px; border-radius: var(--r); flex: none; display: grid; place-items: center; background: var(--turmeric-soft); color: var(--turmeric-2); }
.bg-green .feat-ic { background: rgba(255,255,255,.1); color: var(--turmeric); }
.feat-ic svg { width: 21px; height: 21px; }
.feat h4 { margin-bottom: .2rem; }
.feat p { font-size: .84rem; color: var(--ink-3); }
.bg-green .feat p { color: #A9C0B4; }

/* ---------- 19. Steps ---------------------------------------------------- */
.steps { counter-reset: st; }
.stepc { position: relative; padding-left: 3.1rem; }
.stepc::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: var(--pill);
  background: var(--green); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.02rem;
}
.bg-green .stepc::before { background: var(--turmeric); color: #33240A; }
.stepc h4 { margin-bottom: .3rem; }
.stepc p { font-size: .86rem; color: var(--ink-3); }
.bg-green .stepc p { color: #A9C0B4; }

/* ---------- 20. Table ---------------------------------------------------- */
.tbl { font-size: .875rem; background: var(--white); border-radius: var(--r); overflow: hidden; }
.tbl th { text-align: left; padding: .8rem .95rem; background: var(--green); color: #fff; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.tbl th:last-child, .tbl td:last-child { text-align: right; }
.tbl td { padding: .78rem .95rem; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) { background: var(--cream); }
.tbl .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.tblwrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }

/* ---------- 21. Cart ----------------------------------------------------- */
.crow { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cthumb { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); aspect-ratio: 1; }
.cthumb svg { width: 100%; height: 100%; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem; position: sticky; top: 150px; }
.srow { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .88rem; }
.srow.tot { border-top: 2px solid var(--line); margin-top: .5rem; padding-top: .8rem; font-size: 1.08rem; font-weight: 800; color: var(--ink); font-family: var(--display); }
@media (max-width: 640px) { .crow { grid-template-columns: 70px 1fr; } }

/* ---------- 22. Footer --------------------------------------------------- */
.foot { background: var(--green); color: #A9C0B4; padding-top: clamp(2.5rem, 5vw, 4rem); }
.foot h5 { font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--turmeric); margin-bottom: .95rem; }
.foot a { color: #A9C0B4; font-size: .86rem; transition: color .18s; }
.foot a:hover { color: #fff; }
.foot li { margin-bottom: .5rem; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2.5rem; }
.fbrand .logo-txt { color: #fff; }
.fbrand p { font-size: .86rem; margin-top: .9rem; color: #96AC9F; max-width: 32ch; }
.fbot { border-top: 1px solid rgba(255,255,255,.11); padding-block: 1.35rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #839887; }
.fpills { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.fpill { font-size: .68rem; padding: .3rem .65rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--pill); color: #B9CCC1; }
@media (max-width: 940px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- 23. Bits ----------------------------------------------------- */
.crumbs { font-size: .78rem; color: var(--ink-3); display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; padding-block: 1rem; }
.crumbs a:hover { color: var(--green); }
.pagetop { background: var(--cream-2); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.pagetop h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.pagetop p { margin-top: .7rem; max-width: 62ch; }
.callout { background: var(--turmeric-soft); border: 1px solid #EBD9A8; border-radius: var(--r); padding: 1.1rem 1.25rem; font-size: .86rem; color: var(--ink-2); display: flex; gap: .8rem; align-items: flex-start; }
.callout svg { width: 19px; height: 19px; color: var(--turmeric-2); flex: none; margin-top: 2px; }
.callout b { color: var(--ink); }
.banner {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--green);
  color: #C6D8CE; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
}
.banner h3 { color: #fff; }
@media (max-width: 700px) { .banner { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-3); }
.empty svg { width: 52px; height: 52px; color: var(--line-2); margin: 0 auto 1rem; }
.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translate(-50%, 140%);
  background: var(--green); color: #fff; padding: .85rem 1.4rem; border-radius: var(--pill);
  font-size: .88rem; font-weight: 600; box-shadow: var(--sh-3); z-index: 200;
  transition: transform .34s var(--ease); display: flex; align-items: center; gap: .55rem; max-width: 92vw;
}
.toast.on { transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; color: var(--turmeric); flex: none; }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* scroll rail */
.rail { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.rail > * { flex: 0 0 clamp(210px, 24vw, 262px); scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

/* responsive collapse */
@media (max-width: 1080px) { .g-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .g-3 { grid-template-columns: repeat(2, 1fr); } .split, .split--l, .split--r { grid-template-columns: 1fr; } }
@media (max-width: 620px)  { .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; } .hero-cta .btn { width: 100%; } }
@media (max-width: 460px)  { .g-5, .g-4 { grid-template-columns: repeat(2, 1fr); } }
