/* ==========================================================
   Dorima — shop styles
   Butcher-shop vernacular: awning stripes, enamel-white walls,
   red price-board numerals, scale-label order lines.
   ========================================================== */

/* Fonts: Gotham is used if installed on the device (it is a paid font, so it cannot be
   bundled without a web licence); otherwise Montserrat, its closest free match (SIL OFL). */
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --enamel: #f3f5f2;
  --white: #ffffff;
  --green: #1f4a38;
  --green-deep: #153528;
  --green-tint: #e4ede7;
  --ink: #18241e;
  --muted: #59665f;
  --line: #d6ddd7;
  --red: #b3222b;
  --red-tint: #fbeceb;
  --amber: #8a5a00;
  --amber-tint: #fdf3dc;
  --focus: #2b6cb0;
  /* status pills (the order lifecycle, both sites): red only for problems */
  --pill-green-bg: var(--green); --pill-green-fg: #ffffff;
  --pill-done-bg: var(--green-tint); --pill-done-fg: var(--green-deep);
  --pill-amber-bg: #fdf0d5; --pill-amber-fg: #7a5200;
  --pill-neutral-bg: #eceeed; --pill-neutral-fg: #4b5650;
  --pill-accent-bg: #dbe7f6; --pill-accent-fg: #1d4673;
  --pill-problem-bg: var(--red); --pill-problem-fg: #ffffff;

  --font-display: "Gotham", "Montserrat", system-ui, sans-serif;
  --font-body: "Gotham", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 1rem;
  --slate: #1d2622;
  --photo-grade: none; /* photos are colour-graded in the files themselves */
  --r-pill: 62.4375rem;
  --gutter: 1rem;
  --topbar-h: 4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 4rem); }

/* Proportional sizing: every size in these styles is in rem, so the whole page scales
   with this one value and keeps the same proportions on every screen of its kind.
   Phones are designed at 390 px wide and laptops at 1440 px; a wider screen shows the same
   page, bigger. Never below the reader's own text size (100%), so it stays readable. */
html { font-size: 100%; }
@media (max-width: 599px) { html { font-size: clamp(87.5%, 100vw / 24.375, 112.5%); } }
@media (min-width: 1280px) { html { font-size: clamp(100%, 100vw / 90, 200%); } }
/* icons are sized in the page markup (width="18" …): scale those with the page too */
svg[width="18"] { width: 1.125rem; height: 1.125rem; }
svg[width="20"] { width: 1.25rem; height: 1.25rem; }
svg[width="22"] { width: 1.375rem; height: 1.375rem; }
svg[width="26"] { width: 1.625rem; height: 1.625rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--enamel);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
body.has-orderbar { padding-bottom: 5.25rem; }

img, svg { display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-deep); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 2px; border-radius: 0.25rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 0.5rem; top: -3.75rem; background: var(--white); padding: 0.5rem 0.75rem; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: 0.5rem; }

/* Full width on every screen: no fixed maximum, so laptops and big monitors have no
   empty bands at the sides. The side margin grows with the screen instead. */
.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 1.75rem; } }
@media (min-width: 1280px) { :root { --gutter: 3rem; } }

/* ---------- Awning ----------
   Green and white stripes, each ending in a rounded scallop. The strip sits on
   white, so the white stripes' scallops blend in and only the green ones show. */
.awning { --sc: 0.625rem; height: 1.875rem; background: var(--white); position: relative; z-index: 31; }
.awning::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 1.625rem, var(--white) 1.625rem 3.25rem);
  -webkit-mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--sc)) no-repeat,
    radial-gradient(0.8125rem var(--sc) at 0.8125rem 0, #000 97%, transparent 100%) 0 100% / 1.625rem var(--sc) repeat-x;
  mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--sc)) no-repeat,
    radial-gradient(0.8125rem var(--sc) at 0.8125rem 0, #000 97%, transparent 100%) 0 100% / 1.625rem var(--sc) repeat-x;
}
@media (min-width: 720px) { .awning { height: 2.375rem; --sc: 0.75rem; } }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-inner { display: flex; align-items: center; gap: 0.75rem; height: var(--topbar-h); }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.01em;
  color: var(--green); text-decoration: none; line-height: 1; white-space: nowrap; margin-right: auto;
}
.topbar-actions { display: flex; align-items: center; gap: 0.375rem; }

.mainnav { display: flex; align-items: center; gap: 0.25rem; }
.mainnav a {
  position: relative; display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.625rem 0.875rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.9375rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.mainnav a:hover { background: var(--green-tint); color: var(--green-deep); }
.mainnav a[aria-current="page"] { color: var(--green); }
.mainnav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.25rem; height: 2px; border-radius: 2px; background: var(--red);
}
.mainnav .nav-wa { color: var(--green); }
.mainnav .nav-extra { display: none; }
.menu-btn { display: none; }

@media (min-width: 900px) { .mainnav { margin-right: 0.5rem; } }

/* phones and tablets: links fold into a menu */
@media (max-width: 899px) {
  .menu-btn {
    display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
    border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); cursor: pointer; color: var(--green);
  }
  .menu-btn:hover { border-color: var(--green); }
  .menu-icon { position: relative; width: 1.125rem; height: 0.875rem; display: block; }
  .menu-icon span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 0.375rem; }
  .menu-icon span:nth-child(3) { top: 0.75rem; }
  .menu-open .menu-icon span:nth-child(1) { top: 0.375rem; transform: rotate(45deg); }
  .menu-open .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-open .menu-icon span:nth-child(3) { top: 0.375rem; transform: rotate(-45deg); }

  .mainnav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 1.125rem 1.875rem -1.125rem rgba(0, 0, 0, .35);
    padding: 0.5rem var(--gutter) 1rem;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    max-height: calc(100dvh - var(--topbar-h)); overflow-y: auto;
  }
  .menu-open .mainnav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .mainnav a { padding: 0.9375rem 0.25rem; border-radius: 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .mainnav a:last-child { border-bottom: 0; }
  .mainnav a:hover { background: none; }
  .mainnav a[aria-current="page"]::after { left: 0.25rem; right: auto; width: 1.5rem; bottom: 0.5rem; }
  .mainnav .nav-extra { display: flex; color: var(--muted); font-size: 1rem; }
  body.menu-lock { overflow: hidden; }
  .topbar.menu-open { box-shadow: none; }
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  background: var(--green); color: var(--white); text-decoration: none;
  border: 0; border-radius: var(--r-pill);
  padding: 0.5625rem 1rem; font-weight: 600; font-size: 0.9375rem; cursor: pointer;
}
.cart-btn:hover { background: var(--green-deep); color: var(--white); }
.cart-count {
  min-width: 1.375rem; height: 1.375rem; padding: 0 0.375rem; border-radius: var(--r-pill);
  background: var(--white); color: var(--green); font-size: 0.8125rem; font-weight: 700;
  display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}
.cart-btn-label { display: none; }
@media (min-width: 420px) { .cart-btn-label { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0.625rem 1.25rem;
  border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--green-tint); color: var(--green-deep); }
/* secondary actions everywhere (both sites): a light outline, so they read as buttons */
.btn-ghost { background: var(--white); color: var(--green); border-color: var(--line); }
.btn-ghost:hover { background: var(--green-tint); border-color: #b9c9bf; }
.btn-lg { min-height: 3.375rem; font-size: 1.0625rem; padding: 0.75rem 1.625rem; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { background: #a9b5ae; color: var(--white); cursor: not-allowed; border-color: transparent; }
.btn.is-loading { cursor: progress; }
.link-btn { background: none; border: 0; padding: 0.25rem 0; color: var(--green); font-weight: 600; font-size: 0.875rem; text-decoration: underline; cursor: pointer; }
.icon-btn { background: none; border: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--r-pill); cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--green-tint); }

/* ---------- Shop layout ---------- */
.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; padding-bottom: 3.5rem; }
.shop > * { min-width: 0; }
.catnav {
  position: sticky; top: var(--topbar-h); z-index: 20;
  background: var(--enamel);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.75rem var(--gutter) 0;
  border-bottom: 1px solid var(--line);
}
.search { position: relative; }
.search svg { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 2.875rem; padding: 0 0.875rem 0 2.625rem;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); font: inherit; font-size: 1rem; color: var(--ink);
}
.search input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--green) 20%, transparent); }

.catlist {
  list-style: none; margin: 0; padding: 0.625rem 0 0.75rem;
  display: flex; gap: 0.375rem; overflow-x: auto; scrollbar-width: none;
}
.catlist::-webkit-scrollbar { display: none; }
.catlist a {
  display: block; white-space: nowrap;
  padding: 0.4375rem 0.875rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--ink); font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.catlist a:hover { border-color: var(--green); }
.catlist a[aria-current="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

@media (min-width: 960px) {
  .shop { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding-top: 2.5rem; }

  .catnav {
    top: calc(var(--topbar-h) + 1.5rem); align-self: start;
    margin: 0; padding: 0; border: 0; background: none;
  }
  .catlist { flex-direction: column; overflow: visible; padding: 1rem 0 0; gap: 2px; }
  .catlist a { border: 0; background: none; padding: 0.5625rem 0.875rem; border-radius: var(--r-sm); font-size: 0.9375rem; }
  .catlist a:hover { background: var(--green-tint); }
  .catlist a[aria-current="true"] { background: var(--green-tint); color: var(--green); font-weight: 600; box-shadow: inset 0.1875rem 0 0 var(--green); }
}

/* ---------- Catalogue ---------- */
.cat { padding-top: 2.75rem; }
.cat:first-child { padding-top: 1.75rem; }
@media (min-width: 960px) { .cat { padding-top: 3.5rem; } .cat:first-child { padding-top: 0; } }
.cat h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.375rem, 3.7vw, 1.875rem); line-height: 1; color: var(--green);
  display: flex; align-items: baseline; gap: 0.625rem;
  padding-bottom: 0.875rem; margin-bottom: 1.25rem; border-bottom: 0.1875rem solid var(--green);
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1180px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.card.in-cart { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.card.oos .card-photo img, .card.oos .card-photo .photo-fallback { opacity: .45; filter: grayscale(.8); }

.card-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  background: var(--slate); cursor: zoom-in; overflow: hidden;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--photo-grade); transition: transform .3s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .card-photo:hover img { transform: scale(1.04); } }
.card-photo:focus-visible { outline-offset: -0.1875rem; }

.photo-fallback {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 0.75rem;
  background: radial-gradient(120% 90% at 30% 20%, #2f3b35 0%, var(--slate) 70%);
  color: #e9ede9; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(0.9375rem, 3.3vw, 1.3125rem); line-height: 1;
}

.badge {
  position: absolute; left: 0.5rem; top: 0.5rem; z-index: 1;
  background: var(--amber-tint); color: #5c3c00; font-size: 0.75rem; font-weight: 600;
  padding: 0.1875rem 0.5rem; border-radius: var(--r-pill);
}
.badge-dark { background: var(--ink); color: var(--white); }
.badge + .badge { top: 2.25rem; }
.badge-special { background: var(--red); color: var(--white); }

.card-body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.625rem 0.625rem 0.75rem; flex: 1; }
@media (min-width: 640px) { .card-body { padding: 0.75rem 0.875rem 0.875rem; } }
.card-name { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.card-meta { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.card-price { margin-top: auto; padding-top: 0.25rem; line-height: 1; }
.card-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.card-price .unit { font-size: 0.8125rem; color: var(--muted); margin-left: 2px; }
.card-price .was { font-size: 0.875rem; color: var(--muted); margin-right: 2px; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; min-height: 2.75rem; margin-top: 0.5rem; }
.card-action .add-btn { width: 100%; justify-content: center; }
.card-action .stepper { flex: 1 1 auto; justify-content: space-between; }
.line-total { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.875rem; width: 100%; text-align: right; }
@media (min-width: 960px) { .card-action .stepper { flex: 0 1 auto; } .line-total { width: auto; } }

.add-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  height: 2.75rem; padding: 0 1.125rem 0 0.875rem;
  background: var(--white); color: var(--green);
  border: 2px solid var(--green); border-radius: var(--r-pill);
  font-weight: 600; cursor: pointer;
}
.add-btn:hover:not(:disabled) { background: var(--green); color: var(--white); }
.add-btn:disabled { border-color: var(--line); color: var(--muted); cursor: not-allowed; }

.stepper {
  display: inline-flex; align-items: center;
  background: var(--white); border: 2px solid var(--green); border-radius: var(--r-pill);
  height: 2.75rem; overflow: hidden;
}
.stepper button {
  width: 2.625rem; height: 100%; border: 0; background: none; color: var(--green);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.stepper button:hover { background: var(--green-tint); }
.stepper button:focus-visible { outline-offset: -0.1875rem; }
.stepper output { min-width: 3.5rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.stepper-sm { height: 2.375rem; border-width: 1.5px; }
.stepper-sm button { width: 2.25rem; }
.stepper-sm output { min-width: 3.375rem; font-size: 0.875rem; }

.empty-search { padding: 2.5rem 0; font-size: 1.0625rem; color: var(--muted); max-width: 52ch; }

.skeleton-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); padding-top: 2rem; }
@media (min-width: 640px) { .skeleton-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1180px) { .skeleton-grid { grid-template-columns: repeat(4, 1fr); } }
.skeleton-grid div { aspect-ratio: 3 / 4; border-radius: var(--r-md); background: linear-gradient(100deg, #e6eae6 40%, #f1f3f0 50%, #e6eae6 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-grid div { animation: none; } }
.load-error { padding: 2.5rem 0; display: grid; gap: 0.625rem; justify-items: start; max-width: 52ch; }

/* ---------- Product details ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(15, 22, 19, .6); z-index: 44; opacity: 0; transition: opacity .2s; }
.modal-scrim.open { opacity: 1; }
.modal {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; max-height: 94dvh; overflow-y: auto;
  background: var(--white); border-radius: 1.125rem 1.125rem 0 0;
  transform: translateY(100%); transition: transform .22s ease-out;
}
.modal.open { transform: none; }
@media (min-width: 760px) {
  .modal { left: 50%; top: 50%; bottom: auto; width: min(55rem, calc(100vw - 3rem)); border-radius: var(--r-lg);
    transform: translate(-50%, -46%); opacity: 0; transition: transform .2s ease-out, opacity .2s;
    display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
  .modal.open { transform: translate(-50%, -50%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .modal, .modal-scrim { transition: none; } }
.modal-close { position: absolute; right: 0.5rem; top: 0.5rem; z-index: 2; background: rgba(255,255,255,.92); }
.modal-photo { aspect-ratio: 4 / 3; background: var(--slate); position: relative; }
@media (min-width: 760px) { .modal-photo { aspect-ratio: auto; min-height: 26.25rem; } }
.modal-photo img, .modal-photo .photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.modal-body { padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); display: grid; gap: 0.625rem; align-content: start; }
@media (min-width: 760px) { .modal-body { padding: 2.25rem 2rem 2rem; } }
.modal-cat { font-size: 0.875rem; color: var(--muted); }
.modal-desc { margin-top: 0.625rem; line-height: 1.55; }
.modal-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4.4vw, 2.0625rem); line-height: 1; color: var(--green); padding-right: 2.5rem; }
.facts { margin: 0.375rem 0 0.25rem; padding-left: 1.125rem; color: var(--muted); font-size: 0.9375rem; display: grid; gap: 0.25rem; }
.modal-body .card-action .add-btn { width: auto; min-width: 10rem; }
.modal-body .line-total { width: auto; }

/* ---------- Mobile order bar ---------- */
.orderbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 0.625rem var(--gutter) calc(0.625rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--enamel) 30%); }
.orderbar-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  min-height: 3.625rem; padding: 0.5rem 1.375rem; border: 0; border-radius: var(--r-pill);
  background: var(--green); color: var(--white); cursor: pointer; font-weight: 600; font-size: 1rem;
  box-shadow: 0 0.5rem 1.5rem -0.5rem rgba(21, 53, 40, .55);
}
.orderbar-btn > span:first-child { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.orderbar-btn > span:first-child span { font-size: 0.8125rem; font-weight: 500; opacity: .85; }
.orderbar-btn strong { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { .orderbar { display: none !important; } body.has-orderbar { padding-bottom: 0; } }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(21, 36, 30, .45); z-index: 40; opacity: 0; transition: opacity .2s; }
.drawer-scrim.open { opacity: 1; }
.drawer {
  position: fixed; z-index: 41; background: var(--enamel);
  display: flex; flex-direction: column;
  left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh;
  border-radius: 1.125rem 1.125rem 0 0;
  transform: translateY(100%); transition: transform .22s ease-out;
}
.drawer.open { transform: none; }
@media (min-width: 720px) {
  .drawer { left: auto; top: 0; bottom: 0; width: 27.5rem; max-height: none; border-radius: 0; transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 0.75rem 0.625rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--green); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0.875rem 1.25rem; overscroll-behavior: contain; }
.drawer-foot { padding: 0.875rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 0.5rem; }
.drawer-foot:empty { display: none; }

.cart-empty { text-align: center; padding: 3rem 0.75rem; display: grid; gap: 0.5rem; justify-items: center; color: var(--muted); }
.cart-empty strong { color: var(--ink); font-size: 1.125rem; }
.cart-empty .btn { margin-top: 0.75rem; }

.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.cart-line { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.75rem 0.875rem; }
.cart-line { display: grid; grid-template-columns: 4.75rem 1fr; gap: 0.75rem; padding: 0.625rem; }
.cart-thumb { width: 4.75rem; height: 4.75rem; border-radius: var(--r-sm); overflow: hidden; background: var(--slate); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.cart-thumb .photo-fallback { font-size: 0.75rem; padding: 0.25rem; }
.cart-info { min-width: 0; display: grid; gap: 2px; }
.cart-name { font-weight: 600; line-height: 1.3; }
.cart-sub { font-size: 0.8125rem; color: var(--muted); }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.375rem; }
.cart-total { font-variant-numeric: tabular-nums; }

.sum-row { display: flex; justify-content: space-between; gap: 0.75rem; font-variant-numeric: tabular-nums; }
.sum-row strong { font-size: 1.125rem; }
.hint { font-size: 0.875rem; color: var(--green); font-weight: 500; }
.fine { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }

.notice { border-radius: var(--r-sm); padding: 0.625rem 0.75rem; font-size: 0.875rem; }
.notice-warn { background: var(--amber-tint); color: #5c3c00; border: 1px solid #ecd59b; }
.notice-ok { background: var(--green-tint); color: var(--green-deep); border: 1px solid #b9d0c1; }

.promo-bar { background: var(--red); color: var(--white); font-size: 0.875rem; font-weight: 600; text-align: center; padding: 0.5rem 1rem; }
.preview-bar { background: var(--ink); color: #e9ede9; font-size: 0.8125rem; text-align: center; padding: 0.4375rem 1rem; }
.preview-bar a { color: #fff; font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 6rem; z-index: 50;
  transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white);
  padding: 0.625rem 1rem; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 500;
  max-width: calc(100vw - 2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .18s, transform .18s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 1.75rem; } }
body.no-scroll .toast { display: none; }
.drawer, .modal { overscroll-behavior: contain; }

/* ---------- Checkout ---------- */
.page-title {
  font-family: var(--font-display); font-weight: 700; color: var(--green);
  font-size: clamp(1.875rem, 5.2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; margin: 1.75rem 0 1.25rem;
  text-wrap: balance;
}
.checkout { padding-bottom: 4rem; }
.checkout-empty { display: grid; gap: 0.5rem; justify-items: start; padding: 1.5rem 0; }
.checkout-empty .btn { margin-top: 0.75rem; }
.checkout-grid { display: grid; gap: 1.75rem; }
@media (min-width: 960px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 23.75rem; gap: 3rem; align-items: start; }
}
@media (min-width: 1280px) {
  /* laptops: the order summary grows with the page instead of the form stretching on its own */
  .checkout-grid { grid-template-columns: minmax(0, 1.5fr) minmax(26.25rem, 1fr); gap: 4rem; }
}
@media (min-width: 960px) {
  .summary { position: sticky; top: calc(var(--topbar-h) + 1.25rem); }
}
/* summary appears first on mobile so people see what they're paying for */
@media (max-width: 959px) { .page-checkout .summary { order: -1; } }

.checkout-form { display: grid; gap: 1.25rem; }
.step { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); padding: 1.125rem 1.125rem 0.375rem; margin: 0; min-width: 0; }
.step legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--green); line-height: 1;
  margin-bottom: 1rem;
}
.step > :not(legend) { clear: both; }
.step-no {
  width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--green); color: var(--white);
  display: inline-grid; place-items: center; font-size: 1.125rem;
}
.field { display: grid; gap: 0.375rem; margin-bottom: 0.875rem; min-width: 0; align-content: start; }
.field ::placeholder, .search ::placeholder { color: #8a968f; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.625rem 0.75rem;
  border: 1.5px solid #b9c4bd; border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 5.25rem; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2318241e' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.375rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--green) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.help { font-size: 0.8125rem; color: var(--muted); }
.err { color: var(--red); font-size: 0.875rem; font-weight: 500; }
.err:empty { display: none; }
.err-block { margin-bottom: 0.625rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.notes-field { margin: 0; }
.notes-field textarea { background: var(--white); }

.choices { display: grid; gap: 0.625rem; margin-bottom: 0.875rem; }
@media (min-width: 640px) { [data-fulfilment-choices] { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body {
  display: grid; gap: 2px; height: 100%;
  padding: 0.75rem 0.875rem 0.75rem 2.75rem; border: 1.5px solid #b9c4bd; border-radius: var(--r-md);
  background: var(--white); position: relative;
}
.choice-body::before {
  content: ""; position: absolute; left: 0.875rem; top: 0.9375rem; width: 1.125rem; height: 1.125rem; border-radius: 50%;
  border: 2px solid #8a978f; background: var(--white);
}
.choice input:checked + .choice-body { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + .choice-body::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 0.25rem, var(--white) 0.3125rem); }
.choice input:focus-visible + .choice-body { outline: 0.1875rem solid var(--focus); outline-offset: 2px; }
.choice-title { font-weight: 600; display: flex; justify-content: space-between; gap: 0.5rem; }
.choice-extra { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.choice-desc { font-size: 0.875rem; color: var(--muted); }
.address { padding-top: 0.25rem; }

.submit-area { display: grid; gap: 0.625rem; }

.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.125rem; display: grid; gap: 0.625rem; }
.summary-head { display: flex; align-items: baseline; justify-content: space-between; }
.summary-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--green); }
.summary-lines { list-style: none; margin: 0 0 0.25rem; padding: 0 0 0.75rem; border-bottom: 1px dashed #9aa79f; display: grid; gap: 0.625rem; max-height: 21.25rem; overflow-y: auto; }
.summary-lines li { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9375rem; }
.sl-name { font-weight: 600; min-width: 0; }
.sl-meta { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.sl-total { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { border-top: 1.5px solid var(--ink); padding-top: 0.625rem; margin-top: 2px; font-size: 1.125rem; }
.sum-total strong { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--green); line-height: 1; }
.summary-meta { margin: 0.5rem 0 0; display: grid; gap: 0.5rem; font-size: 0.875rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.summary-meta div { display: grid; grid-template-columns: 6rem 1fr; gap: 0.5rem; }
.summary-meta dt { color: var(--muted); }
.summary-meta dd { margin: 0; }

/* ---------- Order complete ---------- */
.complete { padding-bottom: 4rem; }
.complete-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .complete-grid { grid-template-columns: minmax(0, 1fr) 23.75rem; gap: 3.5rem; align-items: start; } }
@media (min-width: 1280px) { .complete-grid { grid-template-columns: minmax(0, 1.5fr) minmax(26.25rem, 1fr); gap: 4rem; } }
.complete-main { max-width: 40rem; }
.complete-missing { padding: 0.75rem 0; display: grid; gap: 0.875rem; max-width: 35rem; }
.complete-missing p .btn { margin: 0.25rem 0.5rem 0 0; }

.ticket {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 1rem;
  background: var(--white); border: 2px solid var(--ink); border-radius: 0.375rem;
  padding: 0.875rem 1.125rem; max-width: 28.75rem; position: relative;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 1rem; height: 1rem; margin-top: -0.5rem;
  background: var(--enamel); border: 2px solid var(--ink); border-radius: 50%;
}
.ticket::before { left: -0.5625rem; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -0.5625rem; clip-path: inset(0 50% 0 0); }
.ticket-label { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); }
.ticket-ref { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 6.2vw, 2.125rem); line-height: 1; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 479px) { .ticket { grid-template-columns: 1fr; } .ticket-total { padding: 0.375rem 0 0; } }
.ticket-total { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; padding-bottom: 0.25rem; }
.complete-main > .notice { margin-top: 1.125rem; max-width: 28.75rem; }

.sub-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; color: var(--green); margin: 2rem 0 0.75rem; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; display: grid; gap: 0.25rem; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 1.125rem 3rem; }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: -2px;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; display: grid; place-items: center;
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 0.9375rem; top: 2.125rem; bottom: 0; width: 2px; background: var(--line); }
.next-steps strong { display: block; font-size: 1.0625rem; }
.next-steps li > div { color: var(--muted); }
.next-steps li > div strong { display: inline; font-size: inherit; color: var(--ink); }

.bank { margin: 0.75rem 0 0.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.75rem 0.875rem; display: grid; gap: 0.375rem; color: var(--ink); }
.bank div { display: grid; grid-template-columns: 8.125rem 1fr; gap: 0.5rem; font-size: 0.9375rem; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-variant-numeric: tabular-nums; }

.complete-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.125rem; justify-content: flex-start; }
.btn-wa svg { flex: none; }

/* ---------- Remembered details ---------- */
.welcome-back { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem;
  background: var(--green-tint); border-radius: var(--r-sm); padding: 0.625rem 0.75rem; margin-bottom: 1rem; font-size: 0.9375rem; }
.remember { display: grid; grid-template-columns: 1.375rem 1fr; gap: 0.625rem; align-items: start; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.875rem 1rem; }
.submit-area .remember { margin-top: 0.875rem; }
/* one delivery method or one way to order: a line of text, not a lone radio button */
.choice-single { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.75rem 0.875rem; }
.choice-single p { margin: 0; }
.choice-single .choice-desc { margin-top: 0.25rem; }
.bot-check { margin-bottom: 0.75rem; min-height: 4.0625rem; }
.pin-icon { vertical-align: -0.1875rem; color: var(--green); }
/* order numbers never break at a hyphen */
.ref-nowrap { white-space: nowrap; }
.remember input { width: 1.25rem; height: 1.25rem; margin: 2px 0 0; accent-color: var(--green); }
.sent-to { margin-top: 0.875rem; color: var(--muted); max-width: 52ch; }

/* very small phones */
@media (max-width: 359px) {
  .brand { font-size: 1rem; }
  .cart-btn { padding: 0.5rem 0.75rem; gap: 0.375rem; }
}

/* terms & privacy pages */
.legal { max-width: 72ch; padding-bottom: 4rem; }
.legal h2 { font-family: var(--font-display); font-size: 1.125rem; margin: 1.75rem 0 0.5rem; color: var(--green); }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.legal p + p { margin-top: 0.75rem; } .legal h2 + p { margin-top: 0; }

/* sticky category bar follows the header as it hides and shows */
.catnav { transition: top .25s ease; }
body.nav-hidden .catnav { top: 0; }
@media (min-width: 960px) { body.nav-hidden .catnav { top: 1.5rem; } }

/* ==========================================================
   Home page
   ========================================================== */
.section-title {
  font-family: var(--font-display); font-weight: 800; color: var(--green);
  font-size: clamp(1.625rem, 3.6vw, 2.375rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance;
}
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link { font-weight: 700; color: var(--green); text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--green-tint); color: var(--green-deep); }

/* hero: the photo is the headline */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--slate);
  min-height: clamp(28.75rem, 70vh, 45rem); display: flex; align-items: center;
}
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 20, 17, .78) 0%, rgba(14, 20, 17, .5) 38%, rgba(14, 20, 17, 0) 66%),
              linear-gradient(180deg, rgba(14, 20, 17, .55) 0%, rgba(14, 20, 17, 0) 45%);
}
.home-hero-copy { color: var(--white); padding-top: 3rem; padding-bottom: 3.5rem; text-shadow: 0 1px 1.125rem rgba(0, 0, 0, .35); }
.home-hero .eyebrow { color: #cfe0d6; }
.home-hero h1 {
  margin-top: 0.875rem; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.375rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em;
}
.home-hero-sub { margin-top: 1rem; font-size: clamp(1rem, 1.6vw, 1.1875rem); line-height: 1.5; max-width: 40ch; color: #e6ece8; }
@media (max-width: 599px) {
  .home-hero { min-height: 33.75rem; align-items: flex-start; }
  .home-hero-img { object-position: 46% 78%; }
  .home-hero::after { background: linear-gradient(180deg, rgba(14, 20, 17, .86) 0%, rgba(14, 20, 17, .6) 40%, rgba(14, 20, 17, 0) 70%); }
  .home-hero-copy { padding-top: 2.25rem; }
}

/* intro + features */
.intro { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--white); }
.intro-grid { display: grid; gap: 2.25rem; }
.intro-copy p { margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); max-width: 54ch; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.875rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr)); }
.features li { background: var(--enamel); border-radius: var(--r-lg); padding: 1.375rem 1.375rem 1.5rem; }
.feature-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.875rem; background: var(--white); color: var(--red); margin-bottom: 0.875rem; }
.features h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.features p { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 599px) {
  .features li { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 0.875rem; padding: 1rem; }
  .feature-icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; margin: 0; }
  .features p { margin-top: 2px; }
}
@media (min-width: 1000px) {
  .intro-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* categories */
.range { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.25rem; margin-bottom: 1.5rem; }
.range-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1100px) { .range-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.range-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--slate); color: var(--white); text-decoration: none; isolation: isolate; }
.range-photo, .range-photo img, .range-photo .photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.range-photo { z-index: -2; }
.range-photo img { transition: transform .35s ease; }
.range-photo .photo-fallback { font-size: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .range-tile:hover img { transform: scale(1.05); } }
.range-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 20, 17, .85) 0%, rgba(14, 20, 17, 0) 55%); }
.range-label { position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.875rem; display: grid; gap: 2px; }
.range-label strong { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.range-label span { font-size: 0.8125rem; color: #d9e3dd; }
.range-tile:hover { color: var(--white); }
.range-tile:focus-visible { outline-offset: 0.1875rem; }
/* phones: shorter tiles, so the whole range fits in fewer scrolls */
@media (max-width: 599px) { .range-tile { aspect-ratio: 4 / 3; } }

/* how it works */
.how-section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--white); border-top: 1px solid var(--line); scroll-margin-top: 1.25rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.375rem), 1fr)); }
.steps li { position: relative; border-top: 0.1875rem solid var(--green); padding-top: 1.125rem; }
.step-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--red); letter-spacing: -0.03em; }
.steps h3 { margin-top: 0.875rem; font-size: 1.125rem; font-weight: 700; }
.steps p { margin-top: 0.375rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; max-width: 32ch; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.how-note { margin-top: 2.25rem; padding: 1rem 1.125rem; background: var(--enamel); border-radius: var(--r-md); font-size: 0.9375rem; color: var(--muted); max-width: 72ch; }
.how-note strong { color: var(--ink); }
.how-note p + p { margin-top: 0.5rem; }
.home-hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; text-shadow: none; }
.home-hero-link { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.home-hero-link:hover { color: #d9e3dd; }

/* who we are */
.about-section { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--white); border-top: 1px solid var(--line); }
.about-text { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.about-text p { margin: 0 0 1em; }
.about-contact { margin-top: 1rem; font-weight: 600; }

/* call to action */
.cta { background: var(--green); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.625rem); line-height: 1.1; letter-spacing: -0.02em; }
.cta p { margin-top: 0.625rem; color: #d3e2d9; font-size: 1.0625rem; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.375rem; }
.cta-wa { color: var(--white); font-weight: 600; }
.cta-wa:hover { color: #d3e2d9; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* ==========================================================
   Shop page header
   ========================================================== */
.shop-head { background: var(--white); border-bottom: 1px solid var(--line); }
.shop-head .wrap { padding-top: 1.75rem; padding-bottom: 1.375rem; }
.shop-head .page-title { margin: 0 0 0.5rem; }
.shop-sub { color: var(--muted); max-width: 70ch; }
@media (min-width: 960px) { .shop-head .wrap { padding-top: 2.5rem; padding-bottom: 2rem; } }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--green-deep); color: #c9d8cf; padding: 3rem 0 2.5rem; font-size: 0.9375rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--white); }
.footer-inner { display: grid; gap: 1.75rem; }
.brand-light { color: var(--white); font-size: 1.25rem; margin: 0; }
.footer-brand p { margin-top: 0.625rem; max-width: 32ch; }
.footer-nav { display: grid; gap: 0.625rem; align-content: start; }
.footer-label { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb7a9; margin-bottom: 0.5rem; }
.footer-wa { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.footer-legal { grid-column: 1 / -1; font-size: 0.8125rem; color: #c9d8cf; }
.footer-fine { grid-column: 1 / -1; padding-top: 1.375rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 0.8125rem; color: #9fb7a9; }
.footer-fine a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }
body.has-orderbar .footer { padding-bottom: 6.875rem; }
@media (min-width: 960px) { body.has-orderbar .footer { padding-bottom: 2.5rem; } }

/* ---------- 404 ---------- */
.notfound { padding-bottom: 4rem; }
.notfound-actions { margin-top: 1.25rem; }

/* ---------- Open-order banner (returning customers) ---------- */
.btn-sm { min-height: 2.375rem; padding: 0.375rem 0.875rem; font-size: 0.875rem; }
.order-banner { background: var(--green); color: var(--white); }
.order-banner-inner { display: flex; align-items: center; gap: 0.5rem 0.75rem; flex-wrap: wrap; padding-block: 0.5rem; }
.order-banner-inner { flex-wrap: nowrap; }
.order-banner p { margin: 0; flex: 1 1 0; min-width: 0; font-size: 0.9375rem; font-weight: 500; }
.order-banner .btn { flex: none; white-space: nowrap; }
.order-banner .icon-btn { flex: none; }
.order-banner .icon-btn { color: var(--white); width: 2.375rem; height: 2.375rem; }
.order-banner .icon-btn:hover { background: var(--green-deep); }

/* ---------- Invoice ---------- */
.loading { color: var(--muted); padding: 1.5rem 0; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 2px 0.5625rem; border-radius: var(--r-pill); background: var(--green-tint); color: var(--green-deep); white-space: nowrap; }
.ticket-label .pill { margin-left: 0.375rem; vertical-align: middle; }
.pill-green { background: var(--pill-green-bg); color: var(--pill-green-fg); }
.pill-done { background: var(--pill-done-bg); color: var(--pill-done-fg); }
.pill-amber { background: var(--pill-amber-bg); color: var(--pill-amber-fg); }
.pill-neutral { background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); }
.pill-accent { background: var(--pill-accent-bg); color: var(--pill-accent-fg); }
.pill-problem { background: var(--pill-problem-bg); color: var(--pill-problem-fg); }
.step-action { margin-top: 0.625rem; }
.step-action .btn { width: 100%; max-width: 22.5rem; }
.page-invoice .complete-main > .notice { max-width: 35rem; margin: 0 0 1.125rem; }
.muted-sm { font-size: 0.8125rem; color: var(--muted); }
.invoice-meta { border-top: 0; padding-top: 0; margin: 0 0 0.25rem; }
.invoice-doc .summary-lines { max-height: none; }

/* ---------- Find my order ---------- */
.find-order { padding-bottom: 4rem; max-width: 35rem; }
.find-form { margin-top: 1.125rem; }
.find-help { margin-top: 1.5rem; }
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.mine-list a { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.75rem 0.875rem; color: var(--ink); text-decoration: none; }
.mine-list a:hover { border-color: var(--green); }
.mine-list span { color: var(--muted); }

/* ---------- Printing / saving the invoice as PDF ---------- */
@media print {
  .awning, .topbar, .order-banner, .footer, .no-print, .preview-bar, .step-action { display: none !important; }
  body { background: #fff; }
  .complete-grid { display: block; }
  .summary-card { border: 0; padding: 0; }
  .invoice-doc { margin-top: 1.5rem; break-inside: avoid; }
}

/* ---------- Special orders (more than the online maximum for one cut) ---------- */
.special-order { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.special-order a { color: var(--green); font-weight: 600; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.limit-help { margin: 0 0 0.75rem; }

/* ---------- Order again ---------- */
.welcome-back { margin-bottom: 1rem; }
.welcome-card { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-left: 0.25rem solid var(--green); border-radius: var(--r-md); padding: 0.875rem 1rem; }
.welcome-title { margin: 0; font-weight: 700; color: var(--green); font-size: 1.0625rem; }
.welcome-sub { margin: 2px 0 0; font-size: 0.875rem; color: var(--muted); }
.reorder-note { margin-bottom: 0.75rem; }
.mine-list li { display: flex; gap: 0.5rem; align-items: center; }
.mine-list li a { flex: 1; }

/* ---------- Staging (test copy) banner ---------- */
.staging-bar { background: #fde68a; color: #3d2a00; font-size: 0.875rem; text-align: center; padding: 0.5rem 1rem; border-bottom: 2px solid #b45309; position: relative; z-index: 40; }
.staging-bar strong { letter-spacing: .06em; }

/* ---------- Google reviews (home page) ---------- */
.reviews-section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--enamel); border-top: 1px solid var(--line); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1.5rem; flex-wrap: wrap; }
.reviews-summary { margin: 0.625rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.reviews-summary strong { color: var(--ink); }
.stars { color: #b7791f; letter-spacing: 1px; font-size: 1.0625rem; }
.stars-off { color: #cfd6d1; }
.reviews-slider { margin-top: 1.5rem; }
.reviews-track { list-style: none; margin: 0; padding: 0.25rem 2px 0.75rem; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .reviews-track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (min-width: 1100px) { .reviews-track { grid-auto-columns: calc((100% - 2rem) / 3); } }
.review-card { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; min-width: 0; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.review-source { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.review-text { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-text.is-open { -webkit-line-clamp: unset; display: block; }
.review-text p { margin: 0; white-space: pre-line; }
.review-more { align-self: flex-start; font-size: 0.875rem; }
.review-by { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: center; gap: 0.625rem; }
.review-by > span { display: grid; min-width: 0; }
.review-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none; object-fit: cover; background: var(--green-tint); }
.review-initials { display: grid; place-items: center; font-weight: 700; font-size: 0.875rem; color: var(--green-deep); }
.review-name { font-size: 0.9375rem; overflow-wrap: anywhere; }
.review-date { font-size: 0.8125rem; color: var(--muted); }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.reviews-btn { border: 1px solid var(--line); background: var(--white); }
.reviews-count { min-width: 9ch; text-align: center; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews-pause { margin-left: 0.5rem; font-size: 0.875rem; }
.reviews-slider.is-static .reviews-controls { display: none; }
.reviews-note { margin: 0.875rem 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.reviews-track:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.25rem; border-radius: var(--r-lg); }

/* ---------- Checkout: exact location pin ---------- */
.pin-field { display: grid; gap: 0.375rem; margin: 0.25rem 0 0.875rem; justify-items: start; }
.pin-field .btn svg { flex: none; }
.pin-set { margin: 0; font-size: 0.9375rem; color: var(--green-deep); font-weight: 500; }
.sum-balance strong { color: var(--green); }

/* ordering by pieces or packs (sizes can be mixed), or by total weight */
.card-each { font-size: 0.8125rem; color: var(--muted); margin-top: 0.125rem; }
.pick-more { flex-basis: 100%; text-align: left; min-height: 2.75rem; }
.pick-summary { flex-basis: 100%; font-size: 0.875rem; font-weight: 600; line-height: 1.35; margin: 0; }
.pick { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.pick-label { font-size: 0.875rem; font-weight: 600; margin: 0; }
.pick-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.pick-row .line-total { width: auto; }
.pick .link-btn { justify-self: start; min-height: 2.75rem; }
.size-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.375rem; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.375rem 0; border-bottom: 1px solid var(--line); }
.size-name { display: grid; font-weight: 600; font-variant-numeric: tabular-nums; }
.size-usual { font-size: 0.75rem; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: var(--r-pill); padding: 0.0625rem 0.5rem; justify-self: start; }
.size-price { font-size: 0.8125rem; font-weight: 400; color: var(--muted); }
.pick-total { margin: 0.25rem 0 0; font-variant-numeric: tabular-nums; }
.note-field { margin-top: 0.75rem; }
.note-field textarea { width: 100%; }
.cart-note { font-size: 0.8125rem; color: var(--ink); background: var(--enamel); border-radius: var(--r-sm); padding: 0.25rem 0.5rem; margin: 0.25rem 0; }
.cart-line .link-btn { min-height: 2.75rem; }
.sl-note { display: block; font-size: 0.8125rem; color: var(--ink); font-style: italic; }
/* "2 × 300 g" stays on one line, a little smaller on narrow cards */
.stepper output { white-space: nowrap; flex: 1 1 auto; }
.card-action .stepper output { font-size: 0.875rem; }
.cart-line .link-btn { display: block; text-align: left; }
.line-qty { font-weight: 400; color: var(--muted); }

/* product pop-up: how it's sold, then the sizes, then the rest (review 28 Oct) */
.modal-how { margin: .25rem 0 .75rem; color: var(--muted, inherit); font-size: .95rem; }
.modal-done { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: .75rem 0 1rem; }
.modal-done .fine { margin: 0; }
@media (max-width: 759px) { .modal-photo { aspect-ratio: 16 / 7; } }
.sum-credit span:last-child { color: var(--green, inherit); }
.delivery-ask { margin-top: .25rem; }
/* phones: the category row scrolls sideways; a fade at the edge says there's more */
@media (max-width: 959px) {
  .catlist { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 2rem; }
}
