/* =====================================================================
   DROP-BY ERRANDS — site styles
   Layout idea: white pages carried by the logo's red, with black as the
   counterweight. Condensed Anton headlines echo the wordmark; the live soko
   clock is the signature. Every interactive element turns red on hover.
   Single light theme on purpose: the logo is drawn for white and red.
   ===================================================================== */
:root {
  /* colour */
  --red: #FF3131;          /* logo red: large type, graphics */
  --red-strong: #E01E26;   /* red buttons with white text */
  --red-deep: #A80F16;     /* hover on red, deep accents */
  --red-ink: #C4141B;      /* small red text on white */
  --red-band: #C9151C;     /* footer and bands with white text */
  --red-tint: #FFF1F0;
  --blush: #FFF6F5;
  --blush-line: #F6DEDB;
  --black: #000000;
  --ink: #161616;
  --ink-2: #45403F;
  --muted: #6B6563;
  --line: #ECE5E3;
  --line-strong: #D9D0CD;
  --mist: #F7F4F3;
  --paper: #FFFFFF;
  --wa: #0F7F43;
  --wa-dark: #0B6A37;
  --wa-chat: #E8F5E9;
  --wa-bubble: #D9FDD3;
  --fresh: #1A7F45;
  --fresh-tint: #E9F6EE;
  --amber: #9A5B00;
  --amber-tint: #FFF4DF;
  --grad-red: linear-gradient(135deg, #C9151C 0%, #E01E26 45%, #FF3131 100%);

  /* type */
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-h2: clamp(2rem, 4.6vw, 3.25rem);
  --fs-h1: clamp(2.75rem, 8vw, 5.75rem);

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(40, 6, 4, 0.06);
  --shadow: 0 2px 6px rgba(40, 6, 4, 0.05), 0 12px 32px rgba(40, 6, 4, 0.10);
  --shadow-red: 0 12px 28px rgba(224, 30, 38, 0.16);
  --ring-red: 0 0 0 4px rgba(255, 49, 49, 0.22);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --bottom-nav-h: 0px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.55;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--bottom-nav-h);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button, .input, .select, .textarea, .chip, .p-card, .biz, .pro, .disc, .tile > span, .choice span {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.page-hero-red :focus-visible, .soko-hero :focus-visible, .slide-red :focus-visible,
.site-footer :focus-visible, .rates-band :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.band-mist { background: var(--mist); }
.band-black { background: var(--black); color: #fff; }

.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-family: var(--font-body); font-weight: 800; font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -0.01em; }
.red { color: var(--red); }
.lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 720px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--black); --fg: #fff; --bd: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--fs-md); line-height: 1.1;
  text-decoration: none; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-red { --bg: var(--red-strong); --bd: var(--red-strong); }
.btn-dark { --bg: var(--black); --bd: var(--black); }
.btn-outline { --bg: transparent; --fg: var(--black); --bd: var(--black); }
.band-black .btn-outline { --fg: #fff; --bd: #fff; }
.btn-light { --bg: #fff; --fg: var(--red-ink); --bd: #fff; }
.btn-wa { --bg: var(--wa); --bd: var(--wa); }
.btn-ghost { --bg: var(--paper); --fg: var(--ink); --bd: var(--line-strong); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: var(--fs-lg); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
}
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn:disabled { opacity: .4; }
.text-link { color: var(--red-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: block; flex: none; margin-block: 6px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.main-nav a[aria-current="page"] { color: var(--red-ink); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; border: 0; background: var(--red-tint); color: var(--red-ink);
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.menu-btn { display: none; }
@media (max-width: 1140px) { .main-nav { display: none; } .menu-btn { display: inline-grid; } }
@media (max-width: 759px) {
  :root { --bottom-nav-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .header-row { min-height: 60px; gap: 12px; }
  .brand img { height: 48px; }
  .header-wa span { display: none; }
  .header-wa { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .menu-btn { display: none; }
}

/* ---------- bottom nav (phones) ---------- */
.bottom-nav { display: none; }
@media (max-width: 759px) {
  .bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
  }
  .bottom-nav a, .bottom-nav button {
    position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none; border-radius: 12px;
    font-size: 0.6875rem; font-weight: 700; color: var(--muted); text-decoration: none; line-height: 1.2;
  }
  .bottom-nav .ic { width: 24px; height: 24px; }
  .bottom-nav [aria-current="page"] { color: var(--red-ink); }
  .bottom-nav [aria-current="page"]::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
  .nav-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red-strong); color: #fff; font-size: 0.6875rem; line-height: 18px; font-weight: 800; }
}

.wa-fab {
  position: fixed; z-index: 45; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px rgba(15, 127, 67, 0.35);
}
.wa-fab .ic { width: 30px; height: 30px; }
@media (max-width: 759px) { .wa-fab { display: none; } }
body[data-page="soko"] .wa-fab { display: none; }

/* ---------- footer (red) ---------- */
.site-footer {
  background-color: var(--red-band);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 18px 18px; color: #fff; padding-top: 56px;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-brand img { width: 128px; }
.footer-brand p { margin-top: 12px; color: rgba(255, 255, 255, 0.92); max-width: 30ch; }
.footer-h { font-size: var(--fs-sm); font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-note { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-sm); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.28); margin-top: 40px; padding-block: 20px; color: rgba(255, 255, 255, 0.92); font-size: var(--fs-sm); display: grid; gap: 6px; }
.footer-base .credit { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.88); max-width: 90ch; }
.footer-base .credit a { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- sheets (dialogs) ---------- */
dialog.sheet {
  border: 0; padding: 20px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  margin: 0; position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92dvh; overflow: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}
dialog.sheet[open] { animation: sheet-up .22s ease-out; }
dialog.sheet::backdrop { background: rgba(20, 4, 3, 0.55); }
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) {
  dialog.sheet { inset: 0; margin: auto; width: min(560px, calc(100% - 48px)); max-height: min(88dvh, 860px); border-radius: var(--r-lg); padding: 28px; }
  dialog.sheet.sheet-wide { width: min(720px, calc(100% - 48px)); }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sheet-title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; }
.sheet-sub { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 16px; }
.sheet-logo { height: 52px; width: auto; }
.sheet-actions { display: grid; gap: 10px; margin-top: 20px; }
.sheet-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-actions-row .btn { padding-inline: 12px; white-space: nowrap; font-size: var(--fs-sm); }
.menu-list { display: grid; gap: 4px; margin-bottom: 16px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.menu-list a .ic { width: 26px; height: 26px; color: var(--red); }
.menu-list b { display: block; font-weight: 800; }
.menu-list small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.menu-list a[aria-current="page"] { background: var(--red-tint); }

/* carts sheet */
.carts { display: grid; gap: 12px; }
.cart-card { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-md); border: 1.5px solid var(--blush-line); background: var(--blush); }
.cart-card-head { display: flex; gap: 12px; align-items: center; }
.cart-card-head h3 { font-weight: 800; font-size: var(--fs-md); }
.cart-card-head p { font-size: var(--fs-xs); color: var(--muted); }
.cart-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-strong); color: #fff; flex: none; }
.cart-items { font-size: var(--fs-sm); color: var(--ink-2); }
.cart-fees { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: var(--fs-sm); padding: 10px 12px; border-radius: 12px; background: #fff; }
.cart-fees b { text-align: right; font-variant-numeric: tabular-nums; }
.cart-card .btn { justify-self: start; }

/* WhatsApp preview */
.wa-chat { background: var(--wa-chat); background-image: radial-gradient(rgba(15, 127, 67, 0.07) 1px, transparent 1px); background-size: 14px 14px; border-radius: var(--r-md); padding: 16px; display: flex; justify-content: flex-end; }
.wa-bubble { position: relative; max-width: 92%; background: var(--wa-bubble); color: #111; padding: 10px 12px 22px; border-radius: 12px 0 12px 12px; box-shadow: var(--shadow-sm); }
.wa-bubble pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.45; }
.wa-bubble pre b { font-weight: 700; }
.wa-meta { position: absolute; right: 10px; bottom: 4px; display: inline-flex; align-items: center; gap: 4px; font-size: 0.6875rem; color: #5b6b5e; }
.wa-meta .ic { width: 14px; height: 14px; color: #34B7F1; }
.review-fallback { font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.review-after { margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: var(--fresh-tint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.toast { position: fixed; z-index: 1000; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav-h) + 20px); background: var(--black); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-section { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); align-content: start; }
.form-section-head { display: flex; align-items: center; gap: 12px; }
.step-no { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.step-no-red { background: var(--red-strong); }
.form-section-head h2 { font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; }
.form-section-head p { color: var(--muted); font-size: var(--fs-sm); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-narrow { max-width: 360px; }
.field > label, .field-label { font-weight: 700; font-size: var(--fs-sm); }
.field .opt { font-weight: 500; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); font-size: 1rem; }
.textarea { min-height: 88px; resize: vertical; line-height: 1.45; }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red-strong); box-shadow: var(--ring-red); }
.input::placeholder, .textarea::placeholder { color: #9b9492; }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.field-error { font-size: var(--fs-xs); color: var(--red-ink); font-weight: 700; }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input.is-invalid { border-color: var(--red-strong); box-shadow: 0 0 0 3px rgba(224, 30, 38, 0.12); }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red-strong); margin: 2px 0 0; flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.choice input:checked + span { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.choice .ic { width: 18px; height: 18px; }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .tiles-4 { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.tile > span { display: grid; gap: 4px; height: 100%; padding: 14px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--paper); }
.tile .ic { width: 28px; height: 28px; color: var(--red); }
.tile b { font-weight: 800; }
.tile small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.35; }
.tile input:checked + span { border-color: var(--red-strong); box-shadow: inset 0 0 0 1.5px var(--red-strong); background: var(--red-tint); }
.tile input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.segmented button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--ink-2); }
.segmented button[aria-pressed="true"] { background: var(--red-strong); color: #fff; }
.stepper { display: inline-grid; grid-template-columns: 48px minmax(70px, 1fr) 48px; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.stepper button { height: 48px; border: 0; background: var(--mist); display: grid; place-items: center; }
.stepper output, .stepper input { text-align: center; font-weight: 800; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; border: 0; width: 100%; min-width: 0; background: transparent; padding: 0 4px; }
.fee-box { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--r-md); background: var(--red-tint); }
.fee-box .row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.fee-box .row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-box .total { border-top: 1px dashed rgba(196, 20, 27, 0.35); padding-top: 8px; font-weight: 800; font-size: var(--fs-md); }
.fee-box p { font-size: var(--fs-xs); color: var(--ink-2); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); }
.notice .ic { width: 22px; height: 22px; color: var(--red); margin-top: 1px; }

/* guided steps (Personal Errands) */
.steps-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps-bar button {
  width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: var(--fs-sm); text-align: left; color: var(--muted);
}
.steps-bar button span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink-2); font-family: var(--font-display); }
.steps-bar button[aria-current="step"] { border-color: var(--red-strong); color: var(--ink); background: var(--red-tint); }
.steps-bar button[aria-current="step"] span { background: var(--red-strong); color: #fff; }
.steps-bar button.is-done { color: var(--ink); }
.steps-bar button.is-done span { background: var(--black); color: #fff; }
.steps-bar button:disabled { opacity: .55; }
@media (max-width: 560px) { .steps-bar button { flex-direction: column; text-align: center; gap: 4px; font-size: 0.75rem; padding: 8px 4px; line-height: 1.2; } }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.step-actions .btn:only-child { margin-left: auto; }
@media (max-width: 560px) { .step-actions .btn { flex: 1 1 auto; } .step-actions .btn-ghost { flex: 0 0 auto; } }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-col { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 18px; background: var(--mist); border: 1.5px solid var(--line); min-width: 0; }
.loc-col-to { background: var(--blush); border-color: var(--blush-line); }
.loc-title { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
.loc-tag { flex: none; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--black); color: #fff; letter-spacing: 0.04em; text-transform: uppercase; }
.loc-tag-red { background: var(--red-strong); }
.pin-optional { gap: 12px; }
.pin-optional summary { cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--red-ink); font-size: var(--fs-sm); list-style: none; }
.pin-optional summary::-webkit-details-marker { display: none; }
.sum-list { display: grid; gap: 10px; }
.sum-list div { display: grid; gap: 2px; }
.sum-list dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.sum-list dd { font-weight: 600; overflow-wrap: anywhere; }
.summary-card { gap: 14px; }
.summary-mobile { display: none; }
@media (max-width: 1023px) {
  .summary-mobile { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-md); border: 1.5px solid var(--blush-line); }
  body[data-page="errands"] .form-aside { display: none; }
}

/* ---------- pin picker ---------- */
.pin-picker { display: grid; gap: 10px; container-type: inline-size; }
@container (max-width: 420px) { .pin-locate .pin-locate-txt { display: none; } .pin-locate { padding-inline: 14px; } }
@media (max-width: 420px) { .pin-locate .pin-locate-txt { display: none; } .pin-locate { padding-inline: 14px; } }
.pin-tools { display: flex; gap: 8px; }
.pin-search { position: relative; flex: 1; min-width: 0; }
.pin-search .input { padding-left: 42px; }
.pin-search > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pin-results { position: absolute; z-index: 1100; left: 0; right: 0; top: calc(100% + 4px); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.pin-results button { display: block; width: 100%; text-align: left; padding: 12px 14px; border: 0; background: none; font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
.pin-results button:last-child { border-bottom: 0; }
.pin-results button:focus { background: var(--red-tint); }
.pin-results p { padding: 12px 14px; font-size: var(--fs-sm); color: var(--muted); }
.pin-map { position: relative; height: 240px; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--line-strong); background: #ECE8E4; z-index: 0; }
.pin-map-hint { position: absolute; z-index: 500; left: 50%; top: 12px; transform: translateX(-50%); background: var(--black); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.pin-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-2); font-size: var(--fs-sm); }
.pin-status { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.pin-status .ic { color: var(--muted); margin-top: 1px; }
.pin-status.is-set { background: var(--fresh-tint); border-color: transparent; color: var(--ink); }
.pin-status.is-set .ic { color: var(--fresh); }
.pin-status a { color: var(--red-ink); font-weight: 700; }
.is-invalid .pin-map { border-color: var(--red-strong); }
.pin-marker svg { width: 34px; height: 44px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35)); }
.leaflet-container { overflow: hidden; -webkit-tap-highlight-color: transparent; font-family: var(--font-body); }
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-container img.leaflet-tile { max-width: none !important; max-height: none !important; }
.leaflet-tile { visibility: inherit; }
.leaflet-marker-icon { display: block; }
.leaflet-control-container .leaflet-top, .leaflet-control-container .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; } .leaflet-right { right: 0; }
.leaflet-control { position: relative; z-index: 800; pointer-events: auto; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, 0.85); padding: 0 6px; }
.leaflet-control-zoom a { display: block; width: 34px; height: 34px; line-height: 32px; text-align: center; background: #fff; color: #111; text-decoration: none; font-size: 20px; font-weight: 700; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(32px, 6vw, 64px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; gap: 20px; align-items: end; grid-template-columns: minmax(0, 1fr) auto; }
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
.page-hero .lede { margin-top: 12px; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero-red { position: relative; overflow: hidden; background: var(--grad-red); color: #fff; border-bottom: 0; }
.page-hero-red::after, .soko-hero::after, .rates-band::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -230px; border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.08); pointer-events: none;
}
.page-hero-red .wrap { position: relative; z-index: 1; }
.page-hero-red .lede { color: rgba(255, 255, 255, 0.92); }
.price-tag { display: grid; gap: 2px; padding: 14px 20px; border-radius: var(--r-md); border: 2px solid var(--black); min-width: 200px; background: var(--paper); }
.price-tag small { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.price-tag b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; color: var(--red-ink); }
.price-tag > span { font-size: var(--fs-sm); color: var(--ink-2); max-width: 32ch; }
.page-hero-red .price-tag { border-color: #fff; box-shadow: 0 14px 34px rgba(80, 0, 0, 0.25); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); background: var(--mist); color: var(--ink); }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status-pill[data-state="open"], .status-pill[data-state="shopping"] { background: var(--fresh-tint); }
.status-pill[data-state="open"]::before, .status-pill[data-state="shopping"]::before { background: var(--fresh); box-shadow: 0 0 0 4px rgba(26, 127, 69, 0.18); }
.status-pill[data-state="running"], .status-pill[data-state="done"], .status-pill[data-state="closed"] { background: var(--amber-tint); }
.status-pill[data-state="running"]::before, .status-pill[data-state="done"]::before, .status-pill[data-state="closed"]::before { background: var(--amber); }
.soko-hero .status-pill { background: #fff; }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.hero h1 { font-size: var(--fs-h1); }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: var(--fs-sm); color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--red); }
.hero-heap { margin-top: 28px; width: min(100%, 520px); filter: drop-shadow(0 14px 22px rgba(80, 10, 6, 0.18)); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-heap { display: none; } }
.dial-card { position: relative; overflow: hidden; display: grid; gap: 18px; justify-items: center; text-align: center; padding: clamp(20px, 3vw, 32px); border-radius: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dial-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--grad-red); }
.dial-card h2 { font-size: var(--fs-sm); font-weight: 800; color: var(--muted); }
.dial { width: min(100%, 340px); aspect-ratio: 1; max-width: 100%; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .face { fill: var(--paper); }
.dial .rim { fill: none; stroke: var(--black); stroke-width: 14; stroke-linecap: round; }
.dial .tick-major { stroke: var(--black); stroke-width: 7; stroke-linecap: round; }
.dial .tick-minor { stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; }
.dial .run-arc { fill: none; stroke: var(--red); stroke-width: 16; stroke-linecap: round; opacity: .9; }
.dial .cutoff-dot { fill: var(--black); stroke: var(--paper); stroke-width: 4; }
.dial .hand-h { stroke: var(--black); stroke-width: 9; stroke-linecap: round; }
.dial .hand-m { stroke: var(--black); stroke-width: 5.5; stroke-linecap: round; }
.dial .hand-s { stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; }
.dial .hub { fill: var(--red); stroke: var(--paper); stroke-width: 3; }
.dial .dial-label { font-family: var(--font-body); font-weight: 800; font-size: 13px; fill: var(--ink); }
.dial .dial-label-red { fill: var(--red-ink); }
.dial-status { display: grid; gap: 6px; }
.dial-status strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.05; text-transform: uppercase; }
.dial-status span { color: var(--ink-2); font-size: var(--fs-sm); max-width: 34ch; }
.dial-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: var(--fs-xs); color: var(--muted); }
.dial-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dial-legend i { width: 18px; height: 6px; border-radius: 3px; background: var(--red); display: inline-block; }
.dial-legend i.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--black); }

/* services carousel */
.svc-section { overflow: hidden; }
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.carousel-head .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.carousel-nav { display: flex; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.car-prev .ic { transform: rotate(180deg); }
.carousel { --car-pad: max(var(--gutter-l), calc((100vw - 1200px) / 2 + 16px)); }
.car-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--car-pad);
  padding: 4px var(--car-pad) 12px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: -3px; }
.slide {
  position: relative; flex: 0 0 min(88%, 960px); scroll-snap-align: start; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: 28px; min-height: 420px; color: #fff;
}
.slide-black { background: var(--black); }
.slide-red { background: var(--grad-red); }
.slide-red::after { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; bottom: -200px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.1); pointer-events: none; }
.slide-copy { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.slide h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1; }
.slide p { color: rgba(255, 255, 255, 0.86); max-width: 46ch; }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; }
.svc-icon .ic { width: 28px; height: 28px; }
.slide-red .svc-icon { background: #fff; color: var(--red-strong); }
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.svc-price b { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--red); }
.slide-red .svc-price b { color: #fff; }
.svc-price > span { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); max-width: 36ch; }
.svc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-list li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); font-size: var(--fs-sm); color: #fff; }
.slide-red .svc-list li { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.1); }
.slide .btn { margin-top: 6px; }
.slide-art { position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; }
.slide-art img { width: 100%; max-height: 340px; object-fit: contain; }
.slide-black .slide-art img { filter: drop-shadow(0 16px 26px rgba(255, 49, 49, 0.18)); }
.slide-art-rider img { width: 82%; filter: drop-shadow(0 18px 24px rgba(80, 0, 0, 0.3)); }
.art-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--red-ink); font-weight: 800; font-size: var(--fs-sm); box-shadow: 0 10px 24px rgba(80, 0, 0, 0.25); }
.art-chip .ic { width: 18px; height: 18px; }
.art-chip-1 { left: 0; top: 8%; }
.art-chip-2 { right: 2%; top: 30%; }
.art-chip-3 { left: 12%; bottom: 6%; }
.route-art { width: 100%; height: auto; max-height: 340px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.car-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); }
.car-dots button[aria-current="true"] { width: 30px; background: var(--red-strong); }
@media (max-width: 760px) {
  .slide { flex-basis: 88%; grid-template-columns: 1fr; min-height: 0; gap: 12px; padding: 22px; }
  .slide-art { order: -1; max-height: 190px; }
  .slide-art img, .route-art { max-height: 190px; }
  .slide-art-rider img { width: auto; max-height: 170px; }
  .art-chip { font-size: var(--fs-xs); padding: 6px 10px; }
  .carousel-nav { display: none; }
}

/* steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--black); }
.step-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--red); }
.step h3 { font-size: var(--fs-xl); font-weight: 800; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* rates band with tickets */
.rates-band { position: relative; overflow: hidden; background: var(--grad-red); color: #fff; }
.rates-band::after { width: 640px; height: 640px; right: auto; left: -260px; top: auto; bottom: -380px; }
.rates { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
@media (max-width: 900px) { .rates { grid-template-columns: 1fr; } }
.rates-copy { display: grid; gap: 14px; }
.rates-copy .lede { color: rgba(255, 255, 255, 0.92); }
.rates-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.16); color: #fff; max-width: 48ch; }
.rates-note .ic { margin-top: 1px; }
.tickets { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); filter: drop-shadow(0 14px 26px rgba(70, 0, 0, 0.3)); }
@media (max-width: 520px) { .tickets { grid-template-columns: 1fr; } }
.ticket {
  --stub: 86px; position: relative; display: grid; grid-template-rows: 1fr var(--stub); background: #fff; color: var(--ink); border-radius: 18px; padding: 0 20px;
  -webkit-mask: radial-gradient(circle 11px at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket-top { display: flex; gap: 12px; align-items: flex-start; padding: 20px 0 16px; }
.ticket-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red-strong); flex: none; }
.ticket-top h3 { font-weight: 800; font-size: var(--fs-lg); line-height: 1.2; }
.ticket-top p { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.ticket-price { display: grid; align-content: center; gap: 2px; border-top: 2px dashed var(--blush-line); }
.ticket-price b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--red-ink); }
.ticket-price > span { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.3; }

/* discover */
.discover { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.disc { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1.5px solid var(--line); text-decoration: none; color: inherit; background: var(--paper); }
.disc .ic { width: 34px; height: 34px; color: var(--red); }
.disc h3 { font-size: var(--fs-xl); font-weight: 800; }
.disc p { color: var(--ink-2); }
@media (max-width: 760px) { .discover { grid-template-columns: 1fr; } }

/* partner band */
.partner-band { display: grid; gap: 24px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.partner-band img { width: 140px; }
.partner-band h2 { font-size: var(--fs-h2); }
.partner-band p { color: #D3CDCC; margin-top: 10px; max-width: 52ch; }
@media (max-width: 860px) { .partner-band { grid-template-columns: 1fr; } .partner-band img { width: 110px; } }

/* faq */
.faq { display: grid; border-top: 2px solid var(--black); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 800; font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s ease; color: var(--red); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* =====================================================================
   SOKO SHOP
   ===================================================================== */
.soko-hero { position: relative; overflow: hidden; background: var(--grad-red); color: #fff; padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.soko-hero .wrap { position: relative; z-index: 1; }
.soko-hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; }
.soko-hero-copy { display: grid; gap: 16px; justify-items: start; }
.soko-hero h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.soko-hero .lede { color: rgba(255, 255, 255, 0.94); }
.soko-hero-img { width: 100%; max-width: 580px; justify-self: end; filter: drop-shadow(0 20px 30px rgba(60, 0, 0, 0.35)); }
@media (max-width: 860px) {
  .soko-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .soko-hero-img { justify-self: center; max-width: 280px; }
}
.soko-info { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.soko-info > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-size: var(--fs-sm); color: #fff; }
.soko-info .ic { width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.soko-info b { display: block; }
@media (max-width: 1023px) {
  .soko-info { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter-l); }
  .soko-info::-webkit-scrollbar { display: none; }
  .soko-info > div { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
}
.shop-band { background: var(--blush); }
.shop { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; padding-block: 24px 64px; }
@media (max-width: 1023px) { .shop { grid-template-columns: 1fr; } }
.shop-tools { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 20; display: grid; gap: 12px; padding-block: 12px; background: var(--blush); }
@media (max-width: 759px) { .shop-tools { top: calc(env(safe-area-inset-top, 0px) + 60px); } }
.search { position: relative; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search .input { padding-left: 46px; border-radius: 999px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(var(--gutter-l) * -1) calc(var(--gutter-r) * -1); padding-inline: var(--gutter-l) var(--gutter-r); scroll-padding-inline: var(--gutter-l); }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
@media (min-width: 1024px) { .cat-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.cat-block { display: grid; gap: 14px; margin-top: 24px; }
.cat-block h2 { font-size: var(--fs-xl); font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; line-height: 1.2; }
@media (max-width: 560px) { .cat-block h2 { font-size: var(--fs-lg); } }
.cat-block h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--red); align-self: center; }
.cat-block h2 small { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.p-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
@media (max-width: 420px) { .p-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.p-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left;
  padding: 10px; border-radius: 18px; border: 1.5px solid var(--blush-line); background: var(--paper); color: var(--ink);
}
.p-card.in-list { border-color: var(--red-strong); box-shadow: inset 0 0 0 1px var(--red-strong); }
.p-img { aspect-ratio: 5 / 4; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 58%, #FFF0EE 0, #FFFFFF 72%); }
.p-img img { width: 76%; height: 76%; object-fit: contain; transition: transform .2s ease; }
.p-img-emoji { font-size: 2.9rem; line-height: 1; }
.p-img-emoji .mono { font-family: var(--font-display); font-size: 2rem; color: var(--ink-2); }
.p-img-emoji .ic { width: 34px; height: 34px; color: var(--red); }
.p-card[data-cat="greens"] .p-img-emoji, .p-card[data-cat="herbs"] .p-img-emoji { background: #EEF6EF; }
.p-card[data-cat="dry"] .p-img-emoji, .p-card[data-cat="roots"] .p-img-emoji { background: #F7F0E8; }
.p-card[data-cat="extras"] .p-img-emoji { background: #F4F2F1; }
.p-body { display: grid; gap: 1px; padding-inline: 4px; }
.p-name { font-weight: 800; line-height: 1.2; }
.p-sw { font-size: var(--fs-xs); color: var(--muted); }
.p-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 10px;
  border-radius: 999px; border: 1.5px solid var(--red-strong); color: var(--red-ink); font-weight: 800; font-size: 0.875rem;
  font-variant-numeric: tabular-nums; text-align: center; line-height: 1.15;
}
.p-cta .ic { width: 16px; height: 16px; }
.p-cta.is-in { background: var(--red-strong); color: #fff; }
.p-card-custom { border-style: dashed; border-color: #EBC4BF; background: #FFFDFD; }
.p-plate { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; line-height: 1; background: var(--red-tint); overflow: hidden; flex: none; }
.p-plate img { width: 82%; height: 82%; object-fit: contain; }
.empty { padding: 32px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); background: var(--paper); }
.empty b { display: block; color: var(--ink); font-size: var(--fs-lg); margin-bottom: 4px; }

/* the soko list */
.soko-list {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); border-radius: var(--r-lg); background: var(--paper); border: 2px solid var(--red-strong);
  display: grid; max-height: calc(100dvh - 120px); overflow: hidden; box-shadow: var(--shadow-red);
}
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--grad-red); color: #fff; }
.list-head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.list-head span { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.list-body { overflow: auto; padding: 6px 18px; min-height: 120px; }
.list-empty { padding: 24px 0; text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.list-empty b { display: block; color: var(--ink); font-size: var(--fs-md); margin-bottom: 4px; }
.list-group-h { font-size: var(--fs-xs); font-weight: 800; color: var(--red-ink); padding-top: 12px; }
.list-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; }
button.list-line { width: 100%; border: 0; border-bottom: 1px dashed var(--line-strong); background: none; text-align: left; border-radius: 0; }
button.list-line:last-child { border-bottom: 0; }
.list-line .em { font-size: 1.4rem; text-align: center; }
.list-line .nm { font-weight: 700; line-height: 1.25; min-width: 0; }
.list-line .nm small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.list-line .qt { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--red-ink); font-size: var(--fs-sm); text-align: right; }
.list-foot { display: grid; gap: 12px; padding: 16px 18px; border-top: 2px dashed var(--blush-line); background: var(--paper); }
.list-foot .fee-box { padding: 12px 14px; }
.list-clear { justify-self: center; border: 0; background: none; color: var(--muted); font-size: var(--fs-sm); text-decoration: underline; }
.list-bar { position: fixed; z-index: 54; left: 0; right: 0; bottom: var(--bottom-nav-h); padding: 10px var(--gutter-r) 10px var(--gutter-l); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06); display: none; }
.list-bar .btn { width: 100%; justify-content: space-between; }
.list-bar .count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--red-strong); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .shop .soko-list { display: none; }
  .list-bar { display: block; }
  body[data-page="soko"] { padding-bottom: calc(var(--bottom-nav-h) + 76px); }
}
dialog .soko-list { display: grid; position: static; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
dialog .soko-list .list-body { padding-inline: 4px; }
dialog .soko-list .list-foot { padding-inline: 0; }
#listSheet { padding-top: 16px; }
.item-head { display: flex; align-items: center; gap: 16px; }
.item-head .p-plate { width: 76px; height: 76px; font-size: 2.4rem; }
.item-head h2 { font-size: var(--fs-xl); font-weight: 800; line-height: 1.15; }
.item-head p { color: var(--muted); font-size: var(--fs-sm); }
.item-body { display: grid; gap: 18px; margin-top: 18px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-chips .chip { font-variant-numeric: tabular-nums; }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.money .input { padding-left: 52px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 420px) { .qty-row { grid-template-columns: 1fr; } }
.checkout-summary { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--blush); border: 1px solid var(--blush-line); font-size: var(--fs-sm); }
.checkout-summary span { color: var(--ink-2); }

/* =====================================================================
   FORM PAGES
   ===================================================================== */
.form-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; padding-block: 28px 72px; }
.form-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 16px; }
@media (max-width: 1023px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
.aside-card { padding: 22px; border-radius: var(--r-lg); border: 2px solid var(--black); display: grid; gap: 12px; background: var(--paper); }
.summary-card { border-color: var(--red-strong); box-shadow: var(--shadow-red); }
.aside-card h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.aside-card p { font-size: var(--fs-sm); color: var(--ink-2); }
.aside-list { display: grid; gap: 8px; font-size: var(--fs-sm); }
.aside-list li { display: flex; gap: 10px; align-items: flex-start; }
.aside-list .ic { color: var(--red); width: 18px; height: 18px; margin-top: 2px; }
.estimate { display: grid; gap: 6px; }
.estimate .row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.estimate .row b { font-variant-numeric: tabular-nums; text-align: right; }
.estimate .total { font-weight: 800; font-size: var(--fs-lg); border-top: 1px dashed var(--line-strong); padding-top: 8px; margin-top: 4px; }

/* Pick n Drop */
.pd-layout { padding-block: 28px 72px; }
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .ab-grid { grid-template-columns: 1fr; } }
.loc-card .pin-map { height: 220px; }
.loc-card-b { border-color: var(--blush-line); background: linear-gradient(180deg, var(--blush), #fff 140px); }
.price-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: var(--black); color: #fff; }
.price-panel h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.price-panel .estimate .row span { color: rgba(255, 255, 255, 0.82); }
.price-panel .estimate .total { border-top-color: rgba(255, 255, 255, 0.28); }
.price-panel .estimate .total b { color: var(--red); font-size: var(--fs-xl); }
.price-panel .muted { color: rgba(255, 255, 255, 0.6); }
.price-panel .hint { color: rgba(255, 255, 255, 0.66); margin-top: 10px; }
.price-panel-copy { min-width: 0; max-width: 620px; }
@media (max-width: 760px) {
  .price-panel { grid-template-columns: 1fr; position: sticky; bottom: calc(var(--bottom-nav-h) + 8px); z-index: 30; }
  .price-panel .hint { display: none; }
  .price-panel .btn { width: 100%; }
}

/* =====================================================================
   PROS
   ===================================================================== */
.finder { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) 220px auto; margin-top: 24px; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr; } }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 20px 14px; font-size: var(--fs-sm); color: var(--muted); }
.pro-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pro { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--paper); }
.pro-top { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; }
.avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; color: #fff; background: var(--black); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pro h3 { font-size: var(--fs-lg); font-weight: 800; line-height: 1.2; }
.pro-trade { font-weight: 700; color: var(--red-ink); font-size: var(--fs-sm); }
.pro-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: var(--ink-2); }
.pro-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pro-meta .ic { width: 16px; height: 16px; color: var(--muted); }
.pro p { color: var(--ink-2); font-size: var(--fs-sm); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--blush); border: 1px solid var(--blush-line); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.pro-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.pro-invite { text-decoration: none; color: inherit; border-style: dashed; border-color: #EBC4BF; background: var(--blush); justify-content: center; }
.pro-invite > .ic { width: 34px; height: 34px; color: var(--red); }
.pro-invite .btn { align-self: flex-start; }
.sample-tag { align-self: flex-start; justify-self: start; font-size: 0.6875rem; font-weight: 800; color: var(--amber); background: var(--amber-tint); padding: 3px 8px; border-radius: 6px; }
.join-card { display: grid; gap: 20px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1.5px solid var(--blush-line); align-items: start; }
@media (max-width: 860px) { .join-card { grid-template-columns: 1fr; } }

/* =====================================================================
   BUSINESSES
   ===================================================================== */
.biz-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.biz { display: grid; border-radius: var(--r-lg); border: 1.5px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; background: var(--paper); }
.biz-cover { --c: var(--black); height: 96px; background: var(--c); position: relative; }
.biz-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px); background-size: 16px 16px; }
.biz-logo { width: 72px; height: 72px; border-radius: 18px; margin: -40px 0 0 18px; position: relative; z-index: 1; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--paper); box-shadow: var(--shadow-sm); font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); overflow: hidden; }
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-body { display: grid; gap: 8px; padding: 12px 18px 20px; }
.biz-body h3 { font-size: var(--fs-lg); font-weight: 800; line-height: 1.2; }
.biz-cat { font-size: var(--fs-sm); font-weight: 700; color: var(--red-ink); }
.biz-body p { font-size: var(--fs-sm); color: var(--ink-2); }
.biz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
.biz-foot b { color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.biz-hero { --c: var(--black); background: var(--c); color: #fff; position: relative; }
.biz-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px); background-size: 18px 18px; pointer-events: none; }
.biz-hero .wrap { position: relative; z-index: 1; padding-block: 28px 36px; display: grid; gap: 18px; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.biz-hero .biz-logo { margin: 0; width: 96px; height: 96px; font-size: 2.2rem; border-radius: 24px; }
.biz-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.biz-hero p { color: rgba(255, 255, 255, 0.86); max-width: 60ch; }
.biz-hero .pro-meta { color: rgba(255, 255, 255, 0.86); }
.biz-hero .pro-meta .ic { color: rgba(255, 255, 255, 0.7); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; grid-column: 1 / -1; }
.back-link .ic { transform: rotate(180deg); width: 18px; height: 18px; }
@media (max-width: 560px) { .biz-hero .wrap { grid-template-columns: 1fr; } .biz-hero .biz-logo { width: 76px; height: 76px; } }
.item-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.b-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--paper); }
.b-item.in-order { border-color: var(--red-strong); box-shadow: inset 0 0 0 1px var(--red-strong); }
.b-item .p-plate { width: 56px; height: 56px; font-size: 1.8rem; }
.b-item h3 { font-weight: 800; font-size: var(--fs-md); line-height: 1.2; }
.b-item small { color: var(--muted); font-size: var(--fs-xs); display: block; }
.b-item .price { display: block; font-weight: 800; font-size: var(--fs-sm); }
.b-item .stepper { grid-template-columns: 38px 40px 38px; margin-top: 8px; }
.b-item .stepper button { height: 36px; }
.b-item .stepper output { font-size: var(--fs-md); }
.b-item .add-btn { margin-top: 8px; min-height: 36px; padding: 6px 14px; }
.order-panel { display: grid; gap: 16px; }

/* =====================================================================
   PARTNER
   ===================================================================== */
.roles { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.role { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--blush); border: 1.5px solid var(--blush-line); }
.role .ic { width: 36px; height: 36px; color: var(--red); }
.role h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.role p { color: var(--ink-2); }
@media (max-width: 640px) { .roles { grid-template-columns: 1fr; } }
.partner-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-hero { background: var(--black); color: #fff; }
.partner-hero .page-hero { border-bottom: 0; }
.partner-hero .lede { color: #D3CDCC; }

.not-found { text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: 80px; }
.not-found img { width: 180px; }

/* =====================================================================
   HOVER: every interactive element turns red (mouse and trackpad only)
   ===================================================================== */
@media (hover: hover) {
  .btn:hover { --bg: var(--red-strong); --bd: var(--red-strong); --fg: #fff; box-shadow: var(--ring-red); }
  .btn-red:hover { --bg: var(--red-deep); --bd: var(--red-deep); }
  .btn-light:hover, .slide-red .btn:hover, .page-hero-red .btn:hover { --bg: var(--black); --bd: var(--black); --fg: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28); }
  .icon-btn:not(:disabled):hover { border-color: var(--red-strong); color: var(--red-ink); background: var(--red-tint); }
  .main-nav a:hover { color: var(--red-ink); background: var(--red-tint); }
  .cart-pill:hover { background: var(--red-strong); color: #fff; }
  .brand:hover img { transform: rotate(-3deg); transition: transform .2s ease; }
  .bottom-nav a:hover, .bottom-nav button:hover { color: var(--red-ink); }
  .menu-list a:hover { background: var(--red-tint); color: var(--red-ink); }
  .wa-fab:hover { background: var(--red-strong); box-shadow: 0 8px 24px rgba(224, 30, 38, 0.4); }
  .text-link:hover { color: var(--red); text-decoration-thickness: 3px; }
  .footer-links a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
  .footer-base .credit a:hover { color: var(--black); }
  .social a:hover { background: #fff; color: var(--red-strong); border-color: #fff; }
  .chip:not([aria-pressed="true"]):hover { border-color: var(--red-strong); color: var(--red-ink); background: var(--red-tint); }
  .chip[aria-pressed="true"]:hover { background: var(--red-deep); border-color: var(--red-deep); }
  .choice:hover input:not(:checked) + span { border-color: var(--red-strong); color: var(--red-ink); background: var(--red-tint); }
  .tile:hover input:not(:checked) + span { border-color: var(--red-strong); background: var(--red-tint); }
  .check:hover { color: var(--red-ink); }
  .input:hover, .select:hover, .textarea:hover { border-color: var(--red); }
  .segmented button:not([aria-pressed="true"]):hover { color: var(--red-ink); background: var(--red-tint); }
  .stepper button:hover { background: var(--red-tint); color: var(--red-ink); }
  .steps-bar button:not(:disabled):not([aria-current="step"]):hover { border-color: var(--red-strong); color: var(--red-ink); }
  .pin-results button:hover { background: var(--red-tint); color: var(--red-ink); }
  .pin-optional summary:hover, .pin-status a:hover { color: var(--red); text-decoration: underline; }
  .p-card:hover { border-color: var(--red-strong); box-shadow: var(--shadow-red); transform: translateY(-2px); }
  .p-card:hover .p-cta { background: var(--red-strong); color: #fff; }
  .p-card:hover .p-img img { transform: scale(1.06); }
  button.list-line:hover .nm { color: var(--red-ink); text-decoration: underline; }
  .list-clear:hover { color: var(--red-ink); }
  .biz:hover, .pro-invite:hover, .disc:hover { border-color: var(--red-strong); box-shadow: var(--shadow-red); }
  .biz:hover h3, .disc:hover h3 { color: var(--red-ink); }
  .b-item:hover { border-color: var(--red); }
  .faq summary:hover { color: var(--red-ink); }
  .car-dots button:not([aria-current="true"]):hover { background: var(--red); }
  .back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
}

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