/* Maita theme stylesheet, R8 (docs/00-master-plan.md). Built by scripts/build_css.py from proto/proto.css (approved
   prototype), woo-m7.css (WooCommerce styling carried over, re-typed for Bree + Atkinson) and r8-woo.css (R8 overrides).
   Edit the sources, not this file. Content is visible without JS; no reveal-on-scroll; reduced motion = none. */

/* Maita R8 concept prototype (Phase 1). Plan: docs/00-master-plan.md §3, §3a, §4, §5.
   Content is visible without JS; no reveal-on-scroll; reduced motion = none. */

:root {
  --green: #1E4D2B;
  --green-deep: #133520;
  --lime: #B5D334;
  --lime-soft: #D4EC7A;
  --ink: #17201A;
  --ink-soft: #45524A;
  --paper: #FAFBF5;
  --linen: #F1EEE6;
  --tint: #EDF4E1;
  --line: #D9DECF;
  --on-green: #EEF6E3;
  --alert: #B3361C;

  --display: "Bree Serif", Georgia, serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 48px);
  --wrap: 1200px;
  --tap: 58px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.5 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.on-green :focus-visible { outline-color: var(--lime); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--green); }
h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 32px; height: 32px; flex: none; color: var(--green); }

/* ---------- Header ---------- */
.call { background: var(--green-deep); color: var(--on-green); font-size: 1rem; }
.call .wrap { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; }
.call a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.call .ico { width: 22px; height: 22px; color: var(--lime-soft); }
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: none; gap: 28px; margin-left: auto; font-weight: 700; }
.top nav a { text-decoration: none; padding: 10px 0; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.basket-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 18px; border-radius: 999px; background: var(--green); color: var(--paper); font-weight: 700; text-decoration: none; }
.basket-btn .ico { color: var(--lime); width: 26px; height: 26px; }
.basket-btn b { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 1rem; }
@media (min-width: 900px) { .top nav { display: flex; } .basket-btn { margin-left: 28px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 0 26px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font: 700 1.125rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color 150ms; }
.btn:hover { background: var(--lime-soft); }
.btn.dark { background: var(--green); color: var(--paper); }
.btn.dark:hover { background: var(--green-deep); }
.btn.wide { width: 100%; }
.link { font-weight: 700; text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: var(--on-green); }
.hero .wrap { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
.hero h1 { color: var(--paper); }
.hero .lead { font-size: 1.25rem; max-width: 30ch; margin-top: 14px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 26px; }
.hero .acts .link { color: var(--lime-soft); }
.service { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; font-size: 1.05rem; }
.service span { display: inline-flex; align-items: center; gap: 8px; }
.service .ico { color: var(--lime); width: 28px; height: 28px; }
.hero figure { margin: 0; }
.hero figure img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero figcaption, .cap { font-size: .95rem; margin-top: 10px; color: inherit; opacity: .9; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1.05fr; align-items: center; padding-top: 56px; padding-bottom: 56px; gap: 56px; }
  .hero figure img { aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */
.sec { padding: 52px 0; }
.sec.linen { background: var(--linen); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.promise { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.2rem; color: var(--green); margin-bottom: 26px; }
.promise .ico { width: 36px; height: 36px; }

/* order strip */
.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: s; }
.strip li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 16px; text-align: center; counter-increment: s; }
.strip img { width: 100%; max-width: 170px; aspect-ratio: 1; margin: 0 auto 6px; }
.strip b { display: block; font-size: 1.05rem; line-height: 1.25; }
.strip b::before { content: counter(s) ". "; color: var(--ink-soft); }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* delivery checker */
.check { margin-top: 30px; background: var(--paper); border: 2px solid var(--green); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; }
.check label { font-weight: 700; font-size: 1.15rem; }
.check .row { display: flex; gap: 10px; flex-wrap: wrap; }
.check input { flex: 1 1 220px; min-height: var(--tap); padding: 0 16px; border: 2px solid var(--ink-soft); border-radius: 12px; font: inherit; background: #fff; }
.result { display: none; gap: 12px; }
.result.on { display: grid; }
.result ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.result li { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 700; }
.result li .ico { width: 26px; height: 26px; }
.result.miss li { background: #F6E7E3; }

/* range */
.jumps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.jumps a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--green); text-decoration: none; font-weight: 700; color: var(--green); }
.jumps .ico { width: 24px; height: 24px; }
.group { padding-top: 26px; scroll-margin-top: 16px; }
.group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.group h3 .ico { width: 40px; height: 40px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card .pic { background: var(--linen); aspect-ratio: 1; display: grid; place-items: center; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic img.pack { object-fit: contain; padding: 18px; }
.card .pic { text-decoration: none; }
.card .pic .soon { color: var(--ink-soft); font-weight: 700; text-align: center; padding: 20px; }
.card .body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; }
/* phones: picture beside the details so the range stays short (11 products ≈ 3 screens) */
@media (max-width: 599px) {
  .card { grid-template-rows: none; grid-template-columns: 112px 1fr; }
  .card .pic { aspect-ratio: auto; align-self: stretch; }
  .card .pic img { height: 100%; min-height: 150px; }
  .card .pic img.pack { padding: 8px; }
  .card .body { padding: 12px 12px 14px; gap: 6px; }
  .card h4 { font-size: 1.15rem; }
  .card .what { font-size: 1rem; line-height: 1.35; }
  .card .price { font-size: 1.25rem; }
  .card .btn, .card .added { grid-column: 1 / -1; }
}
.card h4 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.card h4 a { text-decoration: none; }
.card h4 a:hover { text-decoration: underline; }
.card .what { color: var(--ink-soft); font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.facts li { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 700; color: var(--green); background: var(--tint); border-radius: 8px; padding: 4px 9px 4px 6px; }
.facts .ico { width: 22px; height: 22px; }
.price { font-size: 1.45rem; font-weight: 700; }
/* Atkinson draws a slashed zero (R12Ø); prices and totals use the display face's plain figures */
.price, .sum, .sumbox .r, .lines .n, .swatch small { font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; }
.price small, .sum small { font-family: var(--body); }
.price small { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.card .btn { margin-top: 4px; }
.added { display: none; align-items: center; justify-content: space-between; gap: 10px; min-height: var(--tap); border-radius: 999px; background: var(--tint); padding: 0 6px 0 18px; font-weight: 700; color: var(--green); }
.added.on { display: flex; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--green); background: #fff; font: 700 1.4rem/1 var(--body); color: var(--green); cursor: pointer; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; }

/* meals */
.meals { display: grid; gap: 28px; }
.meal { display: grid; grid-template-columns: 1fr auto 1.6fr; gap: 10px; align-items: center; }
.meal .ins { display: grid; gap: 10px; }
.meal .ins a { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.meal .ins img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.meal .ins span { display: block; padding: 6px 8px; font-size: .95rem; font-weight: 700; }
.meal .arrow { width: 30px; height: 30px; color: var(--green); }
.meal figure { margin: 0; }
.meal figure img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.meal .pending { aspect-ratio: 4 / 5; border-radius: var(--r); border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink-soft); font-weight: 700; }
@media (min-width: 900px) { .meals { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* people & place */
.place { display: grid; gap: 22px; }
.place-map { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--r); border: 1px solid var(--line); }
.place ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.place li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.15rem; }
.place li .ico { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--tint); }
.seller { font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 900px) { .place { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; } }

/* help (visual FAQ) */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; cursor: pointer; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.6rem; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq summary .ico { width: 36px; height: 36px; }
.faq details p { padding: 0 16px 16px 66px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; } }

/* footer */
.foot { background: var(--green); color: var(--on-green); padding: 44px 0 32px; font-size: 1rem; }
.foot .wrap { display: grid; gap: 26px; }
.foot img.logo { height: 40px; width: auto; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-underline-offset: 4px; }
.foot .soon { border-top: 1px solid rgba(238, 246, 227, .25); padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.foot .soon img { height: 26px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .foot .soon { grid-column: 1 / -1; } }

/* ---------- Product page ---------- */
.crumbs { font-size: 1rem; padding: 16px 0 0; color: var(--ink-soft); }
.pdp { display: grid; gap: 26px; padding-top: 18px; padding-bottom: 40px; }
.arrives { position: relative; margin: 0; background: var(--linen); border-radius: var(--r); overflow: hidden; }
.arrives img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.arrives img.pack { object-fit: contain; padding: 36px; background: #fff; }
.arrives .tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: var(--paper); color: var(--green); font-weight: 700; font-size: 1rem; border-radius: 999px; padding: 6px 12px 6px 8px; box-shadow: 0 1px 0 rgba(23, 32, 26, .15); border: 1.5px solid var(--green); }
.arrives .tag .ico { width: 22px; height: 22px; }
.arrives figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--green); color: var(--paper); font-size: .95rem; font-weight: 700; border-radius: 8px; padding: 4px 10px; }
.buy { display: grid; gap: 16px; align-content: start; }
.buy .what { font-size: 1.2rem; color: var(--ink-soft); }
.buy .price { font-size: 2rem; }
.opts { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.opts legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch label { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 8px 6px 10px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 1rem; min-height: var(--tap); align-content: center; }
.swatch img { width: 62px; height: 62px; object-fit: contain; }
.swatch input:checked + label { border-color: var(--green); background: var(--tint); box-shadow: inset 0 0 0 2px var(--lime); }
.swatch input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.swatch small { font-weight: 400; color: var(--ink-soft); }
.total { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total .sum { font-size: 1.35rem; font-weight: 700; }
.total .sum small { display: block; font-size: .95rem; font-weight: 400; color: var(--ink-soft); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.ways li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .95rem; font-weight: 700; color: var(--green); background: var(--tint); border-radius: 12px; padding: 10px 4px; }
.ways .ico { width: 30px; height: 30px; }
.ask { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); }
.weight { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 1.05rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 28px; align-items: start; } }

.below { display: grid; gap: 34px; padding-bottom: 56px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 1rem; font-weight: 700; }
.steps .pic { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--tint); display: grid; place-items: center; position: relative; }
.steps .pic .ico { width: 56px; height: 56px; }
.steps .pic::before { content: counter(st); position: absolute; top: 6px; left: 8px; font-weight: 700; color: var(--ink-soft); }
.pair { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 10px; align-items: center; }
.pair img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.pair figure { margin: 0; }
.pair figure img { aspect-ratio: 4 / 3; }
.keep { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.keep li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.with { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.with a { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-decoration: none; font-weight: 700; }
.with img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.wrong { display: flex; gap: 14px; align-items: center; background: var(--linen); border-radius: var(--r); padding: 16px; }
.wrong .ico { width: 40px; height: 40px; }
@media (min-width: 900px) { .below { grid-template-columns: 1fr 1fr; gap: 44px 56px; } }

/* ---------- Basket + thank-you ---------- */
.page-head { padding-top: 30px; padding-bottom: 10px; }
.lines { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.lines li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.lines img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.lines .n { font-weight: 700; }
.lines .s { color: var(--ink-soft); font-size: 1rem; }
.sumbox { background: var(--linen); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; }
.sumbox .r { display: flex; justify-content: space-between; gap: 10px; }
.sumbox .r.t { font-size: 1.35rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choose label { display: grid; justify-items: center; gap: 6px; text-align: center; border: 2px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; font-weight: 700; cursor: pointer; }
.choose input { position: absolute; opacity: 0; }
.choose input:checked + label { border-color: var(--green); background: var(--tint); box-shadow: inset 0 0 0 2px var(--lime); }
.choose .ico { width: 34px; height: 34px; }
.basket-grid { display: grid; gap: 26px; padding-bottom: 56px; }
@media (min-width: 900px) { .basket-grid { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 48px; } }
.thanks { text-align: center; display: grid; gap: 16px; justify-items: center; padding-top: 40px; padding-bottom: 20px; }
.thanks .num { font-size: 1.2rem; font-weight: 700; background: var(--tint); border-radius: 999px; padding: 8px 18px; }
.next { list-style: none; padding: 0; margin: 10px 0 40px; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.next img { width: 96px; height: 96px; }
.next b { display: block; font-size: 1.15rem; }
.points { display: flex; gap: 12px; align-items: center; justify-content: center; font-weight: 700; color: var(--green); }


/* G1 fixes */
.how { padding: 30px 0 34px; }
.how .strip { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.how .strip li { padding: 8px 4px 10px; }
.how .strip img { max-width: 84px; }
.how .strip b { font-size: .9rem; }
.how .strip b::before { content: none; }
@media (min-width: 900px) { .how .strip img { max-width: 130px; } .how .strip b { font-size: 1.05rem; } }
.both { grid-column: 1 / -1; }
.qlabel { font-weight: 700; margin-right: auto; }
.total { gap: 10px 14px; }
.qty .unit { font-weight: 700; margin-left: -2px; }
.lines li { align-items: start; }
.lines .n { font-family: var(--body); }
.lines .amt { font-family: var(--display); font-size: 1.15rem; padding-top: 2px; }
.edit { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.remove { background: none; border: 0; padding: 10px 0; min-height: 46px; font: 700 1rem var(--body); color: var(--alert); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.facts-ty { display: grid; gap: 12px; margin: 6px 0 0; text-align: left; width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.facts-ty div { display: grid; gap: 2px; }
.facts-ty dt { font-size: .95rem; color: var(--ink-soft); }
.facts-ty dd { margin: 0; font-weight: 700; font-size: 1.15rem; }
.facts-ty .amt, .thanks .num { font-family: var(--display); font-size: 1.5rem; }
.next.compact li { grid-template-columns: 56px 1fr; padding: 8px 12px; }
.next.compact img { width: 56px; height: 56px; }

/* ================= WooCommerce (carried from M7) ================= */
/* ================= Theme additions (WordPress + WooCommerce) ================= */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--lime); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.sr, .screen-reader-text { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header actions: account (with points) + order pill */
.top-acts { display: flex; align-items: center; gap: 10px; }
.acct {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tap); padding: 0 16px; border-radius: 999px;
  color: var(--green); font-weight: 700; text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(30,77,43,.25);
}
.acct:hover { box-shadow: inset 0 0 0 2px var(--green); }
.acct .pts { font: 400 1.15rem/1 var(--display); }
.acct .pts small { font: 600 .85rem var(--body); }
@media (max-width: 420px) {
  .top .logo svg { height: 38px; }
  .order-pill .cart-word, .acct span:not(.pts) { display: none; }
  .acct, .order-pill { padding: 0 14px; }
}

/* Buttons: extra kinds */
.btn-secondary { background: var(--green); color: var(--paper); }
.btn-secondary:hover { background: var(--green-deep); }
.btn-wide { width: 100%; }
.btn-google { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(23,32,26,.2); }
.btn-google:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-text { background: none; border: 0; padding: 10px 0; margin-right: 18px; font: 700 1.05rem var(--body); color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 48px; }
a.add { display: inline-flex; align-items: center; text-decoration: none; }
a.add.loading { opacity: .7; }
a.add.added { background: var(--leaf); }
.added_to_cart { display: none !important; }

/* Fields: big, labelled, forgiving */
.field { display: grid; gap: 8px; margin: 0 0 16px; font-weight: 700; }
.field input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 58px; padding: 12px 16px; border: 2px solid rgba(23,32,26,.35); border-radius: 12px;
  font: 500 1.15rem var(--body); color: var(--ink); background: #fff; width: 100%;
}
.field input:focus, .woocommerce form .form-row input.input-text:focus { border-color: var(--green); outline: 3px solid var(--leaf); outline-offset: 1px; }
.code-input { letter-spacing: .4em; font: 400 1.6rem var(--display) !important; text-align: center; }

/* Sign-in */
.auth { max-width: 520px; margin: 0 auto; padding: 30px var(--gutter) 34px; }
.auth h1 { margin: 0 0 20px; font: 400 clamp(2.2rem, 9vw, 3.2rem)/1 var(--display); color: var(--paper); }
.auth-card { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 24px 20px; box-shadow: 0 18px 34px -16px rgba(0,0,0,.5); }
.auth-big { font-size: 1.2rem; margin: 0 0 18px; }
.auth-small { margin: 14px 0 0; color: var(--ink-soft); font-size: 1rem; }
.auth-help { margin: 18px 0 0; color: var(--on-green); }
.auth-help a { color: var(--lime-soft); font-weight: 700; }
.auth-msg { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.auth-msg--error { box-shadow: inset 6px 0 0 var(--alert); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); margin: 18px 0; font-size: 1rem; }
.or::before, .or::after { content: ""; flex: 1; height: 2px; background: rgba(23,32,26,.15); }
.staff-login { padding-top: 10px; padding-bottom: 10px; color: var(--ink-soft); }
.staff-login summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.staff-login form { max-width: 420px; margin-top: 12px; }

/* Pages */
.page-title { margin: 0 0 18px; font: 400 clamp(2.2rem, 8vw, 3.4rem)/1 var(--display); }
.page { max-width: 1180px; margin-inline: auto; }
.page-body { max-width: 72ch; }
.page--wc .page-body { max-width: none; }
.woocommerce-account:not(.logged-in) .page { padding: 0; max-width: none; }

/* Product page: WooCommerce's form in Maita dress */
.pdp-side { min-width: 0; }
.buy-form form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 6px 0 14px; }
.buy-form .quantity input.qty { width: 92px; min-height: 64px; border: 3px solid var(--ink); border-radius: 999px; text-align: center; font: 400 1.5rem var(--display); }
.buy-form button.single_add_to_cart_button {
  flex: 1 1 200px; min-height: 64px; padding: 0 34px; border: 0; border-radius: 999px;
  background: var(--green); color: var(--paper); font: 700 1.25rem var(--body); cursor: pointer;
}
.buy-form button.single_add_to_cart_button:hover { background: var(--green-deep); }
.buy-form button.single_add_to_cart_button.disabled { opacity: .5; }
.buy-form table.variations { width: 100%; border: 0; margin: 0 0 12px; }
.buy-form table.variations th, .buy-form table.variations td { display: block; text-align: left; padding: 0 0 6px; border: 0; }
.buy-form table.variations label { font-weight: 700; font-size: 1.1rem; }
.buy-form table.variations select { min-height: 58px; width: 100%; padding: 0 14px; border: 2px solid rgba(23,32,26,.35); border-radius: 12px; font: 600 1.15rem var(--body); background: #fff; }
.buy-form .reset_variations { display: inline-block; margin-top: 6px; color: var(--green); }
.buy-form .woocommerce-variation-price .price { font: 400 2rem var(--display); }
.buy-form .stock { font-weight: 700; color: var(--leaf); }
.buy-form .single_variation_wrap { width: 100%; }
.buy-form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.desc { color: var(--ink-soft); max-width: 60ch; margin-top: 18px; }
.medallion--pdp { width: min(60vw, 250px); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 18px; padding: 16px 18px; border: 0; border-radius: 12px;
  background: var(--tint); color: var(--ink); font-weight: 600;
}
.woocommerce-error { background: #F6D9CF; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button { margin-left: 10px; }
.woocommerce-notices-wrapper:not(:empty) { padding: 12px var(--gutter) 0; }

/* Cart + checkout: plain, roomy, the button is unmissable */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
  min-height: 54px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--green); color: var(--paper); font: 700 1.05rem var(--body); line-height: 54px;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--green-deep); color: var(--paper); }
.woocommerce a.checkout-button, .woocommerce #place_order { background: var(--lime) !important; color: var(--ink) !important; min-height: 64px; line-height: 64px; font-size: 1.25rem !important; width: 100%; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; font-size: 1.05rem; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top: 1.5px solid rgba(23,32,26,.15); padding: 14px 8px; }
.woocommerce table.shop_table img { width: 64px; border-radius: 50%; }
.woocommerce a.remove { color: var(--alert) !important; font-size: 1.6rem; }
.woocommerce .quantity .qty { min-height: 48px; width: 72px; border: 2px solid rgba(23,32,26,.35); border-radius: 999px; text-align: center; font-weight: 700; }
.cart-collaterals .cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3 { font: 400 1.8rem var(--display); }
.woocommerce-checkout .col2-set, .woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce form .form-row label { font-weight: 700; font-size: 1.05rem; }
.woocommerce-checkout #payment { background: var(--tint); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); }
.cart-empty::before { display: none; }
.cart-empty { font: 400 1.6rem var(--display) !important; background: none !important; padding: 0 !important; }
.return-to-shop .button { background: var(--lime) !important; color: var(--ink) !important; }
.coupon { display: none !important; }

/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--tint); font-weight: 700; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--green); color: var(--paper); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
.acct-hello { font: 400 clamp(1.8rem, 7vw, 2.6rem)/1.05 var(--display); margin: 0 0 18px; }
.acct-points { border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.acct-points-in { padding: 22px 20px 18px; }
.acct-points p { margin: 0; color: var(--on-green); }
.big-pts { font: 400 2.6rem/1 var(--display) !important; color: var(--paper) !important; margin-bottom: 8px !important; }
.big-pts em { font-style: normal; color: var(--lime-soft); }
.acct-home h3 { font: 400 1.5rem var(--display); margin: 30px 0 10px; }
.reward-shelf { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.reward-shelf li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1.5px solid rgba(23,32,26,.15); }
.reward-shelf strong { display: block; font: 400 1.3rem var(--display); }
.reward-shelf span { color: var(--ink-soft); }
.reward-shelf .needs { font-weight: 700; }
.reward-shelf .tag { background: var(--leaf); color: var(--paper); padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.acct-msg { font-weight: 700; color: var(--green); min-height: 1.4em; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share input { flex: 1 1 260px; min-height: 54px; padding: 0 14px; border: 2px solid rgba(23,32,26,.25); border-radius: 12px; font: 500 1rem var(--body); }
.order-lines { list-style: none; padding: 0; margin: 0; }
.order-lines li { padding: 12px 0; border-bottom: 1.5px solid rgba(23,32,26,.12); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.order-lines a { font-weight: 700; }
.thanks-note { background: var(--tint); border-radius: 14px; padding: 16px 18px; margin: 0 0 20px; }

/* Footer: contact, map, help, socials, payment, legal */
.foot-grid { display: grid; gap: 30px; padding: 6px var(--gutter) 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1.7fr 1fr 1fr; gap: 40px; } }
.foot h2 { margin: 0 0 10px; font: 400 1.15rem/1.2 var(--display); color: var(--paper); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-list a { color: var(--lime-soft); font-weight: 700; font-size: 1.1rem; min-height: 48px; display: inline-flex; align-items: center; gap: 10px; }
.foot-map { display: block; border-radius: 14px; overflow: hidden; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 3px var(--lime); }
.foot-map img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.75); }
.foot-addr { display: flex; gap: 10px; padding: 12px 14px; font-weight: 700; line-height: 1.35; }
.foot-addr .ic { flex: none; color: var(--green); margin-top: 1px; }
.foot-addr small { display: block; margin-top: 4px; font-weight: 600; color: var(--leaf); text-decoration: underline; }
.foot .osm { margin: 6px 0 0; font-size: .8rem; color: var(--on-green); }
.foot .osm a { color: var(--on-green); }
.foot-social, .foot ul.foot-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 12px; }
.foot-social a, .foot-social span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: var(--lime); }
.foot-social .ic { width: 24px; height: 24px; }
.foot-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 var(--gutter); padding: 20px 0; border-top: 1px solid rgba(238,246,227,.2); border-bottom: 1px solid rgba(238,246,227,.2); }
.foot-pay p { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--paper); }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges li { position: relative; width: 64px; height: 40px; border-radius: 8px; background: #fff; display: grid; place-items: center; }
.pay-badges li { width: 92px; padding: 0 10px; }
.pay-badges img { width: 100%; height: 26px; object-fit: contain; }
.foot .small { padding-top: 20px; line-height: 1.6; }
.foot .small a { color: var(--on-green); }

@media (min-width: 900px) {
  .pdp-wrap { padding: 0 var(--gutter) 30px; }
  .pdp-cloth { border-radius: 4px; overflow: hidden; }
  .medallion--pdp { width: min(30vw, 360px); }
  .woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* WooCommerce colour leaks */
.woocommerce div.product p.price, .woocommerce div.product span.price, .pdp .price { color: var(--ink); }
.woocommerce div.product form.cart .button.alt, .woocommerce button.button.alt { background: var(--green) !important; color: var(--paper) !important; }
.woocommerce div.product form.cart .button.alt:hover { background: var(--green-deep) !important; }
.woocommerce div.product form.cart { background: none; padding: 0; border-radius: 0; color: var(--ink); }
.woocommerce div.product form.cart .variations select { color: var(--ink); }

/* Product cloth never scrolls sideways; long view labels wrap */
.pdp-cloth { overflow: hidden; }
.angles button span { max-width: 96px; text-align: center; line-height: 1.2; }

/* WooCommerce block cart + checkout */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  min-height: 64px !important; border-radius: 999px !important; border: 0 !important;
  background: var(--lime) !important; color: var(--ink) !important;
  font: 700 1.2rem var(--body) !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--lime-soft) !important; }
.wc-block-components-quantity-selector { border-radius: 999px !important; min-height: 48px; }
.wc-block-components-product-name { font: 400 1.2rem var(--display) !important; color: var(--ink) !important; text-decoration: none !important; }
.wc-block-cart-item__image img { border-radius: 50%; }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value { font-size: 1.05rem; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select select {
  min-height: 58px !important; border-radius: 12px !important; font-size: 1.1rem !important;
}
.wc-block-components-totals-coupon { display: none !important; }

/* ================= Your order + checkout (GPT-6 design, 8 Oct): Delivery, Your details, Payment ================= */
.co { max-width: 640px; margin: 0 auto; }
.co-step { margin: 0 0 30px; }
.co-step h2 { display: flex; align-items: center; gap: 12px; font: 400 1.9rem/1.05 var(--display); margin: 0 0 16px; }
.co-n {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--paper); font: 400 1.2rem var(--display);
}
.co-signin { background: var(--tint); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-weight: 600; }
.co-signin a { color: var(--green); font-weight: 700; }
.co-help { margin-top: 16px; font-weight: 600; }
.co-help a { color: var(--green); font-weight: 700; }

/* Fields */
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48%; }
.woocommerce form .form-row .required { color: var(--alert); text-decoration: none; }
.woocommerce form .form-row .optional { display: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--alert); }
.woocommerce .select2-container .select2-selection--single { height: 58px; border: 2px solid rgba(23,32,26,.35); border-radius: 12px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 54px; padding-left: 16px; font-size: 1.15rem; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 54px; }
#order_comments { min-height: 90px; }
.mt-hidden { display: none !important; }
.co.is-collect .mt-where, .co.is-collect .mt-manual, .co.is-collect #billing_address_2_field { display: none !important; }

/* The delivery box: one answer, said plainly */
.mt-quote {
  margin: 4px 0 20px; padding: 16px 18px; border: 3px solid var(--ink); border-radius: 16px; background: #fff;
  transition: opacity var(--t-quick) var(--ease-out);
}
.mt-quote.is-loading { opacity: .45; }
.mt-quote p { margin: 0; }
.mq-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; }
.mq-main strong { font: 400 1.35rem/1.2 var(--display); }
.mq-main b { font-weight: 700; color: var(--green); }
.mt-quote .mq-sub { margin-top: 6px; color: var(--ink-soft); }
.mq-sub a { color: var(--green); font-weight: 700; }
.mt-quote .mq-good { margin-top: 6px; font-weight: 700; color: var(--leaf); }
.mq-good::before { content: "\2713\00a0"; }
.mt-quote .mq-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 8px; }
.mq-acts .btn-text { padding: 10px 0; }
.btn-pill {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; margin: 4px 18px 4px 0; border: 0; border-radius: 999px;
  background: var(--green); color: var(--paper); font: 700 1.05rem var(--body); cursor: pointer; text-decoration: none;
}
.btn-pill:hover { background: var(--green-deep); }
.btn-pill:disabled { opacity: .5; }
.mt-quote--rate, .mt-quote--collect { border-color: var(--leaf); box-shadow: inset 6px 0 0 var(--leaf); }
.mt-quote--unknown, .mt-quote--frozen { border-color: var(--alert); box-shadow: inset 6px 0 0 var(--alert); }
.mt-quote--none { border-style: dashed; border-color: rgba(23,32,26,.4); }

/* The order, short */
.mt-review { margin: 0 0 22px; }
.mt-lines { list-style: none; margin: 0; padding: 0; }
.mt-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1.5px solid rgba(23,32,26,.1); }
.mt-lines em { font-style: normal; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.mt-lines b, .mt-sums dd { white-space: nowrap; font-weight: 700; }
.mt-lines dl.variation, .mt-item-main dl.variation { margin: 2px 0 0; font-size: .95rem; color: var(--leaf); }
.mt-lines dl.variation dt, .mt-lines dl.variation dd, .mt-item-main dl.variation dt, .mt-item-main dl.variation dd,
.mt-lines dl.variation p, .mt-item-main dl.variation p { display: inline; margin: 0; }
.mt-change { display: inline-flex; align-items: center; min-height: 48px; color: var(--green); font-weight: 700; }
.mt-sums { margin: 6px 0 0; }
.mt-sums > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; }
.mt-sums dt { font-weight: 600; }
.mt-sums dd { margin: 0; }
.mt-sums .mt-total { margin-top: 6px; padding-top: 14px; border-top: 3px solid var(--ink); }
.mt-sums .mt-total dt, .mt-sums .mt-total dd { font: 400 1.6rem var(--display); }
.mt-sums .mt-total small { display: none; }

/* Payment: two big choices, then one big button */
.woocommerce-checkout #payment { background: none; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; margin: 0 0 6px; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; margin: 0 0 10px; }
.woocommerce-checkout #payment ul.payment_methods li input { position: absolute; opacity: 0; }
.wc_payment_method > label {
  display: flex; align-items: center; min-height: 62px; padding: 10px 18px 10px 54px; position: relative; border-radius: 14px;
  border: 2px solid rgba(23,32,26,.25); background: #fff; font: 700 1.15rem var(--body); cursor: pointer;
}
.wc_payment_method > label::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  border: 2px solid rgba(23,32,26,.45); background: #fff; box-sizing: border-box;
}
.wc_payment_method input:checked + label { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.wc_payment_method input:checked + label::before { border: 7px solid var(--green); }
.wc_payment_method input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.woocommerce-checkout #payment div.payment_box { background: var(--tint); color: var(--ink); border-radius: 12px; font-size: 1.02rem; margin: 8px 0 0; padding: 14px 16px; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 0; }
.woocommerce #payment #place_order.place-big, .woocommerce-page #payment #place_order.place-big {
  float: none; width: 100%; min-height: 68px; line-height: 1.2; padding: 0 20px; border-radius: 999px;
  background: var(--lime) !important; color: var(--ink) !important; font: 400 1.35rem var(--display) !important;
}
.woocommerce-privacy-policy-text { font-size: 1rem; color: var(--ink-soft); }
.woocommerce-privacy-policy-text p { margin: 0 0 14px; }
.woocommerce-privacy-policy-text a { color: var(--green); }
.blockUI.blockOverlay { background: rgba(250,251,245,.7) !important; }

/* Your order (cart page) */
.mt-cart { max-width: 760px; }
.mt-items { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.mt-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 6px 14px; align-items: start;
  padding: 16px 0; border-bottom: 1.5px solid rgba(23,32,26,.15);
}
.mt-item-img img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.mt-item-main { min-width: 0; display: grid; gap: 2px; }
.mt-item-name { font: 400 1.25rem/1.15 var(--display); color: var(--ink); text-decoration: none; }
.mt-item-each { color: var(--ink-soft); font-size: 1rem; }
.mt-item-each .zf-unit { font-size: inherit; }
.mt-item-line { font: 400 1.25rem var(--display); white-space: nowrap; }
.mt-item-acts { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 6px; }
.mt-step { display: inline-flex; align-items: center; gap: 6px; }
.mt-step .quantity { margin: 0; }
.mt-step .quantity label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce .mt-step .quantity .qty {
  width: 60px; min-height: 52px; border: 0; background: none; text-align: center;
  font: 400 1.45rem var(--display); color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
.mt-step .qty::-webkit-outer-spin-button, .mt-step .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mt-step-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; color: var(--ink);
  font: 400 1.6rem/1 var(--display); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.mt-step-btn:hover { background: var(--tint); }
.mt-step-btn:active { transform: scale(.94); }
.mt-step-fixed { font-weight: 700; }
.mt-remove { display: inline-flex; align-items: center; min-height: 48px; color: var(--alert); font-weight: 700; }
.mt-cart-save { margin: 14px 0 0; }
.mt-autosave .mt-cart-save .mt-update { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; min-height: 0; }
.woocommerce-cart .cart-collaterals .cart_totals, .mt-totals { width: 100%; max-width: 760px; float: none; margin-top: 18px; }
.mt-totals .mt-quote { margin: 12px 0 18px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font: 400 1.3rem var(--display) !important; border-radius: 999px; margin: 0; }

@media (min-width: 900px) {
  .mt-item { grid-template-columns: 88px 1fr auto; }
  .mt-item-img img { width: 88px; height: 88px; }
}

/* After the order */
.ty { max-width: 640px; margin: 0 auto; }
.ty-lead { font-size: 1.25rem; margin: 0 0 20px; }
.ty-card { margin: 0 0 18px; padding: 18px 20px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; }
.ty-card h2 { margin: 0 0 8px; font: 400 1.45rem/1.15 var(--display); }
.ty-card p { margin: 8px 0 0; }
.ty-card--pay { border-color: var(--lime); box-shadow: inset 6px 0 0 var(--lime); }
.ty-bank { margin: 10px 0 0; }
.ty-bank > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1.5px solid rgba(23,32,26,.1); }
.ty-bank dt { color: var(--ink-soft); }
.ty-bank dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.ty-bank .ty-ref dd { font: 400 1.35rem var(--display); color: var(--green); }
.ty-addr { font-weight: 700; }
.ty-paid { color: var(--ink-soft); }
.thanks-note { border-color: var(--leaf); box-shadow: inset 6px 0 0 var(--leaf); }
.thanks-note p { margin: 0; }
.thanks-note a { color: var(--green); font-weight: 700; }

/* Address search */
.mt-where { position: relative; }
.mt-where.is-auto .mt-filled { display: none !important; } /* WooCommerce's address script sets inline display */
.mt-address { position: relative; }
.mt-suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 8px);
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 2px solid var(--green); border-radius: 14px;
  box-shadow: 0 16px 30px -12px rgba(23,32,26,.35);
}
.mt-suggest li { display: grid; gap: 2px; padding: 12px 12px; border-radius: 10px; cursor: pointer; min-height: 54px; }
.mt-suggest li strong { font-weight: 700; font-size: 1.1rem; }
.mt-suggest li span { color: var(--ink-soft); font-size: .98rem; }
.mt-suggest li[aria-selected="true"], .mt-suggest li:hover { background: var(--tint); }
.mt-manual { margin: -8px 0 8px; }

/* Product page fixes */
@media (min-width: 900px) {
  .pdp-cloth .hero-in { grid-template-columns: 1fr; justify-items: center; }
}
.angles { max-width: 100%; }

/* Delivery areas */
.areas-in { max-width: 640px; margin: 0 auto; padding: 30px var(--gutter) 34px; }
.areas-in h1 { margin: 0; font: 400 clamp(2.6rem, 11vw, 4.4rem)/.95 var(--display); color: var(--paper); }
.areas-field { margin-top: 20px; }
.areas-field input { font-size: 1.25rem; min-height: 64px; }
.areas-answer { min-height: 1.6em; font: 700 1.3rem/1.35 var(--body); color: var(--lime-soft); margin: 4px 0 0; }
.zones { list-style: none; margin: 0 0 20px; padding: 0; border-top: 3px solid var(--ink); }
.zones > li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1.5px solid rgba(23,32,26,.15); }
.zones strong { font: 400 1.5rem var(--display); }
.zones span { grid-column: 1; color: var(--ink-soft); }
.zones b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 400 1.8rem var(--display); }
.zones details { grid-column: 1 / -1; }
.zones summary { cursor: pointer; font-weight: 700; color: var(--green); min-height: 44px; display: flex; align-items: center; }
.zones .places { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }


/* ---------- Recipes + blog (cards share one look) ---------- */
.recipe-grid, .post-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.recipe-card a, .post-list a { display: grid; gap: 6px; height: 100%; padding: 0 0 16px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1.5px rgba(30,77,43,.14); overflow: hidden; transition: box-shadow var(--t-quick) var(--ease-out); }
.recipe-card a:hover, .post-list a:hover { box-shadow: 0 0 0 3px var(--lime); }
.rc-pic, .pl-pic { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--tint); margin-bottom: 8px; }
.rc-pic .mark { width: 34%; color: var(--leaf); }
.rc-pic img, .pl-pic img { width: 100%; height: 100%; object-fit: cover; }
.rc-meta { color: var(--leaf); font-weight: 700; font-size: 1rem; }
.recipe-card .rc-meta, .recipe-card strong, .recipe-card .rc-sum, .post-list .rc-meta, .post-list strong, .post-list .rc-sum { padding: 0 18px; }
.recipe-card strong, .post-list strong { font: 400 1.35rem/1.15 var(--display); }
.rc-sum { color: var(--ink-soft); }
.empty-note { padding: 18px 20px; border-radius: 14px; background: var(--tint); font-size: 1.15rem; max-width: 46ch; }
.empty-note a { color: var(--green); font-weight: 700; }
.recipe .rc-meta { margin: -8px 0 14px; font-size: 1.15rem; }
.recipe-photo { margin: 0 0 24px; border-radius: 16px; overflow: hidden; }
.recipe-photo img { display: block; width: 100%; height: auto; }
.recipe-shop { margin: 6px 0 30px; padding: 20px; border-radius: 16px; background: var(--tint); }
.recipe-shop h2 { margin: 0 0 6px; font: 400 1.4rem/1.2 var(--display); }
.recipe-body { max-width: 62ch; font-size: 1.15rem; }
.recipe-body h2 { font: 400 1.5rem/1.2 var(--display); margin: 28px 0 10px; }
.recipe-body ul, .recipe-body ol { padding-left: 1.3em; display: grid; gap: 8px; }
.recipe-body ol li::marker { font-weight: 800; color: var(--green); }
.foot-follow { margin-top: 22px; }

/* Rewards band: rule first, then the two lists, then you */
.rewards .rw-lede { font-size: 1.25rem; max-width: 40ch; margin: 0 0 22px; color: var(--paper); }
.rw-cols { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-bottom: 22px; }
.rw-box { padding: 18px 20px; border-radius: 16px; background: rgba(238,246,227,.08); box-shadow: inset 0 0 0 1.5px rgba(238,246,227,.2); }
.rw-box h3 { margin: 0 0 8px; font: 400 1.15rem/1.2 var(--display); color: var(--lime-soft); }
.rw-box ul { list-style: none; margin: 0; padding: 0; display: grid; }
.rw-box li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(238,246,227,.15); font-size: 1.1rem; color: var(--on-green); }
.rw-box li:first-child { border-top: 0; }
.rw-box b { color: var(--paper); white-space: nowrap; }
.rewards .rw-you { max-width: none; margin: 0 0 6px; font-size: 1.15rem; }
.rw-you strong { color: var(--paper); }
.rw-you .track { margin: 14px 0 0; }
@media (max-width: 599px) {
  .recipe-grid { gap: 12px; }
  .recipe-card a { grid-template-columns: 92px 1fr; grid-template-areas: "pic meta" "pic title" "pic sum"; align-content: start; gap: 2px 14px; padding: 12px; }
  .recipe-card .rc-pic { grid-area: pic; width: 92px; aspect-ratio: 1; margin: 0; border-radius: 12px; align-self: start; }
  .recipe-card .rc-pic .mark { width: 58%; }
  .recipe-card .rc-meta { grid-area: meta; padding: 0; font-size: .95rem; }
  .recipe-card strong { grid-area: title; padding: 0; font-size: 1.2rem; }
  .recipe-card .rc-sum { grid-area: sum; padding: 0; font-size: 1rem; }
}
.earn .ic { color: var(--leaf); }
.cook-it h2 { margin-top: 0; }


/* ================= R8 overrides ================= */
/* R8 overrides on top of the prototype components and the M7 WooCommerce styles. */

/* Header in the theme: SVG logo, account link, Woo's cart-count fragment */
.top .logo { display: inline-flex; }
.top .logo svg { height: 40px; width: auto; }
.acct { margin-left: auto; min-height: 48px; padding: 0 12px; font-size: 1rem; box-shadow: none; }
.acct:hover { box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
.basket-btn { margin-left: 8px; }
@media (max-width: 899px) { .top nav { display: none; } }
@media (max-width: 479px) { .acct span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .acct { padding: 0 8px; } }
@media (min-width: 900px) { .top nav { margin-left: auto; } .acct { margin-left: 24px; } }

/* Section headings that the prototype styled inline */
.below h2 { font-size: 1.6rem; margin-bottom: 14px; }
.place ul { margin-top: 20px; }
.hero figure img, .meal figure img { height: auto; }

/* Meals: Woo thumbnails in the ingredient tiles */
.meal .ins img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* Product page: the arrives photo without an image */
.arrives .soon { display: grid; place-items: center; aspect-ratio: 1; font-weight: 700; color: var(--ink-soft); }
.arrives img { height: auto; }

/* Product page: WooCommerce's form, R8 dress */
.buy-form form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.buy-form form.variations_form { display: block; }
.buy-form table.variations { width: 100%; border: 0; margin: 0 0 6px; }
.buy-form table.variations tr { display: block; margin-bottom: 14px; }
.buy-form table.variations th, .buy-form table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.buy-form table.variations th label { font-weight: 700; font-size: 1.05rem; display: block; margin-bottom: 8px; }
.buy-form .woocommerce-variation-price { display: none; }
.buy-form .woocommerce-variation-availability .stock { margin: 0 0 8px; font-weight: 700; }
.buy-form .single_variation_wrap, .buy-form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; width: 100%; }
.buy-form .woocommerce-variation-add-to-cart .qlabel { margin-right: auto; }
.buy-form .quantity { display: inline-flex; align-items: center; gap: 6px; }
.buy-form .quantity input.qty { width: 64px; min-height: 50px; border: 2px solid var(--ink-soft); border-radius: 12px; text-align: center; font: 700 1.25rem var(--body); -moz-appearance: textfield; }
.buy-form .quantity input.qty::-webkit-outer-spin-button, .buy-form .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-form .quantity.stepper input.qty { border: 0; width: 3ch; min-height: 46px; padding: 0; background: transparent; }
.buy-form .step { width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--green); background: #fff; font: 700 1.4rem/1 var(--body); color: var(--green); cursor: pointer; }
.buy-form .unit { font-weight: 700; }
.buy-form button.single_add_to_cart_button, .woocommerce div.product form.cart .button.alt {
  flex: 1 0 100%; order: 9; min-height: var(--tap); border-radius: 999px; border: 0;
  background: var(--lime) !important; color: var(--ink) !important; font: 700 1.125rem var(--body); cursor: pointer;
}
.buy-form button.single_add_to_cart_button:hover { background: var(--lime-soft) !important; }
.buy-form button.single_add_to_cart_button.disabled { opacity: .55; }
.buy-form .sum { display: flex; flex-direction: column; align-items: flex-end; margin: -2px 0 12px; font-family: var(--display); font-size: 1.35rem; }
.buy-form .sum small { font-family: var(--body); font-size: .95rem; color: var(--ink-soft); }
.buy-form .sum[hidden] { display: none; }
.buy-form .swatches { margin-bottom: 4px; }

/* Delivery areas */
.areas .wrap { grid-template-columns: 1fr auto; align-items: center; }
.areas-art { width: 140px; height: auto; background: var(--paper); border-radius: var(--r); padding: 8px; }
@media (min-width: 900px) { .areas-art { width: 220px; } }
.zones { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.zones li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.zones .z { display: inline-flex; align-items: center; gap: 10px; }
.zones .fee { font-family: var(--display); font-size: 1.4rem; }
.zones details { grid-column: 1 / -1; }
.zones summary { cursor: pointer; font-weight: 700; color: var(--green); min-height: 44px; display: flex; align-items: center; }
.zones .places { font-size: 1rem; color: var(--ink-soft); }
.wrong span { display: block; }

/* Footer: logo link, Payfast badges under "coming soon", small print */
.foot .foot-logo img { height: 40px; width: auto; }
.foot p { margin-top: 10px; }
.foot .soon .pay-badges { display: flex; gap: 8px; }
.foot .soon .pay-badges li { width: 92px; height: 38px; }
.foot .small { grid-column: 1 / -1; font-size: .9rem; opacity: .85; }
.foot .small a { color: inherit; }
.foot ul a { display: inline-flex; min-height: 44px; align-items: center; }

/* Notices sit on the page grid */
.woocommerce-notices-wrapper:not(:empty) { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 0; }
.woocommerce-message .button { background: var(--green); color: var(--paper); }

/* Bree Serif ships one weight: never ask the browser to fake a bold. */
h1, h2, h3, .price .amt, .sum, .lines .amt, .zones .fee { font-weight: 400; }
/* Header fits 375 px: tighter basket pill */
@media (max-width: 479px) { .basket-btn { padding: 0 14px; gap: 8px; } .top .wrap { gap: 10px; } .top .logo svg { height: 36px; } }
/* Running total sits on the quantity row */
.buy-form form.cart .sum { order: 8; margin: 0 0 0 auto; }
.swatch label { height: 100%; }
/* Sign-in now sits on paper */
.auth-help { color: var(--ink); }
.auth-help a { color: var(--green); }
.auth-lead { margin: -8px 0 20px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.empty-basket { padding-bottom: 40px; }

/* ===== R8 hero rethink (GPT direction A, 22 Oct): type + the drawn pot, on paper ===== */
.call { position: sticky; top: 0; z-index: 20; }
.btn, .basket-btn, .jumps a { border-radius: 12px; }
.qty button, .buy-form .step { border-radius: 50%; }

.pot-hero { background: var(--paper); border-bottom: 2px solid var(--green); }
.pot-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; padding-top: 30px; padding-bottom: 30px; }
.pot-hero h1 { font-size: 3rem; line-height: 1.04; color: var(--green); grid-column: 1; }
.pot-art { grid-column: 2; grid-row: 1; width: 72px; height: auto; margin-top: 6px; }
.pot-hero .lead { font-size: 1.25rem; line-height: 1.4; margin-top: 16px; max-width: 34ch; }
.pot-hero .btn { margin-top: 22px; width: 100%; min-height: 58px; font-size: 1.25rem; }
.pot-terms { margin-top: 18px; font-size: 1.125rem; line-height: 1.45; }
@media (max-width: 899px) { .pot-text { display: contents; } .pot-hero .lead, .pot-hero .btn, .pot-terms { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .pot-hero .wrap { grid-template-columns: 720px 1fr; gap: 80px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
  .pot-hero h1 { font-size: 5.5rem; line-height: 1.02; }
  .pot-hero .lead { font-size: 1.375rem; line-height: 1.45; max-width: 540px; }
  .pot-hero .btn { width: auto; padding: 0 40px; min-height: 60px; }
  .pot-art { width: 320px; justify-self: center; margin: 0; }
}

/* Start with the staples: three real products, compact rows on phones */
.staples h2 { margin-bottom: 18px; }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* Range: plain group headings (no icon on every heading) */
.group h3 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* Supper ideas: editorial blocks, no cards, no arrows */
#meals h2 { margin-bottom: 22px; }
.ideas { display: grid; gap: 44px; }
.idea img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.idea .kicker { margin-top: 12px; font-size: 1rem; color: var(--ink-soft); }
.idea h3 { font-size: 1.6rem; margin: 2px 0 10px; }
.idea p { font-size: 1.1rem; }
.idea-price { margin: 12px 0; }
.idea-price .amt { font-family: var(--display); font-size: 1.5rem; }
.idea .btn { width: 100%; }
.idea .added { display: block; margin-top: 10px; background: none; padding: 0; min-height: 0; }
.idea .added[hidden] { display: none; }
.idea .fine { margin-top: 10px; font-size: 1rem; color: var(--ink-soft); }
@media (min-width: 900px) { .ideas { grid-template-columns: 1fr 1fr; gap: 56px; } .idea .btn { width: auto; } }

/* Delivery & collection: the four drawn steps, no boxes */
#delivery h2 { margin-bottom: 18px; }
.steps4 { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
.steps4 li { display: grid; justify-items: center; gap: 6px; text-align: center; }
.steps4 img { width: 100%; max-width: 150px; height: auto; }
.steps4 b { font-size: 1.05rem; line-height: 1.3; }
@media (min-width: 900px) { .steps4 { grid-template-columns: repeat(4, 1fr); } .steps4 img { max-width: 190px; } }

/* Help: quieter */
.hand { font-size: 1.2rem; margin: 8px 0 18px; }
.faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq { gap: 0; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr; max-width: 760px; } }

/* Product page: one serving idea, no thumbnail-arrow diagram */
.serve figure { margin: 0; }
.serve img { width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.serve figcaption { display: grid; gap: 6px; margin-top: 10px; font-size: 1.05rem; }
@media (min-width: 900px) { .serve figure { display: grid; grid-template-columns: 480px 1fr; gap: 24px; align-items: start; } .serve figcaption { margin-top: 0; } }
.hand-box { border-top: 1px solid var(--line); padding-top: 18px; }
.hand-box h2 { font-size: 1.4rem; margin-bottom: 6px; }
.card .added span:first-child { flex: 1; line-height: 1.3; padding: 6px 0; }
@media (max-width: 899px) {
  .pot-hero .wrap { grid-template-columns: 1fr; }
  .pot-art { grid-column: 1; grid-row: 1; width: 76px; margin: 0 0 4px; }
  .pot-hero h1 { grid-row: 2; font-size: clamp(2.5rem, 11.5vw, 3rem); }
}

/* "In the pot." must show when JS un-hides it (bug, Darlington 22 Oct: "nothing happens"). */
.added:not([hidden]) { display: flex; }
.added[hidden] { display: none !important; }
/* Basket bar: always one thumb away once something is in the basket */
.basket-bar { position: sticky; bottom: 0; z-index: 30; background: var(--green); color: var(--paper); box-shadow: 0 -2px 0 var(--lime); }
.basket-bar[hidden] { display: none; }
.bar-say { margin: 0; padding: 0 var(--gutter); max-height: 0; overflow: hidden; font-weight: 700; color: var(--lime-soft); transition: max-height 150ms; }
.basket-bar.saying .bar-say { max-height: 4em; padding-top: 10px; }
.bar-go { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; text-decoration: none; font-weight: 700; }
.bar-go .ico { color: var(--lime); width: 28px; height: 28px; }
.bar-go b.cart-count { font: inherit; }
.bar-cta { margin-left: auto; background: var(--lime); color: var(--ink); border-radius: 12px; padding: 12px 16px; }
@media (prefers-reduced-motion: reduce) { .bar-say { transition: none; } }
/* PDP add: Woo reloads the page with a notice; the bar shows there too */

/* ===== Hero round 2 (Darlington: "too wordy"; GPT pick A): Good food. + basket + Shop food ===== */
.basket-hero { background: var(--paper); }
.basket-hero .wrap { display: grid; justify-items: center; text-align: center; gap: 18px; padding-top: 22px; padding-bottom: 28px; align-content: start; }
.basket-hero h1 { font-size: 2.75rem; line-height: 1.1; color: var(--green); }
.bh-text { display: contents; }
.hero-basket { width: min(100%, 350px); height: auto; order: 2; }
.basket-hero .btn { order: 3; width: 100%; max-width: 350px; min-height: 64px; font-size: 1.5rem; border-radius: 16px; }
.bh-info { margin: 0; border-top: 2px solid var(--green); border-bottom: 1px solid var(--line); background: var(--linen); }
.bh-info .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: 1.05rem; font-weight: 700; }
.bh-info .ico { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .basket-hero .wrap { grid-template-columns: 1fr 580px; justify-items: start; text-align: left; align-items: center; min-height: 0; padding-top: 48px; padding-bottom: 48px; }
  .bh-text { display: grid; gap: 28px; justify-items: start; }
  .basket-hero h1 { font-size: 5rem; }
  .basket-hero .btn { width: 280px; min-height: 72px; }
  .hero-basket { width: 520px; order: 0; justify-self: center; }
}
.bh-info .wrap { display: block; }
.bh-info .ico { vertical-align: -6px; margin-right: 6px; }
/* [hidden] always wins over component display rules (the Add button stayed visible after adding) */
[hidden] { display: none !important; }
/* "In the pot." stacks above the stepper on narrow cards */
.card .added { flex-wrap: wrap; border-radius: 12px; padding: 8px 10px; gap: 6px; }
.card .added > span:first-child { flex: 1 0 100%; padding: 0 2px; }

/* ===== Shared page shell (GPT site review + basket spec, 22 Oct): every utility page gets the gutter ===== */
.section { box-sizing: border-box; max-width: 1200px; margin-inline: auto; padding: 28px var(--gutter) 48px; }
.section .woocommerce-notices-wrapper:not(:empty) { padding: 0 0 16px; }
@media (min-width: 1100px) { .section { padding-top: 48px; padding-bottom: 64px; } }
.page-title { font: 400 2.25rem/1.17 var(--display); letter-spacing: normal; }
@media (min-width: 1100px) { .page-title { font-size: 3rem; } }

/* ===== Your basket (docs/review/site/gpt-cart-spec-2026-10-22.md) ===== */
.page-head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.page-head-row .page-title { margin: 0; }
.page-head-row img { width: 56px; height: 56px; }
.mt-cart-intro { margin: 8px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); }
.mt-cart-status { min-height: 27px; margin: 0 0 16px; font-size: 1.125rem; font-weight: 700; color: var(--green); }
.mt-cart { max-width: none; }
.mt-items { border-top: 1px solid var(--line); }
.mt-item { display: block; padding: 20px 0 12px; border-bottom: 1px solid var(--line); }
.mt-item-id { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.mt-item-img img { width: 80px; height: 80px; border-radius: 12px; object-fit: contain; background: #fff; }
.mt-item-main { gap: 4px; }
.mt-item-name { font: 700 1.25rem/1.3 var(--body); color: var(--ink); }
.mt-item-each, .mt-item-main dl.variation { font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); }
.mt-item-acts { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "step line" "rm rm"; align-items: center; gap: 8px 16px; margin-top: 16px; }
.mt-step { grid-area: step; gap: 4px; }
.mt-item-line { grid-area: line; justify-self: end; font: 400 1.5rem/1.25 var(--display); }
.mt-item-acts .product-remove { grid-area: rm; }
.mt-step-btn { border: 2px solid var(--green); color: var(--green); font: 700 1.5rem/1 var(--body); }
.mt-step-btn:disabled { opacity: .4; cursor: default; }
.woocommerce .mt-step .quantity .qty { width: 56px; font: 700 1.25rem var(--body); }
.mt-step .unit { width: 24px; font-size: 1.125rem; }
.mt-step-fixed { font-size: 1.125rem; }
.mt-remove { font-size: 1.125rem; text-decoration: underline; text-underline-offset: 4px; }
.mt-more { margin: 12px 0 0; }
.mt-more .link, .mt-help .link { display: inline-flex; align-items: center; min-height: 48px; color: var(--green); font-size: 1.125rem; }
.mt-autosave .mt-cart-save { margin: 0; }
.woocommerce-cart .cart-collaterals .cart_totals, .mt-totals { max-width: none; margin-top: 32px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.mt-totals h2 { margin: 0 0 20px; font: 400 1.75rem/1.2 var(--display); }
.mt-sums { margin: 0; }
.mt-sums > div { padding: 12px 0; font-size: 1.125rem; }
.mt-sums dt { font-weight: 400; }
.mt-sums .mt-total { margin-top: 12px; padding-top: 16px; border-top: 2px solid var(--green); }
.mt-sums .mt-total dt, .mt-sums .mt-total dd { font: 400 1.875rem/1.2 var(--display); }
.mt-totals .mt-quote { margin: 16px 0 20px; padding: 16px; border: 0; border-radius: 12px; background: var(--tint); box-shadow: none; font-size: 1.125rem; line-height: 1.5; }
.mt-totals .mt-quote .ico { display: block; width: 32px; height: 32px; margin-bottom: 8px; color: var(--green); }
.mt-totals .mt-quote .mq-sub { margin-top: 0; color: var(--ink); }
.mt-totals .mq-acts .btn-text { display: inline-flex; align-items: center; min-height: 48px; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.mt-pay { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.125rem; }
.mt-pay .ico { flex: none; width: 28px; height: 28px; color: var(--green); }
.mt-acct { margin: 12px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); }
.woocommerce-cart .wc-proceed-to-checkout { margin-top: 16px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 12px 16px; border-radius: 12px; background: var(--lime); color: var(--ink); font: 700 1.125rem/1.33 var(--body) !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--lime-soft); }
.mt-help { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.125rem; }
.mt-help p { margin: 0; }
.mt-help-links { display: grid; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Empty basket: one composition */
.mt-empty { display: grid; justify-items: center; gap: 20px; max-width: 480px; margin: 24px auto 0; text-align: center; }
.mt-empty img { width: 200px; height: 200px; }
.mt-empty h2 { margin: 0; font: 400 1.75rem/1.2 var(--display); }
.mt-empty-copy p { margin: 8px 0 0; font-size: 1.125rem; line-height: 1.5; }
.mt-empty-copy .btn { width: 100%; min-height: 58px; border-radius: 12px; margin-top: 16px; }
.mt-empty-phone { margin-top: 24px !important; }
.mt-empty-phone .link { display: inline-flex; align-items: center; min-height: 48px; color: var(--green); }

@media (min-width: 1100px) {
  .page-head-row img { width: 80px; height: 80px; }
  .mt-basket { display: grid; grid-template-columns: minmax(0, 1fr) 408px; gap: 32px; align-items: start; }
  .mt-basket .cart-collaterals .cart_totals, .mt-basket .mt-totals { margin-top: 43px; padding: 24px; }
  .mt-item { padding: 24px 0; }
  .mt-item-id { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .mt-item-img img { width: 96px; height: 96px; }
  .mt-item-acts { display: flex; gap: 24px; }
  .mt-item-line { margin-left: auto; }
  .mt-help-links { display: flex; gap: 24px; }
  .mt-help { margin-top: 40px; }
  .mt-empty { grid-template-columns: 320px 496px; gap: 64px; max-width: 880px; margin-top: 40px; align-items: center; justify-items: start; text-align: left; }
  .mt-empty img { width: 320px; height: 320px; }
  .mt-empty h2 { font-size: 2rem; }
  .mt-empty-copy .btn { width: 240px; }
}

/* Sign-in heading sits on paper now (GPT site review: it was paper on paper) */
.auth h1 { color: var(--green); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.15; }
.auth-lead { margin: -8px 0 20px; }
.auth-card { box-shadow: none; border: 1px solid var(--line); }
/* My account: the points panel was pale text on paper */
.acct-points { background: var(--green); color: var(--paper); border-radius: 14px; }
.acct-points .big-pts em { color: var(--lime); }
.acct-points p { color: var(--paper); }

/* Shop page uses the home range grid (GPT site review: desktop shop was one giant column) */
.shop ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.shop ul.products::before, .shop ul.products::after { content: none; }
.shop ul.products li.card { width: auto; float: none; margin: 0; }
.card .pic .soon { font-weight: 400; }

/* 23 Oct range: brand sub-headings, "Price coming soon", the under-18 sign. */
.group h4.sub { margin: 22px 0 12px; font-size: 1.15rem; color: var(--ink-soft); }
.group h4.sub:first-of-type { margin-top: 4px; }
.price.soon { font-size: 1.1rem; color: var(--ink-soft); font-family: var(--body); }
.adult { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink); }
.adult .ico { width: 30px; height: 30px; color: #a3241a; }
