/* =====================================================================
   THE ANOKHA — STYLESHEET
   Change the colours in :root below to re-theme the whole site.
   ===================================================================== */

:root {
  /* Brand colours — CHANGE HERE */
  --white: #ffffff;
  --cream: #faf6f1;
  --ink: #1f1b16;
  --stone: #6b6259;
  --accent: #c2542d;        /* terracotta: buttons, prices, links */
  --accent-dark: #9e4222;   /* hover + accent text on cream */
  --accent-soft: #f6e4db;
  --line: #eae3da;
  --success: #2e7d4f;
  --error: #b42318;
  --wa: #25d366;            /* WhatsApp green */
  --wa-ink: #0b3d2e;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale: 4 8 12 16 24 32 48 64 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --r-card: 12px;
  --r-input: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(31,27,22,.06), 0 8px 24px rgba(31,27,22,.08);
  --shadow-lg: 0 12px 40px rgba(31,27,22,.16);
  --container: 1200px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s4);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 20px; font-weight: 500; }
p { margin: 0 0 var(--s4); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[data-icon] { display: inline-flex; }
[data-icon] svg { width: 24px; height: 24px; }
.draft-banner svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--r-input);
}
.skip-link:focus { top: var(--s2); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 768px) { .container { padding: 0 var(--s5); } }
.section { padding: var(--s8) 0; }
.section--cream { background: var(--cream); }
@media (min-width: 1024px) { .section { padding: var(--s9) 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: var(--s2); }
.muted { color: var(--stone); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--secondary { background: var(--white); color: var(--accent-dark); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #1fbd5a; color: var(--wa-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line); color: var(--stone); border-color: var(--line); cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s3); height: var(--header-h); }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { height: 34px; width: auto; }
.nav { display: none; }
.nav a {
  white-space: nowrap;
  text-decoration: none; color: var(--ink); font-weight: 500; padding: var(--s2) var(--s3); border-radius: var(--r-input);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
  cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-count[hidden] { display: none; }
/* .btn sets display:inline-flex, which would otherwise beat the hidden attribute. */
.btn[hidden] { display: none !important; }
.menu-toggle { order: -1; margin-left: calc(var(--s2) * -1); }
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { display: flex; gap: var(--s1); margin-right: var(--s4); }
  .logo { margin-right: var(--s6); }
  .nav { margin-right: auto; }
}
.header-search { display: none; }
@media (min-width: 1200px) {
  .header-search { display: block; position: relative; }
  .header-search input {
    width: 200px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill);
    padding: 0 var(--s4) 0 40px; background: var(--cream);
  }
  .header-search svg { position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; color: var(--stone); }
  .search-link { display: none; }
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(31,27,22,.4); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--white); z-index: 160;
  transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column;
  padding: var(--s4); box-shadow: var(--shadow-lg); visibility: hidden;
}
body.drawer-open .drawer { transform: none; visibility: visible; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.drawer nav a {
  display: block; padding: var(--s3) var(--s2); font-family: var(--font-head); font-size: 22px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--accent-dark); }
.drawer .drawer-foot { margin-top: auto; display: grid; gap: var(--s3); }

/* ---------- Hero ---------- */
.hero { padding: var(--s6) 0 var(--s8); background: linear-gradient(180deg, var(--cream), var(--white)); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { margin-bottom: var(--s4); }
.hero h1 em { font-style: italic; color: var(--accent-dark); font-weight: 500; }
.hero p.lead { font-size: 18px; color: var(--stone); max-width: 34em; margin-bottom: var(--s5); }
.hero-actions { display: flex; flex-direction: column; gap: var(--s3); }
.hero-media { border-radius: 20px; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); padding: 0; list-style: none; font-size: 14px; color: var(--stone); }
.hero-points li { display: flex; align-items: center; gap: var(--s2); }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }
@media (min-width: 600px) { .hero-actions { flex-direction: row; } }
@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 var(--s9); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s8); }
}

/* ---------- Product grid & card ---------- */
.grid { display: grid; gap: var(--s5) var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden;
  background: var(--cream); transition: box-shadow .2s;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media { box-shadow: var(--shadow); }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 1;
  background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: var(--r-pill); box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.badge--new { background: var(--accent); color: #fff; }
.badge--sold { background: var(--ink); color: #fff; }
.card-body { padding-top: var(--s3); display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-cat { font-size: 13px; color: var(--stone); }
.card-title { font-family: var(--font-head); font-size: 17px; font-weight: 500; line-height: 1.3; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.card-title a:focus-visible { outline: none; }
.card:focus-within .card-media { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (min-width: 768px) { .card-title { font-size: 19px; } }
.price-row { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s1); }
.price { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--accent-dark); }
.price-was { color: var(--stone); text-decoration: line-through; font-size: 14px; }
/* Quick-add button: below the details on phones, over the image on hover on desktop */
.card-media-wrap { display: contents; }
.card-media { order: 0; }
.card-body { order: 1; }
.card-add { order: 2; position: relative; z-index: 2; margin-top: var(--s3); min-height: 40px; font-size: 14px; padding: 0 var(--s4); }
@media (hover: hover) and (min-width: 900px) {
  .card-media-wrap { display: block; position: relative; }
  .card-add {
    position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); margin: 0;
    opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
  }
  .card:hover .card-add, .card:focus-within .card-add { opacity: 1; transform: none; }
}

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s4); }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s5); } }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff;
  background: var(--ink);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,0) 30%, rgba(20,16,12,.6) 58%, rgba(20,16,12,.92)); }
@media (max-width: 599px) { .cat-tile small { display: none; } .cat-tile { aspect-ratio: 1; } }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile span { position: relative; z-index: 1; padding: var(--s4); }
.cat-tile strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.cat-tile small { display: block; font-size: 13px; opacity: .9; line-height: 1.4; }
.cat-tile:hover { color: #fff; }
@media (min-width: 900px) { .cat-tile strong { font-size: 24px; } }

/* ---------- Steps / benefits ---------- */
.steps { display: grid; gap: var(--s5); counter-reset: step; padding: 0; list-style: none; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.step { background: var(--white); border-radius: var(--r-card); padding: var(--s5); border: 1px solid var(--line); }
.step-num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
  align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: var(--s3);
}
.step h3 { margin-bottom: var(--s2); }
.step p { margin: 0; color: var(--stone); }
.benefits { display: grid; gap: var(--s5); grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: var(--s3); }
.benefit h3 { font-size: 19px; margin-bottom: var(--s2); }
.benefit p { color: var(--stone); margin: 0; font-size: 15px; }

/* Reviews placeholder */
.reviews-empty {
  border: 2px dashed var(--line); border-radius: var(--r-card); padding: var(--s6) var(--s5); text-align: center; color: var(--stone);
}
.reviews-empty p { max-width: 36em; margin: 0 auto var(--s4); }

/* CTA banner */
.cta-banner {
  display: grid; gap: var(--s5); align-items: center; background: var(--ink); color: #fff;
  border-radius: 20px; padding: var(--s6) var(--s5);
}
.cta-banner h2 { color: #fff; margin-bottom: var(--s2); }
.cta-banner p { color: #d9d2c9; margin: 0; }
@media (min-width: 768px) { .cta-banner { grid-template-columns: 1fr auto; padding: var(--s7); } }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { background: var(--cream); padding: var(--s6) 0 var(--s5); }
.page-head h1 { margin-bottom: var(--s2); }
.page-head p { margin: 0; color: var(--stone); max-width: 40em; }
.breadcrumbs { font-size: 14px; color: var(--stone); margin-bottom: var(--s3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: var(--s2); }
.breadcrumbs a { color: var(--stone); }

/* ---------- Shop toolbar ---------- */
.toolbar { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s1); scrollbar-width: none; margin: 0 calc(var(--s4) * -1); padding-left: var(--s4); padding-right: var(--s4); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 var(--s4); border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--white); cursor: pointer; font-weight: 500; font-size: 15px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: var(--s3); }
.input, .select, textarea.input {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 1px solid #d6cdc2;
  border-radius: var(--r-input); background: var(--white);
}
.input:focus, .select:focus { border-color: var(--accent); outline: 3px solid rgba(194,84,45,.2); outline-offset: 0; }
.select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231f1b16' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; color: var(--stone); pointer-events: none; }
.search-field .input { padding-left: 44px; }
.result-count { font-size: 14px; color: var(--stone); margin: 0; }
@media (min-width: 900px) {
  .chips { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .toolbar { grid-template-columns: 1fr auto; align-items: center; }
  .toolbar-row { grid-template-columns: 260px 200px; }
}
.empty-state { text-align: center; padding: var(--s8) var(--s4); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto var(--s4); color: var(--accent); }
.empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--stone); max-width: 30em; margin: 0 auto var(--s5); }

/* ---------- Product page ---------- */
.pdp { padding-top: var(--s5); padding-bottom: var(--s8); }
.pdp-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s8); align-items: start; } }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--cream); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-dots { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.gallery-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); padding: 0; cursor: pointer; }
.gallery-dots button[aria-current="true"] { background: var(--accent); }
.thumbs { display: none; gap: var(--s3); margin-top: var(--s3); }
.thumbs button { width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: var(--r-input); overflow: hidden; cursor: pointer; background: var(--cream); }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .thumbs { display: flex; }
  .gallery-dots { display: none; }
  .gallery { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}
.pdp-info h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--s3); }
.pdp-price { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.pdp-price .price { font-size: 28px; }
.pdp-price .save { font-size: 13px; font-weight: 700; color: var(--success); background: #e5f3ea; padding: 2px 8px; border-radius: var(--r-pill); }
.tax-note { font-size: 13px; color: var(--stone); margin: var(--s1) 0 var(--s5); }
.pdp-short { font-size: 17px; margin-bottom: var(--s5); }
.opt-label { font-weight: 600; font-size: 15px; margin-bottom: var(--s2); display: block; }
.opt-label span { font-weight: 400; color: var(--stone); }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s2); border: 0; padding: 0; margin: 0 0 var(--s5); }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4) 0 var(--s2);
  border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; font-size: 15px;
}
.swatch .dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); flex: none; }
.swatch input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d6cdc2; border-radius: var(--r-pill); height: 48px; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 20px; border-radius: var(--r-pill); }
.qty button:hover { background: var(--cream); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; height: 38px; font-size: 18px; }
.qty--sm input { width: 32px; }
.buy-row { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s4); }
@media (min-width: 480px) { .buy-row { grid-template-columns: 1fr 1fr; } }
.rzp-wrap { margin-bottom: var(--s4); }
.rzp-wrap[hidden] { display: none; }
.rzp-wrap p { font-size: 13px; color: var(--stone); margin: var(--s2) 0 0; }
.assurances { list-style: none; padding: var(--s4) 0 0; margin: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); font-size: 15px; }
.assurances li { display: flex; gap: var(--s3); align-items: flex-start; }
.assurances svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.sold-out-note { background: var(--cream); border-radius: var(--r-input); padding: var(--s3) var(--s4); font-size: 15px; margin: var(--s4) 0; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary {
  list-style: none; cursor: pointer; padding: var(--s4) 0; font-family: var(--font-head); font-size: 20px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-body); font-size: 24px; color: var(--stone); }
details.acc[open] summary::after { content: "−"; }
details.acc > div { padding-bottom: var(--s4); }
.pdp-details { margin-top: var(--s6); border-top: 1px solid var(--line); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--stone); font-weight: 500; padding-right: var(--s4); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--white); border-top: 1px solid var(--line);
  padding: var(--s3) var(--s4); display: flex; align-items: center; gap: var(--s3);
  transform: translateY(110%); transition: transform .2s; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.sticky-buy.show { transform: none; }
.sticky-buy .price { font-size: 20px; }
.sticky-buy .btn { flex: 1; }
.sticky-buy-name { font-size: 13px; color: var(--stone); line-height: 1.2; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
body.has-sticky-buy .wa-float { bottom: 88px; }
@media (min-width: 900px) { body.has-sticky-buy .wa-float { bottom: var(--s5); } }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: var(--s6); padding: var(--s5) 0 var(--s8); }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: 1.4fr 1fr; align-items: start; gap: var(--s7); } }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .cart-item { grid-template-columns: 110px 1fr; } }
.cart-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-input); background: var(--cream); }
.cart-item h3 { font-size: 17px; margin: 0 0 2px; }
.cart-item h3 a { color: var(--ink); text-decoration: none; }
.cart-item h3 a:hover { text-decoration: underline; }
.cart-item .meta { font-size: 14px; color: var(--stone); margin: 0 0 var(--s3); }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.cart-item .line-total { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.remove-btn { background: none; border: 0; color: var(--stone); text-decoration: underline; cursor: pointer; font-size: 14px; padding: var(--s2) 0; min-height: 44px; }
.remove-btn:hover { color: var(--error); }
.panel { background: var(--cream); border-radius: var(--r-card); padding: var(--s5); }
.panel + .panel { margin-top: var(--s4); }
.panel h2 { font-size: 24px; margin-bottom: var(--s4); }
.summary-row { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2) 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s3); font-weight: 700; font-size: 20px; }
.summary-row.total span:last-child { font-family: var(--font-head); color: var(--accent-dark); }
.free-ship-bar { font-size: 14px; background: var(--white); border-radius: var(--r-input); padding: var(--s3); margin: var(--s3) 0; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: var(--s2); }
.bar span { display: block; height: 100%; background: var(--accent); }
.upi-box { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); background: var(--white); border-radius: var(--r-input); padding: var(--s3) var(--s4); margin-top: var(--s4); flex-wrap: wrap; }
.upi-box code { font-size: 15px; font-weight: 600; word-break: break-all; }
.config-warning { background: #fff4e5; border: 1px solid #f3c98b; color: #6b4200; border-radius: var(--r-input); padding: var(--s3) var(--s4); font-size: 14px; margin-bottom: var(--s4); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: var(--s1); }
.field .hint { font-size: 13px; color: var(--stone); margin-top: var(--s1); }
.field .error-msg { display: none; font-size: 14px; color: var(--error); margin-top: var(--s1); font-weight: 500; }
.field.invalid .input, .field.invalid .select { border-color: var(--error); }
.field.invalid .error-msg { display: block; }
.req { color: var(--error); }
textarea.input { min-height: 140px; resize: vertical; }
.form-success { text-align: center; padding: var(--s6) var(--s4); background: #e9f5ee; border-radius: var(--r-card); }
.form-success svg { width: 56px; height: 56px; color: var(--success); margin: 0 auto var(--s3); }
.form-success h2 { font-size: 26px; }
.form-status { font-size: 15px; margin-top: var(--s3); }
.form-status.error { color: var(--error); }

/* ---------- Content pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin-top: var(--s6); }
.prose h3 { margin-top: var(--s5); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.draft-banner[hidden] { display: none !important; }
.draft-banner {
  display: flex; gap: var(--s3); align-items: flex-start; background: #fff4e5; border: 1px solid #f3c98b; color: #6b4200;
  border-radius: var(--r-input); padding: var(--s3) var(--s4); font-size: 15px; margin-bottom: var(--s5);
}
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; } }
.rounded-img { border-radius: 20px; overflow: hidden; background: var(--cream); }
.rounded-img img { width: 100%; height: auto; }
.contact-cards { display: grid; gap: var(--s4); }
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact-card .btn { white-space: normal; text-align: center; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.contact-card svg { width: 28px; height: 28px; color: var(--accent); }
.contact-card h2 { font-size: 22px; margin: var(--s2) 0 0; }
.contact-card p { margin: 0; color: var(--stone); font-size: 15px; }
.contact-card .btn { margin-top: auto; }
.map-wrap { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--cream); }
@media (max-width: 599px) { .map-wrap { aspect-ratio: 4 / 5; } }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.idea-list { display: grid; gap: var(--s4); padding: 0; list-style: none; margin: 0 0 var(--s6); }
@media (min-width: 700px) { .idea-list { grid-template-columns: repeat(3, 1fr); } }
.idea-list li { background: var(--cream); border-radius: var(--r-card); padding: var(--s4) var(--s5); }
.idea-list strong { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 500; margin-bottom: var(--s1); }
.idea-list span { color: var(--stone); font-size: 15px; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); align-items: start; }
.next-steps li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s5); margin-top: 0; font-size: 15px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: var(--s3); }
.footer-brand p { color: var(--stone); max-width: 28em; }
.footer-grid { display: grid; gap: var(--s2); }
.footer-col h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--s2); }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-col details summary { list-style: none; cursor: pointer; padding: var(--s3) 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.footer-col details summary::-webkit-details-marker { display: none; }
.footer-col details summary::after { content: "+"; font-size: 20px; color: var(--stone); }
.footer-col details[open] summary::after { content: "−"; }
.footer-col details ul { padding: var(--s3) 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; color: var(--stone); font-size: 14px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s6); }
  .footer-col details summary { pointer-events: none; border: 0; padding: 0 0 var(--s3); }
  .footer-col details summary::after { display: none; }
  .footer-col details ul { padding: 0; }
}

/* ---------- WhatsApp float + toast ---------- */
.wa-float {
  position: fixed; right: var(--s4); bottom: var(--s4); z-index: 95; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--wa-ink); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .15s, bottom .2s;
}
.wa-float:hover { transform: scale(1.06); color: var(--wa-ink); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 900px) { .wa-float { right: var(--s5); bottom: var(--s5); } }
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + var(--s3)); z-index: 300;
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; border-radius: var(--r-card); padding: var(--s3) var(--s4);
  display: flex; align-items: center; gap: var(--s3); box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100vw - 32px);
  transition: opacity .2s, transform .2s; font-size: 15px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { width: 22px; height: 22px; color: #7fd6a0; flex: none; }
.toast a { color: #ffc9b3; font-weight: 700; white-space: nowrap; }
.toast.error svg { color: #ff9c8f; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-top: var(--s9); padding-bottom: var(--s9); }
.nf .big { font-family: var(--font-head); font-size: clamp(80px, 18vw, 160px); line-height: 1; color: var(--accent); margin-bottom: var(--s3); font-weight: 600; }
.nf .actions { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; margin-top: var(--s5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Low-stock note on the product page */
.stock-note { font-size: 14px; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); margin: 0 0 var(--s4); }

/* Links through to our posts about a product */
.social-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0 0 var(--s5); }
.social-btn {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 42px; padding: 0 var(--s4);
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white);
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color .15s, color .15s, background .15s;
}
.social-btn svg { width: 19px; height: 19px; }
.social-btn--ig:hover { border-color: #c13584; color: #a02a6c; background: #fdf2f8; }
.social-btn--yt:hover { border-color: #c4302b; color: #a32622; background: #fdf2f2; }
