/* ==========================================================
   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;

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

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --slate: #1d2622;
  --photo-grade: none; /* photos are colour-graded in the files themselves */
  --r-pill: 999px;
  --wrap: 1180px;
  --gutter: 16px;
  --topbar-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 64px); }
@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: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
body.has-orderbar { padding-bottom: 84px; }

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: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.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: 8px; top: -60px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- 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: 10px; height: 30px; background: var(--white); position: relative; z-index: 31; }
.awning::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 26px, var(--white) 26px 52px);
  -webkit-mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--sc)) no-repeat,
    radial-gradient(13px var(--sc) at 13px 0, #000 97%, transparent 100%) 0 100% / 26px var(--sc) repeat-x;
  mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--sc)) no-repeat,
    radial-gradient(13px var(--sc) at 13px 0, #000 97%, transparent 100%) 0 100% / 26px var(--sc) repeat-x;
}
@media (min-width: 720px) { .awning { height: 38px; --sc: 12px; } }

/* ---------- 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: 12px; height: var(--topbar-h); }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 19px; 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: 6px; }

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; 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: 14px; right: 14px; bottom: 4px; 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: 8px; } }

/* phones and tablets: links fold into a menu */
@media (max-width: 899px) {
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; 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: 18px; height: 14px; 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: 6px; }
  .menu-icon span:nth-child(3) { top: 12px; }
  .menu-open .menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .menu-open .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-open .menu-icon span:nth-child(3) { top: 6px; 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 18px 30px -18px rgba(0, 0, 0, .35);
    padding: 8px var(--gutter) 16px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    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: 15px 4px; border-radius: 0; font-size: 18px; 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: 4px; right: auto; width: 24px; bottom: 8px; }
  .mainnav .nav-extra { display: flex; color: var(--muted); font-size: 16px; }
  body.menu-lock { overflow: hidden; }
  .topbar.menu-open { box-shadow: none; }
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  background: var(--green); color: var(--white); text-decoration: none;
  border: 0; border-radius: var(--r-pill);
  padding: 9px 16px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.cart-btn:hover { background: var(--green-deep); color: var(--white); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--white); color: var(--green); font-size: 13px; 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: 8px;
  min-height: 46px; padding: 10px 20px;
  border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 600; font-size: 16px; 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); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); }
.btn-lg { min-height: 54px; font-size: 17px; padding: 12px 26px; }
.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: 4px 0; color: var(--green); font-weight: 600; font-size: 14px; text-decoration: underline; cursor: pointer; }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; 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: 56px; }
.shop > * { min-width: 0; }
.catnav {
  position: sticky; top: var(--topbar-h); z-index: 20;
  background: var(--enamel);
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 0;
  border-bottom: 1px solid var(--line);
}
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 14px 0 42px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); font: inherit; font-size: 16px; color: var(--ink);
}
.search input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }

.catlist {
  list-style: none; margin: 0; padding: 10px 0 12px;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.catlist::-webkit-scrollbar { display: none; }
.catlist a {
  display: block; white-space: nowrap;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--ink); font-size: 14px; 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: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; }
  .catnav {
    top: calc(var(--topbar-h) + 24px); align-self: start;
    margin: 0; padding: 0; border: 0; background: none;
  }
  .catlist { flex-direction: column; overflow: visible; padding: 16px 0 0; gap: 2px; }
  .catlist a { border: 0; background: none; padding: 9px 14px; border-radius: var(--r-sm); font-size: 15px; }
  .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 3px 0 0 var(--green); }
}

/* ---------- Catalogue ---------- */
.cat { padding-top: 44px; }
.cat:first-child { padding-top: 28px; }
@media (min-width: 960px) { .cat { padding-top: 56px; } .cat:first-child { padding-top: 0; } }
.cat h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3.7vw, 30px); line-height: 1; color: var(--green);
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 14px; margin-bottom: 20px; border-bottom: 3px solid var(--green);
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@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: -3px; }

.photo-fallback {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 12px;
  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(15px, 3.3vw, 21px); line-height: 1;
}

.badge {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: var(--amber-tint); color: #5c3c00; font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: var(--r-pill);
}
.badge-dark { background: var(--ink); color: var(--white); }
.badge + .badge { top: 36px; }
.badge-special { background: var(--red); color: var(--white); }

.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; flex: 1; }
@media (min-width: 640px) { .card-body { padding: 12px 14px 14px; } }
.card-name { font-size: 16px; font-weight: 600; line-height: 1.25; }
.card-meta { font-size: 13px; color: var(--muted); line-height: 1.35; }
.card-price { margin-top: auto; padding-top: 4px; line-height: 1; }
.card-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.card-price .unit { font-size: 13px; color: var(--muted); margin-left: 2px; }
.card-price .was { font-size: 14px; color: var(--muted); margin-right: 2px; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 44px; margin-top: 8px; }
.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: 14px; 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: 6px;
  height: 44px; padding: 0 18px 0 14px;
  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: 44px; overflow: hidden;
}
.stepper button {
  width: 42px; 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: -3px; }
.stepper output { min-width: 56px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.stepper-sm { height: 38px; border-width: 1.5px; }
.stepper-sm button { width: 36px; }
.stepper-sm output { min-width: 54px; font-size: 14px; }

.empty-search { padding: 40px 0; font-size: 17px; color: var(--muted); max-width: 52ch; }

.skeleton-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); padding-top: 32px; }
@media (min-width: 640px) { .skeleton-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.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: 40px 0; display: grid; gap: 10px; 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: 18px 18px 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(880px, calc(100vw - 48px)); 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: 8px; top: 8px; 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: 420px; } }
.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: 20px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 10px; align-content: start; }
@media (min-width: 760px) { .modal-body { padding: 36px 32px 32px; } }
.modal-cat { font-size: 14px; color: var(--muted); }
.modal-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 4.4vw, 33px); line-height: 1; color: var(--green); padding-right: 40px; }
.facts { margin: 6px 0 4px; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.modal-body .card-action .add-btn { width: auto; min-width: 160px; }
.modal-body .line-total { width: auto; }

/* ---------- Mobile order bar ---------- */
.orderbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px var(--gutter) calc(10px + 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: 58px; padding: 8px 22px; border: 0; border-radius: var(--r-pill);
  background: var(--green); color: var(--white); cursor: pointer; font-weight: 600; font-size: 16px;
  box-shadow: 0 8px 24px -8px 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: 13px; font-weight: 500; opacity: .85; }
.orderbar-btn strong { font-size: 18px; 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: 18px 18px 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: 440px; 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: 14px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--green); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 8px; }
.drawer-foot:empty { display: none; }

.cart-empty { text-align: center; padding: 48px 12px; display: grid; gap: 8px; justify-items: center; color: var(--muted); }
.cart-empty strong { color: var(--ink); font-size: 18px; }
.cart-empty .btn { margin-top: 12px; }

.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-line { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px; }
.cart-thumb { width: 76px; height: 76px; 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: 12px; padding: 4px; }
.cart-info { min-width: 0; display: grid; gap: 2px; }
.cart-name { font-weight: 600; line-height: 1.3; }
.cart-sub { font-size: 13px; color: var(--muted); }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.cart-total { font-variant-numeric: tabular-nums; }

.sum-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum-row strong { font-size: 18px; }
.hint { font-size: 14px; color: var(--green); font-weight: 500; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.45; }

.notice { border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; }
.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: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }
.preview-bar { background: var(--ink); color: #e9ede9; font-size: 13px; text-align: center; padding: 7px 16px; }
.preview-bar a { color: #fff; font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 50;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  max-width: calc(100vw - 32px); 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: 28px; } }
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(30px, 5.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 28px 0 20px;
  text-wrap: balance;
}
.checkout { padding-bottom: 64px; }
.checkout-empty { display: grid; gap: 8px; justify-items: start; padding: 24px 0; }
.checkout-empty .btn { margin-top: 12px; }
.checkout-grid { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .summary { position: sticky; top: calc(var(--topbar-h) + 20px); }
}
/* 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: 20px; }
.step { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); padding: 18px 18px 6px; margin: 0; min-width: 0; }
.step legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--green); line-height: 1;
  margin-bottom: 16px;
}
.step > :not(legend) { clear: both; }
.step-no {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white);
  display: inline-grid; place-items: center; font-size: 18px;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; align-content: start; }
.field ::placeholder, .search ::placeholder { color: #8a968f; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #b9c4bd; border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 84px; }
.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 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.help { font-size: 13px; color: var(--muted); }
.err { color: var(--red); font-size: 14px; font-weight: 500; }
.err:empty { display: none; }
.err-block { margin-bottom: 10px; }
.field-row { display: grid; gap: 0 16px; }
@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: 10px; margin-bottom: 14px; }
@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: 12px 14px 12px 44px; border: 1.5px solid #b9c4bd; border-radius: var(--r-md);
  background: var(--white); position: relative;
}
.choice-body::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; 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 4px, var(--white) 5px); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-title { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.choice-extra { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.choice-desc { font-size: 14px; color: var(--muted); }
.address { padding-top: 4px; }

.submit-area { display: grid; gap: 10px; }

.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; gap: 10px; }
.summary-head { display: flex; align-items: baseline; justify-content: space-between; }
.summary-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--green); }
.summary-lines { list-style: none; margin: 0 0 4px; padding: 0 0 12px; border-bottom: 1px dashed #9aa79f; display: grid; gap: 10px; max-height: 340px; overflow-y: auto; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sl-name { font-weight: 600; min-width: 0; }
.sl-meta { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.sl-total { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { border-top: 1.5px solid var(--ink); padding-top: 10px; margin-top: 2px; font-size: 18px; }
.sum-total strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--red); line-height: 1; }
.summary-meta { margin: 8px 0 0; display: grid; gap: 8px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.summary-meta div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.summary-meta dt { color: var(--muted); }
.summary-meta dd { margin: 0; }

/* ---------- Order complete ---------- */
.complete { padding-bottom: 64px; }
.complete-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .complete-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } }
.complete-main { max-width: 640px; }
.complete-missing { padding: 12px 0; display: grid; gap: 14px; max-width: 560px; }
.complete-missing p .btn { margin: 4px 8px 0 0; }

.ticket {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 6px;
  padding: 14px 18px; max-width: 460px; position: relative;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: var(--enamel); border: 2px solid var(--ink); border-radius: 50%;
}
.ticket::before { left: -9px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -9px; clip-path: inset(0 50% 0 0); }
.ticket-label { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.ticket-ref { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 6.2vw, 34px); line-height: 1; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 479px) { .ticket { grid-template-columns: 1fr; } .ticket-total { padding: 6px 0 0; } }
.ticket-total { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; padding-bottom: 4px; }
.complete-main > .notice { margin-top: 18px; max-width: 460px; }

.sub-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--green); margin: 32px 0 12px; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; display: grid; gap: 4px; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 18px 48px; }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.next-steps strong { display: block; font-size: 17px; }
.next-steps li > div { color: var(--muted); }
.next-steps li > div strong { display: inline; font-size: inherit; color: var(--ink); }

.bank { margin: 12px 0 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 6px; color: var(--ink); }
.bank div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; font-size: 15px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-variant-numeric: tabular-nums; }

.complete-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-wa svg { flex: none; }

/* ---------- Remembered details ---------- */
.welcome-back { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  background: var(--green-tint); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 16px; font-size: 15px; }
.remember { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.remember input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.sent-to { margin-top: 14px; color: var(--muted); max-width: 52ch; }

/* very small phones */
@media (max-width: 359px) {
  .brand { font-size: 16px; }
  .cart-btn { padding: 8px 12px; gap: 6px; }
}

/* terms & privacy pages */
.legal { max-width: 72ch; padding-block: 24px 64px; }
.legal h2 { font-family: var(--font-display); font-size: 18px; margin: 28px 0 8px; color: var(--green); }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal p + p { margin-top: 12px; } .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: 24px; } }

/* ==========================================================
   Home page
   ========================================================== */
.section-title {
  font-family: var(--font-display); font-weight: 800; color: var(--green);
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance;
}
.eyebrow { font-size: 13px; 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(460px, 70vh, 720px); 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: 48px; padding-bottom: 56px; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.home-hero .eyebrow { color: #cfe0d6; }
.home-hero h1 {
  margin-top: 14px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
}
.home-hero-sub { margin-top: 16px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; max-width: 40ch; color: #e6ece8; }
@media (max-width: 599px) {
  .home-hero { min-height: 540px; 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: 36px; }
}

/* intro + features */
.intro { padding: clamp(56px, 8vw, 96px) 0; background: var(--white); }
.intro-grid { display: grid; gap: 36px; }
.intro-copy p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 54ch; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.features li { background: var(--enamel); border-radius: var(--r-lg); padding: 22px 22px 24px; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--red); margin-bottom: 14px; }
.features h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.features p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 599px) {
  .features li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .feature-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .features p { margin-top: 2px; }
}
@media (min-width: 1000px) {
  .intro-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* categories */
.range { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 24px; }
.range-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@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: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; }
.range-label strong { font-size: 16px; font-weight: 700; line-height: 1.2; }
.range-label span { font-size: 13px; color: #d9e3dd; }
.range-tile:hover { color: var(--white); }
.range-tile:focus-visible { outline-offset: 3px; }

/* how it works */
.how-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--white); border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { position: relative; border-top: 3px solid var(--green); padding-top: 18px; }
.step-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--red); letter-spacing: -0.03em; }
.steps h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 32ch; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.how-note { margin-top: 36px; padding: 16px 18px; background: var(--enamel); border-radius: var(--r-md); font-size: 15px; color: var(--muted); max-width: 72ch; }
.how-note strong { color: var(--ink); }

/* call to action */
.cta { background: var(--green); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; }
.cta p { margin-top: 10px; color: #d3e2d9; font-size: 17px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.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: 28px; padding-bottom: 22px; }
.shop-head .page-title { margin: 0 0 8px; }
.shop-sub { color: var(--muted); max-width: 70ch; }
@media (min-width: 960px) { .shop-head .wrap { padding-top: 40px; padding-bottom: 32px; } }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--green-deep); color: #c9d8cf; padding: 48px 0 40px; font-size: 15px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--white); }
.footer-inner { display: grid; gap: 28px; }
.brand-light { color: var(--white); font-size: 20px; margin: 0; }
.footer-brand p { margin-top: 10px; max-width: 32ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb7a9; margin-bottom: 8px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-fine { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #9fb7a9; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
body.has-orderbar .footer { padding-bottom: 110px; }
@media (min-width: 960px) { body.has-orderbar .footer { padding-bottom: 40px; } }

/* ---------- 404 ---------- */
.notfound { padding-block: 24px 64px; }
.notfound-actions { margin-top: 20px; }

/* ---------- Open-order banner (returning customers) ---------- */
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.order-banner { background: var(--green); color: var(--white); }
.order-banner-inner { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding-block: 8px; }
.order-banner-inner { flex-wrap: nowrap; }
.order-banner p { margin: 0; flex: 1 1 0; min-width: 0; font-size: 15px; 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: 38px; height: 38px; }
.order-banner .icon-btn:hover { background: var(--green-deep); }

/* ---------- Invoice ---------- */
.loading { color: var(--muted); padding: 24px 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: var(--r-pill); background: var(--green-tint); color: var(--green-deep); white-space: nowrap; }
.ticket-label .pill { margin-left: 6px; vertical-align: middle; }
.st-new, .st-pending { background: #fdf0d5; color: #7a5200; }
.st-confirmed { background: var(--green); color: var(--white); }
.st-ready { background: #dbe7f6; color: #1d4673; }
.st-done { background: var(--green-tint); color: var(--green-deep); }
.st-cancelled { background: #eceeed; color: var(--muted); }
.step-action { margin-top: 10px; }
.step-action .btn { width: 100%; max-width: 360px; }
.page-invoice .complete-main > .notice { max-width: 560px; margin: 0 0 18px; }
.muted-sm { font-size: 13px; color: var(--muted); }
.invoice-meta { border-top: 0; padding-top: 0; margin: 0 0 4px; }
.invoice-doc .summary-lines { max-height: none; }

/* ---------- Find my order ---------- */
.find-order { padding-bottom: 64px; max-width: 560px; }
.find-form { margin-top: 18px; }
.find-help { margin-top: 24px; }
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mine-list a { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; 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: 24px; break-inside: avoid; }
}

/* ---------- Special orders (more than the online maximum for one cut) ---------- */
.special-order { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; 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 12px; }

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

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

/* ---------- Google reviews (home page) ---------- */
.reviews-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--enamel); border-top: 1px solid var(--line); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.reviews-summary { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.reviews-summary strong { color: var(--ink); }
.stars { color: #b7791f; letter-spacing: 1px; font-size: 17px; }
.stars-off { color: #cfd6d1; }
.reviews-slider { margin-top: 24px; }
.reviews-track { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px;
  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% - 16px) / 2); } }
@media (min-width: 1100px) { .reviews-track { grid-auto-columns: calc((100% - 32px) / 3); } }
.review-card { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.review-source { font-size: 12px; font-weight: 600; color: var(--muted); }
.review-text { margin: 0; font-size: 16px; 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: 14px; }
.review-by { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 10px; }
.review-by > span { display: grid; min-width: 0; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: var(--green-tint); }
.review-initials { display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--green-deep); }
.review-name { font-size: 15px; overflow-wrap: anywhere; }
.review-date { font-size: 13px; color: var(--muted); }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.reviews-btn { border: 1px solid var(--line); background: var(--white); }
.reviews-count { min-width: 9ch; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews-pause { margin-left: 8px; font-size: 14px; }
.reviews-slider.is-static .reviews-controls { display: none; }
.reviews-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.reviews-track:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: var(--r-lg); }

/* ---------- Checkout: exact location pin ---------- */
.pin-field { display: grid; gap: 6px; margin: 4px 0 14px; justify-items: start; }
.pin-field .btn svg { flex: none; }
.pin-set { margin: 0; font-size: 15px; color: var(--green-deep); font-weight: 500; }
.sum-balance strong { color: var(--red); }
