:root {
  --cream: #FBF6EC;
  --paper: #FFFDF8;
  --ink: #1F1A17;
  --ink-2: #5C524B;
  --line: #E7DCC8;
  --gold: #C9962E;
  --gold-soft: #F3E3BD;
  --veg: #1E8A3C;
  --red: #8E1A1A;
  --bg: #8E1A1A;      /* per-product, overridden inline */
  --accent: #FFD98A;  /* per-product, overridden inline */
  --radius: 14px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Hind", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.label { font: 700 .78rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1em; display: block; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
section { padding: clamp(48px, 9vw, 96px) 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,246,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font: 600 .92rem var(--head); }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--gold); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.cart-link:hover { background: var(--gold-soft); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 700 .7rem/19px var(--head); text-align: center; }
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; height: auto; padding: 8px 0 0; gap: 0; }
  .logo img { height: 38px; }
  .cart-link { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 0; justify-content: space-between; overflow-x: auto; font-size: .85rem; }
  .nav a { padding: 10px 0; white-space: nowrap; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 .95rem var(--head); text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.gold { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.hero h1 .dev { font-family: var(--body); color: var(--red); font-weight: 700; }
.hero .lede { font-size: 1.2rem; max-width: 34ch; color: var(--ink-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.claims-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font: 600 .85rem var(--head); color: var(--ink-2); }
.claims-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- label-style panel (the brand's front-of-pack device) ---------- */
.panel { background: var(--bg); color: #fff; border-radius: var(--radius); padding: 10px; }
.panel-inner { border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: -5px; border-radius: 8px; padding: 26px 22px 20px; height: 100%; display: flex; flex-direction: column; }
.pill { display: inline-block; border: 1.5px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 6px 12px 4px; font: 700 .68rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.pname { font: 800 1.35rem/1.1 var(--head); text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin: 0; }
.veg { flex: none; width: 15px; height: 15px; border: 1.6px solid var(--veg); background: #fff; display: inline-grid; place-items: center; border-radius: 2px; }
.veg::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.inside-title { font: 700 .68rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; }
.inside-title::before, .inside-title::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bar-row { display: flex; justify-content: space-between; gap: 12px; font: 700 .86rem/1.2 var(--head); text-transform: uppercase; }
.bar-row b { color: var(--accent); font-weight: 700; }
.bar-row small { display: block; text-transform: none; font: 400 .78rem/1.35 var(--body); opacity: .8; margin-top: 2px; }
.track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); margin-top: 6px; overflow: hidden; }
.fill { height: 100%; background: var(--accent); border-radius: 3px; width: var(--w); transform-origin: left; animation: grow .9s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .fill { animation: none; } * { scroll-behavior: auto !important; } }
.panel-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 600 .82rem var(--head); }
.closing { font: 700 .82rem var(--head); color: var(--accent); text-align: center; margin: 18px 0 0; letter-spacing: .02em; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { text-decoration: none; display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card .panel { flex: 1; }
.card .panel-inner { padding: 22px 18px 16px; }
.card .pname { font-size: 1.12rem; margin-top: 14px; }
.card .about { font-size: .92rem; opacity: .85; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font: 700 1.1rem var(--head); }
.price s { font-weight: 500; font-size: .85em; opacity: .65; margin-left: 6px; }
.stock-tag { font: 700 .68rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 4px; background: rgba(255,255,255,.15); }
.stock-tag.low { background: var(--accent); color: var(--ink); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px 6px; font: 600 .88rem var(--head); text-decoration: none; }
.chip[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- promise strip ---------- */
.promise { background: var(--ink); color: #fff; }
.promise .label { color: var(--gold-soft); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.promise-grid h3 { color: var(--gold-soft); }
.promise-grid p { color: rgba(255,255,255,.78); }
.icon-circle { width: 52px; height: 52px; border: 1.6px solid #fff; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; } }
blockquote.story { font: 500 clamp(1.25rem, 3vw, 1.7rem)/1.45 var(--body); margin: 0; max-width: 40ch; }

/* ---------- product page ---------- */
.pp { background: var(--bg); color: #fff; padding: 28px 0 64px; }
.crumb { font: 600 .82rem var(--head); opacity: .8; margin-bottom: 24px; }
.crumb a { text-decoration: none; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.pp h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pp h1 .veg { width: 22px; height: 22px; }
.pp h1 .veg::after { width: 10px; height: 10px; }
.pp .tagline { font: 600 1rem var(--head); color: var(--accent); margin-top: -4px; }
.pp .desc { font-size: 1.12rem; opacity: .92; }
.pp .price { font-size: 1.8rem; }
.pp .mrp-note { font-size: .85rem; opacity: .75; }
.claims { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.claims li { display: flex; align-items: center; gap: 12px; font: 700 .86rem var(--head); text-transform: uppercase; letter-spacing: .03em; }
.claims li::before { content: ""; width: 30px; height: 30px; flex: none; border: 1.5px solid #fff; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 4px, transparent 5px); }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 2px solid rgba(255,255,255,.5); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 1.3rem; }
.qty output { min-width: 28px; text-align: center; font: 700 1rem var(--head); }
.pp .btn.gold { flex: 1; min-width: 180px; }
.fineprint { font-size: .9rem; opacity: .8; }
.careful { border: 1.5px dashed var(--accent); border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: .95rem; }
.careful b { color: var(--accent); font-family: var(--head); text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; display: block; margin-bottom: 4px; }

.pp-photo { aspect-ratio: 4/3; border: 1.5px dashed rgba(255,255,255,.4); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 20px; font: 600 .85rem var(--head); color: rgba(255,255,255,.7); margin-bottom: 20px; }

.details { background: var(--paper); padding: clamp(40px, 7vw, 72px) 0; }
.details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; margin-bottom: 20px; }
.box h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ing-text { font-size: 1rem; }
.ing-text strong { font-weight: 700; }
table.nut { width: 100%; border-collapse: collapse; font-size: .94rem; }
.nut th, .nut td { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.nut th:first-child, .nut td:first-child { text-align: left; }
.nut thead th { font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--ink); }
.nut .sub td:first-child { padding-left: 18px; color: var(--ink-2); }
.label-img { border-radius: 8px; border: 1px solid var(--line); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x img { min-width: 760px; }
@media (max-width: 860px) { .pp-grid, .details-grid { grid-template-columns: 1fr; } }

/* ---------- know your snack ---------- */
.know-hero { background: var(--bg); color: #fff; padding: 40px 0 48px; text-align: center; }
.know-hero h1 { text-transform: uppercase; font-size: clamp(1.9rem, 6vw, 3rem); }
.know-hero .pill { margin-bottom: 18px; }
.know-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.know-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.know-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 .9rem var(--head); }
.source-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.source-list .box { margin: 0; }

/* ---------- cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.swatch { width: 56px; height: 56px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; }
.swatch::after { content: ""; width: 34px; height: 34px; border: 1px solid var(--accent); border-radius: 5px; }
.line .qty { border-color: var(--line); height: 40px; }
.line .qty button { width: 36px; height: 36px; }
.line-name { font: 700 .95rem var(--head); text-decoration: none; }
.remove { border: 0; background: none; color: var(--ink-2); text-decoration: underline; font-size: .85rem; padding: 0; margin-left: 10px; }
.summary { position: sticky; top: 88px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { font: 700 1.15rem var(--head); border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; }
form.checkout { display: grid; gap: 12px; margin-top: 18px; }
form.checkout label { font: 600 .82rem var(--head); display: grid; gap: 4px; }
form.checkout input, form.checkout textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; width: 100%; }
form.checkout input:focus, form.checkout textarea:focus { border-color: var(--gold); outline: none; }
@media (max-width: 860px) { .cart-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- misc pages ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { font: 700 1.02rem var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }
.placeholder { border: 1.5px dashed var(--gold); background: #FFF8E6; border-radius: 10px; padding: 14px 16px; color: #7A5A12; font-size: .95rem; }
.placeholder::before { content: "To be added by owner · "; font: 700 .72rem var(--head); text-transform: uppercase; letter-spacing: .08em; }
.photo-ph { aspect-ratio: 4/5; border: 1.5px dashed var(--gold); border-radius: var(--radius); display: grid; place-items: center; color: #7A5A12; font: 600 .85rem var(--head); background: #FFF8E6; text-align: center; padding: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 72px); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list b { display: block; font: 700 .75rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid a { display: block; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-line { margin-top: 14px; font: 600 1rem var(--head); color: #fff; }
.footer-line em { color: var(--gold-soft); font-style: normal; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 18px; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-contact { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font: 600 .9rem var(--head); transition: transform .25s; z-index: 50; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--gold-soft); }
.empty { text-align: center; padding: 40px 0; }
.pp-grid > *, .details-grid > *, .two-col > *, .cart-grid > * { min-width: 0; }

/* ---------- photos ---------- */
.card { border-radius: var(--radius); overflow: hidden; background: var(--bg); color: #fff; }
.card-img { aspect-ratio: 4/5; overflow: hidden; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card .card-info .pname { font-size: 1.05rem; margin: 0; }
.card-info .panel-foot { padding-top: 14px; align-items: center; }
.gallery { margin-bottom: 20px; }
.gallery-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); background: rgba(0,0,0,.15); }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 64px; height: 80px; background: none; opacity: .7; }
.thumbs button[aria-current] { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
img.swatch { object-fit: cover; }
img.swatch::after { display: none; }
.founder { width: 100%; border-radius: var(--radius); object-fit: cover; }
.gallery-main, .founder { height: auto; }
.gallery-main { max-height: 78vh; }
.signoff { font: 600 .95rem var(--head); color: var(--ink-2); margin-top: 1.5em; }
.brand-story { max-width: 760px; }
.brand-story h2 { color: #fff; }
.brand-story p { color: rgba(255,255,255,.82); font-size: 1.12rem; }
.brand-story .big { font: 700 clamp(1.25rem, 3vw, 1.6rem)/1.3 var(--head); color: var(--gold-soft); margin-top: 1.4em; }
