:root {
  --brand: #06C167;
  --brand-dark: #05A356;
  --brand-soft: #E6F7EF;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --text: #0B0B0B;
  --muted: #6B6B6B;
  --border: #E8E8E8;
  --green: #06C167;
  --cta: #0B0B0B;
  --cta-dark: #000000;
  --gold: #F6A700;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(28, 25, 23, 0.06), 0 8px 24px rgba(28, 25, 23, 0.06);
  --shadow-lift: 0 6px 16px rgba(28, 25, 23, 0.10), 0 16px 40px rgba(28, 25, 23, 0.10);
  --ops-bg: #0e1116;
  --ops-land: #1b222d;
  --ops-border: #34404f;
  --ops-grid: #161c25;
  --ops-text: #c9d2de;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 900; font-size: 1.35rem; color: var(--brand); text-decoration: none; letter-spacing: -0.02em; }
.loc-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--text);
  font-size: 0.9rem; max-width: 50vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.loc-pill-label { color: var(--muted); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--cta); color: #fff; font-weight: 800;
  transition: transform 0.12s ease;
}
.cart-btn:active { transform: scale(0.96); }
.cart-btn-icon svg { width: 22px; height: 22px; display: block; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: #fff; color: var(--cta); font-size: 0.8rem; font-weight: 900;
  display: grid; place-items: center;
}
.badge.bump { animation: bump 0.35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

main { max-width: 1120px; margin: 0 auto; padding: 24px 16px 80px; }
.view { animation: fadein 0.25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--cta); color: #fff; font-weight: 800;
  padding: 12px 20px; border-radius: 999px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn-primary:hover { background: var(--cta-dark); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { background: #D4D4D4; cursor: not-allowed; }
.btn-xl { width: 100%; padding: 16px 20px; font-size: 1.1rem; }
.btn-ghost { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-link { color: var(--brand); font-weight: 700; padding: 0; }
.fineprint { color: var(--muted); font-size: 0.8rem; text-align: center; margin-top: 10px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 800; color: var(--brand); }

/* ---------- Landing ---------- */
.view-landing { display: grid; gap: 24px; }
.landing-hero { display: grid; gap: 10px; max-width: 640px; }
.lede { color: var(--muted); font-size: 1.05rem; }
.address-bar { display: flex; gap: 8px; margin-top: 8px; }
.address-bar input {
  flex: 1; padding: 14px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--card); outline: none;
}
.address-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.address-bar button { padding: 0 22px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 800; }
.address-result {
  padding: 14px 16px; border-radius: var(--radius); background: var(--card);
  border: 1.5px solid var(--border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.address-result strong { font-weight: 800; }
.address-result .btn-ghost { margin-left: auto; }

.map-wrap { position: relative; border-radius: 20px; overflow: hidden; background: var(--ops-bg); box-shadow: var(--shadow); }
.map { display: block; width: 100%; aspect-ratio: 9 / 5; }
.map-grid line { stroke: var(--ops-grid); stroke-width: 1; }
.map-land { fill: var(--ops-land); }
.map-borders { fill: none; stroke: var(--ops-border); stroke-width: 1.2; }
.pin { cursor: pointer; }
.pin-pulse { fill: none; stroke: var(--brand); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pin:nth-child(odd) .pin-pulse { animation-delay: -1s; }
@keyframes pulse { 0% { transform: scale(0.45); opacity: 0.55; } 100% { transform: scale(1.75); opacity: 0; } }
.pin-dot { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.pin-hit { fill: transparent; stroke: none; }
.pin-leader { stroke: var(--ops-border); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: 0.85; }
.pin-dot.displaced { stroke-dasharray: none; }
.pin-label { fill: var(--ops-text); font-size: 15px; font-weight: 700; paint-order: stroke; stroke: var(--ops-bg); stroke-width: 4px; pointer-events: none; }
.pin:hover .pin-dot, .pin.selected .pin-dot { r: 8; }
.pin:focus { outline: none; }
.pin:focus .pin-dot { stroke: var(--gold); }
.map-card {
  position: absolute; left: 16px; bottom: 16px; max-width: 300px;
  background: rgba(255,255,255,0.96); color: var(--text);
  padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-lift);
  font-size: 0.9rem; pointer-events: none;
}
.map-card strong { display: block; font-size: 1rem; }
.map-card .muted { color: var(--muted); }

.served h2, .soon h2 { margin-bottom: 12px; }
.served-list, .soon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.served-card {
  text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--card);
  border: 1.5px solid var(--border); display: grid; gap: 2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.served-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.served-card strong { font-weight: 800; }
.served-card .muted { color: var(--muted); font-size: 0.85rem; }
.badge-tag { display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); width: max-content; }
.badge-tag.green { background: var(--brand); color: #fff; }
.soon-card { padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--border); color: var(--muted); display: grid; gap: 2px; }
.soon-card strong { color: var(--text); opacity: 0.6; }
.soon .btn-ghost { margin-top: 12px; }

/* ---------- Store ---------- */
.store-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.store-banner .banner-icon { color: var(--brand); }
.store-banner .banner-icon svg { width: 28px; height: 28px; display: block; }
.store-banner strong { font-size: 1.1rem; }
.store-banner .muted { color: var(--muted); font-size: 0.9rem; }
.store-banner .btn-link { margin-left: auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--border); font-weight: 700; }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease; position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.card-icon svg { width: 32px; height: 32px; }
.card-media { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--brand-soft); margin-bottom: 10px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media-fallback { display: none; position: absolute; inset: 0; place-items: center; color: var(--brand); }
.card-media-fallback svg { width: 44px; height: 44px; }
.card-media.no-photo .card-media-fallback { display: grid; }
.sheet .card-media { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.card.bundle .card-media { background: var(--brand); }
/* The fallback icon inherits color: var(--brand), which on a bundle card is also the
   media background — a green icon on a green box reads as nothing. Mirror the
   .card.bundle .card-icon treatment so a failed bundle photo still shows something. */
.card.bundle .card-media-fallback { color: #fff; }
.card-name { font-size: 1rem; line-height: 1.25; margin-top: 4px; }
.card-spec { color: var(--muted); font-size: 0.85rem; }
.card-meta { font-size: 0.78rem; font-weight: 700; color: var(--green); }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--muted); }
.card-rating .star { color: var(--gold); }
.card-rating .star svg { width: 13px; height: 13px; display: block; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 8px; }
.price { font-weight: 900; font-size: 1.05rem; }
.price small { font-weight: 600; color: var(--muted); font-size: 0.75rem; margin-left: 2px; }
.btn-add {
  width: 38px; height: 38px; border-radius: 999px; background: var(--cta); color: #fff;
  font-size: 1.4rem; font-weight: 800; line-height: 1; display: grid; place-items: center;
  transition: transform 0.12s ease;
}
.btn-add:active { transform: scale(0.9); }
.stepper { display: inline-flex; align-items: center; background: var(--cta); color: #fff; border-radius: 999px; height: 38px; }
.stepper-btn { width: 36px; height: 38px; color: #fff; font-size: 1.2rem; font-weight: 800; display: grid; place-items: center; }
.stepper-qty { min-width: 34px; text-align: center; font-weight: 800; font-size: 0.9rem; }
.card.unavailable { opacity: 0.55; cursor: default; }
.card.unavailable:hover { transform: none; box-shadow: var(--shadow); }
.card.unavailable .card-foot { color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.card.unavailable .card-foot > span:last-child { text-align: right; flex: 0 0 auto; max-width: 46%; line-height: 1.2; }
.card.bundle { background: linear-gradient(160deg, #fff, var(--brand-soft)); }
.card.bundle .card-icon { background: var(--brand); color: #fff; }
.bundle-save { position: absolute; z-index: 2; top: 12px; right: 12px; background: var(--green); color: #fff; font-weight: 900; font-size: 0.72rem; padding: 4px 8px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.bundle-was { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: 0.85rem; margin-right: 6px; }
.bundle-items { color: var(--muted); font-size: 0.8rem; }

/* ---------- Sheet (product detail) ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(28,25,23,0.45); z-index: 30; animation: fadein 0.2s ease; }
.sheet {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--card); border-radius: 22px 22px 0 0; padding: 22px 22px 32px;
  z-index: 31; box-shadow: var(--shadow-lift); animation: rise 0.25s ease;
}
@keyframes rise { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.sheet-close { position: absolute; top: 12px; right: 12px; }
.sheet .card-icon { width: 72px; height: 72px; }
.sheet .card-icon svg { width: 42px; height: 42px; }
.sheet h2 { font-size: 1.4rem; margin-top: 12px; }
.sheet .spec-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 4px; color: var(--muted); font-size: 0.92rem; }
.sheet .spec-list li strong { color: var(--text); }
.sheet .price { font-size: 1.5rem; }
.sheet .reviews { margin-top: 18px; display: grid; gap: 12px; }
.review { padding: 12px 14px; background: var(--bg); border-radius: 12px; display: grid; gap: 4px; }
.review .stars { display: flex; gap: 2px; color: var(--gold); }
.review .stars svg { width: 14px; height: 14px; }
.review .sig { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.sheet .sheet-add { margin-top: 18px; }
.also { margin-top: 18px; }
.also h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.also-row { display: flex; gap: 8px; overflow-x: auto; }
.also-chip { flex: 0 0 auto; padding: 8px 12px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--border); font-size: 0.85rem; font-weight: 700; text-align: left; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--card); z-index: 31; box-shadow: var(--shadow-lift);
  padding: 18px 18px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
  animation: slidein 0.25s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-empty { color: var(--muted); padding: 20px 0; text-align: center; }
.drawer-items { display: grid; gap: 10px; }
.line { display: flex; align-items: center; gap: 12px; }
.line-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.line-icon svg { width: 26px; height: 26px; }
.line-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.line-name { font-weight: 800; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-sub { color: var(--muted); font-size: 0.8rem; }
.line-price { font-weight: 800; font-size: 0.9rem; text-align: right; }
.line .stepper { height: 32px; }
.line .stepper-btn { width: 30px; height: 32px; font-size: 1rem; }
.line-remove { color: var(--muted); font-size: 0.75rem; font-weight: 700; padding: 0; }
.drawer-row-label { font-weight: 800; display: flex; flex-direction: column; }
.drawer-row-label small { color: var(--muted); font-weight: 600; }
.tip-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.tip-chip { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; font-size: 0.85rem; }
.tip-chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.promo { display: flex; gap: 6px; }
.promo input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--border); text-transform: uppercase; }
.promo button { padding: 0 16px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 800; }
.promo-msg { font-size: 0.85rem; font-weight: 700; color: var(--green); }
.promo-msg.bad { color: var(--brand); }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.92rem; }
.summary dt { color: var(--muted); }
.summary dt small { display: block; font-size: 0.72rem; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total { color: var(--text); font-weight: 900; font-size: 1.1rem; padding-top: 6px; }
.drawer-delivery { color: var(--muted); font-size: 0.85rem; }
.drawer .btn-xl { margin-top: auto; }

/* ---------- Checkout ---------- */
.view-checkout { max-width: 640px; margin: 0 auto; display: grid; gap: 22px; }
.co-section { display: grid; gap: 10px; }
.co-location { padding: 14px 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.co-location .muted { color: var(--muted); font-size: 0.85rem; }
.co-location .btn-link { margin-left: auto; }
.tiles { display: grid; gap: 10px; }
.tile {
  text-align: left; padding: 14px 16px; background: var(--card); border-radius: var(--radius);
  border: 2px solid var(--border); display: grid; gap: 2px; transition: border-color 0.12s ease, transform 0.12s ease;
}
.tile:hover { transform: translateY(-1px); }
.tile.active { border-color: var(--brand); background: var(--brand-soft); }
.tile:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.tile strong { font-weight: 800; }
.tile .muted { color: var(--muted); font-size: 0.85rem; }
.tile input[type="date"] { margin-top: 6px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; }
label.tile { cursor: default; }
.co-summary { display: grid; gap: 6px; padding: 12px 16px; background: var(--card); border-radius: var(--radius); font-size: 0.9rem; }
.co-summary .row { display: flex; justify-content: space-between; gap: 12px; }
.co-summary .row.total { font-weight: 900; border-top: 1px solid var(--border); padding-top: 6px; margin-top: 4px; }
.co-footer { display: grid; gap: 10px; padding: 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.co-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.co-total strong { font-weight: 900; }

/* ---------- Confirmation ---------- */
.view-confirm { max-width: 560px; margin: 0 auto; display: grid; gap: 22px; text-align: center; }
.confirm-hero { display: grid; gap: 8px; justify-items: center; }
.confirm-check { width: 84px; height: 84px; border-radius: 999px; background: var(--green); color: #fff; display: grid; place-items: center; animation: popin 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.confirm-check svg { width: 46px; height: 46px; stroke-width: 3; }
@keyframes popin { 0% { transform: scale(0); } 60% { transform: scale(1.15) rotate(-6deg); } 100% { transform: scale(1); } }
.confirm-sub { color: var(--muted); }
.confirm-total { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.03em; margin-top: 6px; }
.route-wrap { border-radius: var(--radius); overflow: hidden; background: var(--ops-bg); box-shadow: var(--shadow); }
.route-head { padding: 14px 18px 0; color: #fff; font-weight: 800; font-size: 1.05rem; text-align: left; }
.route-head strong { color: var(--brand); }
.route-map { display: block; width: 100%; aspect-ratio: 50 / 23; }
.route-land { fill: #232c3a; stroke: #46566b; stroke-width: 1; }
.route-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 7 6; opacity: 0.85; }
.route-pin circle { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.route-pin text { fill: var(--ops-text); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--ops-bg); stroke-width: 4px; }
.route-dest-ring { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.route-marker-halo { fill: var(--brand); opacity: 0.22; }
.route-marker-glyph { color: #fff; }

.tracker { list-style: none; margin: 0; padding: 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; text-align: left; }
.tracker-step { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.tracker-step .dot { width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--border); display: grid; place-items: center; flex: 0 0 auto; background: var(--card); }
.tracker-step .dot svg { width: 14px; height: 14px; stroke-width: 3; }
.tracker-step.done { color: var(--text); }
.tracker-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.tracker-step.current { color: var(--text); font-weight: 800; }
.tracker-step.current .dot { border-color: var(--brand); animation: ring 1.2s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0.5); } 50% { box-shadow: 0 0 0 8px rgba(255,90,60,0); } }
.tracker-step .when { margin-left: auto; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.rate-card { padding: 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: center; animation: fadein 0.3s ease; }
.rate-stars { display: flex; gap: 6px; }
.rate-stars .star { color: var(--border); transition: transform 0.12s ease, color 0.12s ease; }
.rate-stars .star svg { width: 34px; height: 34px; display: block; }
.rate-stars .star.on { color: var(--gold); transform: scale(1.1); }
.lifetime { color: var(--muted); font-weight: 700; }
.report-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; overflow: hidden; animation: fadein 0.35s ease; }
.report-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--muted); }
.report-order { letter-spacing: 0.04em; }
.report-body { display: flex; gap: 14px; align-items: center; padding: 18px; }
.report-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.report-avatar svg { width: 26px; height: 26px; }
.report-note { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.report-foot { padding: 0 18px 16px; color: var(--muted); font-size: 0.8rem; }
.report-foot a { color: var(--brand); font-weight: 700; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Toast, confetti, footer ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; z-index: 50; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lift);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.cart-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; display: none;
  align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
  background: var(--cta); color: #fff; font-weight: 800; box-shadow: var(--shadow-lift); }
.cart-bar-count { background: rgba(255,255,255,0.25); border-radius: 8px; padding: 2px 9px; }
.cart-bar-total { margin-left: auto; }
.site-footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 24px 16px 40px; }
.site-footer a { color: var(--muted); }

/* ---------- Sources page ---------- */
.sources { max-width: 960px; margin: 0 auto; padding: 32px 16px 80px; display: grid; gap: 20px; }
.sources .colophon { max-width: 640px; color: var(--muted); display: grid; gap: 10px; }
.sources .colophon strong { color: var(--text); }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.sources table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.sources th, .sources td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.sources th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.sources td.num { text-align: right; white-space: nowrap; font-weight: 700; }
.sources td.note { color: var(--muted); font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  .loc-pill { max-width: 40vw; }
  .loc-pill-label { display: none; }
  .cart-btn { padding: 8px 12px; }
  .drawer { width: 100%; }
  .sheet { border-radius: 22px 22px 0 0; }
  .map { aspect-ratio: 6 / 5; }
  .pin-label { font-size: 18px; }
  .cart-bar:not([hidden]) { display: flex; }
  main { padding-bottom: 96px; }
}
