/* Layout: white header (logo · wide search · bag) + link row; warm cream page; rounded banner hero;
   red accent-bar section heads; cream product cards with red Save pills and a dark Order pill */
:root {
  --bg: #fbf6ef;          /* warm cream page */
  --surface: #ffffff;
  --card: #fffaf4;        /* product card body */
  --tile: #f6ebdd;        /* soft beige tiles / image ground */
  --ink: #1c1a18;
  --muted: #6d655c;
  --line: #ecdfcf;
  --red: #e2412b;         /* sale + accent bar (Hey Buyer) */
  --on-red: #ffffff;
  --amber: #f3a72c;       /* highlight button (WishingGoat) */
  --on-amber: #2a1a00;
  --mint: #e7f4ea;        /* price tiles */
  --mint-ink: #237a46;
  --dark: #1c1a18;        /* Buy-now pill */
  --on-dark: #ffffff;
  --wa: #1a9e55;
  --on-wa: #ffffff;
  --brand: #e2412b;
  --grad-red: linear-gradient(135deg, #d8321f 0%, #e2412b 45%, #ef6a2a 100%);   /* red → orange */
  --grad-amber: linear-gradient(135deg, #f19a1f 0%, #f6b73f 100%);
  --open: #1f8a4c;
  --closed: #c4321f;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 10px 26px rgba(60, 40, 20, .08);
  --display: "Archivo", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151311; --surface: #1d1a17; --card: #221e1a; --tile: #2b2520; --ink: #f3ece4; --muted: #b0a598;
    --line: #362f28; --red: #ff6a52; --on-red: #2a0800; --amber: #f6b84a; --on-amber: #241600;
    --mint: #1d2e23; --mint-ink: #7fd6a0; --dark: #f3ece4; --on-dark: #1c1a18; --wa: #2bc06c; --on-wa: #062012;
    --brand: #ff6a52; --open: #5fd394; --closed: #ff8070;
    --grad-red: linear-gradient(135deg, #ff5d48 0%, #ff8a4c 100%); --grad-amber: linear-gradient(135deg, #f6b84a 0%, #f9d077 100%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151311; --surface: #1d1a17; --card: #221e1a; --tile: #2b2520; --ink: #f3ece4; --muted: #b0a598;
  --line: #362f28; --red: #ff6a52; --on-red: #2a0800; --amber: #f6b84a; --on-amber: #241600;
  --mint: #1d2e23; --mint-ink: #7fd6a0; --dark: #f3ece4; --on-dark: #1c1a18; --wa: #2bc06c; --on-wa: #062012;
  --brand: #ff6a52; --open: #5fd394; --closed: #ff8070;
  --grad-red: linear-gradient(135deg, #ff5d48 0%, #ff8a4c 100%); --grad-amber: linear-gradient(135deg, #f6b84a 0%, #f9d077 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.price, .num { font-variant-numeric: tabular-nums; }
.ic, .wa-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, #fbd9b0, #fde7cc 50%, #fbd9b0); color: #3a2410; overflow: hidden; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
:root[data-theme="dark"] .announce { background: #2b2118; color: #f6dcbc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .announce { background: #2b2118; color: #f6dcbc; } }
.announce-track { display: inline-flex; gap: 36px; padding-block: 8px; animation: marquee 40s linear infinite; }
.announce-track span::after { content: "✦"; margin-left: 36px; color: var(--red); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; padding-block: 14px 8px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--red); color: var(--on-red);
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: -.02em;
}
.logo-text { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.logo-text small { display: block; font-family: var(--body); font-weight: 600; font-size: 10.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.search { flex: 1; display: flex; min-width: 0; max-width: 620px; }
.search input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-right: 0; background: var(--surface);
  border-radius: 10px 0 0 10px; padding: 11px 16px; outline: none; font-size: 15px;
}
.search input:focus { border-color: var(--ink); }
.search button { border: 0; background: var(--red); color: var(--on-red); width: 52px; border-radius: 0 10px 10px 0; display: grid; place-items: center; }
.search button svg { width: 20px; height: 20px; }
.bag-btn { position: relative; margin-left: auto; border: 0; background: transparent; padding: 6px; flex-shrink: 0; }
.bag-btn svg { width: 30px; height: 30px; }
.bag-count {
  position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: var(--on-red);
  font-size: 11.5px; display: grid; place-items: center; padding: 0 5px; font-weight: 700; border: 2px solid var(--surface);
}
.nav { display: flex; gap: 6px; padding-block: 2px 10px; }
.nav a { padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav a:hover { background: var(--tile); }
.nav a.active { color: var(--red); }
.mobile-nav { display: none; }
@media (max-width: 820px) {
  .nav { display: none; }
  .header-row { flex-wrap: wrap; gap: 10px 14px; padding-block: 10px 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .logo-text small { display: none; }
  .mobile-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--surface); border-top: 1px solid var(--line);
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  }
  .mobile-nav a { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 4px 0; border-radius: 10px; }
  .mobile-nav a span { display: block; font-size: 20px; line-height: 1.25; }
  .mobile-nav a.active { color: var(--red); background: var(--tile); }
  main { padding-bottom: 78px; }
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: 15px; line-height: 1.1; transition: transform .12s ease, filter .12s ease, background .12s;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: scale(.97); }
.btn-dark, .btn-brand { background: var(--dark); color: var(--on-dark); }
.btn-accent { background: var(--amber); color: var(--on-amber); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-wa { background: var(--wa); color: var(--on-wa); }
.btn-line, .btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 14px; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag-open { color: var(--open); background: color-mix(in srgb, var(--open) 12%, transparent); }
.tag-closed { color: var(--closed); background: color-mix(in srgb, var(--closed) 12%, transparent); }
.tag-ver { color: #2160c4; background: color-mix(in srgb, #2160c4 12%, transparent); }
.tag-del { color: var(--muted); background: var(--tile); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Sections ---------- */
section.block { padding-block: 40px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sec-head h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 34px); }
.sec-head h2::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--red); margin-bottom: 12px; }
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.sec-head .more { font-weight: 700; font-size: 14.5px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.sec-head .more:hover { color: var(--red); }
.eyebrow, .hero-kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--red); }

/* ---------- Hero banner ---------- */
.hero-wrap { padding-block: 22px 8px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 26px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
  padding: clamp(26px, 4vw, 52px);
  background:
    radial-gradient(circle at 92% 8%, rgba(243, 167, 44, .35), transparent 38%),
    radial-gradient(circle at 6% 100%, rgba(226, 65, 43, .14), transparent 40%),
    linear-gradient(135deg, #fdecd6, #fbe1c4);
}
:root[data-theme="dark"] .hero-card { background: radial-gradient(circle at 92% 8%, rgba(243,167,44,.22), transparent 40%), linear-gradient(135deg, #2c2219, #241b14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-card { background: radial-gradient(circle at 92% 8%, rgba(243,167,44,.22), transparent 40%), linear-gradient(135deg, #2c2219, #241b14); } }
.hero-card::after { /* string of festive dots */
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 10px; opacity: .55;
  background-image: radial-gradient(circle, var(--amber) 3px, transparent 3.5px); background-size: 34px 10px;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 { font-weight: 900; font-size: clamp(34px, 4.8vw, 54px); margin: 12px 0 16px; color: #3b1b0e; }
.hero-copy h1 span { color: var(--red); }
:root[data-theme="dark"] .hero-copy h1 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-copy h1 { color: var(--ink); } }
.hero-copy .lead { font-size: 17px; color: var(--muted); max-width: 48ch; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.demo-note { margin: 10px 4px 0; font-size: 12.5px; color: var(--muted); }
.hero-art { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; min-height: 330px; }
.hero-tile { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); transition: transform .2s; }
.hero-tile:hover { transform: translateY(-3px) rotate(-.4deg); }
.hero-tile.t0 { grid-row: span 2; }
.hero-tile .pimg { position: absolute; inset: 0; aspect-ratio: auto; }
.hero-tile .badge-new { display: none; }
.ht-label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; background: rgba(255, 255, 255, .92); color: #1c1a18;
  border-radius: 12px; padding: 7px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.25;
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
}
.ht-label b { color: var(--red); white-space: nowrap; }
@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-art { min-height: 250px; }
}
@media (max-width: 460px) { .hero-art { min-height: 210px; gap: 10px; } .ht-label { font-size: 11.5px; } }

/* ---------- Area strip ---------- */
.area-strip { padding-top: 18px; }
.area-strip .wrap { display: flex; align-items: center; gap: 12px; }
.area-strip label { font-weight: 700; white-space: nowrap; font-size: 14px; }

/* ---------- Categories (round tiles) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.cat {
  background: var(--tile); border-radius: 22px; padding: 14px 8px 14px; text-align: center; transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-ico {
  width: 92%; max-width: 124px; aspect-ratio: 1; margin-bottom: 6px; display: grid; place-items: center; font-size: clamp(30px, 3.4vw, 42px);
}
.cat b { font-size: 14px; line-height: 1.25; }
.cat span { font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cat-grid { gap: 8px; } .cat { border-radius: 16px; padding: 10px 4px; } .cat b { font-size: 12.5px; } }

/* ---------- Price tiles ---------- */
.price-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ptile {
  background: var(--mint); border-radius: 18px; padding: 26px 14px 14px; text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 14px;
}
.ptile-ico {
  position: absolute; top: -16px; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 4px var(--bg);
}
.ptile small { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--mint-ink); }
.ptile b { font-family: var(--display); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ptile-go { margin-top: 10px; width: 100%; background: var(--surface); border-radius: 10px; padding: 7px; font-size: 13px; font-weight: 700; }
.ptile:hover .ptile-go { background: var(--dark); color: var(--on-dark); }
@media (max-width: 700px) { .price-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; } /* cards in a row share the tallest height; .pfoot sits at the bottom */
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 8px;
  display: flex; flex-direction: column; min-width: 0; transition: box-shadow .18s, transform .18s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pimg { position: relative; aspect-ratio: 1 / 1; background: var(--tile); display: grid; place-items: center; overflow: hidden; border-radius: 13px; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard:hover .pimg img { transform: scale(1.04); }
.pimg .ico { font-size: clamp(46px, 8vw, 66px); filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.pimg .tint { position: absolute; inset: 0; opacity: .1; }
.badge-off {
  position: absolute; top: 9px; right: 9px; z-index: 2; background: var(--red); color: var(--on-red); font-weight: 700;
  font-size: 12px; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(226, 65, 43, .35);
}
.badge-new { position: absolute; top: 9px; left: 9px; z-index: 2; background: #2f7d4a; color: #fff; font-weight: 800; font-size: 11px; padding: 4px 9px; border-radius: 6px; letter-spacing: .06em; }
.pbody { padding: 12px 6px 4px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pshop { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.pshop:hover { color: var(--red); }
.pname { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prow { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.prow .price { font-weight: 800; font-size: 17px; color: var(--red); }
.prow s, .prow s.price { color: var(--muted); font-size: 13px; font-weight: 500; }
.prow .unit { font-size: 12px; color: var(--muted); }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pprice { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pprice > .price { font-weight: 800; font-size: 18px; color: var(--red); }
.psub { font-size: 12px; color: var(--muted); white-space: nowrap; }
.psub s.price { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pfoot .btn-order { padding: 10px 16px; font-size: 14px; flex-shrink: 0; }
@media (max-width: 420px) { .pfoot { gap: 6px; } .pprice > .price { font-size: 16px; } .pfoot .btn-order { padding: 9px 12px; font-size: 13px; gap: 5px; } }
.btn-order { background: var(--dark); color: var(--on-dark); }
.btn-order .wa-icon { width: 15px; height: 15px; color: #39d17a; }

/* ---------- Shop cards ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sgrid { grid-template-columns: 1fr; } }
.scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; min-width: 0;
}
.scard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.scover { height: 78px; position: relative; }
.scover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 22px, transparent 22px 44px); }
.savatar {
  width: 62px; height: 62px; border-radius: 18px; border: 4px solid var(--surface); color: #fff; z-index: 1;
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 26px; position: absolute; left: 14px; bottom: -30px;
}
.sbody { padding: 38px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.sbody h3 { font-size: 18px; font-weight: 800; }
.smeta { font-size: 14px; color: var(--muted); }
.stags { display: flex; gap: 6px; flex-wrap: wrap; }
.sfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 600; }
.sfoot b { color: var(--red); }

/* ---------- Spotlight ---------- */
.spot { background: var(--tile); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; }
.spot-left { padding: 36px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.spot-left h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); }
.spot-left p { margin: 0; color: var(--muted); }
.spot-left ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.spot-left li::before { content: "✓  "; color: var(--red); font-weight: 800; }
.spot-right .pimg { aspect-ratio: 4 / 3; }
.spot-right { padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .spot { grid-template-columns: 1fr; } .spot-left { padding: 26px 20px 6px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--red); color: var(--on-red); font-family: var(--display); font-weight: 900; margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Promo banner ---------- */
.promo {
  border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: linear-gradient(120deg, #f5ece0 0%, #efe2d0 100%);
}
:root[data-theme="dark"] .promo { background: linear-gradient(120deg, #241f1a, #2b241d); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promo { background: linear-gradient(120deg, #241f1a, #2b241d); } }
.promo-copy { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); color: #24402f; letter-spacing: -.02em; }
:root[data-theme="dark"] .promo-copy h2 { color: #bfe3c9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promo-copy h2 { color: #bfe3c9; } }
.promo-copy p { margin: 0; color: var(--muted); max-width: 42ch; }
.promo-art { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 30px; min-height: 240px; }
.awning {
  height: 46px; border-radius: 14px 14px 4px 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 30px, #fff6ea 30px 60px);
  -webkit-mask: radial-gradient(circle at 15px 46px, transparent 14px, #000 14.5px) 0 0 / 30px 100%;
          mask: radial-gradient(circle at 15px 46px, transparent 14px, #000 14.5px) 0 0 / 30px 100%;
}
.stall { background: var(--surface); border-radius: 0 0 18px 18px; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; box-shadow: var(--shadow); }
.stall span { aspect-ratio: 1; display: grid; place-items: center; font-size: clamp(26px, 3.4vw, 38px); background: var(--tile); border-radius: 14px; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .promo-art { padding: 0 20px 24px; min-height: 0; } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 14.5px; }
.trust span { font-size: 22px; width: 44px; height: 44px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust div { padding: 12px; font-size: 13.5px; } .trust span { width: 36px; height: 36px; font-size: 18px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Page header / filters ---------- */
.page-head { padding-block: 30px 6px; }
.page-head h1 { font-weight: 900; font-size: clamp(30px, 4vw, 42px); }
.page-head h1::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--red); margin-bottom: 12px; }
.page-head .eyebrow + h1::before { margin-top: 10px; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.filters { display: grid; gap: 10px; margin: 18px 0 20px; }
.filter-row { display: flex; gap: 10px; align-items: center; min-width: 0; }
.filter-row > label { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; min-width: 68px; text-transform: uppercase; letter-spacing: .08em; }
.filter-row .chips { flex: 1; min-width: 0; }
.select { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Shop profile ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.shop-hero { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-top: 12px; }
.shop-cover { height: 140px; position: relative; }
.shop-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 30px, transparent 30px 60px); }
.shop-info { padding: 0 24px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: end; }
.shop-ava {
  width: 100px; height: 100px; border-radius: 26px; border: 5px solid var(--surface); margin-top: -50px; position: relative; z-index: 1;
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 42px; color: #fff;
}
.shop-info h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; }
.shop-info .owner { color: var(--muted); }
.shop-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.shop-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.panel h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.panel p { margin: 0; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .shop-info { grid-template-columns: 1fr; gap: 10px; padding: 0 16px 18px; }
  .shop-actions { justify-content: start; }
  .shop-details { grid-template-columns: 1fr; }
}

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 16px; }
.pd-img { border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); padding: 10px; }
.pd-img .pimg { border-radius: 18px; }
.pd-img .pimg .ico { font-size: 120px; }
.pd-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pd-info h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price .price { font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--red); }
.pd-price s, .pd-price s.price { color: var(--muted); font-size: 18px; font-family: var(--body); font-weight: 500; }
.pd-price .off { background: var(--red); color: var(--on-red); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { border: 0; background: transparent; width: 40px; height: 40px; font-size: 20px; font-weight: 700; }
.qty input { width: 46px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-total { font-size: 15px; color: var(--muted); }
.pd-total b { color: var(--ink); }
.pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-btns .btn-brand { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.shop-mini { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.shop-mini .savatar { position: static; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; border: 0; flex-shrink: 0; }
.shop-mini div { min-width: 0; flex: 1; }
.shop-mini b { display: block; }
.shop-mini span { font-size: 13px; color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); background: var(--tile); border-radius: 12px; padding: 11px 14px; margin: 0; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; gap: 18px; } .pd-btns { grid-template-columns: 1fr; } }

/* ---------- Bag drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 12, 5, .45); z-index: 80; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.2);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; font-weight: 900; }
.x-btn { border: 0; background: var(--tile); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 14px; align-content: start; }
.bag-shop { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bag-shop-head { padding: 11px 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px dashed var(--line); }
.bag-item .bi-ico { position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.bag-item .bi-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bag-item b { font-size: 14px; font-weight: 600; display: block; line-height: 1.3; }
.bag-item span { font-size: 13px; color: var(--red); font-weight: 700; }
.bag-item .qty button { width: 30px; height: 30px; font-size: 16px; }
.bag-item .qty input { width: 30px; font-size: 14px; }
.bag-shop-foot { padding: 12px 14px; display: grid; gap: 8px; }
.bag-total { display: flex; justify-content: space-between; font-weight: 800; }

/* ---------- Sell form ---------- */
.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; margin-top: 8px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; }
.form-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.form-card > p { margin: 0 0 16px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field label i { font-style: normal; color: var(--red); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 12px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field .hint { font-size: 12px; color: var(--muted); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--closed); }
.field .msg { font-size: 12px; color: var(--closed); }
.prod-rows { display: grid; gap: 12px; margin-top: 8px; }
.prod-row { border: 1px dashed var(--line); background: var(--card); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.prod-row .field.desc { grid-column: 1 / -2; }
.rm-btn { border: 0; background: var(--tile); color: var(--closed); border-radius: 12px; height: 42px; padding: 0 12px; font-weight: 700; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .prod-row { grid-template-columns: 1fr 1fr; }
  .prod-row .field:first-child, .prod-row .field.desc { grid-column: 1 / -1; }
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.side-steps { display: grid; gap: 12px; }
.side-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.side-steps ol b { color: var(--ink); }
.code-out { margin-top: 16px; }
.code-out pre {
  background: #1c1a18; color: #f3e6d4; border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.5;
  overflow-x: auto; max-height: 360px; margin: 8px 0 0; font-family: ui-monospace, Menlo, Consolas, monospace;
}
.ok-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--mint); border: 1px solid color-mix(in srgb, var(--mint-ink) 35%, transparent); font-size: 15px; }

/* ---------- Footer (light, 3 columns) ---------- */
footer.site { background: var(--surface); border-top: 1px solid var(--line); margin-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-block: 40px 22px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a:hover { color: var(--red); }
.foot-grid p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); max-width: 36ch; }
.foot-logo { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -.03em; }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 16px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 100;
  background: var(--dark); color: var(--on-dark); padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow);
  max-width: calc(100% - 32px); text-align: center;
}
@media (min-width: 821px) { .toast { bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  * { transition: none !important; }
}

/* ---------- Icons ---------- */
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex-shrink: 0; }
.sep { margin: 0 6px; opacity: .5; }
.smeta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.smeta .sep { margin: 0 2px; }
.shop-info .owner { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.shop-info .owner .sep { margin: 0 2px; }
.tag .ic { width: 13px; height: 13px; }
.kv dt { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.kv dt .ic { color: var(--red); width: 17px; height: 17px; }
.note { display: flex; gap: 9px; align-items: flex-start; }
.note .ic { color: var(--amber); width: 19px; height: 19px; margin-top: 1px; }
.ok-box { display: block; }
.ok-box > .ic { color: var(--mint-ink); width: 19px; height: 19px; vertical-align: -4px; margin-right: 4px; }
.area-strip label { display: inline-flex; align-items: center; gap: 5px; }
.area-strip label .ic { color: var(--red); }
.shop-actions .btn .ic, .shop-mini .ic { width: 15px; height: 15px; }
.cat-svg { width: 44%; height: 44%; color: #b4541a; stroke-width: 1.6; }
.cat:nth-child(8n+2) .cat-svg { color: #a33a5b; }
.cat:nth-child(8n+3) .cat-svg { color: #2f4fa2; }
.cat:nth-child(8n+4) .cat-svg { color: #7a5a12; }
.cat:nth-child(8n+5) .cat-svg { color: #c2410c; }
.cat:nth-child(8n+6) .cat-svg { color: #4b5563; }
.cat:nth-child(8n+7) .cat-svg { color: #9d2f7a; }
.cat:nth-child(8n+8) .cat-svg { color: #0f6f86; }
:root[data-theme="dark"] .cat-svg { filter: brightness(1.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat-svg { filter: brightness(1.7); } }
.pimg .ico { display: grid; place-items: center; width: 100%; height: 100%; filter: none; }
.ico-svg { width: 34%; height: 34%; stroke-width: 1.5; }
.bag-item .bi-ico .ic { width: 22px; height: 22px; color: var(--muted); }
.trust span .ic { width: 22px; height: 22px; color: var(--red); }
.stall span .ic { width: 46%; height: 46%; stroke-width: 1.6; }
.stall .s0 { color: #b4541a; } .stall .s1 { color: #a33a5b; } .stall .s2 { color: #2f4fa2; }
.stall .s3 { color: #7a5a12; } .stall .s4 { color: #c2410c; } .stall .s5 { color: #4b5563; }
.mobile-nav a span svg { width: 22px; height: 22px; display: block; margin: 0 auto 2px; }
.cat-ico { position: relative; }
.cat-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .35s ease; }
.cat:hover .cat-ico img { transform: scale(1.08); }
@media (max-width: 700px) { .ptile b { font-size: 18px; } }

/* ---------- Area pages ---------- */
.chip-more { color: var(--red); border-color: transparent; background: transparent; }
.chips a.chip { display: inline-flex; align-items: center; gap: 6px; }
.chips a.chip small { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--tile); border-radius: 999px; padding: 1px 7px; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .agrid { grid-template-columns: 1fr; } }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; min-width: 0; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acard-map {
  height: 92px; position: relative; background-color: #f3e3cc;
  background-image: linear-gradient(90deg, rgba(255,255,255,.75) 3px, transparent 3px), linear-gradient(rgba(255,255,255,.75) 3px, transparent 3px),
    linear-gradient(115deg, transparent 46%, rgba(243,167,44,.55) 46%, rgba(243,167,44,.55) 52%, transparent 52%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
}
:root[data-theme="dark"] .acard-map { background-color: #2b241d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .acard-map { background-color: #2b241d; } }
.acard-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: 44px; height: 44px; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(226,65,43,.35); }
.acard-pin .ic { rotate: 45deg; color: #fff; width: 20px; height: 20px; }
.acard-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acard-body h3 { font-size: 22px; font-weight: 900; }
.acard-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.acard-stats b { color: var(--ink); }
.acard-open { display: inline-flex; align-items: center; gap: 5px; color: var(--open); font-weight: 600; }
.acard-cats { display: flex; gap: 6px; }
.acard-cats span { width: 34px; height: 34px; border-radius: 10px; background: var(--tile); display: grid; place-items: center; color: var(--red); }
.acard-empty { font-size: 13.5px; color: var(--muted); background: var(--tile); border-radius: 10px; padding: 8px 10px; }
.acard-go { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 700; font-size: 14px; }
.acard:hover .acard-go { color: var(--red); }

.area-hero {
  margin-top: 12px; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px;
  background: linear-gradient(135deg, #fdecd6, #fbe1c4);
}
:root[data-theme="dark"] .area-hero { background: linear-gradient(135deg, #2c2219, #241b14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .area-hero { background: linear-gradient(135deg, #2c2219, #241b14); } }
.area-hero-copy { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.area-hero-copy .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.area-hero-copy h1 { font-weight: 900; font-size: clamp(38px, 6vw, 64px); }
.area-hero-copy p { margin: 0; color: var(--muted); max-width: 46ch; }
.area-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 4px; }
.area-stats div { background: rgba(255,255,255,.7); border-radius: 14px; padding: 10px 12px; }
:root[data-theme="dark"] .area-stats div { background: rgba(255,255,255,.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .area-stats div { background: rgba(255,255,255,.06); } }
.area-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.area-stats b.ok { color: var(--open); }
.area-stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.area-hero .btn .ic { width: 16px; height: 16px; }
.area-hero-map {
  position: relative; min-height: 260px; background-color: #f6e6cf;
  background-image: linear-gradient(90deg, rgba(255,255,255,.8) 4px, transparent 4px), linear-gradient(rgba(255,255,255,.8) 4px, transparent 4px);
  background-size: 64px 64px;
}
:root[data-theme="dark"] .area-hero-map { background-color: #30271f; background-image: linear-gradient(90deg, rgba(255,255,255,.07) 4px, transparent 4px), linear-gradient(rgba(255,255,255,.07) 4px, transparent 4px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .area-hero-map { background-color: #30271f; background-image: linear-gradient(90deg, rgba(255,255,255,.07) 4px, transparent 4px), linear-gradient(rgba(255,255,255,.07) 4px, transparent 4px); } }
.ahm-road { position: absolute; background: rgba(243,167,44,.6); border-radius: 6px; }
.ahm-road.r1 { left: -10%; right: -10%; top: 46%; height: 14px; rotate: -12deg; }
.ahm-road.r2 { top: -10%; bottom: -10%; left: 58%; width: 12px; rotate: 8deg; }
.ahm-road.r3 { left: 10%; right: 30%; top: 78%; height: 9px; background: rgba(255,255,255,.9); }
.ahm-shop { position: absolute; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-family: var(--display); font-weight: 900; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.18); border: 3px solid #fff; }
.ahm-shop.m0 { left: 14%; top: 16%; } .ahm-shop.m1 { left: 70%; top: 12%; } .ahm-shop.m2 { left: 30%; top: 62%; }
.ahm-shop.m3 { left: 76%; top: 60%; } .ahm-shop.m4 { left: 44%; top: 24%; } .ahm-shop.m5 { left: 10%; top: 80%; }
.ahm-pin { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50% 50% 50% 8px; rotate: -45deg; translate: -50% -70%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(226,65,43,.4); }
.ahm-pin .ic { rotate: 45deg; color: #fff; width: 26px; height: 26px; }
@media (max-width: 860px) {
  .area-hero { grid-template-columns: 1fr; }
  .area-hero-map { min-height: 170px; order: -1; }
  .area-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.area-switch { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-width: 0; }
.area-switch > span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.area-switch .chips { flex: 1; min-width: 0; }
@media (max-width: 820px) { .mobile-nav a { font-size: 11px; } }
.acard:nth-child(3n+2) .acard-map { background-image: linear-gradient(90deg, rgba(255,255,255,.75) 3px, transparent 3px), linear-gradient(rgba(255,255,255,.75) 3px, transparent 3px), linear-gradient(160deg, transparent 40%, rgba(243,167,44,.55) 40%, rgba(243,167,44,.55) 47%, transparent 47%); background-size: 38px 38px, 52px 52px, 100% 100%; }
.acard:nth-child(3n+3) .acard-map { background-image: linear-gradient(90deg, rgba(255,255,255,.75) 3px, transparent 3px), linear-gradient(rgba(255,255,255,.75) 3px, transparent 3px), linear-gradient(70deg, transparent 55%, rgba(243,167,44,.55) 55%, rgba(243,167,44,.55) 61%, transparent 61%); background-size: 58px 40px, 58px 40px, 100% 100%; }

/* ---------- How it works / FAQ ---------- */
.how-head p { max-width: 60ch; }
.how-tabs { display: flex; width: fit-content; gap: 4px; padding: 5px; background: var(--tile); border-radius: 999px; margin: 18px auto 26px; max-width: 100%; }
.how-tab { border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.how-tab.on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(60,40,20,.12); }
.how-tab .ic { width: 18px; height: 18px; }
@media (max-width: 420px) { .how-tab { padding: 9px 12px; font-size: 14px; } }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.how-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 36px; border-top: 2px dashed color-mix(in srgb, var(--red) 45%, transparent); }
.how-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; }
.how-num { position: relative; width: 72px; height: 72px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--red); margin-bottom: 6px; }
.how-num .ic { width: 30px; height: 30px; }
.how-num span { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: var(--on-red); font-family: var(--display); font-weight: 900; font-size: 13px; display: grid; place-items: center; border: 3px solid var(--bg); }
.how-step h3 { font-size: 17px; font-weight: 800; }
.how-step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; gap: 0; }
  .how-steps::before { left: 35px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--red) 45%, transparent); }
  .how-step { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; text-align: left; align-items: start; padding: 0 0 22px; }
  .how-num { grid-row: span 2; margin: 0; }
  .how-step h3 { margin-top: 10px; }
}
.how-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.how-cta .ic { width: 17px; height: 17px; }
@media (max-width: 900px) { .how-cta { justify-content: flex-start; margin-top: 6px; } }

.how-sample { margin-top: 44px; border-radius: 26px; background: var(--tile); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 44px); }
.how-sample-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.how-sample-copy h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 36px); }
.how-sample-copy p { margin: 0; color: var(--muted); }
.how-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.how-list li { display: flex; gap: 8px; align-items: center; }
.how-list .ic { color: var(--open); width: 19px; height: 19px; }
.chat-mock { background: #efe7dc; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); max-width: 420px; width: 100%; justify-self: center; min-width: 0; color: #1c1a18; }
.chat-top { background: #0b6e4f; color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.chat-top .savatar { position: static; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); font-size: 16px; }
.chat-top b { display: block; font-size: 15px; }
.chat-top small { opacity: .8; font-size: 12px; }
.chat-body { padding: 16px 12px; display: grid; gap: 10px; background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1.5px); background-size: 14px 14px; }
.bubble { justify-self: end; max-width: 88%; background: #d9fdd3; border-radius: 12px 12px 2px 12px; padding: 9px 11px 20px; font-size: 13.5px; line-height: 1.45; position: relative; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.in { justify-self: start; background: #fff; border-radius: 12px 12px 12px 2px; }
.bubble-time { position: absolute; right: 9px; bottom: 4px; font-size: 11px; color: #667781; }
.chat-note { margin: 0; text-align: center; font-size: 11.5px; color: #8a7f72; padding: 0 0 10px; }
@media (max-width: 860px) { .how-sample { grid-template-columns: 1fr; } }

.how-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.how-facts .panel > .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 10px; }
.how-facts .panel p { font-size: 14.5px; }
@media (max-width: 760px) { .how-facts { grid-template-columns: 1fr; } }

.faq-tools { display: grid; gap: 12px; margin-bottom: 18px; max-width: 840px; }
.faq-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; }
.faq-search:focus-within { border-color: var(--ink); }
.faq-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.faq-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; outline: none; font-size: 15px; }
.faq-full details[open] { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
#faqEmpty { max-width: 840px; }
.how-help { margin-top: 36px; border-radius: 22px; background: var(--mint); padding: clamp(20px, 3.5vw, 34px); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.how-help h2 { font-weight: 900; font-size: clamp(22px, 3vw, 28px); }
.how-help p { margin: 6px 0 0; color: var(--muted); }
.how-help-num { font-weight: 700; color: var(--ink) !important; }

/* ---------- About ---------- */
.about-hero { margin-top: 18px; border-radius: 26px; background: var(--tile); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 44px); }
.about-story { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.about-story h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 36px); }
.about-story p { margin: 0; color: var(--muted); max-width: 58ch; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.about-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.about-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; color: var(--red); }
.about-stats span { font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.about-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-values .panel > .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 10px; }
.about-values .panel p { font-size: 14.5px; }
@media (max-width: 960px) { .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .about-values { grid-template-columns: 1fr; } }
.about-is { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-is .how-list li { align-items: flex-start; }
.about-is .how-list .ic { flex-shrink: 0; margin-top: 2px; }
.about-not .ic { color: var(--muted); }
.about-who { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.about-who .panel > p { color: var(--ink); }
.about-areas { flex-wrap: wrap; margin-top: 14px; overflow: visible; }
.about-areas .ic { width: 15px; height: 15px; color: var(--red); }
@media (max-width: 760px) { .about-is, .about-who { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.contact-way { display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
a.contact-way:hover { border-color: var(--ink); }
.contact-way h3 { margin: 6px 0 0; }
.contact-way p { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.cw-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tile); color: var(--red); display: grid; place-items: center; }
.cw-ico .ic, .cw-ico .wa-icon { width: 24px; height: 24px; }
.cw-ico.cw-wa { background: var(--wa); color: var(--on-wa); }
.cw-go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; }
a.contact-way:hover .cw-go { color: var(--red); }
.cw-muted { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .contact-ways { grid-template-columns: 1fr; } .contact-way { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; } .contact-way .cw-ico { grid-row: span 3; } .cw-go { padding-top: 4px; } .contact-way h3 { margin: 0; } }
.contact-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 24px; padding: 14px 18px; border-radius: 16px; background: var(--mint); }
.contact-note .ic { width: 22px; height: 22px; color: var(--mint-ink); flex-shrink: 0; margin-top: 1px; }
.contact-note p { margin: 0; font-size: 14.5px; }
.contact-note a { font-weight: 700; text-decoration: underline; }

/* ---------- Privacy / Terms ---------- */
.legal-date { font-size: 13.5px; font-weight: 600; }
.legal-points { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal-points li { display: inline-flex; align-items: center; gap: 7px; background: var(--mint); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.legal-points .ic { width: 17px; height: 17px; color: var(--mint-ink); }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-toc { position: sticky; top: 16px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.legal-toc button { border: 0; background: none; padding: 3px 0; text-align: left; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.legal-toc button:hover { color: var(--red); }
.legal-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3.5vw, 34px); max-width: 780px; }
.legal-body section + section { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.legal-body section { scroll-margin-top: 20px; }
.legal-body h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.legal-body h2 .num { color: var(--red); }
.legal-body p, .legal-body li { color: var(--muted); line-height: 1.65; }
.legal-body p { margin: 0 0 10px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-body b { color: var(--ink); }
.legal-body a { color: var(--red); font-weight: 600; text-decoration: underline; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 40px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf-code { font-family: var(--display); font-weight: 900; font-size: clamp(84px, 16vw, 150px); line-height: 1; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.nf-code span { width: .78em; height: .78em; border-radius: 50%; background: var(--red); color: var(--on-red); display: grid; place-items: center; }
.nf-code .ic { width: 46%; height: 46%; }
.nf h1 { font-weight: 900; font-size: clamp(26px, 4vw, 38px); }
.nf > p { margin: 0; color: var(--muted); max-width: 46ch; }
.nf .nf-search { width: 100%; max-width: 520px; flex: none; margin-top: 8px; order: 0; }
.nf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 760px; margin-top: 14px; }
.nf-links .panel { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; font-size: 14.5px; }
.nf-links .panel:hover { border-color: var(--ink); }
.nf-links .ic { width: 26px; height: 26px; color: var(--red); }
.nf .how-cta { margin-top: 16px; justify-content: center; }
@media (max-width: 700px) { .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-bottom a:hover { color: var(--red); }

/* ---------- Gradient accents ----------
   Red and amber fills use --grad-red / --grad-amber (defined on :root, with dark-mode values).
   Delete this block to go back to flat colours. */
.logo-mark, .search button, .bag-count, .btn-red, .badge-off, .step::before, .pd-price .off,
.acard-pin, .ahm-pin, .how-num span, .nf-code span,
.sec-head h2::before, .page-head h1::before { background: var(--grad-red); }
.btn-accent { background: var(--grad-amber); }
.search button:hover, .btn-red:hover { filter: brightness(1.06); }
.hero-copy h1 span { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head h2::before, .page-head h1::before { width: 46px; }

/* ---------- Header decoration ---------- */
.header { border-bottom: 0; background: linear-gradient(90deg, var(--red), var(--amber) 50%, var(--red)) bottom / 100% 3px no-repeat, var(--surface); }
.header::after { /* wavy band under the header, matching the shop cards */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; pointer-events: none; opacity: .9;
  background: linear-gradient(90deg, var(--red), var(--amber) 50%, var(--red));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 0H40V4Q30 10 20 4Q10 -2 0 4Z'/%3E%3C/svg%3E") 0 0 / 40px 10px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 0H40V4Q30 10 20 4Q10 -2 0 4Z'/%3E%3C/svg%3E") 0 0 / 40px 10px repeat-x;
}
.logo-mark { box-shadow: 0 4px 12px color-mix(in srgb, var(--red) 35%, transparent); transition: transform .2s ease; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.search { border-radius: 10px; transition: box-shadow .15s; }
.search:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent); }
.nav { align-items: center; }
.nav a { position: relative; }
.nav a:hover { background: transparent; color: var(--red); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px; background: var(--grad-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a[data-nav="sell"] { margin-left: auto; background: var(--grad-amber); color: var(--on-amber); border-radius: 999px; padding: 7px 16px; }
.nav a[data-nav="sell"]::after { display: none; }
.nav a[data-nav="sell"]:hover { filter: brightness(1.05); color: var(--on-amber); }
@media (max-width: 820px) {
  .mobile-nav a { position: relative; }
  .mobile-nav a.active::before { content: ""; position: absolute; top: -7px; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-red); }
  .mobile-nav a[data-nav="sell"] span { width: 42px; height: 42px; margin: -20px auto 2px; border-radius: 50%; background: var(--grad-red); color: var(--on-red); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--surface), 0 4px 12px color-mix(in srgb, var(--red) 35%, transparent); }
  .mobile-nav a[data-nav="sell"] span svg { margin: 0; }
  .mobile-nav a[data-nav="sell"].active { background: transparent; }
  .mobile-nav a[data-nav="sell"].active::before { display: none; }
}

/* ---------- Footer decoration ---------- */
footer.site { position: relative; margin-top: 64px; background: var(--tile); border-top: 0; }
.foot-awning { /* shop awning: red/amber stripes with a scalloped edge */
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: repeating-linear-gradient(90deg, var(--red) 0 28px, var(--amber) 28px 56px);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% 8px no-repeat, radial-gradient(circle at 14px 8px, #000 13.5px, transparent 14px) 0 0 / 28px 100% repeat-x;
          mask: linear-gradient(#000 0 0) 0 0 / 100% 8px no-repeat, radial-gradient(circle at 14px 8px, #000 13.5px, transparent 14px) 0 0 / 28px 100% repeat-x;
}
.foot-grid { padding-block: 60px 28px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; }
.foot-logo .logo-mark { width: 40px; height: 40px; font-size: 16px; }
.foot-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.foot-cta .ic, .foot-cta .wa-icon { width: 16px; height: 16px; }
.foot-grid .foot-pills { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.foot-pills li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.foot-pills .ic { width: 14px; height: 14px; color: var(--red); }
.foot-grid h4 { color: var(--ink); position: relative; padding-bottom: 10px; }
.foot-grid h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-red); }
.foot-grid ul a { display: inline-flex; align-items: center; gap: 6px; transition: color .15s, transform .15s; }
.foot-grid ul a:hover { transform: translateX(3px); }
.foot-areas .ic { width: 14px; height: 14px; color: var(--red); }
.foot-contact li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.foot-contact span { width: 32px; height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex-shrink: 0; }
.foot-contact .ic { width: 16px; height: 16px; }
.foot-contact a { overflow-wrap: anywhere; }
.foot-bottom-wrap { background: var(--surface); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--red), var(--amber) 50%, var(--red)) 1; }
.foot-bottom { border-top: 0; }
.foot-bottom a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .foot-grid > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 820px) { .foot-bottom-wrap { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Shop card ----------
   Photo collage of the shop's products on top, round avatar over its edge, coloured "View catalogue" pill.
   --sc is the shop's colour, set inline on .scard by shopCard() in app.js. */
.scard { border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.scard:hover { transform: translateY(-4px); }
.scard { position: relative; }
.scard .scover { height: 170px; display: grid; gap: 3px; background: var(--sc); /* bottom edge snakes up and down, rising to the left */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 170' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166 L400 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 170' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166 L400 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.scard::before, .scard::after { /* theme-coloured wavy bands along the photo edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--red), var(--amber));
}
.scard::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 190' preserveAspectRatio='none'%3E%3Cpath transform='translate(0 2)' d='M0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166' fill='none' stroke='black' stroke-width='6' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 190' preserveAspectRatio='none'%3E%3Cpath transform='translate(0 2)' d='M0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166' fill='none' stroke='black' stroke-width='6' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.scard::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 190' preserveAspectRatio='none'%3E%3Cpath transform='translate(0 11)' d='M0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166' fill='none' stroke='black' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 190' preserveAspectRatio='none'%3E%3Cpath transform='translate(0 11)' d='M0 146 Q25 134 50 148.5 T100 151 T150 153.5 T200 156 T250 158.5 T300 161 T350 163.5 T400 166' fill='none' stroke='black' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; opacity: .55; }
.scard .scover::after { display: none; }
.scard .scover img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .35s ease; }
.scard:hover .scover img { transform: scale(1.04); }
.scover.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scover.n3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.scover.n3 img:first-child { grid-row: span 2; }
.scover.n4 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.scover.n4 img:nth-child(-n+2) { grid-row: span 2; }
.scover-ico { display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.scover-ico .ico-svg { width: 56px; height: 56px; }
.sstat { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.sstat.is-open { color: var(--open); }
.sstat.is-closed { color: var(--closed); }
.scard .savatar { left: 16px; top: 112px; bottom: auto; z-index: 2; width: 64px; height: 64px; border-radius: 18px; font-size: 28px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.scard .sbody { padding: 40px 18px 18px; gap: 8px; }
.shead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.shead h3 { font-size: 20px; font-weight: 800; min-width: 0; }
.sver { color: #2160c4; flex-shrink: 0; margin-top: 2px; }
.sver .ic { width: 22px; height: 22px; }
.scard .smeta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.scard .smeta span { display: inline-flex; align-items: center; gap: 5px; }
.scard .smeta .ic { width: 16px; height: 16px; }
.scard .sfoot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.scard .sfoot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.scard .sfoot b { color: var(--ink); }
.sgo { background: var(--grad-red); color: var(--on-red); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px color-mix(in srgb, var(--red) 30%, transparent); transition: filter .15s, transform .15s; }
.scard:hover .sgo { filter: brightness(1.08); transform: translateX(2px); }

/* ---------- Auto-loading lists ----------
   #loadMore sits under a long list: skeleton cards, a count and a "Load more" fallback button. */
.load-more { margin-top: 18px; text-align: center; }
.load-more .sk-grid { margin-bottom: 16px; text-align: left; }
.more-count { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.more-count b { color: var(--ink); }
.more-end { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.more-end .ic { color: var(--open); }

/* ---------- Skeleton loading ----------
   .sk blocks fill the page while scripts load (tools/page-template.html); photos shimmer until their load event adds .ok. */
@keyframes sk-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.sk, #app img[loading="lazy"]:not(.ok) {
  background: linear-gradient(90deg, var(--tile) 30%, color-mix(in srgb, var(--tile) 40%, var(--surface)) 50%, var(--tile) 70%) 0 0 / 200% 100%;
  animation: sk-shine 1.3s linear infinite;
}
.sk-page { padding-block: 30px 40px; }
.sk-line { height: 14px; border-radius: 8px; margin-top: 10px; }
.sk-h1 { width: min(340px, 70%); height: 38px; margin-top: 0; }
.sk-p { width: min(480px, 90%); margin-bottom: 28px; }
.sk-short { width: 55%; }
.sk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 16px; }
.sk-img { aspect-ratio: 1; border-radius: 13px; }
@media (max-width: 1000px) { .sk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .sk, #app img[loading="lazy"]:not(.ok) { animation: none; } }

/* ---------- Category tiles: cut-out PNG objects ----------
   images/cat-<id>.png are transparent product cut-outs (256px). No circle behind them: the object stands on the
   tile with a soft shadow; the line icon behind it shows only if the image is missing. */
.cat-ico img { inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 6px 8px rgba(60, 40, 20, .22)); transition: transform .3s ease; }
.cat-ico img:not(.ok) { border-radius: 16px; }
.cat-ico:has(img) .cat-svg { visibility: hidden; }
.cat:hover .cat-ico img { transform: translateY(-4px) scale(1.08) rotate(-4deg); }

/* ---------- Filters panel ----------
   One "Filters" button above a list opens .fpanel: a drawer from the right on desktop, a bottom sheet on phones. */
.fbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.fbar .result-count { margin: 0; }
.fbtn { gap: 8px; }
.fbtn .ic { width: 18px; height: 18px; }
.fbadge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--grad-red); color: var(--on-red); font-size: 12px; display: grid; place-items: center; }
html.noscroll { overflow: hidden; }
.fpanel-wrap { position: fixed; inset: 0; z-index: 70; }
.fscrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.fpanel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0, 0, 0, .18); }
.fpanel.anim { animation: fp-in .25s ease; }
@keyframes fp-in { from { transform: translateX(100%); } }
.fpanel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.fpanel-head h2 { font-size: 20px; font-weight: 800; }
.fpanel-body { flex: 1; overflow-y: auto; padding: 4px 20px 16px; overscroll-behavior: contain; }
.fpanel-body .filter-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.fpanel-body .filter-row:last-child { border-bottom: 0; }
.fpanel-body .chips { flex-wrap: wrap; overflow: visible; }
.fpanel-body .select { width: 100%; border-radius: 12px; padding: 10px 14px; }
.fpanel-foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.fpanel-foot .btn:disabled { opacity: .45; cursor: default; }
@media (max-width: 600px) {
  .fpanel { top: auto; left: 0; width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
  .fpanel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; translate: -50% 0; border-radius: 4px; background: var(--line); }
  .fpanel.anim { animation-name: fp-up; }
  @keyframes fp-up { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .fpanel.anim { animation: none; } }

/* ---------- All shops: banner, category strip, quick filters ---------- */
.shops-hero { margin-top: 22px; border-radius: 26px; padding: clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: center;
  background: radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--amber) 30%, transparent), transparent 45%), radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--red) 14%, transparent), transparent 40%), var(--tile); }
.sh-copy { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-copy .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.sh-copy .hero-kicker .ic { width: 16px; height: 16px; }
.sh-copy h1 { font-weight: 900; font-size: clamp(32px, 4.4vw, 46px); }
.sh-copy p { margin: 0; color: var(--muted); max-width: 52ch; }
.sh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.sh-stats div { background: var(--surface); border-radius: 14px; padding: 10px 12px; }
.sh-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--red); }
.sh-stats b.ok { color: var(--open); }
.sh-stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sh-cta { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sh-cta b { font-family: var(--display); font-size: 20px; }
.sh-cta p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.sh-cta .ic { width: 17px; height: 17px; }
@media (max-width: 860px) { .shops-hero { grid-template-columns: 1fr; } .sh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 6px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cs-item { flex: 1 0 104px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 18px; padding: 10px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; line-height: 1.2; color: var(--ink); text-align: center; transition: border-color .15s, transform .15s; }
.cs-item:hover { border-color: var(--ink); transform: translateY(-2px); }
.cs-item.on { border-color: transparent; background: var(--tile); box-shadow: inset 0 0 0 2px var(--red); }
.cs-img { width: 56px; height: 56px; display: grid; place-items: center; color: var(--red); }
.cs-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(60, 40, 20, .2)); }
.cs-img .ic { width: 28px; height: 28px; }

.fbar { flex-wrap: wrap; }
.qts { display: flex; gap: 8px; margin-left: auto; min-width: 0; }
.qt { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.qt:hover { border-color: var(--ink); }
.qt .ic { width: 15px; height: 15px; }
.qt .dot { color: var(--open); }
.qt.on { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.qt.on .dot { color: var(--on-dark); }
@media (max-width: 640px) { .qts { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; } .qts::-webkit-scrollbar { display: none; } }

.stime { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.stime .ic { width: 16px; height: 16px; }
.stime.is-open .ic { color: var(--open); }
.stime .sep { margin: 0 3px; }
@media (max-width: 600px) {
  .shops-hero { gap: 14px; padding: 20px 16px; }
  .sh-stats { gap: 8px; } .sh-stats div { padding: 8px 10px; } .sh-stats b { font-size: 22px; }
  .sh-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
  .sh-cta b { font-size: 16px; } .sh-cta p { display: none; }
  .sh-cta .btn { padding: 9px 14px; font-size: 13.5px; white-space: nowrap; }
}

/* ---------- All shops: name search, shopkeeper band, areas ---------- */
.shop-find { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; max-width: 560px; }
.shop-find:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }
.shop-find svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.shop-find input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 0; outline: none; font-size: 15px; }

.sell-band { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-radius: 22px; padding: clamp(18px, 3vw, 28px);
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--amber) 32%, transparent), transparent 50%), var(--mint); }
.sell-band > div:first-child { min-width: 0; max-width: 60ch; display: flex; flex-direction: column; gap: 6px; }
.sell-band h3 { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.6vw, 26px); }
.sell-band p { margin: 0; color: var(--muted); }
.sell-band-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.sell-band-cta .ic { width: 17px; height: 17px; }

.shops-areas { padding-bottom: 20px; }
.area-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.area-link { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: border-color .15s, transform .15s; }
.area-link:hover { border-color: var(--ink); transform: translateY(-2px); }
.al-pin { width: 40px; height: 40px; border-radius: 12px; background: var(--tile); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.al-pin .ic { width: 20px; height: 20px; }
.area-link > span:nth-child(2) { flex: 1; min-width: 0; }
.area-link b { display: block; font-size: 16px; }
.area-link small { color: var(--muted); font-size: 13px; }
.al-go { color: var(--muted); font-weight: 700; }
.area-link:hover .al-go { color: var(--red); }
@media (max-width: 860px) { .area-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .area-links { grid-template-columns: 1fr; } }
.shops-areas + .trust { margin-bottom: 10px; }

/* ---------- All products: deals strip, ask band, shop status on cards ---------- */
.deals { padding-top: 26px; }
.deals .sec-head { margin-bottom: 14px; }
button.more { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; }
button.more:hover { color: var(--red); }
.deal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, calc((100% - 54px) / 4)); gap: 18px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.deal-strip::-webkit-scrollbar { display: none; }
.deal-strip .pcard { scroll-snap-align: start; }
@media (max-width: 680px) { .deal-strip { grid-auto-columns: 62%; gap: 10px; } }
.ask-band { background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--wa) 22%, transparent), transparent 55%), var(--tile); }
.ask-band .wa-icon { width: 18px; height: 18px; }
.pshop { display: flex; align-items: center; gap: 5px; }
.pshop-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pdot.on { background: var(--open); box-shadow: 0 0 0 3px color-mix(in srgb, var(--open) 20%, transparent); }
.pdot.off { background: var(--closed); opacity: .8; }
.pdel { width: 14px; height: 14px; flex-shrink: 0; margin-left: 2px; color: var(--muted); }
.al-ava { color: #fff; font-family: var(--display); font-weight: 900; font-size: 18px; }
.al-open { color: var(--open); font-weight: 600; }
.al-closed { color: var(--closed); font-weight: 600; }
.qt .ic { color: inherit; }

/* Deals slider controls */
.deal-slider { position: relative; }
.ds-arrow { position: absolute; top: 36%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .15s, background .15s, color .15s; }
.ds-arrow .ic { width: 22px; height: 22px; }
.ds-arrow:hover { background: var(--grad-red); color: var(--on-red); border-color: transparent; transform: scale(1.06); }
.ds-arrow.prev { left: -20px; }
.ds-arrow.next { right: -20px; }
.ds-dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
/* the visible dot is 9px; padding (with background-clip) makes the tap target 25px tall */
.ds-dot { width: 9px; height: 9px; box-sizing: content-box; padding: 8px 3px; border: 0; border-radius: 999px; background: var(--line); background-clip: content-box; transition: width .25s, background .25s; }
.ds-dot.on { width: 26px; background: var(--grad-red) content-box; }
@media (max-width: 1300px) { .ds-arrow.prev { left: -8px; } .ds-arrow.next { right: -8px; } }
@media (max-width: 680px) { .ds-arrow { display: none; } }

/* ---------- Areas page ---------- */
.acard-photos { position: relative; height: 150px; display: grid; gap: 3px; background: var(--tile); }
.acard-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .35s ease; }
.acard:hover .acard-photos img { transform: scale(1.04); }
.acard-photos.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acard-photos.n3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.acard-photos.n3 img:first-child { grid-row: span 2; }
.acard-photos.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.acard-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; background: var(--grad-red); color: var(--on-red); border-radius: 999px; padding: 5px 12px 5px 8px; font-weight: 700; font-size: 13px; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.acard-tag .ic { width: 15px; height: 15px; }
.acard-shops { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.acard-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.acard-labels span { display: inline-flex; align-items: center; gap: 5px; background: var(--tile); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.acard-labels .ic { width: 14px; height: 14px; color: var(--red); }

.amap-wrap { margin-top: 22px; }
.amap { position: relative; height: 340px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px) 0 0 / 46px 46px, var(--tile); }
.amap-river { position: absolute; border-radius: 999px; background: color-mix(in srgb, #3b8fd6 32%, transparent); }
.amap-river.r1 { left: -5%; right: -5%; top: 7%; height: 26px; rotate: 6deg; }
.amap-river.r2 { top: -10%; bottom: 25%; left: 8%; width: 22px; rotate: 14deg; }
.amap-city { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 6vw, 56px); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 9%, transparent); pointer-events: none; }
.amap-pin { position: absolute; translate: -50% -100%; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; transition: transform .15s; }
.amap-pin:hover { transform: translateY(-3px); z-index: 2; }
.amap-dot { width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: var(--grad-red); display: grid; place-items: center; box-shadow: 0 6px 14px color-mix(in srgb, var(--red) 40%, transparent); }
.amap-dot .ic { rotate: 45deg; width: 19px; height: 19px; color: var(--on-red); }
.amap-pin b { margin-top: 6px; background: var(--surface); border-radius: 8px; padding: 2px 8px; font-size: 13px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.amap-pin small { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.amap-pin.soon .amap-dot { background: var(--muted); box-shadow: none; opacity: .7; }
.amap-note { margin: 8px 2px 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.amap-note .ic { width: 15px; height: 15px; color: var(--amber); }
@media (max-width: 600px) { .amap { height: 280px; } .amap-pin b { font-size: 12px; } .amap-pin small { display: none; } .amap-dot { width: 32px; height: 32px; } }

.soon { padding-top: 34px; }
.soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soon-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 16px; padding: 14px 16px; }
.soon-item > div:nth-child(2) { flex: 1; min-width: 0; }
.soon-item b { display: block; font-size: 17px; }
.soon-item small { color: var(--muted); font-size: 13px; }
.soon-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .soon-list { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .soon-item { flex-wrap: wrap; } .soon-btns { width: 100%; justify-content: stretch; } .soon-btns .btn { flex: 1; } }

.area-ask { margin-top: 36px; border-radius: 24px; padding: clamp(20px, 3.5vw, 34px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; scroll-margin-top: 140px;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--wa) 22%, transparent), transparent 55%), var(--mint); }
.area-ask h2 { font-weight: 900; font-size: clamp(24px, 3.2vw, 32px); margin: 6px 0 8px; }
.area-ask p { margin: 0; color: var(--muted); }
.area-ask .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.area-ask .hero-kicker .ic { width: 15px; height: 15px; }
.area-ask-form { display: grid; gap: 10px; background: var(--surface); border-radius: 18px; padding: 18px; }
.area-ask-form .btn .wa-icon { width: 18px; height: 18px; }
@media (max-width: 760px) { .area-ask { grid-template-columns: 1fr; } }

.steps-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-mini li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps-mini li > .ic { width: 28px; height: 28px; color: var(--red); }
.steps-mini b { font-size: 17px; font-family: var(--display); }
.steps-mini p { margin: 0; color: var(--muted); font-size: 14.5px; }
.sm-num { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-red); color: var(--on-red); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 14px; }
@media (max-width: 760px) { .steps-mini { grid-template-columns: 1fr; } }
.a-steps + .trust { margin-bottom: 10px; }

/* ---------- Single area page ---------- */
.area-hero .btn-wa .wa-icon { width: 18px; height: 18px; }
a.ahm-shop { z-index: 2; transition: transform .15s; }
a.ahm-shop:hover, a.ahm-shop:focus-visible { transform: scale(1.12); z-index: 4; }
.ahm-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 0; background: var(--surface); color: var(--ink); border-radius: 10px; padding: 6px 10px; box-shadow: var(--shadow);
  font-family: var(--body); font-weight: 600; font-size: 12.5px; white-space: nowrap; text-align: center; display: none; pointer-events: none; }
.ahm-tip b { display: block; font-size: 13px; }
.ahm-tip small { font-size: 11.5px; }
a.ahm-shop:hover .ahm-tip, a.ahm-shop:focus-visible .ahm-tip { display: block; }
.ahm-note { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--muted); background: color-mix(in srgb, var(--surface) 80%, transparent); border-radius: 6px; padding: 2px 6px; }

.area-today { padding-top: 30px; }
.tt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tt-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.tt-row:first-child { border-top: 0; }
a.tt-row:hover { background: var(--tile); }
.tt-head { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; background: var(--tile); }
.tt-name { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.tt-name i { width: 30px; height: 30px; border-radius: 9px; color: #fff; font-style: normal; font-family: var(--display); font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.tt-row .ic { width: 15px; height: 15px; color: var(--open); vertical-align: -3px; }
@media (max-width: 760px) {
  .tt-head { display: none; }
  .tt-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 14px; }
  .tt-row > span:nth-child(2), .tt-row > span:nth-child(3), .tt-row > span:nth-child(4) { grid-column: 1; font-size: 13px; color: var(--muted); }
  .tt-row > span[data-l]::before { content: attr(data-l) ": "; font-weight: 600; }
  .tt-row > span:last-child { grid-column: 2; grid-row: 1; }
}

.missing .miss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.miss-item { background: var(--surface); border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.miss-item b { font-size: 13.5px; line-height: 1.25; }
.miss-ask { font-size: 13px; font-weight: 700; color: var(--red); }
.miss-ask:hover { text-decoration: underline; }
.miss-cta { margin-top: 14px; }
.miss-cta .ic { width: 16px; height: 16px; }
/* markers near the top of the sketch map show their label below, so it isn't cut off */
.ahm-shop.m0 .ahm-tip, .ahm-shop.m1 .ahm-tip, .ahm-shop.m4 .ahm-tip { bottom: auto; top: calc(100% + 8px); }

/* Very small phones (320px): the How it works tabs share the width instead of overflowing */
@media (max-width: 360px) {
  .how-tabs { width: 100%; }
  .how-tab { flex: 1; justify-content: center; padding: 9px 8px; font-size: 13.5px; gap: 6px; }
  .how-tab .ic { width: 16px; height: 16px; }
}
/* Very small phones: let section-header links and the shops banner CTA wrap instead of overflowing */
@media (max-width: 360px) {
  .sec-head { flex-wrap: wrap; }
  .sh-cta { flex-wrap: wrap; }
  .sh-copy .hero-kicker { letter-spacing: .08em; }
  .how-tab { padding: 8px 6px; font-size: 13px; }
}
@media (max-width: 340px) {
  .hero-copy h1 { font-size: 28px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .trust { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 26px; }
}
/* Narrow two-column product cards: price on its own line, Order button full width below */
@media (max-width: 380px) {
  .pfoot { flex-wrap: wrap; }
  .pfoot .btn-order { width: 100%; justify-content: center; }
}
/* Narrow cards: "NEW" stays top-left, the "Save X%" pill moves to the bottom-right of the photo so they don't overlap */
@media (max-width: 420px) {
  .pimg .badge-off { top: auto; bottom: 8px; right: 8px; }
}

/* ---------- Services (skilled people) ---------- */
.svc-strip .cs-img { width: 48px; height: 48px; border-radius: 14px; background: var(--tile); }
.svc-strip .cs-img .ic { width: 24px; height: 24px; }
.svc-strip .cs-item.on .cs-img { background: var(--grad-red); color: var(--on-red); }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .vgrid { grid-template-columns: 1fr; } }
  border-top: 5px solid var(--sc); transition: transform .18s; }
.tips li > .ic { width: 26px; height: 26px; }
/* six items in the mobile menu */
@media (max-width: 380px) { .mobile-nav a { font-size: 10.5px; } }


/* ---------- Service cards: grid ("Clean & simple") and list ("List row") ----------
   --sc is the person's colour. state.svcView picks the look; .vgrid / .vlist hold them. */
.vlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .vlist { grid-template-columns: 1fr; } }
.vgrid > .sell-band, .vlist > .sell-band { grid-column: 1 / -1; }
.sv-view { display: inline-flex; padding: 3px; gap: 2px; background: var(--tile); border-radius: 999px; }
.sv-view button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.sv-view button .ic { width: 16px; height: 16px; }
.sv-view button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
@media (max-width: 640px) { .sv-view span { display: none; } }

.sv-avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.sv-avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sv-avail.on { color: var(--open); }
.sv-avail.off { color: var(--muted); }
.sv-rnd { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform .12s, filter .15s; }
.sv-rnd:active { transform: scale(.94); }
.sv-rnd .ic, .sv-rnd .wa-icon { width: 20px; height: 20px; }
.sv-call { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.sv-call:hover { border-color: var(--ink); }
.sv-wa { background: var(--wa); color: var(--on-wa); }
.sv-wa:hover { filter: brightness(1.08); }
.sv3 .sver .ic, .sv2 .sver .ic { width: 17px; height: 17px; vertical-align: -3px; color: #2160c4; }

.sv3 { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: box-shadow .18s, transform .18s; }
.sv3:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sv3-top { display: flex; gap: 12px; align-items: center; }
.sv3-ico { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--sc) 14%, var(--surface)); color: var(--sc); display: grid; place-items: center; flex-shrink: 0; }
.sv3-ico .ic { width: 26px; height: 26px; }
:root[data-theme="dark"] .sv3-ico { color: color-mix(in srgb, var(--sc) 55%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sv3-ico { color: color-mix(in srgb, var(--sc) 55%, #fff); } }
.sv3-name { min-width: 0; }
.sv3-name h3 { font-size: 17px; font-weight: 800; }
.sv3-role { font-size: 13px; color: var(--muted); font-weight: 600; }
.sv3-about { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv3-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sv3-chips span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.sv3-chips .ic { width: 14px; height: 14px; color: var(--red); }
.sv3-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sv3-price { flex: 1; min-width: 0; }
.sv3-price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sv3-price b { font-size: 15px; }

.sv2 { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; min-width: 0; transition: box-shadow .18s; }
.sv2:hover { box-shadow: var(--shadow); }
.sv2-av { position: relative; width: 56px; height: 56px; border-radius: 16px; background: var(--sc); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.sv2-av i { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--red); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.sv2-av i .ic { width: 13px; height: 13px; }
.sv2-main { min-width: 0; }
.sv2-main h3 { font-size: 17px; font-weight: 800; }
.sv2-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.sv2-row { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13px; }
.sv2-row > span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.sv2-row .ic { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
.sv2-side { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 420px) {
  .sv2 { grid-template-columns: auto minmax(0, 1fr); }
  .sv2-side { grid-column: 1 / -1; flex-direction: row; }
  .sv2-side .sv-rnd { flex: 1; border-radius: 999px; }
}
