/* Layout: white header (logo · wide search · bag) + link row; near-white page (was warm cream until 4 Nov 2026 — Samu
   chose white from dist/bg-samples.html); rounded banner hero; red accent-bar section heads; white cards with a thin
   border, red Save pills and a dark Buy pill */
:root {
  --bg: #fafafa;          /* near-white page */
  --surface: #ffffff;
  --card: #ffffff;        /* product card body */
  --tile: #f4f2ef;        /* soft grey-beige tiles / image ground */
  --ink: #1c1a18;
  --muted: #6d655c;
  --line: #ebe8e4;
  --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, details.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: replaced by "Shop by price" (.pz) on 16 Nov 2026 — see the block at the end of this file */

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

/* ---------- 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 { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 38px 20px 34px; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty::before { content: ""; position: absolute; inset: auto -20% 62% -20%; height: 160px; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 14%, transparent), transparent); pointer-events: none; }
.empty-ico { position: relative; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: var(--tile); box-shadow: 0 0 0 8px color-mix(in srgb, var(--tile) 45%, transparent); }
.empty-ico::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--red) 30%, transparent); animation: emptySpin 18s linear infinite; }
.empty-ico .ic { width: 28px; height: 28px; }
@keyframes emptySpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .empty-ico::after { animation: none; } }
.empty b { position: relative; display: block; color: var(--ink); font-family: var(--display); font-size: 19px; font-weight: 900; line-height: 1.25; }
.empty-txt { position: relative; max-width: 440px; font-size: 14.5px; line-height: 1.5; }
.empty[hidden] { display: none; }
.empty-cta { position: relative; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- 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); }
.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); }

/* ---------- 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-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: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.legal-toc li { counter-increment: toc; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; }
.legal-toc li::before { content: counter(toc) "."; text-align: right; padding-right: 6px; font-variant-numeric: tabular-nums; }
.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,
.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); }
@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); }


.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; }
}

/* ---------- How it works: extra sections ---------- */
.how-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.how-hero-btns .ic { width: 16px; height: 16px; }
.how-tabs { margin-top: 26px; }

/* phone mockups */
.ph-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ph { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ph-frame { position: relative; width: 100%; max-width: 230px; aspect-ratio: 9 / 17; border-radius: 34px; padding: 10px; background: var(--dark); box-shadow: var(--shadow); }
.ph-notch { position: absolute; top: 10px; left: 50%; width: 70px; height: 16px; translate: -50% 0; border-radius: 0 0 12px 12px; background: var(--dark); z-index: 1; }
.ph-screen { height: 100%; border-radius: 26px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; gap: 8px; padding: 26px 10px 10px; font-size: 12px; }
.ph-bar { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; padding: 6px 8px; border-radius: 10px; background: var(--surface); }
.ph-bar .ic { width: 14px; height: 14px; color: var(--red); }
.ph-bar.ph-wa { background: #0b6e4f; color: #fff; }
.ph-bar.ph-wa .wa-icon { width: 14px; height: 14px; }
.ph-shop { display: flex; gap: 8px; align-items: center; background: var(--surface); border-radius: 10px; padding: 6px; min-width: 0; }
.ph-shop i { width: 26px; height: 26px; border-radius: 8px; color: #fff; font-style: normal; font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.ph-shop div { min-width: 0; } .ph-shop b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-shop small { font-size: 11px; color: var(--muted); }
.ph-prod { background: var(--surface); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.ph-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ph-prod b { font-size: 12.5px; }
.ph-price { display: flex; justify-content: space-between; align-items: center; }
.ph-price span { color: var(--red); font-weight: 800; font-size: 14px; }
.ph-price em { font-style: normal; background: var(--dark); color: var(--on-dark); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 11px; }
.ph-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 4px; background: #efe7dc; border-radius: 10px; color: #1c1a18; }
.ph-chat p { margin: 0; max-width: 88%; padding: 7px 9px; border-radius: 10px; font-size: 11.5px; line-height: 1.4; }
.ph-chat .out { align-self: flex-end; background: #d9fdd3; }
.ph-chat .in { align-self: flex-start; background: #fff; }
.ph figcaption { display: flex; align-items: center; gap: 8px; font-weight: 700; text-align: center; }
.ph figcaption .sm-num { position: static; flex-shrink: 0; }
@media (max-width: 760px) {
  .ph-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72%, 230px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .ph { scroll-snap-align: center; }
}

/* comparison */
.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); align-items: center; font-size: 14.5px; }
.cmp-row:first-child { border-top: 0; }
.cmp-head { background: var(--tile); font-weight: 800; font-family: var(--display); }
.cmp-head .cmp-us { color: var(--red); }
.cmp-k { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cmp-k .ic { width: 17px; height: 17px; color: var(--red); }
.cmp-row > .cmp-us:not(.cmp-head *) { display: flex; gap: 6px; align-items: flex-start; font-weight: 600; }
.cmp-us .ic { width: 16px; height: 16px; color: var(--open); margin-top: 2px; }
.cmp-them { color: var(--muted); }
@media (max-width: 640px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 6px; }
  .cmp-row > [data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); }
  .cmp .cmp-row > .cmp-us[data-l] { display: block; }
  .cmp-us .ic { vertical-align: -3px; margin-right: 4px; }
}

/* commission calculator */
.how-calc { margin-top: 36px; border-radius: 26px; padding: clamp(20px, 3.5vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--amber) 30%, transparent), transparent 50%), var(--tile); }
.calc-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.calc-copy .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.calc-copy .hero-kicker .ic { width: 15px; height: 15px; }
.calc-copy h2 { font-weight: 900; font-size: clamp(24px, 3.2vw, 34px); }
.calc-copy p { margin: 0; color: var(--muted); }
.calc-note { font-size: 13px; }
.calc-box { background: var(--surface); border-radius: 20px; padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.calc-box label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; }
.calc-box label b { color: var(--red); font-variant-numeric: tabular-nums; }
.calc-box input[type="range"] { width: 100%; accent-color: var(--red); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0; }
.calc-out div { background: var(--tile); border-radius: 14px; padding: 10px 8px; text-align: center; min-width: 0; }
.calc-out small, .calc-out span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.calc-out b { display: block; font-family: var(--display); font-size: clamp(16px, 2vw, 20px); color: var(--closed); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-out .calc-us { background: var(--mint); }
.calc-out .calc-us b { color: var(--mint-ink); }
.calc-box .ic { width: 16px; height: 16px; }
@media (max-width: 860px) { .how-calc { grid-template-columns: 1fr; } }

/* tips */
.tips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.tip > .ic { width: 26px; height: 26px; color: var(--red); }
.tip b { font-family: var(--display); font-size: 16px; }
.tip p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tips-grid { grid-template-columns: 1fr; } }

/* two doors */
.how-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.path { border-radius: 24px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 8px; color: #fff; transition: transform .18s, box-shadow .18s; }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-buy { background: var(--grad-red); color: var(--on-red); }
.path-sell { background: var(--grad-amber); color: var(--on-amber); }
.path-ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.path-ico .ic { width: 26px; height: 26px; }
.path b { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.path p { margin: 0; opacity: .9; }
.path-go { margin-top: 6px; font-weight: 800; }
@media (max-width: 640px) { .how-paths { grid-template-columns: 1fr; } }

/* ---------- Food & restaurants ----------
   --sc is the place's colour, used for the cover. .fgrid holds the cards. */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.fgrid > .sell-band { grid-column: 1 / -1; }
.fd-veg { position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: #1f7a3c; border-radius: 999px; padding: 3px 9px 3px 7px; font-size: 12px; font-weight: 800; }
.fd-veg .ic { width: 13px; height: 13px; }
.fd-sub { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: -4px; }
.fd-dish { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.veg-mark { width: 14px; height: 14px; border: 1.5px solid var(--open); border-radius: 3px; display: grid; place-items: center; flex-shrink: 0; }
.veg-mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--open); }
.veg-mark.nv { border-color: var(--closed); }
.veg-mark.nv::after { background: var(--closed); }

/* Food cards: three looks picked with the Cards / Photos / List switch (state.foodView).
   .fc = photo on top, .fp = full photo, .fl = list row. The name link is stretched over the whole card. */
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .flist { grid-template-columns: 1fr; } }
.flist > .sell-band { grid-column: 1 / -1; }
.fc, .fp, .fl { position: relative; min-width: 0; transition: box-shadow .18s, transform .18s; }
.fc:hover, .fp:hover, .fl:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
:is(.fc, .fp, .fl) h3 { font-size: 17px; font-weight: 800; }
:is(.fc, .fp, .fl) h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
:is(.fc, .fp, .fl) h3 a:focus-visible { outline: none; }
:is(.fc, .fp, .fl):has(h3 a:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
:is(.fc, .fl):hover h3 a { color: var(--red); }
:is(.fc, .fl) .sver .ic { width: 17px; height: 17px; vertical-align: -3px; color: #2160c4; }
.f-img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--tile); }
.f-noimg { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sc), color-mix(in srgb, var(--sc) 55%, #000)); }
.f-noimg .ic { width: 72px; height: 72px; stroke-width: 1.3; }
.f-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; background: #fff; color: #1c1a18; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); white-space: nowrap; }
.f-pill .ic { width: 13px; height: 13px; }
.f-pill.ok { color: #1f8a4c; } .f-pill.no { color: #c4321f; } .f-pill.veg { color: #1f7a3c; }
.f-pill.dark { background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(4px); box-shadow: none; }
.f-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.f-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.f-meta span { display: inline-flex; align-items: center; gap: 5px; }
.f-meta .ic { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.f-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.f-list b { font-variant-numeric: tabular-nums; }
.f-foot { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.f-foot .btn { flex: 1; justify-content: center; min-height: 44px; }
.f-foot a { position: relative; z-index: 2; }

/* Cards: photo on top */
.fc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.fc-ph { position: relative; height: 190px; }
.fc-ph::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); pointer-events: none; }
.fc-tl { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.fc-two { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.fc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fc-body .f-sub { margin-top: -4px; }
.fc-dish { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px; }
.fc-dish span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; max-width: 100%; }
.fc-dish b { color: var(--red); }

/* Photos: the photo fills the card, text on a dark fade (same colours in both themes) */
.fp { border-radius: 22px; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #1c1a18; box-shadow: var(--shadow); }
.fp > .f-img { position: absolute; inset: 0; }
.fp::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0, transparent 18%, rgba(0, 0, 0, .62) 38%, rgba(0, 0, 0, .9) 58%, rgba(0, 0, 0, .94)); }
.fp-link { position: absolute; inset: 0; z-index: 1; }
.fp-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.fp-in { position: relative; z-index: 2; padding: 16px; display: flex; flex-direction: column; gap: 8px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.fp h3 { font-family: var(--display); font-size: 23px; font-weight: 900; line-height: 1.1; }
.fp .sver .ic { width: 18px; height: 18px; vertical-align: -3px; color: #9cc0ff; }
.fp .f-sub { color: rgba(255, 255, 255, .85); }
.fp .f-list b { color: #ffd76a; }
.fp .veg-mark { background: #fff; }
.fp .f-foot { text-shadow: none; }
.fp .sv-call { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); }

/* List: square photo + details in one row */
.fl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; }
.fl-ph { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; align-self: start; }
.fl-ph .f-pill { position: absolute; left: 6px; bottom: 6px; z-index: 1; font-size: 11px; padding: 3px 8px; }
.fl-ph .f-noimg .ic { width: 44px; height: 44px; }
.fl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fl-dish { font-size: 13px; color: var(--muted); }
.fl-dish b { color: var(--ink); font-weight: 600; }
.fl .f-foot .btn { min-height: 38px; padding: 8px 12px; font-size: 13.5px; }
.fl .sv-rnd { width: 38px; height: 38px; }
@media (max-width: 400px) { .fl { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } }

/* ---------- Restaurant page (menu + order tray) ---------- */
.rs-hero { --sc: #b4541a; margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.rs-cover { position: relative; height: clamp(180px, 26vw, 260px); }
.rs-cover::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); pointer-events: none; }
.rs-cover .fd-veg { position: absolute; top: 14px; right: 14px; z-index: 1; }
.rs-info { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; padding: 18px 22px 20px; }
.rs-name { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rs-name h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; }
.rs-name h1 .sver .ic { width: 22px; height: 22px; vertical-align: -3px; color: #2160c4; }
.rs-name .fd-sub { margin: 0; font-size: 14px; }
.rs-name .stags { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-name .tag .ic { width: 14px; height: 14px; }
.rs-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 22px; align-items: start; }
.rs-side { display: grid; gap: 14px; position: sticky; top: 140px; }
@media (max-width: 900px) { .rs-layout { grid-template-columns: minmax(0, 1fr); } .rs-side { position: static; } }
.rs-menu { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; min-width: 0; }
.rs-menu-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rs-menu-head h2 { font-size: 24px; font-weight: 900; }
.rs-menu-head .qt { margin-left: auto; }
.mn-jump { position: sticky; top: 121px; z-index: 3; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px -20px 4px; padding: 8px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mn-jump::-webkit-scrollbar { display: none; }
.mn-jump button { flex-shrink: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.mn-jump button:hover { border-color: var(--red); color: var(--red); }
.mn-sec { scroll-margin-top: 190px; }
@media (max-width: 820px) { .mn-jump { top: 129px; } .mn-sec { scroll-margin-top: 200px; } }
.mn-sec h3 { font-size: 17px; font-weight: 800; margin: 18px 0 2px; }
.mn-list { list-style: none; margin: 0; padding: 0; }
.mn-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mn-item:last-child { border-bottom: 0; }
.mn-item .veg-mark { align-self: flex-start; margin-top: 4px; }
.mn-text { flex: 1; min-width: 0; }
.mn-text b { font-size: 15.5px; }
.mn-text p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.mn-pop { margin-left: 8px; font-size: 11px; font-weight: 800; color: var(--ink); background: color-mix(in srgb, var(--amber) 22%, transparent); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; white-space: nowrap; }
.mn-price { display: block; margin-top: 3px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.mn-add { flex-shrink: 0; min-width: 76px; height: 38px; border-radius: 12px; border: 1.5px solid var(--wa); background: var(--surface); color: var(--wa); font-weight: 800; font-size: 14px; }
.mn-add:hover { background: var(--wa); color: var(--on-wa); }
.mn-qty { flex-shrink: 0; display: inline-flex; align-items: center; min-width: 76px; height: 38px; border-radius: 12px; background: var(--wa); color: var(--on-wa); overflow: hidden; }
.mn-qty button { width: 28px; height: 100%; border: 0; background: transparent; color: inherit; font-size: 18px; font-weight: 800; }
.mn-qty span { flex: 1; text-align: center; font-weight: 800; }
.mn-item.in .mn-text b { color: var(--ink); }
.rs-menu .note { margin-top: 14px; }
.tray { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 60; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px;
  background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.tray-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tray-sum b { font-size: 15px; font-variant-numeric: tabular-nums; }
.tray-sum button { align-self: flex-start; border: 0; background: none; color: inherit; opacity: .75; padding: 0; font-size: 12.5px; text-decoration: underline; }
.tray .btn { flex-shrink: 0; }
.rs-page.has-tray { padding-bottom: 80px; }
@media (max-width: 820px) { .tray { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 420px) {
  .rs-info { padding: 16px; }
  .rs-menu { padding: 16px 14px; }
  .mn-jump { margin-inline: -14px; padding-inline: 14px; }
  .tray { padding-left: 14px; gap: 8px; }
  .tray .btn { padding-inline: 12px; font-size: 13.5px; }
}
@media (max-width: 420px) { .tray-long { display: none; } }

/* ---------- Listed shops (not joined yet) ---------- */
.sstat.is-listed { color: var(--muted); }
.tag-listed { color: var(--muted); background: var(--tile); }
.claim { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--amber) 60%, var(--line)); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); display: grid; gap: 4px; justify-items: start; }
.claim span { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.maplink { color: var(--red); font-weight: 700; }
.see-all { display: flex; justify-content: center; margin-top: 18px; }
.acard-icons { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--red); }
.acard-icons .ic { width: 34px; height: 34px; stroke-width: 1.5; opacity: .8; }
/* 14 area pins on the sketch map: smaller names on small phones so neighbours don't touch */

.fc-addr, .fp-addr { margin: 0; font-size: 13px; color: var(--muted); }
.fp-addr { color: rgba(255, 255, 255, .8); }
.area-also { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.area-also a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; }
.area-also a:hover { border-color: var(--red); color: var(--red); }
.area-also .ic { width: 15px; height: 15px; color: var(--red); }

/* Home hero tiles when there are no products yet: the biggest shop categories */
.ht-cat-tile { background: var(--tile); }
.ht-cat { position: absolute; left: 12%; right: 12%; top: 8%; width: 76%; height: 62%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(60, 40, 20, .2)); }

/* Products page before any shop has added products */
.soon-prod { margin-top: 22px; padding: clamp(26px, 5vw, 44px) 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sp-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--amber) 22%, var(--surface)); color: var(--red); margin-bottom: 4px; }
.sp-ico .ic { width: 30px; height: 30px; }
.soon-prod h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.soon-prod p { margin: 0; max-width: 520px; color: var(--muted); }
.sp-btns { display: grid; grid-template-columns: repeat(2, 210px); justify-content: center; gap: 10px; margin-top: 10px; }
.sp-btns .btn { justify-content: center; }
.sp-btns .ic, .sp-btns .wa-icon { width: 18px; height: 18px; }
@media (max-width: 480px) { .sp-btns { width: 100%; grid-template-columns: minmax(0, 1fr); } }

/* Food shortcut at the top right — phones only (desktop has Food in the main nav). Replaced the old bag button. */
.quick-btn { display: none; }
@media (max-width: 820px) {
  .quick-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; margin-left: auto; flex-shrink: 0; padding: 4px 9px; border-radius: 14px; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.1; }
  .quick-btn svg { width: 26px; height: 26px; color: var(--red); }
  .quick-btn.active { background: var(--tile); color: var(--red); }
}

/* After 200 items: no skeleton, a clear button instead of loading on scroll */
.load-more.manual { margin-top: 26px; padding: 20px 16px; border-radius: 18px; border: 1px dashed var(--line); background: var(--surface); }
.load-more.manual .btn { min-width: 220px; justify-content: center; }
.load-more.manual .btn .ic { width: 18px; height: 18px; }

/* ---------- Account button in the header ---------- */
.acct-btn { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; max-width: 160px; }
.acct-btn svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.acct-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn:hover, .acct-btn.active { border-color: var(--red); color: var(--red); }
@media (max-width: 820px) {
  .acct-btn { flex-direction: column; gap: 1px; padding: 4px 8px; border: 0; border-radius: 14px; background: none; font-size: 11px; font-weight: 800; line-height: 1.1; max-width: 70px; }
  .acct-btn svg { width: 26px; height: 26px; }
  .acct-btn.active { background: var(--tile); }
  .acct-btn + .quick-btn { margin-left: 0; }
}

/* ---------- Save button on shop / product / restaurant pages ---------- */
.save-btn .ic { width: 18px; height: 18px; }
.save-btn.on { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); }
.save-btn.on .ic { fill: currentColor; }

/* ---------- Dashboards (account, seller, admin) — dashboard.js ---------- */
.dash { padding: 22px 0 10px; min-height: 60vh; }
.dash-preview { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border-radius: 14px; font-size: 13.5px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); }
.dash-preview .ic { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.dash-login { max-width: 440px; margin: 10px auto 30px; padding: 30px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; display: grid; gap: 12px; }
.dash-login h1 { font-size: clamp(24px, 4vw, 30px); font-weight: 900; }
.dash-login p { margin: 0; color: var(--muted); }
.dl-ico { width: 60px; height: 60px; margin: 0 auto 4px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-red); color: var(--on-red); }
.dl-ico .ic { width: 28px; height: 28px; }
.btn-google { justify-content: center; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); width: 100%; }
.btn-google:hover { border-color: var(--ink); }
.btn-google .ic { width: 20px; height: 20px; }
.dl-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.dl-or::before, .dl-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dl-form { display: grid; gap: 8px; text-align: left; }
.dl-form label { font-weight: 700; font-size: 14px; }
.dl-form input, .dash-form input, .dash-form select, .dash-form textarea, .dash-filters select, .dash-switch select, .dl-row select {
  width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.dl-form input:focus, .dash-form input:focus, .dash-form select:focus, .dash-form textarea:focus { outline: none; border-color: var(--red); }
.dl-note { margin: 0; font-size: 12.5px; color: var(--muted); }

.dash-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.dh-ava { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-red); color: var(--on-red); font-family: var(--display); font-weight: 900; font-size: 22px; flex-shrink: 0; }
.dh-who { flex: 1; min-width: 180px; display: grid; }
.dh-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.dh-who b { font-size: 19px; font-family: var(--display); overflow-wrap: anywhere; }
.dh-who small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dh-role { font-weight: 800; text-transform: capitalize; }
.dh-role.r-admin { color: var(--red); }
.dh-role.r-seller { color: var(--open); }
.dh-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-actions .ic { width: 15px; height: 15px; }

.dash-tabs { display: flex; gap: 6px; margin: 16px 0 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.dash-tabs button .ic { width: 16px; height: 16px; color: var(--red); }
.dash-tabs button.on { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.dash-tabs button.on .ic { color: inherit; }
.dash-tabs em { font-style: normal; font-size: 12px; font-weight: 800; background: var(--grad-red); color: var(--on-red); border-radius: 999px; padding: 1px 7px; }
.dash-switch { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 16px; background: var(--tile); }
.dash-switch .ic { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.dash-switch.one small { color: var(--muted); }
.dash-body { display: grid; gap: 4px; }

.dash-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.dt { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.dt .ic { width: 20px; height: 20px; color: var(--red); margin-bottom: 4px; }
.dt b { font-family: var(--display); font-size: 28px; font-weight: 900; line-height: 1.1; }
.dt span { font-size: 13px; color: var(--muted); font-weight: 600; }
.dt.ok b { color: var(--open); }
.dt.warn b { color: var(--red); }
.dash-sub { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }

.dash-sec { margin-top: 22px; }
.ds-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.ds-head h2 { font-size: 20px; font-weight: 900; }
.ds-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.ds-head .more { background: none; border: 0; color: var(--red); font-weight: 700; white-space: nowrap; }
.dash-list { display: grid; gap: 8px; }
.dl-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; flex-wrap: wrap; }
.dl-ava { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 900; flex-shrink: 0; }
.dl-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--tile); display: grid; place-items: center; flex-shrink: 0; }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-thumb .ic { width: 22px; height: 22px; color: var(--muted); }
.dl-main { flex: 1; min-width: 140px; display: grid; }
.dl-main b { overflow-wrap: anywhere; }
.dl-main small { color: var(--muted); font-size: 12.5px; }
.dl-main small a { color: var(--red); font-weight: 600; }
.dl-amt { color: var(--red); }
.dl-stat { color: var(--muted); font-weight: 600; }
.dl-row .btn-sm .wa-icon { width: 15px; height: 15px; }
.dl-row select { width: auto; padding: 6px 10px; }
.dash-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.ds-card { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.ds-card > div { min-width: 0; display: grid; }
.ds-card small { color: var(--muted); font-size: 12.5px; }
.ds-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--tile); display: grid; place-items: center; }
.ds-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-img .ic { width: 26px; height: 26px; color: var(--muted); }
.ds-x { margin-left: auto; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; }
.ds-x .ic { width: 14px; height: 14px; }
.ds-x:hover { color: var(--red); border-color: var(--red); }

.dash-form { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.df-card { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); margin-bottom: 12px; }
.df-card h3 { font-size: 18px; font-weight: 900; }
.df-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.df-grid > label { display: grid; gap: 5px; font-weight: 700; font-size: 14px; min-width: 0; }
.df-wide { grid-column: 1 / -1; }
.df-check { display: flex !important; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.df-check input { flex: none; width: 18px; height: 18px; accent-color: var(--red); }
.df-check.sm { font-size: 13px; font-weight: 600; }
.df-photo { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.df-photo img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.df-photo input[type="file"] { font-size: 13px; }
.dash-form textarea { resize: vertical; }
.dash-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.dash-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 10px; border-radius: 14px; background: var(--tile); font-size: 13.5px; }
.dash-note .ic { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
@media (max-width: 560px) { .df-grid { grid-template-columns: minmax(0, 1fr); } }

.menu-ed { display: grid; gap: 8px; }
.me-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 90px auto auto 32px; gap: 8px; align-items: center; }
.me-head { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.me-chk { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.me-chk input { width: 16px !important; height: 16px; accent-color: var(--red); }
@media (max-width: 680px) {
  .me-head { display: none; }
  .me-row { grid-template-columns: minmax(0, 1fr) 90px 32px; padding: 10px; border-radius: 14px; background: var(--tile); }
  .me-row [name="s"], .me-row [name="d"] { grid-column: 1 / -1; }
}

.dash-bars { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.db-row { display: grid; grid-template-columns: minmax(80px, 160px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.db-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-row i { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--red) var(--w), var(--tile) var(--w)); }
.claim-st { font-size: 12px; font-weight: 800; text-transform: capitalize; border-radius: 999px; padding: 3px 10px; background: var(--tile); }
.claim-st.s-pending { color: var(--amber); }
.claim-st.s-approved { color: var(--open); }
.claim-st.s-rejected { color: var(--closed); }
.claim-card { padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; display: grid; gap: 10px; }
.cc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-top .dl-row { flex: 1; border: 0; padding: 0; background: none; }
.claim-card .kv { font-size: 14px; }
.dash-filters { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 10px; margin-bottom: 10px; }
.dash-filters .shop-find { margin: 0; }
@media (max-width: 560px) { .dash-filters { grid-template-columns: minmax(0, 1fr); } }
.dash-empty { margin: 0; padding: 28px 18px 26px; }
.dash-empty .empty-ico { width: 54px; height: 54px; }
.dash-empty .empty-ico .ic { width: 24px; height: 24px; }
.dash-empty b { font-size: 17px; }

/* ===== Admin insights: activity charts, comparisons, recent activity, leads ===== */
.dash-h3 { font-size: 15px; font-weight: 800; margin: 16px 0 8px; }
.dt.cmp em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.dt.cmp em.up { color: var(--open); }
.dt.cmp em.down { color: var(--closed); }
.ch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 760px) { .ch-grid { grid-template-columns: minmax(0, 1fr); } }
.ch-card { margin: 0; padding: 14px 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.ch-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; margin-bottom: 10px; }
.ch-card figcaption span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ch { display: block; width: 100%; height: 120px; overflow: visible; }
.ch-hit { fill: transparent; }
.ch-bar.v { fill: var(--red); }
.ch-bar.t { fill: var(--wa); }
.ch g:hover .ch-bar { opacity: .75; }
.ch g:hover .ch-hit { fill: var(--tile); }
.ch-base { stroke: var(--line); stroke-width: 1; }
.ch-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.feed { list-style: none; margin: 0; padding: 4px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.feed li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed .ic { width: 18px; height: 18px; color: var(--red); }
.feed span { overflow-wrap: anywhere; }
.feed time { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 480px) { .feed li { grid-template-columns: 20px minmax(0, 1fr); } .feed time { grid-column: 2; } }
.dash-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 760px) { .dash-two { grid-template-columns: minmax(0, 1fr); } }
.dash-filters.one { grid-template-columns: minmax(0, 220px); }
.claim-st.s-new { color: var(--amber); }
.claim-st.s-added, .claim-st.s-done { color: var(--open); }
.claim-card .dash-btns select { width: auto; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; text-transform: capitalize; }
.gap-row small { white-space: normal; }
.dash-two .db-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }

/* ===== Seller extras: notice bar, closed today, completeness, promote, help ===== */
.pl-notice { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--grad-amber); color: var(--on-amber); }
.pl-notice .ic { width: 22px; height: 22px; flex-shrink: 0; }
.pl-notice span { display: grid; gap: 1px; }
.pl-notice small { font-size: 12.5px; font-weight: 600; opacity: .85; }
.sv-note { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--amber); margin-top: 6px; }
.sv-note .ic { width: 15px; height: 15px; flex-shrink: 0; }
.shop-cover.has-img { overflow: hidden; }
.shop-cover.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-cover.has-img::after { display: none; }
.today-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-top: 14px; border-radius: 18px; background: var(--mint); color: var(--mint-ink); }
.today-card.off { background: var(--tile); color: var(--closed); }
.today-card div { display: grid; gap: 2px; }
.today-card b { font-size: 16px; }
.today-card span { font-size: 13px; color: var(--muted); }
.score { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.score-bar { height: 10px; border-radius: 999px; background: var(--tile); overflow: hidden; }
.score-bar i { display: block; height: 100%; width: var(--w); background: var(--grad-red); border-radius: 999px; }
.score ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.score li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.score li .ic { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.score li.ok .ic { color: var(--open); }
.score li.ok span { text-decoration: line-through; }
.score li button { background: none; border: 0; padding: 0; color: var(--red); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.qprice { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.qprice input { width: 84px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.dl-row.out { opacity: .6; }
.df-head { font-size: 15px; font-weight: 800; margin: 10px 0 0; }
.df-note { font-size: 13px; color: var(--muted); align-self: end; }
.df-note button { background: none; border: 0; padding: 0; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; }
.df-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.promo-share { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.promo-share code { display: block; padding: 8px 10px; border-radius: 10px; background: var(--tile); font-size: 13px; overflow-wrap: anywhere; }
.promo-share p { font-size: 14px; color: var(--muted); }
.promo-qr { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.qr-box { width: 160px; height: 160px; padding: 8px; background: #ffffff; border-radius: 12px; display: grid; place-items: center; font-size: 12px; color: #1c1a18; }
.qr-box canvas { width: 100%; height: auto; }
.promo-qr p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.status-prev { margin-top: 12px; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.status-prev img { width: 180px; border-radius: 14px; border: 1px solid var(--line); }
.steps-mini { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tips li { display: flex; gap: 8px; font-size: 14px; }
.tips .ic { width: 18px; height: 18px; color: var(--open); flex-shrink: 0; margin-top: 2px; }
#qrPrint { display: none; }
@media print {
  html.print-qr body > *:not(#qrPrint) { display: none !important; }
  html.print-qr #qrPrint { display: block; text-align: center; color: #1c1a18; background: #ffffff; padding: 24px; font-family: var(--body); }
  #qrPrint .qp-brand { font: 800 20px var(--display); color: #e2412b; letter-spacing: .08em; text-transform: uppercase; }
  #qrPrint h1 { font: 900 44px var(--display); margin: 18px 0 4px; }
  #qrPrint img { width: 11cm; height: 11cm; margin: 18px auto; display: block; }
  #qrPrint h2 { font: 800 28px var(--display); margin: 0 0 6px; }
}

/* ===== Customer extras: reviews, report link, near you, saved news ===== */
.rv-block .rv-wrap { display: grid; gap: 14px; }
.rv-st { display: inline-flex; gap: 1px; vertical-align: middle; }
.rv-st .ic { width: 16px; height: 16px; color: var(--line); fill: currentColor; stroke: none; }
.rv-st .ic.on { color: var(--amber); }
.rv-sum { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.rv-sum b { font-family: var(--display); font-size: 30px; font-weight: 900; color: var(--ink); }
.rv-sum .rv-st .ic { width: 20px; height: 20px; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv-list li, .rv-form { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.rv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.rv-top time { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.rv-list p, .claim-card > p { margin: 6px 0 0; font-size: 14px; }
.rv-form { display: grid; gap: 10px; max-width: 560px; }
.rv-form textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; resize: vertical; }
.rv-form small { color: var(--muted); }
.rv-form .btn { justify-self: start; }
.rv-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick label { cursor: pointer; color: var(--line); line-height: 0; }
.rv-pick label .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.rv-pick label:hover, .rv-pick label:hover ~ label, .rv-pick input:checked ~ label { color: var(--amber); }
.rv-pick input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.report-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.report-link .ic { width: 16px; height: 16px; }
.report-link:hover { color: var(--red); }
.near-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.near-pick select { flex: 1; min-width: 0; }
.dl-link { color: inherit; text-decoration: none; }
.dl-price { display: grid; text-align: right; font-size: 14px; }
.dl-price s { color: var(--muted); font-size: 12px; }
.drop { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--open); }
.drop .ic { width: 14px; height: 14px; }
.ds-st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--closed); margin-top: 2px; }
.ds-st.on { color: var(--open); }
.ds-st .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ds-card .drop { margin-top: 2px; }
.dash-chips { margin-bottom: 12px; }
.share-band { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--mint); }
.share-band > .ic { width: 26px; height: 26px; color: var(--mint-ink); }
.share-band div { flex: 1; min-width: 180px; display: grid; }
.share-band span { font-size: 13.5px; color: var(--muted); }
.btn.danger { color: var(--closed); }

/* ===== Login: customer or shopkeeper ===== */
.dl-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 5px; margin-bottom: 6px; border-radius: 18px; background: var(--tile); }
.dl-mode button { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 0; border-radius: 14px; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.dl-mode button .ic { width: 22px; height: 22px; }
.dl-mode button b { font-size: 15px; color: var(--ink); }
.dl-mode button small { font-size: 12px; }
.dl-mode button.on { background: var(--surface); color: var(--red); box-shadow: var(--shadow); }
.dl-mode button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Small phones: logo + Login + Food must fit on one header line */
@media (max-width: 360px) {
  .header-row { column-gap: 6px; }
  .logo { gap: 7px; }
  .logo-text { font-size: 21px; }
  .acct-btn, .quick-btn { padding-inline: 4px; }
}
@media (max-width: 330px) { .logo-text { font-size: 19px; } .logo-text small { font-size: 9px; letter-spacing: .08em; } }

/* ===== Login page: brand panel + sign-in card ===== */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 980px; margin: 10px auto 36px; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-wrap .dash-login { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 34px 36px; align-content: center; }
.login-side { position: relative; overflow: hidden; padding: 40px 36px 190px; background: var(--grad-red); color: var(--on-red); display: grid; align-content: start; gap: 16px; }
.login-wrap.m-seller .login-side { background: linear-gradient(135deg, #1f2937 0%, #3b2a1f 55%, #b4541a 100%); color: #ffffff; }
.login-side::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.login-side::after { content: ""; position: absolute; width: 220px; height: 220px; left: -90px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ls-kicker { position: relative; justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-side h2 { position: relative; font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.ls-points { position: relative; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ls-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.ls-points .ic { width: 20px; height: 20px; flex-shrink: 0; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.ls-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.ls-stats div { padding: 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .14); text-align: center; display: grid; }
.ls-stats b { font-family: var(--display); font-size: 22px; font-weight: 900; }
.ls-stats span { font-size: 11.5px; font-weight: 600; opacity: .85; }
.ls-pics { position: absolute; left: 0; right: 0; bottom: 22px; height: 150px; }
.ls-pics img { position: absolute; width: 118px; height: 118px; object-fit: cover; border-radius: 18px; border: 4px solid #ffffff; box-shadow: 0 12px 26px rgba(0, 0, 0, .25); background: #ffffff; }
.ls-pics img:nth-child(1) { left: 12%; bottom: 0; transform: rotate(-8deg); }
.ls-pics img:nth-child(2) { left: 38%; bottom: 20px; transform: rotate(4deg); z-index: 1; }
.ls-pics img:nth-child(3) { left: 64%; bottom: 2px; transform: rotate(10deg); }
.dl-input { position: relative; }
.dl-input .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.dl-input input { padding-left: 40px !important; }
.dl-form input:focus, .dl-input input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.btn-google { padding-block: 12px; font-weight: 700; }
.btn-google:hover { background: var(--bg); }
.dl-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dl-trust span { display: inline-flex; align-items: center; gap: 5px; }
.dl-trust .ic { width: 15px; height: 15px; color: var(--open); }
.dl-legal { font-size: 12px !important; }
.dl-legal a { color: var(--red); font-weight: 600; }
@media (max-width: 820px) {
  .login-wrap { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .login-side { padding: 26px 22px 24px; gap: 12px; }
  .login-side h2 { font-size: 24px; }
  .ls-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .ls-points li { font-size: 13px; }
  .ls-pics { display: none; }
  .login-wrap .dash-login { padding: 24px 20px 28px; }
  .login-wrap .login-side { order: 2; }   /* on phones: sign in first, the reasons after */
}
@media (max-width: 420px) {
  .ls-points { grid-template-columns: minmax(0, 1fr); }
  .ls-stats b { font-size: 18px; }
}

/* Login page on its own: no announcement bar, header, menus or footer */
body.login-only .announce, body.login-only .header, body.login-only #footer, body.login-only .mobile-nav, body.login-only .skip { display: none !important; }
body.login-only { padding-bottom: 0; }
body.login-only #app { padding-bottom: 24px; }
/* the login page sits in the middle of the screen, not at the top */
body.login-only #app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-block: 16px; }
body.login-only #app > .wrap { width: 100%; }
body.login-only .login-top { margin-top: 0; }
body.login-only .login-wrap { margin-bottom: 0; }
.login-top { max-width: 980px; margin: 18px auto 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.login-back .ic { width: 16px; height: 16px; }
.login-back:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 420px) { .login-top .logo-text { font-size: 19px; } .login-top .logo-text small { display: none; } .login-back { padding: 7px 10px; font-size: 13px; } }

/* ===== List your shop: step form, preview, perks ===== */
.sell-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.sell-perks div { display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sell-perks .sp-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-red); color: var(--on-red); margin-bottom: 6px; }
.sell-perks .sp-ico .ic { width: 20px; height: 20px; }
.sell-perks b { font-size: 15px; }
.sell-perks small { color: var(--muted); font-size: 12.5px; }
.sell-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sell-side { display: grid; gap: 12px; position: sticky; top: 150px; }
.sell-card h2 { margin-top: 6px; }
.sell-steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sell-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--muted); position: relative; }
.sell-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.sell-steps li:first-child::before { display: none; }
.sell-steps li.done::before, .sell-steps li.on::before { background: var(--red); }
.sell-steps span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--tile); color: var(--muted); }
.sell-steps span .ic { width: 16px; height: 16px; }
.sell-steps li.on span, .sell-steps li.done span { background: var(--grad-red); color: var(--on-red); }
.sell-steps li.on b { color: var(--ink); }
.sell-steps b { font-weight: 700; }
.sell-draft { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12px; color: var(--muted); margin: 4px 0 10px !important; }
.sell-draft .ic { width: 14px; height: 14px; color: var(--open); }
.sell-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 16px; }
.sell-kinds button { display: grid; justify-items: center; gap: 3px; padding: 12px 8px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); color: var(--muted); font: inherit; cursor: pointer; text-align: center; }
.sell-kinds button .ic { width: 24px; height: 24px; }
.sell-kinds button b { color: var(--ink); font-size: 14.5px; }
.sell-kinds button small { font-size: 11.5px; }
.sell-kinds button.on { border-color: var(--red); background: var(--surface); color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent); }
.sell-dupes { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); font-size: 13.5px; }
.sell-dupes > b { display: flex; gap: 6px; align-items: center; }
.sell-dupes > b .ic { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.sell-dupes > span, .sell-dupes > small { color: var(--muted); }
.sd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface); }
.sd-row a:first-child { display: grid; color: var(--ink); min-width: 0; }
.sd-row small { color: var(--muted); }
.sell-geo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sell-geo .ok { display: inline-flex; align-items: center; gap: 5px; color: var(--open); font-weight: 700; font-size: 13.5px; }
.sell-geo .ok .ic { width: 16px; height: 16px; }
.sell-cover { position: relative; height: 150px; border-radius: 16px; border: 2px dashed var(--line); background: var(--tile); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.sell-cover img { width: 100%; height: 100%; object-fit: cover; }
.sell-cover .ic { width: 30px; height: 30px; }
.sell-cover input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sell-login { display: grid; gap: 10px; padding: 16px; margin-bottom: 14px; border-radius: 18px; background: var(--tile); }
.sell-login p { margin: 0; color: var(--muted); font-size: 13.5px; }
.sell-login .g-ic .ic { width: 18px; height: 18px; }
.sell-email { display: flex; gap: 8px; flex-wrap: wrap; }
.sell-email input { flex: 1; min-width: 180px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.sell-sum { margin: 14px 0; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-size: 14px; }
.sell-terms { align-items: flex-start; font-size: 14px; margin-top: 4px; }
.sell-terms a { color: var(--red); font-weight: 700; }
#f-s-terms.err { color: var(--closed); }
.sell-nav { align-items: center; }
.sell-nav .sell-reset { margin-left: auto; color: var(--muted); }
.sell-done { text-align: center; display: grid; gap: 10px; justify-items: center; }
.sell-done .dash-btns { justify-content: center; }
.sp-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.sp-cover { position: relative; height: 140px; background: var(--grad-red); display: grid; place-items: center; color: var(--on-red); }
.sp-cover > .ic { width: 46px; height: 46px; opacity: .9; }
.sp-cover.n2, .sp-cover.n3, .sp-cover.n4 { grid-template-columns: 1fr 1fr; gap: 2px; place-items: stretch; }
.sp-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.sp-cover.n3 img:first-child { grid-row: span 2; }
.sp-cover.n4 { grid-template-rows: 1fr 1fr; }
.sp-cover .sstat { position: absolute; top: 10px; left: 10px; }
.sp-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.sp-body b { font-size: 17px; }
.sp-body small { color: var(--muted); }
.sp-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.sp-tags span { display: inline-flex; align-items: center; gap: 4px; }
.sp-tags .ic { width: 14px; height: 14px; color: var(--red); }
.sp-foot { margin-top: 6px; font-weight: 700; font-size: 13.5px; }
.lead-img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.sell-faq details { padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.sell-faq summary { font-weight: 700; cursor: pointer; }
.sell-faq details p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .sell-grid { grid-template-columns: minmax(0, 1fr); }
  .sell-side { position: static; }
  .sell-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sell-steps b { font-size: 10.5px; }
  .sell-kinds small { display: none; }
  .sell-perks div { padding: 10px; }
}

/* ===== Seller: locked tools, inventory ===== */
.lt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lt-card { position: relative; display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }
.lt-card > .ic { width: 24px; height: 24px; color: var(--red); opacity: .7; }
.lt-card b { color: var(--ink); }
.lt-card small { font-size: 12.5px; }
.lt-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.lt-lock .ic { width: 13px; height: 13px; }
.locked-tools .steps-mini { margin-top: 14px; }
.inv-bar { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; gap: 10px; align-items: center; margin: 14px 0 6px; }
.inv-bar .shop-find { margin: 0; }
.inv-bar select { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.inv-low, .inv-out { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--tile); }
.inv-low { color: var(--amber); }
.inv-out { color: var(--closed); }
.qstock input { width: 70px; }
@media (max-width: 760px) { .lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inv-bar { grid-template-columns: minmax(0, 1fr); } }

/* ===== Pincode: strip under the header, picker sheet, marks ===== */
.pin-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; max-width: 210px; padding: 6px 12px 6px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pin-btn:hover { border-color: var(--red); }
.pin-btn > .ic:first-child { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.pin-btn > .ic:last-child { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.pin-btn > span { display: grid; min-width: 0; line-height: 1.15; }
.pin-btn small { font-size: 11px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin-btn b { font-size: 14px; }
.header-row .pin-btn + .acct-btn { margin-left: -16px; }   /* sit close together */
.header-row .pin-btn { margin-left: auto; }
.pin-sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.pin-sheet[hidden] { display: none; }
.pin-scrim { position: absolute; inset: 0; background: rgba(20, 14, 8, .5); }
.pin-card { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 12px; }
.pin-card h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; }
.pin-card h2 .ic { width: 22px; height: 22px; color: var(--red); }
.pin-card p { margin: 0; color: var(--muted); font-size: 14px; }
.pin-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.pin-x .ic { width: 18px; height: 18px; }
.pin-form { display: flex; gap: 8px; }
.pin-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; letter-spacing: .08em; }
.pin-form input:focus { outline: none; border-color: var(--red); }
.pin-msg { color: var(--closed) !important; font-weight: 700; }
.pin-sub { font-size: 13px; }
.pin-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pin-chips .chip { display: grid; justify-items: start; gap: 1px; padding: 8px 12px; border-radius: 14px; text-align: left; }
.pin-chips .chip small { font-size: 11.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pin-chips .chip.on { border-color: var(--red); }
body.pin-open { overflow: hidden; }
.pin-near { color: var(--open); font-weight: 700; }
.pin-yes { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 12.5px; font-weight: 800; color: var(--open); }
.pin-yes .ic { width: 14px; height: 14px; }
.pin-no { display: block; color: var(--muted); font-weight: 600; }
.acard-pincode { display: block; margin: -2px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.area-pins { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.area-pins .ic { width: 15px; height: 15px; color: var(--red); }
@media (max-width: 380px) { .pin-chips { grid-template-columns: minmax(0, 1fr); } }
.pin-card { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
.pin-card > * { min-width: 0; }
.pin-form .btn { flex-shrink: 0; }
.pin-chips .chip { width: 100%; min-width: 0; white-space: normal; }
.pin-chips .chip.on small { color: inherit; opacity: .8; }
.pin-card h2 { padding-right: 44px; }

/* ===== Phone menu: Login and pincode move from the header into a side menu (≤820px) ===== */
.menu-btn { display: none; }
@media (max-width: 820px) {
  .header-row .acct-btn, .header-row .pin-btn { display: none !important; }
  .header-row .quick-btn { margin-left: auto !important; }
  .menu-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; flex-shrink: 0; padding: 4px 9px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; font-size: 11px; font-weight: 800; line-height: 1.1; cursor: pointer; }
  .menu-btn svg { width: 26px; height: 26px; color: var(--red); }
  .menu-btn[aria-expanded="true"] { background: var(--tile); }
}
@media (max-width: 360px) { .menu-btn { padding-inline: 4px; } }
.side-menu { position: fixed; inset: 0; z-index: 95; }
.side-menu[hidden] { display: none; }
.sm-scrim { position: absolute; inset: 0; background: rgba(20, 14, 8, .5); }
.sm-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); overflow-y: auto; background: var(--bg); box-shadow: var(--shadow); display: grid; align-content: start; gap: 12px; padding: 16px 14px calc(24px + env(safe-area-inset-bottom, 0px)); animation: sm-in .2s ease-out; }
@keyframes sm-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sm-panel { animation: none; } }
.sm-head { display: flex; align-items: center; gap: 10px; }
.sm-head .logo-mark { width: 36px; height: 36px; font-size: 14px; }
.sm-head b { flex: 1; font-family: var(--display); font-size: 19px; font-weight: 900; }
.sm-head .pin-x { position: static; }
.sm-acct { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sm-acct > div { display: grid; min-width: 0; }
.sm-acct small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: var(--red); font-weight: 900; font-size: 18px; }
.sm-ava.on { background: var(--grad-red); color: var(--on-red); }
.sm-ava .ic { width: 22px; height: 22px; }
.sm-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.sm-btns .btn { flex: 1 1 auto; justify-content: center; }
.sm-pin { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.sm-pin > .ic { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.sm-pin span { flex: 1; display: grid; min-width: 0; font-size: 14px; }
.sm-pin small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pin em { font-style: normal; font-weight: 800; color: var(--red); }
.sm-links { display: grid; padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sm-links a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
.sm-links a .ic { width: 20px; height: 20px; color: var(--muted); }
.sm-links a.on { background: var(--tile); color: var(--red); }
.sm-links a.on .ic { color: var(--red); }
body.menu-open { overflow: hidden; }

/* Home "Shop by category": same white bordered card as the All shops category strip (.cs-item) */
.cat { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 8px; gap: 4px; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: none; }
.cat b { font-weight: 700; font-size: 13.5px; }
@media (max-width: 420px) { .cat { border-radius: 16px; padding: 10px 4px; } .cat b { font-size: 12.5px; } }

/* ---------- Ratings: average stars on cards, service review sheet ---------- */
.rate { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.rate .ic { width: 14px; height: 14px; color: var(--amber); fill: currentColor; stroke: none; }
.rate b { font-weight: 800; }
.rate small { font-size: 12px; font-weight: 600; opacity: .75; }
.prate { margin-top: 2px; }
.f-sub .rate { margin-right: 6px; }
.pd-rate { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pd-rate .rate { color: var(--ink); font-size: 15px; }
.sv3-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sv-rv { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.sv-rv:hover { border-color: var(--ink); }
.sv-rv .ic { width: 14px; height: 14px; color: var(--amber); fill: currentColor; stroke: none; pointer-events: none; }
.sv-rv b { font-weight: 800; }
.rv-sheet .pin-card { width: min(560px, 100%); }
.rv-sheet h2 { padding-right: 44px; }
.rv-sheet .rv-block { padding: 0; margin: 0; }
.rv-sheet .rv-block .sec-head { display: none; }

/* ---------- Report a business or product (sheet) ---------- */
button.report-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.rep-form { display: grid; gap: 12px; }
.rep-why { display: flex; flex-wrap: wrap; gap: 8px; }
.rep-why label { position: relative; cursor: pointer; }
.rep-why input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rep-why span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; }
.rep-why input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--surface); }
.rep-why input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.rep-l { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.rep-l small { font-weight: 500; color: var(--muted); }
.rep-l textarea, .rep-l input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; }
.rep-form .btn { justify-self: start; }
.rep-note { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 12.5px; }
.rep-note .ic { width: 15px; height: 15px; flex-shrink: 0; color: var(--open); }
.rep-done { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--tile); text-align: center; justify-items: center; }
.rep-done .ic { width: 34px; height: 34px; color: var(--open); }
.rep-done span { color: var(--muted); font-size: 14px; }
.rv-sheet .report-link { margin-top: 4px; }

/* ---------- Reports (Seller → Reports, Admin → Reports) ---------- */
.rep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.rep > *, .rep .dash-sec { min-width: 0; }
.rep-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.rep-head h2 { font-size: 24px; font-weight: 900; margin: 2px 0; }
.rep-head p { margin: 0; color: var(--muted); font-size: 14px; }
.rep-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rep-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rep-acts select { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; }
.rep-fine { font-size: 12.5px; }
.rep-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rep-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rep-table th, .rep-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rep-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--tile); position: sticky; top: 0; }
.rep-table td:first-child { white-space: normal; min-width: 160px; font-weight: 700; }
.rep-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rep-table tbody tr:last-child td { border-bottom: 0; }
.rep-table tbody tr:hover td { background: var(--tile); }
@media print {
  html.print-rep body { background: #ffffff; color: #1c1a18; }
  html.print-rep .announce, html.print-rep .header, html.print-rep footer.site, html.print-rep .mobile-nav, html.print-rep .dash-tabs, html.print-rep .dash-head,
  html.print-rep .dash-switch, html.print-rep .dash-preview, html.print-rep .dash-note, html.print-rep .rep-acts, html.print-rep .rep-act, html.print-rep .toast { display: none !important; }
  html.print-rep .rep-head, html.print-rep .rep-scroll, html.print-rep .dt { border-color: #cccccc; background: #ffffff; box-shadow: none; }
  html.print-rep .rep-scroll { overflow: visible; }
  html.print-rep .rep-table th { background: #f2f2f2; color: #444444; position: static; }
  html.print-rep .rep-table td, html.print-rep .rep-table th { border-color: #dddddd; color: #1c1a18; }
  html.print-rep .dash-sec { break-inside: avoid-page; }
}

/* ---------- Ratings block: score + star breakdown, empty state, rating picker ---------- */
.rv-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 28px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); max-width: 640px; }
.rv-score { display: grid; justify-items: center; gap: 4px; text-align: center; padding-right: 24px; border-right: 1px solid var(--line); }
.rv-score b { font-family: var(--display); font-size: 46px; font-weight: 900; line-height: 1; color: var(--ink); }
.rv-score .rv-st .ic { width: 18px; height: 18px; }
.rv-score span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rv-bars { display: grid; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.rv-bar span { display: inline-flex; align-items: center; gap: 2px; }
.rv-bar span .ic { width: 12px; height: 12px; color: var(--amber); fill: currentColor; stroke: none; }
.rv-bar i { height: 8px; border-radius: 999px; background: var(--tile); overflow: hidden; }
.rv-bar em { display: block; height: 100%; border-radius: 999px; background: var(--grad-amber, var(--amber)); }
.rv-bar b { color: var(--muted); font-weight: 600; text-align: right; }
.rv-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; }
.rv-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--tile); color: var(--red); }
.rv-line { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.rv-line em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.rv-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 20px; border-radius: 22px; border: 1.5px dashed var(--line); background: var(--surface); max-width: 640px; }
.rv-empty-stars { display: flex; gap: 4px; margin-bottom: 4px; }
.rv-empty-stars .ic { width: 30px; height: 30px; color: var(--amber); fill: currentColor; stroke: none; opacity: .28; animation: rvTwinkle 2.4s ease-in-out infinite; }
.rv-empty-stars .ic:nth-child(2) { animation-delay: .15s; } .rv-empty-stars .ic:nth-child(3) { animation-delay: .3s; }
.rv-empty-stars .ic:nth-child(4) { animation-delay: .45s; } .rv-empty-stars .ic:nth-child(5) { animation-delay: .6s; }
@keyframes rvTwinkle { 0%, 100% { opacity: .28; transform: scale(1); } 40% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .rv-empty-stars .ic { animation: none; opacity: .7; } }
.rv-empty > b { font-family: var(--display); font-size: 20px; font-weight: 900; }
.rv-empty p { margin: 0; max-width: 420px; font-size: 14px; color: var(--muted); }
.rv-empty p strong { color: var(--ink); }
.rv-empty .btn { margin-top: 6px; }
.rv-empty .btn .ic, .rv-wrap > .btn .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rv-pickrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.rv-word { font-size: 14px; font-weight: 700; color: var(--muted); }
.rv-word.on { color: var(--amber); }
.rv-l { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.rv-l small { font-weight: 500; color: var(--muted); }
.rv-form { transition: box-shadow .3s; }
.rv-form.flash { box-shadow: 0 0 0 3px var(--amber); }
@media (max-width: 520px) {
  .rv-card { grid-template-columns: minmax(0, 1fr); }
  .rv-score { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Ratings & reviews: the box is centred on the page, the heading stays on the left like every other section (Samu, 3 Nov 2026) */
.rv-block .rv-wrap { justify-items: center; }
.rv-block .rv-card, .rv-block .rv-empty, .rv-block .rv-list, .rv-block .rv-form { width: 100%; max-width: 640px; }
.rv-block .rv-form .btn { justify-self: center; }
.rv-block .rv-form > b, .rv-block .rv-form > small { text-align: center; }
.rv-block .rv-pickrow { justify-content: center; }

/* ---------- Shop card grid: 4 per row on desktop, 3 on tablets, 2 on phones (Samu, 3 Nov 2026) ---------- */
.sgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scard .sbody { padding: 38px 14px 14px; }
.shead h3 { font-size: 17px; }
.scard .smeta { gap: 3px 10px; font-size: 13px; }
.scard .sfoot { font-size: 14px; gap: 6px; }
.sgo { padding: 8px 12px; font-size: 13px; }
@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .scard { border-radius: 18px; }
  .scard .scover { height: 112px; }
  .scard::before, .scard::after { height: 125px; }
  .scard .savatar { left: 10px; top: 72px; width: 44px; height: 44px; border-radius: 13px; font-size: 20px; }
  .sstat { left: 8px; top: 8px; padding: 3px 8px; font-size: 11px; gap: 4px; }
  .scard .sbody { padding: 26px 10px 12px; gap: 5px; }
  .shead { gap: 4px; }
  .shead h3 { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .scard .sver .ic { width: 16px; height: 16px; }
  .scard .smeta { font-size: 12px; gap: 2px 8px; }
  .scard .smeta .ic { width: 13px; height: 13px; }
  .scard .stime { font-size: 11.5px; gap: 3px; }
  .scard .stime .ic { width: 13px; height: 13px; }
  .scard .sfoot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; font-size: 12.5px; }
  .scard .sfoot > span:first-child { justify-content: center; }
  .sgo { text-align: center; padding: 8px 6px; font-size: 12.5px; }
  .scard .rate { font-size: 12px; }
}
@media (max-width: 360px) {
  .sgrid { gap: 10px; }
  .scard .smeta .pin-near { display: none; }
}

/* ---------- Profile photos (logo) in avatars, and the photo pickers in Seller → Shop profile ---------- */
.has-logo { overflow: hidden; padding: 0; }
.has-logo .ava-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.sv2-av.has-logo { overflow: visible; }
.sv2-av.has-logo .ava-img { border-radius: 16px; }
.sv3-ico.has-logo { background: var(--tile); }
.rs-name { display: flex; align-items: center; gap: 12px; }
.rs-logo { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; border: 3px solid var(--surface); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); background: var(--surface); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.ph-pick { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--line); background: var(--surface); }
.ph-pick.has { border-style: solid; }
.ph-pick.busy { opacity: .6; pointer-events: none; }
.ph-pick.busy::after { content: "Uploading…"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--ink); }
.ph-cover .ph-prev { aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.ph-cover .ph-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-empty { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ph-empty .ic { width: 30px; height: 30px; }
.ph-logo { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.ph-ava { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 38px; border: 4px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); }
.ph-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-text { display: grid; gap: 4px; min-width: 0; }
.ph-text b { font-size: 15px; }
.ph-text small { color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.ph-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ph-btns label { cursor: pointer; }
.ph-btns .ic { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-ava { width: 76px; height: 76px; font-size: 30px; }
}

/* ---------- Home "For shopkeepers" band (design C): dark band, awning, live count, floating category cut-outs ---------- */
:root { --skb-bg: #1c1a18; --skb-text: #fbf6ef; --skb-muted: #cfc6bb; --skb-gold: #f6b84a; }
:root[data-theme="dark"] { --skb-bg: #2b2520; --skb-muted: #c9bfb3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --skb-bg: #2b2520; --skb-muted: #c9bfb3; } }
.skb { position: relative; border-radius: 28px; overflow: hidden; background: var(--skb-bg); color: var(--skb-text); }
.skb-awn { height: 22px; background: repeating-linear-gradient(90deg, var(--red) 0 46px, #fbf6ef 46px 92px);
  -webkit-mask: radial-gradient(23px 14px at 23px 8px, #000 98%, transparent) 0 0 / 46px 100%;
          mask: radial-gradient(23px 14px at 23px 8px, #000 98%, transparent) 0 0 / 46px 100%; }
.skb-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 30px clamp(22px, 4vw, 48px) 44px; }
.skb-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.skb .hero-kicker { color: var(--skb-gold); }
.skb h2 { font: 900 clamp(30px, 4.4vw, 50px)/1.05 var(--display); margin: 10px 0 12px; letter-spacing: -.02em; color: var(--skb-text); }
.skb h2 span { color: var(--skb-gold); }
.skb p { color: var(--skb-muted); margin: 0 0 18px; max-width: 42ch; }
.skb-stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0 0 22px; }
.skb-stats b { display: block; font: 900 30px var(--display); color: var(--skb-text); }
.skb-stats small { color: var(--skb-muted); font-size: 13px; }
.skb-art { position: relative; height: 320px; }
.skb-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 167, 44, .28), transparent); }
.skb-art img { position: absolute; width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); transition: transform .4s ease; }
.skb-art .k0 { left: 6%; top: 4%; width: 170px; height: 170px; }
.skb-art .k1 { left: 44%; top: 0; }
.skb-art .k2 { right: 0; top: 30%; width: 160px; height: 160px; }
.skb-art .k3 { left: 18%; bottom: 0; }
.skb-art .k4 { left: 52%; bottom: -4%; width: 140px; height: 140px; }
.skb:hover .skb-art img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .skb-art img { transition: none; } }
@media (max-width: 760px) {
  .skb { border-radius: 22px; }
  .skb-in { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 26px; gap: 6px; }
  .skb-art { order: -1; height: 190px; }
  .skb-art img { width: 92px; height: 92px; }
  .skb-art .k0 { width: 104px; height: 104px; left: 4%; } .skb-art .k2 { width: 98px; height: 98px; }
  .skb-art .k4 { width: 86px; height: 86px; }
  .skb-stats { gap: 10px 20px; } .skb-stats b { font-size: 24px; }
  .skb .btn { width: 100%; justify-content: center; }
}
@media (max-width: 360px) { .skb-art img { width: 78px; height: 78px; } .skb-art .k0 { width: 88px; height: 88px; } }

/* ---------- "For shopkeepers" band A on All shops (ordersBand): phone with a shop page and WhatsApp orders ---------- */
.oba { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 30px; padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px); border-radius: 28px; background: var(--tile); overflow: hidden; margin: 8px 0; }
.oba h2 { font: 900 clamp(28px, 3.6vw, 44px)/1.08 var(--display); letter-spacing: -.02em; margin: 8px 0 12px; }
.oba h2 em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oba-copy p { color: var(--muted); max-width: 46ch; margin: 0 0 16px; }
.oba-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.oba-chips span, .sb3-badge.b2 { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.oba-chips i, .sb3-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--open); }
.oba-cta, .sb3-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.oba-art { position: relative; height: 410px; }
.oba-phone { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 230px; height: 400px; border-radius: 34px; background: #1c1a18; padding: 10px; box-shadow: 0 30px 60px rgba(60, 30, 10, .25); }
.oba-screen { height: 100%; border-radius: 26px; overflow: hidden; background: var(--surface); }
.oba-cover { height: 120px; position: relative; }
.oba-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oba-cover span { position: absolute; left: 12px; bottom: -18px; width: 44px; height: 44px; border-radius: 13px; background: #2f7d5b; color: #fff; display: grid; place-items: center; font: 900 20px var(--display); border: 3px solid var(--surface); }
.oba-body { padding: 24px 12px 12px; }
.oba-body b { font: 800 15px var(--display); display: block; }
.oba-body small { color: var(--open); font-weight: 700; font-size: 11px; }
.oba-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.oba-prods div { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.oba-prods img { width: 100%; height: 62px; object-fit: cover; display: block; }
.oba-prods p { margin: 4px 6px 6px; } .oba-prods em { font-style: normal; color: var(--red); }
.oba-msg { position: absolute; display: flex; gap: 10px; align-items: center; width: 250px; padding: 10px 12px; border-radius: 16px; background: var(--surface); box-shadow: 0 12px 30px rgba(60, 30, 10, .18); font-size: 12.5px; line-height: 1.35; }
.oba-msg img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.oba-msg b { display: block; font-size: 12px; color: var(--open); }
.ob-wa { width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ob-wa svg { width: 15px; height: 15px; }
.oba-msg.m1 { right: -6px; top: 70px; } .oba-msg.m2 { left: -10px; top: 220px; }

/* ---------- "For shopkeepers" band B on Areas (stepsBand): 3 steps and a product photo mosaic ---------- */
.sb3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.sb3 h2 { font: 900 clamp(28px, 3.6vw, 44px)/1.08 var(--display); margin: 8px 0 12px; letter-spacing: -.02em; }
.sb3-copy p { color: var(--muted); margin: 0 0 18px; max-width: 42ch; }
.sb3-steps { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.sb3-steps li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.sb3-steps li > span { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-red); color: #fff; display: grid; place-items: center; font: 900 14px var(--display); flex-shrink: 0; }
.sb3-steps small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.sb3-mosaic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 150px 150px; gap: 10px; }
.sb3-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.sb3-mosaic img:first-child { grid-row: span 2; }
.sb3-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 12px 28px rgba(60, 30, 10, .18); font-weight: 800; font-size: 13px; }
.sb3-badge strong { font: 900 22px var(--display); color: var(--red); }
.sb3-badge.b1 { left: -18px; bottom: 26px; } .sb3-badge.b2 { right: -12px; top: -14px; border: 0; padding: 10px 14px; }

@media (max-width: 760px) {
  .oba, .sb3 { grid-template-columns: minmax(0, 1fr); gap: 18px; border-radius: 22px; }
  .oba-art { height: 340px; }
  .oba-phone { width: 196px; height: 336px; border-radius: 30px; }
  .oba-cover { height: 96px; } .oba-prods img { height: 50px; }
  .oba-msg { width: min(232px, 74%); font-size: 11.5px; padding: 8px 10px; gap: 8px; }
  .oba-msg img { width: 34px; height: 34px; }
  .oba-msg.m1 { right: 0; top: 54px; } .oba-msg.m2 { left: 0; top: 196px; }
  .oba-cta .btn, .sb3-cta .btn { flex: 1 1 auto; justify-content: center; }
  .sb3-mosaic { grid-template-rows: 110px 110px; gap: 8px; margin: 12px 0 8px; }
  .sb3-mosaic img { border-radius: 14px; }
  .sb3-badge { padding: 8px 10px; font-size: 12px; }
  .sb3-badge strong { font-size: 18px; }
  .sb3-badge.b1 { left: 8px; bottom: -12px; } .sb3-badge.b2 { right: 8px; top: -12px; }
}

/* ---------- Search page before anything is typed (searchStart) ---------- */
.se-page { padding-top: 26px; }
.se-hero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(28px, 5vw, 54px) clamp(16px, 4vw, 40px); border-radius: 28px; background: var(--tile); }
.se-hero::before, .se-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.se-hero::before { width: 320px; height: 320px; left: -110px; top: -140px; background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 16%, transparent), transparent); }
.se-hero::after { width: 360px; height: 360px; right: -130px; bottom: -170px; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 24%, transparent), transparent); }
.se-hero > * { position: relative; }
.se-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-red); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--red) 30%, transparent); }
.se-ico svg { width: 30px; height: 30px; }
.se-hero h1 { font: 900 clamp(28px, 4vw, 42px)/1.1 var(--display); letter-spacing: -.02em; }
.se-hero p { margin: 0; color: var(--muted); max-width: 56ch; }
.se-hero p b { color: var(--ink); }
.se-form { display: flex; align-items: center; gap: 8px; width: min(640px, 100%); margin-top: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.se-form:focus-within { border-color: var(--red); }
.se-form > svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.se-form input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; padding: 10px 4px; outline: none; }
.se-form .btn { border-radius: 999px; flex-shrink: 0; }
.se-try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 720px; margin-top: 6px; }
.se-try > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.se-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; transition: border-color .15s, color .15s; }
.se-chip:hover { border-color: var(--red); color: var(--red); }
.se-chip .ic { width: 14px; height: 14px; color: var(--muted); }
.se-recent { margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.se-recent-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.se-recent-head b { display: inline-flex; align-items: center; gap: 6px; }
.se-recent-head .ic { width: 18px; height: 18px; color: var(--red); }
.se-clear { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.se-clear:hover { color: var(--red); }
.se-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.se-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.se-area { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.se-area:hover { border-color: var(--red); }
.se-area .ic { grid-row: span 2; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--tile); color: var(--red); }
.se-area b { font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-area small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 960px) { .se-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .se-hero { border-radius: 22px; }
  .se-form { padding-left: 12px; } .se-form .btn { padding-inline: 14px; }
  .se-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Request buttons that open the ask sheet but look like links */
button.miss-ask { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--red); cursor: pointer; text-align: left; }
.ok-box.err { color: var(--closed); }

/* Business registration: 3 steps, centred */
.sell-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; margin-inline: auto; }
.sell-once { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--tile); border: 1px solid var(--line); margin: 6px 0 4px; }
.sell-once > .ic { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.sell-once b { font-size: 16px; }
.sell-once p { margin: 6px 0 12px; color: var(--muted); }
.sell-once p b { font-size: inherit; color: var(--ink); }
.sell-login.err { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- "Ask to fix": admin message on a request, the admin's form, the sender's banner ---------- */
.claim-st.s-fix { background: color-mix(in srgb, var(--amber) 22%, var(--surface)); color: var(--ink); }
.fix-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--tile); }
.fix-note > .ic { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--amber); }
.fix-note.s-rejected > .ic { color: var(--closed); }
.fix-note b { font-size: 14px; }
.fix-note p { margin: 3px 0 0; font-size: 14px; white-space: pre-line; }
.fix-note small { display: block; margin-top: 4px; color: var(--muted); }
.fix-form { margin-top: 12px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--amber); background: var(--surface); display: grid; gap: 10px; }
.fix-form textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.fix-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fix-chips .chip { font-size: 12.5px; }
.fix-act { margin-top: 8px; }
.sell-fixbar { margin: 4px 0 10px; }
.sell-once.fix > .ic { color: var(--amber); }
.fix-note.s-done > .ic { color: var(--open); }

/* ---------- Install app (bottom of the phone menu) and the install steps sheet ---------- */
.sm-install { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--tile); border: 1px solid var(--line); }
.sm-install img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.sm-install b { display: block; font-size: 15px; }
.sm-install small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.sm-install .btn { grid-column: 1 / -1; justify-content: center; }
.sm-install .btn .ic { width: 18px; height: 18px; }
.inst-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; }
.inst-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.inst-steps li > span { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-red); color: #fff; display: grid; place-items: center; font: 900 14px var(--display); flex-shrink: 0; }
.inst-steps small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Product description: seller's box and the product page block */
.df-desc textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; resize: vertical; }
.df-desc > small { font-weight: 500; color: var(--muted); }
.df-count { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.dl-main .dl-desc { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-desc { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.pd-desc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.pd-desc p { margin: 0; white-space: pre-line; line-height: 1.55; }

/* ---------- Search results heading (pageSearch): kind of search, facts, section chips; nothing-found box ---------- */
.sr { position: relative; overflow: hidden; margin-top: 22px; padding: 24px 26px 20px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.sr::after { content: ""; position: absolute; right: -80px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 20%, transparent), transparent); pointer-events: none; }
.sr > * { position: relative; z-index: 1; }
.sr-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sr-row > div { min-width: 0; }
.sr-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.sr-kicker .ic, .sr-kicker svg { width: 15px; height: 15px; }
.sr h1 { font: 900 clamp(26px, 3.6vw, 40px)/1.1 var(--display); letter-spacing: -.02em; margin: 8px 0 6px; overflow-wrap: anywhere; }
.sr h1 em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr p { margin: 0; color: var(--muted); font-size: 15px; }
.sr p b { color: var(--ink); }
.sr-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.sr-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.sr-meta .ic { width: 15px; height: 15px; color: var(--red); }
.sr-meta b { color: var(--ink); }
.sr-meta .ok { color: var(--open); font-weight: 700; }
.sr-fix { margin-top: 8px !important; }
.sr-fix a { color: var(--red); font-weight: 700; text-decoration: underline; }
.sr-go { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--grad-red); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sr-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.sr-chip b { font: 900 15px var(--display); color: var(--red); }
.sr-chip.on { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.sr-chip.on b { color: inherit; }
.sr.none { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 34px 20px; }
.sr.none .sr-chips { justify-content: center; }
.sr-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--tile); color: var(--red); }
.sr-ico svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  .sr { padding: 18px 16px 16px; border-radius: 20px; }
  .sr-go { width: 100%; justify-content: center; }
}

/* ---------- Service profile page (pageService) and the seller's Work & charges editor ---------- */
.svp-ico { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.svp-ico .ic { width: 64px; height: 64px; }
.svp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svp-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.svp-facts .ic { width: 16px; height: 16px; color: var(--red); }
.svp-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svp-work { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.svp-work:hover { border-color: var(--wa); transform: translateY(-2px); }
.svp-wi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tile); color: var(--red); }
.svp-wi .ic { width: 20px; height: 20px; }
.svp-wt { min-width: 0; display: grid; }
.svp-wt b { font-size: 15px; }
.svp-wt small { color: var(--muted); font-size: 12.5px; }
.svp-wp { font: 800 14px var(--display); color: var(--red); white-space: nowrap; text-align: right; }
.svp-ask { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--wa); color: var(--on-wa); font-size: 12.5px; font-weight: 800; }
.svp-ask svg { width: 14px; height: 14px; }
.svp-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.svp-note .ic { width: 16px; height: 16px; flex-shrink: 0; color: var(--amber); margin-top: 2px; }
.svp-areas { margin: 10px 0 0 !important; }
.svp-areas b { display: inline-flex; align-items: center; gap: 4px; }
.svp-areas .ic { width: 15px; height: 15px; color: var(--red); }
.sv-name { color: inherit; }
.sv-name:hover { color: var(--red); }
.sv-more { font-size: 13px; font-weight: 800; color: var(--red); margin-left: auto; }
.sv-works { margin-top: 4px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.sv-rv { text-decoration: none; }
.works-ed .we-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; }
.works-ed .we-row input { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
@media (max-width: 760px) {
  .svp-works { grid-template-columns: minmax(0, 1fr); }
  .svp-work { grid-template-columns: auto minmax(0, 1fr) auto; }
  .svp-ask { display: none; }
  .works-ed .we-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .works-ed .we-row input[name="n"] { grid-column: 1 / 3; }
  .works-ed .me-head { display: none; }
}

/* =====================================================================
   Website colours (4 Nov 2026): Saffron is the default (the tokens at the top). [data-color="blue"] and
   [data-color="green"] on <html> swap the colour tokens, light and dark. Keep every new colour here in all three.
   ===================================================================== */
:root[data-color="blue"] {
  --bg: #fafafa; --surface: #ffffff; --card: #ffffff; --tile: #eef2fa; --ink: #111a2e; --muted: #5a6478; --line: #e3e8f2;
  --red: #1f4fd1; --on-red: #ffffff; --brand: #1f4fd1; --amber: #3aa0ff; --on-amber: #04213f; --closed: #c4321f;
  --mint: #e6f0ff; --mint-ink: #1f4fd1;
  --grad-red: linear-gradient(135deg, #0b2a8f 0%, #1f4fd1 50%, #3a7bf0 100%);
  --grad-amber: linear-gradient(135deg, #3aa0ff 0%, #7cc4ff 100%);
  --shadow: 0 1px 2px rgba(20, 40, 90, .05), 0 10px 26px rgba(20, 40, 90, .08);
  --skb-bg: #0c1f52; --skb-gold: #ffcc4d;
}
:root[data-color="green"] {
  --bg: #fafafa; --surface: #ffffff; --card: #ffffff; --tile: #eef5ee; --ink: #13201a; --muted: #586a5c; --line: #e2ebe1;
  --red: #13803a; --on-red: #ffffff; --brand: #13803a; --amber: #f3a72c; --on-amber: #2a1a00; --closed: #c4321f;
  --mint: #e3f4e6; --mint-ink: #13803a;
  --grad-red: linear-gradient(135deg, #0b6125 0%, #138808 50%, #3aa94f 100%);
  --shadow: 0 1px 2px rgba(20, 60, 30, .05), 0 10px 26px rgba(20, 60, 30, .08);
  --skb-bg: #0c3a1d;
}
@media (prefers-color-scheme: dark) {
  :root[data-color="blue"]:not([data-theme="light"]) {
    --bg: #0e131d; --surface: #141b29; --card: #172031; --tile: #1d2840; --ink: #e8eefb; --muted: #9ba7c0; --line: #28344d;
    --red: #7ea6ff; --on-red: #06132e; --brand: #7ea6ff; --amber: #7cc4ff; --on-amber: #04213f; --mint: #172744; --mint-ink: #9cc1ff;
    --dark: #e8eefb; --on-dark: #0e131d;
    --grad-red: linear-gradient(135deg, #4a78f5 0%, #8fb2ff 100%); --grad-amber: linear-gradient(135deg, #7cc4ff 0%, #b5ddff 100%);
    --skb-bg: #18264a;
  }
  :root[data-color="green"]:not([data-theme="light"]) {
    --bg: #0e1510; --surface: #141e16; --card: #17231a; --tile: #1c2c20; --ink: #e6f2e7; --muted: #9db3a1; --line: #29392c;
    --red: #5cc97f; --on-red: #062010; --brand: #5cc97f; --mint: #17301f; --mint-ink: #8fdca8;
    --dark: #e6f2e7; --on-dark: #0e1510;
    --grad-red: linear-gradient(135deg, #2f9a52 0%, #7bd896 100%);
    --skb-bg: #17301f;
  }
}
:root[data-theme="dark"][data-color="blue"] {
  --bg: #0e131d; --surface: #141b29; --card: #172031; --tile: #1d2840; --ink: #e8eefb; --muted: #9ba7c0; --line: #28344d;
  --red: #7ea6ff; --on-red: #06132e; --brand: #7ea6ff; --amber: #7cc4ff; --on-amber: #04213f; --mint: #172744; --mint-ink: #9cc1ff;
  --dark: #e8eefb; --on-dark: #0e131d;
  --grad-red: linear-gradient(135deg, #4a78f5 0%, #8fb2ff 100%); --grad-amber: linear-gradient(135deg, #7cc4ff 0%, #b5ddff 100%);
  --skb-bg: #18264a;
}
:root[data-theme="dark"][data-color="green"] {
  --bg: #0e1510; --surface: #141e16; --card: #17231a; --tile: #1c2c20; --ink: #e6f2e7; --muted: #9db3a1; --line: #29392c;
  --red: #5cc97f; --on-red: #062010; --brand: #5cc97f; --mint: #17301f; --mint-ink: #8fdca8;
  --dark: #e6f2e7; --on-dark: #0e1510;
  --grad-red: linear-gradient(135deg, #2f9a52 0%, #7bd896 100%);
  --skb-bg: #17301f;
}
/* the few places with fixed warm colours follow the theme too */
:root[data-color] .announce { background: var(--tile); color: var(--ink); }
:root[data-color] .hero-card, :root[data-color] .area-hero {
  background: radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--amber) 32%, transparent), transparent 38%),
    radial-gradient(circle at 6% 100%, color-mix(in srgb, var(--red) 14%, transparent), transparent 40%), var(--tile); }
:root[data-color] .cat-svg { color: var(--red); }
:root[data-color] .skb-glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 30%, transparent), transparent); }
:root[data-color] .login-wrap.m-seller .login-side { background: linear-gradient(135deg, #1f2937 0%, color-mix(in srgb, var(--red) 70%, #1f2937) 100%); }

/* the colour picker: dots in the desktop header, a row in the phone menu */
.tc-pick { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tc-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 0; cursor: pointer; flex-shrink: 0; }
.tc-saffron { background: linear-gradient(135deg, #ff9933, #e2412b); }
.tc-blue { background: linear-gradient(135deg, #ffffff 0 38%, #1f4fd1 38%); }
.tc-green { background: linear-gradient(135deg, #3aa94f, #138808); }
.tc-pick .tc-dot.on, .tc-chip.on .tc-dot { box-shadow: 0 0 0 2px var(--ink); }
.tc-pick .tc-dot:hover { transform: scale(1.12); }
@media (max-width: 1100px) { .tc-pick { padding: 5px 6px; gap: 4px; } .tc-dot { width: 16px; height: 16px; } }
@media (max-width: 820px) { .tc-pick { display: none; } }
.sm-colors { padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.sm-colors b { font-size: 14px; }
.sm-colors > div { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tc-chip.on { border-color: var(--red); color: var(--red); }
.tc-chip .tc-dot { width: 16px; height: 16px; }
:root[data-color] .hero-copy h1 { color: var(--ink); }

/* the Indian flag next to the colour picker, so the three colours read as the tricolour */
.in-flag { width: 24px; height: 16px; flex-shrink: 0; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.tc-pick .in-flag { margin-right: 2px; }
.sm-colors > b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sm-colors > b small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
@media (max-width: 1100px) { .tc-pick .in-flag { width: 21px; height: 14px; } }

/* Admin undo buttons */
.undo-btn { gap: 6px; }
.undo-btn .ic { width: 15px; height: 15px; }

/* ---------- Service work cards: profile page (.svp-card) and the provider's card editor (.wk-card) ---------- */
.svp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svp-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.svp-card:hover { transform: translateY(-3px); border-color: var(--red); }
.svp-cimg { position: relative; aspect-ratio: 4 / 3; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.svp-cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svp-cimg.none { aspect-ratio: 5 / 2; background: linear-gradient(135deg, color-mix(in srgb, var(--sc) 22%, var(--tile)), var(--tile)); color: var(--sc); }
.svp-cimg.none .ic { width: 36px; height: 36px; opacity: .85; }
.svp-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.svp-badge.b-popular { background: var(--grad-amber); color: var(--on-amber); }
.svp-badge.b-offer { background: var(--grad-red); color: var(--on-red); }
.svp-badge.b-new { background: var(--open); color: #fff; }
.svp-cbody { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.svp-cbody b { font-size: 15.5px; line-height: 1.3; }
.svp-cbody small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.svp-cfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.svp-cfoot .svp-wp { text-align: left; }
@media (max-width: 960px) { .svp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .svp-cards { gap: 10px; } .svp-cbody { padding: 10px; } .svp-cbody b { font-size: 14px; } .svp-ask { display: none; } }

.wk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wk-card { display: grid; gap: 8px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.wk-card input, .wk-card textarea, .wk-card select { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
.wk-card input[name="w"] { font-weight: 700; }
.wk-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--tile); display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.wk-photo > span { display: grid; justify-items: center; gap: 4px; }
.wk-photo > span .ic { width: 26px; height: 26px; }
.wk-photo img { width: 100%; height: 100%; object-fit: cover; }
.wk-photo.busy { opacity: .5; }
.wk-up { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.wk-up .ic { width: 15px; height: 15px; }
.wk-del-photo { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wk-del-photo .ic { width: 14px; height: 14px; }
.wk-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px; align-items: center; }
.wk-foot .ds-x[disabled] { opacity: .35; cursor: default; }
.wk-add { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 240px; border-radius: 16px; border: 1.5px dashed var(--line); background: var(--bg); color: var(--muted); font: inherit; cursor: pointer; }
.wk-add:hover { border-color: var(--red); color: var(--red); }
.wk-add .ic { width: 28px; height: 28px; }
.wk-add b { color: var(--ink); }
@media (max-width: 960px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wk-grid { grid-template-columns: minmax(0, 1fr); } .wk-add { min-height: 120px; } }

/* ---------- Page background design (Samu, 4 Nov 2026 — option D "Colour glow" from dist/bg-patterns.html) ----------
   One fixed layer behind everything (body::after, z-index -1): a soft amber glow top-right, a soft red glow
   bottom-left (the faint dots were removed the same day — Samu). Made from the theme tokens, so it follows Saffron / Blue / Green and dark mode. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 100% 0%, color-mix(in srgb, var(--amber) 16%, transparent), transparent 70%),
    radial-gradient(50vw 45vh at 0% 100%, color-mix(in srgb, var(--red) 10%, transparent), transparent 70%);
}
@media print { body::after { display: none; } }

/* ---------- Promotional banners (.promo): one slot per page, under the hero (Admin → Banners) ---------- */
.promo, .promo-empty { margin: 18px 0 6px; }
.promo-home .promo, .promo-home .promo-empty { margin: 4px 0 0; }
.promo { position: relative; }
.pr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; box-shadow: var(--shadow); }
.pr-track::-webkit-scrollbar { display: none; }
.pr-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 1; min-height: 150px; overflow: hidden; display: flex; align-items: center; color: #fff; text-decoration: none; background: var(--tile); }
.pr-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-slide.pr-text { background: var(--grad-red); color: var(--on-red); }
.pr-slide.pr-text::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: color-mix(in srgb, var(--amber) 45%, transparent); filter: blur(10px); }
.pr-slide.pr-fade::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 55%, transparent 80%); }
.pr-copy { position: relative; z-index: 2; display: grid; gap: 6px; padding: 18px clamp(18px, 4vw, 48px); max-width: 640px; }
.pr-copy b { font-family: var(--display); font-size: clamp(20px, 3vw, 34px); line-height: 1.1; }
.pr-copy small { font-size: clamp(13px, 1.4vw, 16px); opacity: .92; }
.pr-cta { justify-self: start; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #1c1a18; font-style: normal; font-weight: 800; font-size: 14px; }
.pr-ad { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pr-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pr-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .2s; }
.pr-dot.on { width: 22px; background: var(--red); }
@media (max-width: 600px) { .pr-slide { aspect-ratio: 2 / 1; min-height: 0; } .pr-track { border-radius: 16px; } .pr-cta { padding: 6px 12px; font-size: 13px; } }

.promo-empty { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; border: 1.5px dashed color-mix(in srgb, var(--red) 40%, var(--line)); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.pe-ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 12%, var(--surface)); color: var(--red); }
.pe-ic .ic { width: 26px; height: 26px; }
.pe-copy { flex: 1; min-width: 0; }
.pe-copy b { font-family: var(--display); font-size: 18px; }
.pe-copy p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .promo-empty { flex-wrap: wrap; padding: 14px; gap: 12px; } .pe-ic { width: 42px; height: 42px; } .promo-empty .btn { width: 100%; justify-content: center; } }

/* Admin → Banners */
.bn-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bn-thumb { aspect-ratio: 4 / 1; border-radius: 10px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.bn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bn-thumb.txt { background: var(--grad-red); color: var(--on-red); font-size: 11px; padding: 4px 8px; text-align: center; }
.bn-pill { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; vertical-align: middle; }
.bn-pill.on { background: color-mix(in srgb, var(--open) 16%, transparent); color: var(--open); }
.bn-pill.off { background: var(--tile); color: var(--muted); }
.bn-pill.wait { background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--ink); }
.bn-row .ds-x[disabled] { opacity: .35; cursor: default; }
.bn-photo { position: relative; aspect-ratio: 4 / 1; min-height: 120px; border-radius: 14px; overflow: hidden; background: var(--tile); display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.bn-photo > span { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 10px; }
.bn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-photo.busy { opacity: .5; }
.bn-pages { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.bn-pages legend { font-weight: 700; padding: 0 4px; }
.bn-pages label, .bn-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.bn-check { margin: 4px 0; }
@media (max-width: 700px) { .bn-row { grid-template-columns: minmax(0, 1fr); } .bn-thumb { max-width: 240px; } }
.dash-form .bn-pages label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; }
.dash-form .bn-check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.dash-form .bn-pages input, .dash-form .bn-check input { width: auto; margin: 0; }

/* banners without a photo can carry small pictures on the right (sample banners) */
.pr-slide.has-art .pr-copy { max-width: 58%; }
.pr-art { position: absolute; z-index: 1; right: clamp(16px, 4vw, 56px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: clamp(6px, 1.2vw, 16px); }
.pr-art img.cut { width: clamp(70px, 11vw, 150px); height: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .25)); }
.pr-art img.cut:nth-child(2) { transform: translateY(-14px) scale(1.1); }
.pr-art img.pic { width: clamp(70px, 10vw, 140px); aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 20px rgba(0, 0, 0, .25); }
.pr-art img.pic:nth-child(1) { transform: rotate(-6deg); }
.pr-art img.pic:nth-child(2) { transform: translateY(-12px) rotate(3deg) scale(1.08); }
.pr-art img.pic:nth-child(3) { transform: rotate(7deg); }
@media (max-width: 600px) {
  .pr-slide.has-art .pr-copy { max-width: 64%; padding-right: 4px; }
  .pr-slide.has-art .pr-copy small { display: none; }
  .pr-art { right: 10px; gap: 2px; }
  .pr-art img:nth-child(n+2) { display: none; }
  .pr-art img.cut, .pr-art img.pic { width: 96px; }
}

/* work list on the service profile: the provider's photo in place of the icon, badge as a small pill */
.svp-wi.has-img { overflow: hidden; padding: 0; }
.svp-wi.has-img img { width: 100%; height: 100%; object-fit: cover; }
.svp-wb { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; vertical-align: middle; background: var(--tile); color: var(--ink); }
.svp-wb.b-popular { background: var(--grad-amber); color: var(--on-amber); }
.svp-wb.b-offer { background: var(--grad-red); color: var(--on-red); }
.svp-wb.b-new { background: var(--open); color: #fff; }

/* ---------- Portfolio: service profile gallery (.pf-grid, lightbox .pf-box) and the seller editor (.pf-ed) ---------- */
.svp-pf { padding-top: 6px; }
.svp-pf .sec-head .more { color: var(--muted); font-weight: 700; }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--tile); cursor: zoom-in; box-shadow: var(--shadow); }
.pf-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pf-tile:hover img { transform: scale(1.05); }
.pf-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; text-align: left; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .pf-tile { border-radius: 12px; } }

.pf-box { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 6, .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.pf-box figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: min(1100px, 100%); }
.pf-box img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; object-fit: contain; background: #111; }
.pf-box figcaption { color: #fff; font-size: 15px; text-align: center; white-space: pre-wrap; }
.pf-x { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pf-x .ic { width: 20px; height: 20px; }
.pf-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.pf-nav.prev { left: 12px; } .pf-nav.next { right: 12px; }
.pf-nav:hover, .pf-x:hover { background: rgba(255, 255, 255, .28); }
@media (max-width: 560px) { .pf-nav { width: 40px; height: 40px; font-size: 24px; top: auto; bottom: 18px; transform: none; } }

.pf-ed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-row { display: grid; gap: 8px; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.pf-ph { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tile); }
.pf-ph img { width: 100%; height: 100%; object-fit: cover; }
.pf-row input[name="c"] { width: 100%; padding: 7px 9px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 13.5px; }
.pf-btns { display: flex; gap: 6px; justify-content: flex-end; }
.pf-btns .ds-x[disabled] { opacity: .35; cursor: default; }
.pf-add { min-height: 0; aspect-ratio: 1; }
.pf-add.busy { opacity: .5; pointer-events: none; }
@media (max-width: 860px) { .pf-ed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pf-ed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ---------- Shops / food places that also give a service ---------- */
.shop-svc { padding-top: 6px; }
.shop-svc .svp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.shop-svc .svp-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 700; }
.shop-svc .svp-facts .ic { width: 16px; height: 16px; color: var(--red); }
.sv-also { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; background: var(--tile); color: var(--ink); vertical-align: middle; }
.df-svc { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--bg); }

/* sample portfolio photos (listed, unclaimed services) */
.pf-tag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }

/* Close account */
.dash-note.closing { align-items: center; flex-wrap: wrap; background: color-mix(in srgb, var(--closed) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--closed) 35%, transparent); }
.dash-note.closing .ic { color: var(--closed); }
.dash-note.closing span { flex: 1; min-width: 200px; }
.close-list { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Admin → Backup */
.bk-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin-bottom: 12px; border: 1px solid var(--line); background: var(--surface); }
.bk-card > .ic { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.bk-card.ok > .ic { color: var(--open); }
.bk-card.old > .ic { color: var(--amber); }
.bk-card div { display: grid; gap: 4px; }
.bk-card small { color: var(--muted); font-size: 13px; }

/* "We never ask for OTP or payment" (About, Contact) */
.safe-note { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; padding: 16px 18px; border-radius: 18px;
  background: color-mix(in srgb, var(--open) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--open) 35%, var(--line)); }
.safe-note > .ic { width: 26px; height: 26px; flex-shrink: 0; color: var(--open); }
.safe-note b { font-family: var(--display); font-size: 17px; }
.safe-note p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* list-view service card: the photo sits at the top, next to the name (Samu, 4 Nov 2026) */
.sv2-av { align-self: start; margin-top: 2px; }

/* grid service card footer: Call + WhatsApp left, View profile right */
.sv3-foot .sv3-go { margin-left: auto; display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.sv3-foot .sv3-go:hover { border-color: var(--red); }

/* service cards (grid and list): a tap anywhere opens the profile (Samu, 4 Nov 2026) — the name link is stretched over
   the card; Call, WhatsApp, Reviews and View profile sit above it */
.sv3, .sv2 { position: relative; cursor: pointer; }
.sv3 .sv-name::after, .sv2 .sv-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.sv3 a:not(.sv-name), .sv2 a:not(.sv-name), .sv3 button, .sv2 button { position: relative; z-index: 1; }
.sv3:hover .sv-name, .sv2:hover .sv-name { color: var(--red); }

/* grid service card: a soft band in the provider's colour behind the photo and name (Samu, 4 Nov 2026) */
.sv3 { overflow: hidden; }
.sv3-top { margin: -18px -18px 0; padding: 16px 18px; border-bottom: 1px solid color-mix(in srgb, var(--sc) 18%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--sc) 18%, var(--surface)) 0%, color-mix(in srgb, var(--sc) 6%, var(--surface)) 100%); }
.sv3-top .sv3-ico { background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.sv3-top .sv3-role { color: color-mix(in srgb, var(--sc) 45%, var(--muted)); }

/* the band's design: a big, faint, tilted picture of the card's kind of work (its SERVICE_TYPES icon), and a small one */
.sv3-top { position: relative; overflow: hidden; }
.sv3-top > :not(.sv3-mark) { position: relative; }
.sv3-mark { position: absolute; inset: 0; pointer-events: none; color: var(--sc); }
.sv3-mark .ic { position: absolute; stroke-width: 1.4; }
.sv3-mark .ic:first-child { width: 96px; height: 96px; right: -14px; top: -18px; opacity: .16; transform: rotate(-14deg); }
.sv3-mark .ic:last-child { width: 34px; height: 34px; right: 86px; bottom: -8px; opacity: .1; transform: rotate(12deg); }
:root[data-theme="dark"] .sv3-mark { color: color-mix(in srgb, var(--sc) 60%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sv3-mark { color: color-mix(in srgb, var(--sc) 60%, #fff); } }

/* "View profile" on the grid service card stands out: a filled pill in the site colour (Samu, 4 Nov 2026) */
.sv3-foot .sv3-go { background: var(--grad-red); color: var(--on-red); border: 0; padding: 10px 16px; font-weight: 800;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--red) 30%, transparent); transition: transform .15s, box-shadow .15s; }
.sv3-foot .sv3-go:hover, .sv3:hover .sv3-go { transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--red) 40%, transparent); color: var(--on-red); }

/* ---------- Requirements page (pageNeeds) ---------- */
.need-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; margin-top: 18px; }
.need-side { position: sticky; top: 140px; display: grid; gap: 12px; }
.need-side .note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.need-form h2 { margin: 0 0 4px; font-size: 22px; }
.need-form > div > p, .need-form form > p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.need-form .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.need-form .field { display: grid; gap: 4px; min-width: 0; }
.need-form .field.full { grid-column: 1 / -1; }
.need-form label { font-size: 13px; font-weight: 700; }
.need-form input, .need-form select, .need-form textarea { width: 100%; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; }
.need-form .hint { font-size: 12.5px; color: var(--muted); margin: 10px 0; }
.need-form button[type="submit"] { width: 100%; justify-content: center; }
.need-tools { display: grid; gap: 10px; margin-bottom: 14px; }
.need-tools .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-tools .chip .ic { width: 15px; height: 15px; margin-right: 4px; }
.need-filters { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px; }
.need-filters select { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.need-filters .shop-find { margin: 0; }
.need-grid { display: grid; gap: 12px; }
.need-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 10px; }
.need-top { display: flex; gap: 12px; align-items: flex-start; }
.need-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 12%, var(--surface)); color: var(--red); }
.need-card.k-product .need-ic { background: color-mix(in srgb, var(--amber) 20%, var(--surface)); color: color-mix(in srgb, var(--amber) 60%, var(--ink)); }
.need-card.k-food .need-ic { background: color-mix(in srgb, var(--open) 14%, var(--surface)); color: var(--open); }
.need-ic .ic { width: 22px; height: 22px; }
.need-head { min-width: 0; }
.need-head h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.need-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.need-meta span { display: inline-flex; align-items: center; gap: 4px; }
.need-meta .ic { width: 14px; height: 14px; }
.need-details { margin: 0; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.need-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.need-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--tile); font-size: 12.5px; font-weight: 700; }
.need-tags .ic { width: 13px; height: 13px; }
.need-when.w-today { background: color-mix(in srgb, var(--closed) 14%, var(--surface)); color: var(--closed); }
.need-when.w-week { background: color-mix(in srgb, var(--amber) 22%, var(--surface)); }
.need-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.need-mine-tag { font-size: 13px; font-weight: 800; color: var(--muted); }
.need-mine { display: grid; gap: 8px; }
.need-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.need-row small { display: block; color: var(--muted); font-size: 13px; }
.need-band { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 10px 0 26px; border-radius: 22px; background: color-mix(in srgb, var(--red) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--red) 25%, var(--line)); }
.need-band .nb-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-red); color: var(--on-red); }
.need-band .nb-ic .ic { width: 24px; height: 24px; }
.need-band > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.need-band b { font-family: var(--display); font-size: 19px; }
.need-band span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .need-layout { grid-template-columns: minmax(0, 1fr); } .need-side { position: static; order: -1; } }
@media (max-width: 600px) { .need-filters { grid-template-columns: minmax(0, 1fr); } .need-form .fields { grid-template-columns: minmax(0, 1fr); } .need-band { flex-wrap: wrap; } .need-band .btn { width: 100%; justify-content: center; } }

/* list-page heroes: buttons wrap on small phones instead of widening the page */
.sh-cta { flex-wrap: wrap; }

/* Requirements: edit mode of the form */
.need-form .is-edit h2 { color: var(--red); }
.need-form #needPost.is-edit { box-shadow: 0 0 0 2px color-mix(in srgb, var(--red) 35%, transparent); border-radius: 14px; padding: 4px; }
.need-edit-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.need-edit-btns .btn { justify-content: center; }

/* ---------- Requirements page, part 2: steps, quick starts, badges, photo, matches, seller band, tips, FAQ ---------- */
.need-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 4px; }
.ns-step { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ns-num { position: absolute; right: 14px; top: 10px; font: 900 34px var(--display); color: color-mix(in srgb, var(--red) 14%, transparent); }
.ns-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-red); color: var(--on-red); }
.ns-ic .ic { width: 20px; height: 20px; }
.ns-step b { display: block; font-size: 15.5px; } .ns-step small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.need-quick { padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.need-quick > b { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.need-quick > b .ic { width: 16px; height: 16px; color: var(--amber); }
.need-quick .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.need-quick .chip { font-size: 13px; padding: 6px 11px; }
.need-badges { display: flex; gap: 6px; margin-bottom: 4px; }
.need-badges:empty { display: none; }
.need-badges em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.nb-urgent { background: var(--closed); color: #fff; }
.nb-new { background: var(--open); color: #fff; }
.need-card.urgent { border-color: color-mix(in srgb, var(--closed) 40%, var(--line)); }
.need-card.flash { animation: needflash 2.4s ease; }
@keyframes needflash { 0%, 40% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 70%, transparent); } 100% { box-shadow: var(--shadow); } }
.need-top .need-head { flex: 1; }
.need-photo { flex: 0 0 auto; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--tile); }
.need-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.need-match { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--red); }
.need-match .ic { width: 15px; height: 15px; }
.need-replies { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.need-replies .ic { width: 14px; height: 14px; }
.need-share .wa-icon { width: 15px; height: 15px; }
.need-ph { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.need-ph img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.need-ph small { color: var(--muted); font-size: 12.5px; }
.need-seller { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 30px 0; padding: 24px 26px; border-radius: 24px; background: var(--skb-bg, #1c1a18); color: #fff; }
.need-seller > div:first-child { flex: 1; min-width: 240px; }
.need-seller h3 { margin: 6px 0; font-family: var(--display); font-size: 24px; color: #fff; }
.need-seller p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.need-seller .hero-kicker { color: var(--amber); }
.need-seller .ns-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.need-seller .btn-line { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
.need-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 30px; }
.need-tips, .need-faq { padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.need-tips h2, .need-faq h2 { margin: 0 0 12px; font-size: 22px; }
.need-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.need-tips li { display: flex; gap: 10px; align-items: flex-start; }
.need-tips li > .ic { flex: 0 0 auto; width: 34px; height: 34px; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--open) 14%, var(--surface)); color: var(--open); }
.need-tips b { display: block; font-size: 14.5px; } .need-tips span { color: var(--muted); font-size: 13.5px; }
.need-faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.need-faq details:first-of-type { border-top: 0; }
.need-faq summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.need-faq p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .need-steps, .need-info { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .need-photo { width: 60px; height: 60px; } .need-replies { margin-left: 0; width: 100%; } .need-seller { padding: 20px; } }

/* Seller → Shop profile → Location */
.df-map { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--bg); }
.df-map > b { display: inline-flex; align-items: center; gap: 6px; } .df-map > b .ic { width: 16px; height: 16px; color: var(--red); }
.df-map small { color: var(--muted); font-size: 12.5px; }
.df-map .dash-btns { align-items: center; }
.df-geo { font-size: 12.5px; color: var(--muted); }

/* A seller opening the registration page: what they can add instead */
.sa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 36px; }
.sa-tile { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
.sa-tile:hover { transform: translateY(-2px); border-color: var(--red); }
.sa-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 4px; background: color-mix(in srgb, var(--red) 12%, var(--surface)); color: var(--red); }
.sa-ic .ic { width: 23px; height: 23px; }
.sa-tile b { font-family: var(--display); font-size: 18px; }
.sa-tile small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.sa-tile.main { background: var(--grad-red); color: var(--on-red); border-color: transparent; }
.sa-tile.main .sa-ic { background: var(--surface); }
.sa-tile.main small { color: inherit; opacity: .9; }
@media (max-width: 960px) { .sa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sa-grid { grid-template-columns: minmax(0, 1fr); } }

/* Search suggestions under a search box (.sg-box) */
.sg-box { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 90; max-height: 60vh; overflow-y: auto; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 34px rgba(0, 0, 0, .16); text-align: left; }
.sg-head { padding: 8px 10px 3px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.sg-head:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.sg-sep { height: 1px; margin: 6px 0 4px; background: var(--line); }
.sg-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.sg-row:hover, .sg-row.on { background: var(--tile); }
.sg-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
.sg-ic .ic { width: 16px; height: 16px; }
.sg-l { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sg-row small { flex: 0 0 auto; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12.5px; }
.sr-recs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 2px; }
.sr-recs > span { font-size: 13px; font-weight: 800; color: var(--muted); }
.sr-recs .se-try { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }

/* Admin panel: sidebar on desktop, a sideways row of tabs on phones */
.adm-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 14px; }
.adm-side { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.adm-side .dash-tabs { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; }
.adm-side .dash-tabs button { width: 100%; justify-content: flex-start; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; }
.adm-side .dash-tabs button:hover { background: var(--tile); }
.adm-side .dash-tabs button.on { background: var(--dark); color: var(--on-dark); }
.adm-side .dash-tabs em { margin-left: auto; }
@media (max-width: 900px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 0; }
  .adm-side { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; }
  .adm-side .dash-tabs { display: flex; margin: 16px 0 6px; overflow-x: auto; }
  .adm-side .dash-tabs button { width: auto; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
  .adm-side .dash-tabs button.on { background: var(--dark); border-color: var(--dark); }
  .adm-side .dash-tabs em { margin-left: 0; }
}
@media print { .adm-layout { display: block; } .adm-side { display: none; } }

/* Shop by category on phones: two rows that slide sideways (Samu, 5 Nov 2026), not a long list */
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: none; grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: 30%; gap: 8px;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid .cat { scroll-snap-align: start; min-width: 0; }
}

/* dashboard tiles that open a list */
.dt-go { font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: transform .15s, border-color .15s; }
.dt-go:hover { transform: translateY(-2px); border-color: var(--red); }
.dt-arrow { font-style: normal; color: var(--red); font-weight: 800; }

/* a tile with work waiting stands out */
.dt-go.warn { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); background: color-mix(in srgb, var(--red) 6%, var(--surface)); }

/* seller dashboard: the place name or picker at the top of the sidebar */
.adm-side .dash-switch { margin: 0 0 8px; }
.adm-side .dash-switch select { width: 100%; min-width: 0; }
.adm-side .dash-switch.one { flex-wrap: wrap; gap: 2px 8px; }
.adm-side .dash-switch.one small { flex-basis: 100%; }
@media (max-width: 900px) { .adm-side .dash-switch { margin: 14px 0 0; } .adm-side .dash-switch.one small { flex-basis: auto; } }

/* Seller → Shop profile: how customers get their order */
.df-get { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--bg); }
.df-get > b { display: inline-flex; align-items: center; gap: 6px; } .df-get > b .ic { width: 16px; height: 16px; color: var(--red); }
.df-get small { color: var(--muted); font-size: 12.5px; }
.df-get-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Admin → Ad posters */
.adm-layout .dash-body { grid-template-columns: minmax(0, 1fr); }   /* a long row or select must not widen the page on phones */
.ad-form { margin-bottom: 12px; }
.ad-goals { margin-bottom: 14px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.ad-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ad-card small { color: var(--muted); font-size: 12.5px; }
.ad-text { flex: 1; max-height: 190px; overflow-y: auto; margin: 4px 0 8px; padding: 10px 12px; border-radius: 12px; background: var(--tile); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-card .btn { align-self: flex-start; }
.ad-tips { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }

/* Admin → Places: the box for an "Other" type, and District under State */
.df-grid > label[hidden], .df-dist > label[hidden] { display: none; }
.df-dist { display: grid; gap: 12px; min-width: 0; }
.df-dist > label { display: grid; gap: 5px; font-weight: 700; font-size: 14px; min-width: 0; }

/* Seller dashboard: the place's Seller ID */
.seller-id { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: var(--tile); font-size: 12.5px; color: var(--muted); }
.seller-id span { white-space: nowrap; }
.seller-id b { color: var(--ink); font-size: 13.5px; letter-spacing: .02em; }
.seller-id button { margin-left: auto; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; padding: 0; color: var(--red); cursor: pointer; }
.seller-id button:hover { background: var(--surface); }
.seller-id button .ic { width: 17px; height: 17px; }
@media (max-width: 900px) { .seller-id { margin: 8px 0 0; } }

/* Notifications: the bell in the header and its list */
.notif-btn { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: 8px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.notif-btn[hidden] { display: none !important; }
.notif-btn:hover { border-color: var(--red); }
.notif-btn svg { width: 21px; height: 21px; color: var(--red); }
.notif-label { display: none; }
.notif-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; line-height: 19px; text-align: center; }
.notif-count[hidden] { display: none; }
@media (max-width: 820px) {
  .notif-btn { flex-direction: column; gap: 1px; width: auto; height: auto; margin-left: 0; padding: 4px 9px; border: 0; border-radius: 14px; background: none; font-size: 11px; font-weight: 800; line-height: 1.1; }
  .notif-btn svg { width: 26px; height: 26px; }
  .notif-label { display: block; }
  .notif-count { top: -2px; right: 4px; }
}
@media (max-width: 360px) { .notif-btn { padding-inline: 4px; } }
.nf-list { display: grid; gap: 8px; margin-top: 12px; }
.nf-all { justify-self: end; border: 0; background: none; padding: 2px 4px; color: var(--red); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.nf-row { display: flex; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); }
.nf-row:hover { border-color: var(--red); }
.nf-row.unread { background: var(--tile); }
.nf-ico { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--red); }
.nf-ico svg { width: 18px; height: 18px; }
.nf-main { display: grid; gap: 2px; min-width: 0; }
.nf-main small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.nf-main time { color: var(--muted); font-size: 12px; }

/* a phone header with the bell has three buttons, so everything sits a little closer to stay on one line */
@media (max-width: 480px) {
  .header-row.has-bell { column-gap: 2px; }
  .header-row.has-bell .quick-btn, .header-row.has-bell .notif-btn, .header-row.has-bell .menu-btn { padding-inline: 4px; }
  .header-row.has-bell .logo { gap: 7px; min-width: 0; }
  .header-row.has-bell .logo-text { font-size: 20px; }
}
@media (max-width: 345px) {
  .header-row.has-bell .logo-mark { width: 34px; height: 34px; font-size: 13px; }
  .header-row.has-bell .logo-text { font-size: 17px; }
  .header-row.has-bell .quick-btn, .header-row.has-bell .notif-btn, .header-row.has-bell .menu-btn { padding-inline: 2px; }
}

/* Admin → Sellers */
.sl-list { display: grid; gap: 12px; }
.sl-card { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sl-card[hidden] { display: none; }
.sl-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.sl-head .dl-main small + small { margin-top: 2px; }
.sl-place { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: var(--tile); min-width: 0; }
.sl-pmain { display: grid; gap: 3px; min-width: 0; flex: 1 1 260px; }
.sl-pmain a { color: var(--ink); overflow-wrap: anywhere; }
.sl-pmain a:hover { color: var(--red); }
.sl-pmain small { color: var(--muted); font-size: 12.5px; }
.sl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sl-tag, .sl-id { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.sl-tag .ic { width: 13px; height: 13px; }
.sl-id { color: var(--ink); letter-spacing: .02em; }
.sl-tag.ok { color: var(--mint-ink, var(--ink)); }
.sl-tag.warn { color: var(--red); border-color: var(--red); }

/* Admin tools (10 Nov 2026) */
.age-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--tile); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.age-pill .ic { width: 13px; height: 13px; }
.age-pill.warn { color: var(--red); background: var(--surface); border: 1px solid var(--red); }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; padding: 8px 12px; border-radius: 14px; background: var(--tile); }
.bulk-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; margin-right: auto; }
.bulk-all input, .bulk-check input { width: 18px; height: 18px; accent-color: var(--red); }
.bulk-check { display: inline-flex; align-items: center; flex-shrink: 0; }
.find-list [hidden] { display: none !important; }
.dl-stat.warn { color: var(--red); }
.dash-note.warn { border: 1px solid var(--red); }
.log-row .dl-main small + small { margin-top: 2px; }

/* long select texts and status pills must not widen a phone screen */
.dash-btns select { max-width: 100%; min-width: 0; }
select[data-act="leadreply"] { width: 220px; max-width: 100%; text-overflow: ellipsis; }
.claim-card .cc-top { flex-wrap: wrap; row-gap: 6px; }
.claim-card .cc-top .dl-main { flex: 1 1 150px; min-width: 0; }
@media (max-width: 600px) { select[data-act="leadreply"] { width: 100%; } }
.claim-card { grid-template-columns: minmax(0, 1fr); }   /* a long select inside must not widen the card */

/* Seller tools (10 Nov 2026) */
.seller-lang { display: block; width: 100%; margin: 0 0 8px; padding: 7px 10px; border-radius: 12px; border: 1.5px dashed var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seller-lang:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) { .seller-lang { width: auto; margin: 8px 0 0; } }
.day-grid { display: grid; gap: 6px; margin: 6px 0; }
.day-row { display: grid; grid-template-columns: minmax(110px, 1fr) auto auto auto; gap: 8px; align-items: center; }
.day-row input[type=time] { min-width: 0; }
@media (max-width: 420px) { .day-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .day-row .df-check { grid-column: 1 / -1; } .day-row > span { display: none; } }
.inv-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; margin: 10px 0; }
.quick-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); min-width: 0; cursor: pointer; }
.quick-row > input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.quick-row img, .quick-ph { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--tile); display: grid; place-items: center; color: var(--muted); }
.quick-row > span:nth-of-type(1), .quick-row > span:not(.quick-ph):not(.quick-price) { flex: 1; min-width: 0; display: grid; font-weight: 700; font-size: 13.5px; }
.quick-row small { color: var(--muted); font-weight: 500; font-size: 12px; }
.quick-price { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; flex: none; }
.quick-price input { width: 72px; padding: 6px 8px; }
.rv-reply { margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: var(--tile); border-left: 3px solid var(--red); }
.rv-reply b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.rv-reply b .ic { width: 15px; height: 15px; color: var(--red); }
.rv-reply p { margin: 4px 0 0; }
.rv-replyform { margin-top: 8px; }
.day-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.day-hours li { display: flex; justify-content: space-between; gap: 12px; }
.pl-notice.pl-holiday { border-color: var(--red); }
.pl-notice.pl-sale .ic { color: var(--red); }
.pd-size { display: grid; gap: 4px; margin: 0 0 12px; font-weight: 700; font-size: 14px; max-width: 320px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.offer-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; }
.offer-card:hover { border-color: var(--red); }
.offer-card > div { display: grid; gap: 2px; min-width: 0; }
.offer-card b { color: var(--red); overflow-wrap: anywhere; }
.offer-card span, .offer-card small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.rank-note b { color: var(--red); }

/* Area partners (10 Nov 2026) */
.area-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 18px 0; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.area-partner > div:not(.ap-btns) { flex: 1 1 220px; display: grid; gap: 2px; min-width: 0; }
.area-partner span:not(.ap-ico) { color: var(--muted); font-size: 14px; }
.ap-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: var(--red); flex: none; }
.ap-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Wider dashboards (Samu, 10 Nov 2026): seller, admin, partner and account use most of a big screen */
.wrap.dash-wrap { max-width: 1680px; }
@media (min-width: 901px) {
  .dash-wrap .adm-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
}

/* Customer account tools (10 Nov 2026) */
.dh-ava img, .ava-big img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.dh-ava { overflow: hidden; }
.ava-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.ava-big { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad-red); color: var(--on-red); font-family: var(--display); font-weight: 900; font-size: 32px; flex: none; }
.ava-edit label.btn { cursor: pointer; }
.df-h { margin: 18px 0 4px; font-size: 17px; }
.addr-list { display: grid; gap: 12px; margin: 10px 0; }
.addr-row { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; min-width: 0; }
.addr-row > .btn { justify-self: start; }
.addr-def { align-self: end; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.list-card { display: grid; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.list-card small { color: var(--muted); }
.list-card p { margin: 4px 0 8px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.list-send { margin-bottom: 16px; display: grid; gap: 10px; }
.ord-ask { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.rm-ico { background: var(--tile); color: var(--red); display: grid; place-items: center; }
.rm-ico .ic { width: 18px; height: 18px; }
.nf-set { display: grid; gap: 8px; margin: 0 0 12px; }

/* Product photos: up to 5 (10 Nov 2026) */
.pp-box { display: grid; gap: 8px; }
.pp-h { font-weight: 700; font-size: 14px; }
.pp-h small { font-weight: 500; color: var(--muted); }
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pp-tile, .pp-add { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-main { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: 11px; font-weight: 700; }
.pp-act { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 4px; }
.pp-act button { width: 28px; height: 28px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.pp-act button .ic { width: 14px; height: 14px; }
.pp-add { display: grid; place-content: center; justify-items: center; gap: 2px; border-style: dashed; border-width: 1.5px; color: var(--red); cursor: pointer; font-weight: 700; font-size: 13px; text-align: center; }
.pp-add small { color: var(--muted); font-weight: 500; }
.pp-box.busy .pp-add { opacity: .5; pointer-events: none; }
.pd-gal { display: grid; gap: 10px; }
.pd-main { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; cursor: zoom-in; }
.pd-big { width: 100%; height: 100%; object-fit: contain; display: block; image-rendering: auto; }
.pd-main .badge-off, .pd-main .badge-new { position: absolute; }
.pd-main .badge-new { left: 10px; top: 10px; }
.pd-count { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; }
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pd-th { flex: none; width: 68px; height: 68px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; }
.pd-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-th.on { border-color: var(--red); }

/* Dashboards as an app (10 Nov 2026): seller, admin and partner pages get a slim top bar */
.dash-site { display: none; }
body.dash-mode .announce, body.dash-mode #footer, body.dash-mode .mobile-nav, body.dash-mode .header .nav, body.dash-mode .header .search,
body.dash-mode .header .tc-pick, body.dash-mode .header .pin-btn, body.dash-mode .header .quick-btn, body.dash-mode .header .menu-btn { display: none !important; }
body.dash-mode .header::after { display: none; }
body.dash-mode { padding-bottom: 0; }
body.dash-mode #app { padding-bottom: 32px; }
body.dash-mode .header-row { flex-wrap: nowrap; padding-block: 8px; gap: 10px; max-width: 1680px; }
body.dash-mode .logo-text small { display: none; }
body.dash-mode .dash-site { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
body.dash-mode .dash-site .ic { width: 18px; height: 18px; color: var(--red); }
body.dash-mode .dash-site:hover { border-color: var(--red); color: var(--red); }
body.dash-mode .dash-site + .acct-btn { margin-left: 0; }
body.dash-mode .adm-side { top: 84px; max-height: calc(100vh - 100px); }
@media (max-width: 820px) {
  body.dash-mode .dash-site { padding: 7px 11px; font-size: 13px; }
  body.dash-mode .logo-text { font-size: 19px; }
}
@media (max-width: 380px) { body.dash-mode .dash-site span { display: none; } body.dash-mode .dash-site { padding: 7px 9px; } }

/* More seller and admin tools (10 Nov 2026) */
.cp-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.cp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--red); background: var(--surface); font-size: 13.5px; min-width: 0; }
.cp-tag .ic { width: 15px; height: 15px; color: var(--red); }
.cp-tag b { color: var(--red); letter-spacing: .04em; }
.cp-tag span { color: var(--muted); }
.cp-strip small { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.upi-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 12px 0; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.upi-qr { width: 150px; height: 150px; flex: none; background: #fff; border-radius: 10px; overflow: hidden; }
.upi-qr img, .upi-qr canvas { width: 150px; height: 150px; display: block; }
.upi-txt { flex: 1 1 220px; display: grid; gap: 6px; min-width: 0; }
.upi-txt b { display: inline-flex; align-items: center; gap: 6px; }
.upi-txt b .ic { color: var(--red); }
.upi-txt span { color: var(--muted); font-size: 14px; }
.upi-txt code { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.upi-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 821px) { .upi-pay { display: none; } }
.feat-pill { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--grad-amber); color: var(--on-red); font-size: 12px; font-weight: 800; z-index: 2; }
.feat-pill .ic { width: 13px; height: 13px; }
.kh-give { color: var(--red); }
.kh-got { color: var(--ok, #1f8a4c); }
.cust-row { width: 100%; text-align: left; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.cust-row > b { white-space: nowrap; }
.seller-id { flex-wrap: wrap; row-gap: 4px; }
.seller-link { flex: 0 0 100%; min-width: 0; font-size: 12px; color: var(--red); overflow-wrap: anywhere; word-break: normal; }
.made-prev { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 12px 0; }
.made-prev figure { margin: 0; display: grid; gap: 6px; }
.made-prev img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.adm-photos figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); display: grid; }
.adm-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--tile); }
.adm-photos figcaption { padding: 8px; display: grid; gap: 2px; font-size: 13px; min-width: 0; }
.adm-photos figcaption b, .adm-photos figcaption small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-photos figcaption small { color: var(--muted); }
.cp-ava { background: var(--tile); color: var(--red); display: grid; place-items: center; }
.cp-ava .ic { width: 18px; height: 18px; }
.rp-text { font-size: 14.5px; overflow-wrap: anywhere; }
.lead-docs { display: flex; gap: 8px; flex-wrap: wrap; }

/* Product page: small photos are not blown up (10 Nov 2026) */
.pd-main { display: grid; place-items: center; }
.pd-main.pd-small .pd-big { width: auto; height: auto; max-width: 100%; max-height: 100%; image-rendering: auto; }
.pd-main.pd-small { background: #fff; }

.score-bar.warn i { background: linear-gradient(90deg, var(--amber), var(--red)); }

/* Share sheet (10 Nov 2026) */
.sh-name { margin: 2px 0 12px; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.sh-link { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--tile); margin-bottom: 12px; }
.sh-link code { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.sh-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sh-btns .btn { justify-content: center; }
.sh-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* Share on the product photo (10 Nov 2026): bottom-right corner of the photo; the 1 / N count moves to bottom-left */
.pd-share { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.pd-share .ic { width: 17px; height: 17px; color: var(--red); }
.pd-share:hover { color: var(--red); }
.pd-noimg { cursor: default; }
.pd-noimg .pimg { width: 100%; height: 100%; }
.pd-count { right: auto; left: 10px; }
@media (max-width: 600px) { .pd-share span { display: none; } .pd-share { padding: 10px; } }

/* Small product photos: a blurred copy fills the box behind the sharp photo, no white border (10 Nov 2026) */
.pd-main { overflow: hidden; }
.pd-bg { display: none; }
.pd-main.pd-small .pd-bg { display: block; position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) saturate(1.15); opacity: .9; transform: scale(1.05); pointer-events: none; }
.pd-main.pd-small .pd-big { position: relative; z-index: 1; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.pd-main.pd-small { background: var(--tile); }
.pd-main .badge-off, .pd-main .badge-new, .pd-main .pd-count { z-index: 2; }

/* Full photo (Samu, 10 Nov 2026: "pura complete product image aana chahiye"): every photo fills the box, whole and uncut
   (contain); a non-square photo has its own blurred copy in the gaps, never white. */
.pd-main .pd-big, .pd-main.pd-small .pd-big { position: relative; z-index: 1; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; }
.pd-main .pd-bg { display: block; position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) saturate(1.15); opacity: .85; transform: scale(1.05); pointer-events: none; }
.pd-main, .pd-main.pd-small { background: var(--tile); }

/* Website features round 4 (11 Nov 2026) */
.search { position: relative; }
.mic-btn { flex: none; width: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.mic-btn svg { width: 20px; height: 20px; }
.mic-btn:hover, .mic-btn.on { color: var(--red); }
.mic-btn.on svg { animation: micPulse 1s ease-in-out infinite; }
@keyframes micPulse { 50% { transform: scale(1.18); } }
.lang-btn { flex: none; height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.lang-btn:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 820px) { .header-row .lang-btn { display: none; } }
body.dash-mode .header .lang-btn { display: none; }
.sm-lang { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.sm-lang > div { display: flex; gap: 8px; }
.near-chip { margin-left: 4px; }
.near-chip.on { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.km-pill { position: absolute; left: 10px; bottom: 34px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.km-pill .ic { width: 12px; height: 12px; color: var(--red); }
.leaf-map { height: 360px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--tile); z-index: 0; }
.leaf-map.small { height: 200px; }
.mini-map { margin-top: 12px; }
.map-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.leaflet-popup-content a, .leaflet-popup-content b { font-weight: 700; color: var(--red); }
.qa-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.qa-list li { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; }
.qa-list li.qa-hidden { opacity: .55; }
.qa-q, .qa-a { margin: 0; overflow-wrap: anywhere; }
.qa-q b, .qa-a b { color: var(--red); }
.qa-q small, .qa-a small { color: var(--muted); }
.qa-wait { margin: 0; color: var(--muted); font-size: 13px; font-style: italic; }
.qa-form { display: grid; gap: 8px; max-width: 640px; }
.qa-form label { display: grid; gap: 4px; font-weight: 700; }
.qa-form textarea { width: 100%; }
.qa-form small { color: var(--muted); }
.qa-list li > .btn { justify-self: start; }
.rv-photo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.rv-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.rv-photo label { cursor: pointer; }
.rv-pic { padding: 0; border: 0; background: none; cursor: zoom-in; margin-top: 6px; }
.rv-pic img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; display: block; }
.flash-sec .sec-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.flash-sec .sec-head h2 .ic { color: var(--amber); }
.flash-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--grad-amber); color: var(--on-red); font-weight: 800; font-size: 13.5px; }
.flash-pill .ic { width: 16px; height: 16px; }

/* Round 4 seller tools (11 Nov 2026) */
.qa-card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.qa-card.open { border-color: var(--amber); }
.qa-card > b { overflow-wrap: anywhere; }
.qa-card small { color: var(--muted); }
.qa-card form { display: grid; gap: 6px; margin-top: 4px; }
.qa-card form .btn { justify-self: start; }
.feat-plans { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.feat-plan { display: grid; gap: 2px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; min-width: 110px; }
.feat-plan:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
.feat-plan input { position: absolute; opacity: 0; pointer-events: none; }
.feat-plan span { color: var(--red); font-weight: 900; font-family: var(--display); font-size: 18px; }

/* ---------- Sign-in security check (Cloudflare Turnstile, 11 Nov 2026) ---------- */
.ts-box { display: flex; justify-content: center; min-height: 0; max-width: 100%; overflow: hidden; }
.ts-box:not(:empty) { margin-top: 10px; }
.ts-box iframe { max-width: 100%; }
.ts-float { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 400;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.ts-float:empty { display: none; }

/* ---------- Google first, email on request (11 Nov 2026) ---------- */
.dl-alt { display: block; width: 100%; margin: 4px 0 0; padding: 10px 8px; border: 0; background: none; color: var(--muted); font: inherit;
  font-size: 13.5px; text-align: center; cursor: pointer; border-radius: 10px; }
.dl-alt b { color: var(--red); font-weight: 700; }
.dl-alt:hover b, .dl-alt:focus-visible b { text-decoration: underline; }
.dl-err { margin: 8px 0 0; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--red) 10%, var(--card)); color: var(--ink);
  font-size: 13px; text-align: left; border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line)); }
.sell-login .dl-alt { text-align: left; padding-left: 0; }

/* ---------- Shop page, new look (11 Nov 2026) ---------- */
.sh2 { position: relative; border-radius: 26px; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); }
.sh2-cover { height: 190px; }
.sh2-cover.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .35)); }
.sh2-art { overflow: hidden; background:
  radial-gradient(circle at 82% 40%, color-mix(in srgb, #fff 30%, transparent) 0 18%, transparent 46%),
  radial-gradient(circle at 10% 130%, color-mix(in srgb, #fff 22%, transparent) 0 20%, transparent 55%),
  linear-gradient(120deg, color-mix(in srgb, var(--sc) 82%, #000) 0%, var(--sc) 55%, color-mix(in srgb, var(--sc) 78%, #fff) 100%); }
.sh2-art::after { background: radial-gradient(color-mix(in srgb, #fff 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 18px 18px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 65%); mask: linear-gradient(90deg, #000, transparent 65%); }
.sh2-cat { position: absolute; right: 6%; bottom: -18px; width: 210px; height: 210px; object-fit: contain; z-index: 1;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .3)); transform: rotate(-6deg); }
.sh2-cat-ic { display: grid; place-items: center; color: rgba(255, 255, 255, .7); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.sh2-cat-ic .ic { width: 120px; height: 120px; }
.sh2-chip { position: absolute; top: 14px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .32); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sh2-chip .ic { width: 14px; height: 14px; }
.sh2 .shop-ava { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.sh2-title { min-width: 0; padding-top: 12px; }
.sh2-title h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.1; }
.sh2-tick .ic { width: 26px; height: 26px; color: var(--open); }
.sh2-title .owner { margin-top: 4px; }
.sh2-title .stags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sh2-actions { align-items: center; }
.sh2-actions .btn { min-height: 44px; }
.sh2-wa { padding-inline: 22px; box-shadow: 0 10px 22px -12px var(--wa); }
.sh2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sh2-fact { display: flex; align-items: center; gap: 10px; padding: 14px 18px; min-width: 0; }
.sh2-fact + .sh2-fact { border-left: 1px solid var(--line); }
.sh2-fi { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
.sh2-fi .ic { width: 18px; height: 18px; }
.sh2-fact.ok .sh2-fi { background: color-mix(in srgb, var(--open) 14%, var(--surface)); color: var(--open); }
.sh2-fact small { display: block; font-size: 12px; color: var(--muted); }
.sh2-fact b { display: block; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.sh2-details .panel h3 { margin-bottom: 10px; }
.sh2-about { display: flex; flex-direction: column; gap: 14px; }
.sh2-about > p { margin: 0; line-height: 1.6; }
.sh2-ask small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.sh2-ask > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sh2-q { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--wa) 35%, var(--line));
  background: color-mix(in srgb, var(--wa) 8%, var(--surface)); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sh2-q .ic { width: 15px; height: 15px; color: var(--wa); }
.sh2-q:hover { border-color: var(--wa); }
.sh2-claim { margin-top: auto; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-style: solid; }
.sh2-claim > div { display: grid; gap: 2px; }
.sh2-claim span:not(.sh2-claim-ico) { margin: 0; }
.sh2-claim-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-amber, var(--amber)); color: #fff; }
.sh2-claim-ico .ic { width: 22px; height: 22px; }
.sh2-claim .btn { white-space: nowrap; }
.sh2-claim .btn .ic { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .sh2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh2-fact:nth-child(3) { border-left: 0; }
  .sh2-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .sh2-cover { height: 140px; }
  .sh2-cat { width: 150px; height: 150px; right: 2%; bottom: -12px; }
  .sh2-title { padding-top: 0; }
  .sh2-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .sh2-actions .sh2-wa { grid-column: 1 / -1; justify-content: center; }
  .sh2-actions .btn:not(.sh2-wa) { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 12px; border-radius: 14px; }
  .sh2-actions .btn:not(.sh2-wa) .ic { width: 18px; height: 18px; }
  .sh2-fact { padding: 12px; gap: 8px; }
  .sh2-fi { width: 32px; height: 32px; border-radius: 10px; }
  .sh2-claim { grid-template-columns: auto 1fr; }
  .sh2-claim .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 360px) { .sh2-fact b { font-size: 13px; } .sh2-chip { font-size: 12px; }
  .sh2-actions { gap: 6px; } .sh2-actions .btn:not(.sh2-wa) { font-size: 11px; padding: 8px 2px; letter-spacing: -.01em; } }

/* ---------- Mic inside the search box, on the left, icon only (11 Nov 2026, Samu) ---------- */
.search .mic-btn { position: absolute; left: 4px; top: 0; bottom: 0; z-index: 1; width: 38px; padding: 0; border-radius: 10px 0 0 10px;
  background: none; color: var(--muted); filter: none; box-shadow: none; }
.search .mic-btn:hover, .search .mic-btn.on { background: none; color: var(--red); filter: none; }
.search .mic-btn svg { width: 19px; height: 19px; }
.search:has(.mic-btn:not([hidden])) input { padding-left: 42px; }

/* map stand-in on a page opened from a file (no map pictures there) */
.map-off { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line); background: var(--tile); }
.map-off > .ic { flex: none; width: 26px; height: 26px; color: var(--red); }
.map-off b { display: block; font-size: 14px; }
.map-off span { font-size: 13px; color: var(--muted); }
.map-off a { color: var(--red); font-weight: 700; }

/* ---------- Desktop menu button (11 Nov 2026, Samu) ----------
   The phone side menu also opens on desktop from a round ☰ button at the right end of the header. The website colour and
   the Hindi switch moved into it (its "Language" and "Website colour" rows), so the header has more room for search. */
@media (min-width: 821px) {
  .header-row .tc-pick, .header-row .lang-btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; margin-left: 8px; padding: 0;
    border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
  .menu-btn span { display: none; }
  .menu-btn svg { width: 21px; height: 21px; color: var(--red); }
  .menu-btn:hover { border-color: var(--red); }
  .menu-btn[aria-expanded="true"] { background: var(--tile); border-color: var(--red); }
  .search { max-width: 680px; }
  /* pincode, account, bell and ☰ sit 10px apart (Samu, 12 Nov 2026: the gap looked too big) */
  .header-row .pin-btn + .acct-btn, .header-row .acct-btn ~ .notif-btn, .header-row .acct-btn ~ .menu-btn { margin-left: -18px; }
  body.dash-mode .header-row .acct-btn ~ .notif-btn, body.dash-mode .header-row .acct-btn ~ .menu-btn { margin-left: 0; }
}

/* product page: shop link without a profile photo shows a shop icon (11 Nov 2026) */
.shop-mini .savatar.sm-ph { display: grid; place-items: center; background: var(--tile); color: var(--red); border: 1px solid var(--line); }
.shop-mini .savatar.sm-ph .ic { width: 24px; height: 24px; }

/* ---------- Product page: FAQs left, ratings & reviews right (11 Nov 2026) ---------- */
.pd-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pd-duo > .block { min-width: 0; }
.pd-duo .rv-block .rv-wrap { justify-items: stretch; }
.pd-duo .rv-block .rv-card, .pd-duo .rv-block .rv-empty, .pd-duo .rv-block .rv-list, .pd-duo .rv-block .rv-form { max-width: none; }
@media (max-width: 900px) { .pd-duo { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.faq-list { display: grid; gap: 8px; }
.faq-i { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px;
  font-weight: 700; overflow-wrap: anywhere; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .ic { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq-i[open] summary .ic { transform: rotate(180deg); color: var(--red); }
.faq-i[open] { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.faq-a { padding: 0 16px 14px; color: var(--muted); line-height: 1.6; display: grid; gap: 6px; }
.faq-a p { margin: 0; color: var(--ink); }
.faq-a b { color: var(--ink); }
.faq-a small { font-size: 12.5px; }
.faq-a .btn { justify-self: start; }
.faq-wait summary { color: var(--muted); }
.faq-i.qa-hidden { opacity: .55; }
.faq-sub { margin: 18px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.qa-sec .qa-wrap > .smeta { margin-top: 12px; }
.faq-ask { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px;
  box-shadow: 0 10px 26px -22px rgba(0, 0, 0, .35); }
.fa-head { display: flex; align-items: center; gap: 12px; }
.fa-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
.fa-ico .ic { width: 20px; height: 20px; }
.fa-head b { display: block; font-family: var(--display); font-size: 17px; }
.fa-head small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.faq-ask .qa-form { width: 100%; max-width: none; display: grid; gap: 10px; }
.faq-ask textarea { width: 100%; min-height: 86px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; outline: none; transition: border-color .15s, box-shadow .15s; }
.faq-ask textarea::placeholder { color: var(--muted); }
.faq-ask textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }
.fa-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fa-foot small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.fa-foot small .ic { width: 15px; height: 15px; color: var(--open); }
.faq-ask .btn { border-radius: 999px; padding-inline: 18px; }
.faq-ask .btn .ic { width: 15px; height: 15px; }
.fa-sign { justify-self: start; }
@media (max-width: 420px) { .fa-foot .btn { width: 100%; justify-content: center; } }

/* ---------- Sample products (11 Nov 2026) ---------- */
.badge-sample { position: absolute; left: 9px; bottom: 9px; z-index: 2; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero-tile .badge-sample { display: none; }
.pd-main .badge-sample { left: 10px; bottom: 10px; }
.pd-sample { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
  background: color-mix(in srgb, var(--amber) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); color: var(--ink); }
.pd-sample .ic { flex: none; width: 18px; height: 18px; color: var(--amber); margin-top: 1px; }

/* ---------- No Google Maps location yet: ask for it (11 Nov 2026) ---------- */
.map-none { display: block; color: var(--muted); font-weight: 500; font-size: 14px; }
.maplink.askmap { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--wa); }
.maplink.askmap svg { width: 15px; height: 15px; }
.sh2-askmap { border-style: dashed; }
/* medium screens: the five buttons go to their own row so the name keeps its room */
/* desktop (Samu, 11 Nov 2026 — "Rahla Digital jaisa design, bas name ek line mein"): the buttons stay on the right, but the
   name has a row of its own across the whole width above them, so it fits on one line */
@media (min-width: 1181px) {
  .sh2-info-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 18px; row-gap: 0; align-items: end; }
  .sh2-info-row > .shop-ava { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .sh2-title { display: contents; }
  .sh2-title h1 { grid-column: 2 / 4; grid-row: 1; padding-top: 12px; }
  .sh2-title .owner { grid-column: 2; grid-row: 2; }
  .sh2-title .stags { grid-column: 2; grid-row: 3; }
  .sh2-actions { grid-column: 3; grid-row: 2 / 4; align-self: end; }
}
/* medium screens: the buttons go to their own row so the name keeps its room */
@media (min-width: 761px) and (max-width: 1180px) {
  .sh2-info-row { grid-template-columns: auto minmax(0, 1fr); }
  .sh2-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.sh2-askmap .l-short { display: none; }
@media (max-width: 760px) { .sh2-askmap .l-long { display: none; } .sh2-askmap .l-short { display: inline; } }

/* ---------- Social media links (11 Nov 2026) ---------- */
.df-social { display: grid; gap: 8px; }
.df-social > b { display: flex; align-items: center; gap: 6px; }
.df-social > b small { font-weight: 500; color: var(--muted); }
.df-soc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.df-soc-grid label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
@media (max-width: 600px) { .df-soc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Social media icons at the bottom of About (11 Nov 2026) ---------- */
.soc-icons { display: flex; flex-wrap: wrap; gap: 10px; }
/* "Follow us on" on the left of the dividing line, the icons under it */
.soc-head { flex: 0 0 100%; display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); }
.soc-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sh2-claim + .soc-icons { margin-top: 0; }
.panel > .soc-icons { margin-top: 14px; }
.sh2-about > .soc-icons { margin-top: auto; }   /* sits at the very bottom of About */
.sh2-about > .sh2-claim:has(+ .soc-icons) { margin-top: 0; }
.soc-i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface);
  color: var(--red); transition: border-color .15s, transform .15s, background .15s; }
.soc-i svg { width: 20px; height: 20px; }
.soc-i:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 8%, var(--surface)); transform: translateY(-1px); }

/* ---------- Seller → Followers & saves: products people saved (11 Nov 2026) ---------- */
.sv-row { display: flex; align-items: center; gap: 12px; }
.sv-rank { flex: none; width: 24px; text-align: center; font-family: var(--display); font-weight: 900; color: var(--muted); }
.sv-img { flex: none; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--tile); border: 1px solid var(--line); }
.sv-noimg { display: grid; place-items: center; color: var(--muted); }
.sv-noimg .ic { width: 20px; height: 20px; }
.sv-row .dl-main { flex: 1; min-width: 0; }
.sv-count { flex: none; display: grid; justify-items: end; text-align: right; }
.sv-count b { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-size: 16px; }
.sv-count b .ic { width: 15px; height: 15px; }
.sv-count small { color: var(--muted); font-size: 12px; }
@media (max-width: 480px) { .sv-row .btn { display: none; } .sv-rank { display: none; } }

/* ---------- Voice search popup (11 Nov 2026) ---------- */
.vb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.vb[hidden] { display: none; }
.vb-scrim { position: absolute; inset: 0; background: rgba(15, 10, 6, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.vb-card { position: relative; width: min(460px, 100%); padding: 22px 22px 30px; border-radius: 24px; background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); display: grid; justify-items: center; text-align: center; gap: 6px; animation: vb-in .18s ease-out; }
@keyframes vb-in { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.vb-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.vb-x .ic { width: 18px; height: 18px; }
.vb-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tile); margin-bottom: 8px; }
.vb-lang button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.vb-lang button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.vb-status { margin: 4px 0 0; font-family: var(--display); font-weight: 900; font-size: 24px; }
.vb-words { margin: 0; min-height: 30px; font-size: 20px; font-weight: 600; color: var(--red); overflow-wrap: anywhere; }
.vb-hint { margin: 0 0 18px; color: var(--muted); font-size: 14px; min-height: 20px; }
.vb-mic { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--tile); color: var(--red); transition: background .2s, color .2s, transform .15s; }
.vb-mic svg { position: relative; z-index: 1; width: 38px; height: 38px; }
.vb-mic:active { transform: scale(.96); }
.vb.listening .vb-mic { background: var(--grad-red, var(--red)); color: #fff; }
.vb-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--red); opacity: 0; }
.vb.listening .vb-ring { animation: vb-pulse 1.6s ease-out infinite; }
.vb.listening .vb-ring.r2 { animation-delay: .8s; }
@keyframes vb-pulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vb-card { animation: none; } .vb.listening .vb-ring { animation: none; } }
body.vb-open { overflow: hidden; }
@media (max-width: 600px) { .vb { place-items: end center; padding: 0; } .vb-card { width: 100%; border-radius: 24px 24px 0 0; padding-bottom: calc(30px + env(safe-area-inset-bottom)); } }

/* ---------- Seller → product form: Sold per dropdown (11 Nov 2026) ---------- */
.unit-pick { display: grid; gap: 6px; }
.unit-pick .unit-other { display: none; }
.unit-pick:has(option[value="_other"]:checked) .unit-other { display: block; }

/* ---------- Seller: undo a deleted product / Recently deleted (11 Nov 2026) ---------- */
.undo-bar { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--dark); color: var(--on-dark); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5);
  font-weight: 600; max-width: calc(100vw - 32px); animation: ub-in .2s ease-out; }
@keyframes ub-in { from { transform: translate(-50%, 12px); opacity: 0; } }
.undo-bar button { border: 0; border-radius: 10px; padding: 8px 14px; background: var(--amber); color: #1a1208; font: inherit; font-weight: 800; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .undo-bar { animation: none; } }
.del-left { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.del-empty { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.del-empty .ic { flex: none; width: 18px; height: 18px; }
.del-empty b { color: var(--ink); }

/* ---------- Admin → Invite sellers (12 Nov 2026) ---------- */
.inv-msg { display: grid; gap: 10px; }
.inv-msg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.inv-msg-top .chips { margin: 0; }
.inv-msg textarea { width: 100%; min-height: 240px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.inv-msg textarea:focus { outline: none; border-color: var(--red); }
.inv-msg code { padding: 1px 5px; border-radius: 6px; background: var(--tile); font-size: 12.5px; }
.inv-prev summary { cursor: pointer; font-weight: 700; color: var(--red); }
.inv-prev pre { margin: 8px 0 0; padding: 14px; border-radius: 14px; background: var(--tile); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; line-height: 1.5; }
.inv-pill:empty { display: none; }
.inv-types { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--tile); width: fit-content; max-width: 100%; }
.inv-types button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.inv-types button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.inv-types button:hover:not(.on) { color: var(--ink); }

/* ---------- Product page: sold by, trust strip, tabs (13 Nov 2026, plan docs/plans/2026-11-13-product-page-features.md) ---------- */
.pdx { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-top: 16px; }
.pdx .pd { margin-top: 0; }
.pdx-side { display: grid; gap: 16px; position: sticky; top: 140px; }
@media (max-width: 1100px) { .pdx { grid-template-columns: minmax(0, 1fr); } .pdx-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 700px) { .pdx-side { grid-template-columns: minmax(0, 1fr); } }
.pd-card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); min-width: 0; }
.pc-k { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.sb-top { display: flex; align-items: center; gap: 12px; color: inherit; }
.sb-top .savatar { position: static; width: 54px; height: 54px; border-radius: 16px; font-size: 20px; border: 1px solid var(--line); flex-shrink: 0; }
.sb-top div { min-width: 0; }
.sb-top b { display: block; font-family: var(--display); font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.sb-ok .ic { width: 17px; height: 17px; color: var(--wa); vertical-align: -3px; }
.sb-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); }
.sb-rate .ic { width: 15px; height: 15px; color: var(--amber); fill: currentColor; stroke: none; }
.sb-rate b { display: inline; font-family: var(--body); font-size: 14px; color: var(--ink); }
.sb-top small { color: var(--muted); font-size: 13px; }
.sb-rows { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 9px; }
.sb-rows li { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 8px; font-size: 13.5px; }
.sb-rows li .ic { width: 16px; height: 16px; color: var(--muted); }
.sb-rows li span { color: var(--muted); }
.sb-rows li b { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.sb-go { width: 100%; justify-content: center; }
.wb-h { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 17px; margin-bottom: 12px; }
.wb-h .ic { width: 18px; height: 18px; color: var(--red); }
.wb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.wb-i { display: grid; justify-items: center; text-align: center; gap: 4px; }
.wb-i span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink, #1f6b3d); }
.wb-i span .ic { width: 20px; height: 20px; }
.wb-i b { font-size: 13.5px; line-height: 1.25; }
.wb-i small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.pd-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.pt-i { display: flex; align-items: flex-start; gap: 10px; padding: 14px; min-width: 0; }
.pt-i + .pt-i { border-left: 1px solid var(--line); }
.pt-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink, #1f6b3d); }
.pt-ico .ic { width: 19px; height: 19px; }
.pt-i b { display: block; font-size: 14px; line-height: 1.25; }
.pt-i small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .pd-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-i + .pt-i { border-left: 0; } .pt-i:nth-child(2n) { border-left: 1px solid var(--line); } .pt-i:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .pd-trust { grid-template-columns: minmax(0, 1fr); } .pt-i:nth-child(2n) { border-left: 0; } .pt-i + .pt-i { border-top: 1px solid var(--line); } }
.pd-rate { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; width: fit-content; }
.pd-rate .rv-st .ic { width: 18px; height: 18px; }
.pd-rate span:last-child { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 700; font-size: 14px; color: var(--mint-ink, #1f6b3d); background: var(--mint); padding: 5px 12px; border-radius: 999px; }
.pd-stock .ic { width: 16px; height: 16px; }
.pd-stock.low { color: var(--red); background: var(--tile); }
.pd-short { margin: 0; color: var(--muted); line-height: 1.55; }
.badge-pick { position: absolute; top: 9px; left: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 800; color: var(--on-red); background: var(--grad-red, var(--red)); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35); }
.badge-pick .ic { width: 13px; height: 13px; }
.badge-pick.b-new { background: #2f7d4a; color: #fff; }
.badge-pick.b-offer { background: var(--grad-amber, var(--amber)); color: var(--on-amber, #241600); }
.pd-tabs { margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.pdt-bar { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.pdt-bar::-webkit-scrollbar { display: none; }
.pdt { flex: 1 0 auto; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; padding: 11px 16px; border-radius: 12px; cursor: pointer; white-space: nowrap; }
.pdt:hover { background: var(--tile); }
.pdt.on { background: var(--grad-red, var(--red)); color: var(--on-red); }
.pdt-panel { padding: 18px; }
.pdt-panel > .block { padding: 0; margin: 0; }
.pdt-panel .pd-desc { border: 0; padding: 0; background: none; }
.pdt-panel .rv-block .rv-wrap { justify-items: stretch; }
.pdt-panel .rv-block .rv-card, .pdt-panel .rv-block .rv-empty, .pdt-panel .rv-block .rv-list, .pdt-panel .rv-block .rv-form { max-width: 720px; }
.pd-none { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.pd-none .ic { width: 18px; height: 18px; }
.pd-spec { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.pd-spec th, .pd-spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.pd-spec th { width: 38%; color: var(--muted); font-weight: 600; background: var(--tile); }
.pd-dl { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 0; margin: 0; max-width: 820px; }
.pd-dl dt, .pd-dl dd { margin: 0; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.pd-dl dt { color: var(--muted); font-weight: 600; }
@media (max-width: 520px) { .pd-dl { grid-template-columns: minmax(0, 1fr); } .pd-dl dt { border-bottom: 0; padding-bottom: 2px; } .pd-dl dd { padding-top: 0; } .pdt-panel { padding: 14px; } .pdt { font-size: 14px; padding: 10px 12px; } }
.sb-top .savatar.sm-ph { display: grid; place-items: center; background: var(--tile); color: var(--red); }
.sb-top .savatar.sm-ph .ic { width: 26px; height: 26px; }

/* ---------- Product page: Frequently bought together (13 Nov 2026) ---------- */
.fbt { display: grid; grid-template-columns: minmax(0, max-content) 260px; justify-content: start; gap: 24px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.fbt-items { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.fbt-plus { flex: none; font-size: 24px; font-weight: 800; color: var(--muted); }
.fbt-i { position: relative; flex: 0 0 170px; display: grid; gap: 8px; padding: 10px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--card); }
.fbt-i:has(input:checked) { border-color: var(--red); }
.fbt-i input { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; accent-color: var(--red); z-index: 1; }
.fbt-ph { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tile); display: grid; place-items: center; color: var(--muted); }
.fbt-ph img { width: 100%; height: 100%; object-fit: cover; }
.fbt-ph .ic { width: 34px; height: 34px; }
.fbt-t { display: grid; gap: 2px; min-width: 0; }
.fbt-t em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.fbt-t b { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbt-t span { font-size: 13px; color: var(--muted); }
.fbt-sum { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: 16px; background: var(--tile); }
.fbt-sum > span { color: var(--muted); font-size: 14px; }
.fbt-sum .price { font-family: var(--display); font-size: 28px; font-weight: 900; color: var(--red); }
.fbt-sum .btn { width: 100%; justify-content: center; }
.fbt-sum .btn.off { opacity: .5; }
@media (max-width: 860px) { .fbt { grid-template-columns: minmax(0, 1fr); } .fbt-i { flex-basis: 140px; } }

/* ---------- Ratings: count and share per star (13 Nov 2026) ---------- */
.rv-bar { grid-template-columns: 34px minmax(0, 1fr) 28px 40px; }
.rv-bar small { color: var(--muted); font-size: 12px; font-weight: 600; text-align: right; }
.rv-zero { margin-bottom: 4px; }
.rv-zero .rv-score b { color: var(--muted); }

/* ---------- Ratings & reviews in two parts (13 Nov 2026): rating left, reviews right ---------- */
.rv-block .rv-wrap { container-type: inline-size; justify-items: stretch; }
.rv-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
.rv-left, .rv-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.rv-block .rv-cols .rv-card, .rv-block .rv-cols .rv-empty, .rv-block .rv-cols .rv-list, .rv-block .rv-cols .rv-form { max-width: none; }
.rv-rhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rv-rhead b { font-family: var(--display); font-size: 18px; }
.rv-rhead span { color: var(--muted); font-size: 13.5px; }
@container (min-width: 720px) {
  .rv-cols { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .rv-left { position: sticky; top: 140px; }
  .rv-left .rv-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .rv-left .rv-card .rv-bars { width: 100%; }
  .rv-left .rv-score { width: 100%; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Buy together, even row (13 Nov 2026): cards share the width and height, the total sits on the right at a fixed width */
.fbt { grid-template-columns: minmax(0, 1fr) 300px; justify-content: stretch; align-items: stretch; gap: 20px; padding: 18px; }
.fbt-items { align-items: stretch; justify-content: space-evenly; gap: 12px; overflow-x: auto; }
.fbt-i { flex: 1 1 0; min-width: 150px; max-width: 270px; grid-template-rows: auto 1fr; }
.fbt-plus { align-self: center; }
.fbt-ph { position: relative; }
.fbt-this { position: absolute; left: 8px; bottom: 8px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--grad-red, var(--red)); color: var(--on-red); }
.fbt-t { align-content: start; }
.fbt-t b { min-height: 2.6em; }
.fbt-sum { align-content: center; justify-items: stretch; gap: 10px; padding: 18px; }
.fbt-sum .btn { white-space: nowrap; }
@media (max-width: 860px) { .fbt { grid-template-columns: minmax(0, 1fr); } .fbt-items { justify-content: flex-start; } .fbt-i { flex: 0 0 150px; } .fbt-sum { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .fbt-sum .btn { grid-column: 1 / -1; } }

/* ---------- Seller product form: tags / search words (13 Nov 2026) ---------- */
.tg-box { display: grid; gap: 8px; }
.tg-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tg-chips:empty { display: none; }
.tg-chip { padding: 4px 10px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.tg-n { color: var(--muted); font-size: 12px; }
.tg-n.over { color: var(--red); font-weight: 700; }
.tg-sug { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tg-sug small { color: var(--muted); }
.tg-add { border: 1px dashed var(--line); background: none; color: var(--ink); font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.tg-add:hover { border-color: var(--red); color: var(--red); }
.tg-help { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.tg-help .ic { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* ---------- Category bar under the header (16 Nov 2026, Samu) ----------
   catBar() in app.js fills <nav id="catbar">: two-tone line icons (outline in the text colour, a soft tint of the theme's amber
   inside) with a short name, a red line under the chosen one. Scrolls sideways when it doesn't fit; not sticky. */
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.catbar:empty { min-height: 84px; }
.cb-row { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-block: 10px 0; }
.cb-row::-webkit-scrollbar { display: none; }
.cb { flex: 1 0 auto; min-width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 6px 12px; position: relative;
  color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; scroll-snap-align: start; border-radius: 10px; }
.cb svg { width: 34px; height: 34px; transition: transform .2s ease; }
.cb .t { fill: color-mix(in srgb, var(--amber) 32%, transparent); stroke: none; }
.cb:hover { color: var(--red); }
.cb:hover svg { transform: translateY(-2px); }
.cb:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.cb[aria-current="page"] { color: var(--red); font-weight: 700; }
.cb[aria-current="page"] .t { fill: color-mix(in srgb, var(--red) 18%, transparent); }
.cb[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-red, var(--red)); }
@media (prefers-reduced-motion: reduce) { .cb svg { transition: none; } .cb:hover svg { transform: none; } }
@media (forced-colors: active) { .cb[aria-current="page"]::after { background: CanvasText; } }
@media (max-width: 760px) {
  .catbar:empty { min-height: 72px; }
  .cb-row { padding-block: 8px 0; }
  .cb { min-width: 62px; padding: 3px 6px 10px; font-size: 11.5px; gap: 5px; }
  .cb svg { width: 28px; height: 28px; }
}
body.dash-mode .catbar, body.login-only .catbar { display: none; }

/* ---------- Home hero: product banners (16 Nov 2026, Samu) ----------
   heroBanners() / setupHero() in app.js: a scroll-snap carousel of banners, 2 in view from 900px, 1 below. Each banner: category,
   "Up to N% off" / "From ₹N", how many shops, Shop now, and two product photos in tilted white tiles. Backgrounds are tints of the
   theme tokens, so the three website colours and dark mode follow. */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hb-wrap { position: relative; padding-block: 18px 6px; }
.hb-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; border-radius: 18px; }
.hb-track::-webkit-scrollbar { display: none; }
.hb-track:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .hb-track { scroll-behavior: smooth; } }
.hb { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  min-height: 250px; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); isolation: isolate; }
@media (min-width: 900px) { .hb { flex-basis: calc(50% - 8px); } }
.hb::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--surface) 70%, transparent) 0 18%, transparent 19%),
    radial-gradient(circle at 70% 115%, color-mix(in srgb, var(--surface) 45%, transparent) 0 30%, transparent 31%); }
.hb-v0 { background: linear-gradient(115deg, color-mix(in srgb, var(--amber) 38%, var(--card)), color-mix(in srgb, var(--amber) 12%, var(--card))); }
.hb-v1 { background: linear-gradient(115deg, color-mix(in srgb, var(--red) 22%, var(--card)), color-mix(in srgb, var(--amber) 16%, var(--card))); }
.hb-v2 { background: linear-gradient(115deg, color-mix(in srgb, var(--mint-ink) 22%, var(--card)), color-mix(in srgb, var(--mint-ink) 8%, var(--card))); }
.hb-v3 { background: linear-gradient(115deg, color-mix(in srgb, var(--amber) 22%, var(--card)), color-mix(in srgb, var(--red) 14%, var(--card))); }
.hb-copy { padding: 26px 8px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.hb-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.hb-title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.hb-title a { color: inherit; text-decoration: none; }
.hb-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole banner opens the list */
.hb-title a:focus-visible { outline: none; }
.hb:has(.hb-title a:focus-visible) { outline: 3px solid var(--red); outline-offset: -3px; }
.hb-sub { font-size: 14px; color: var(--muted); max-width: 32ch; }
.hb-cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; border-radius: 999px; background: var(--dark); color: var(--bg); font-size: 13.5px; font-weight: 700; }
.hb-cta .ic { width: 15px; height: 15px; }
.hb:hover .hb-cta { background: var(--red); color: #fff; }
.hb-art { position: relative; height: 100%; min-height: 210px; }
.hb-pic { position: absolute; width: 52%; aspect-ratio: 1; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: transform .3s ease; }
.hb-pic img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; display: block; }
.hb-pic:first-child { right: 30%; top: 14%; transform: rotate(-6deg); }
.hb-pic:nth-child(2) { right: 6%; top: 30%; transform: rotate(5deg); }
.hb-pic:only-child { right: 18%; top: 18%; width: 60%; }
.hb:hover .hb-pic:first-child { transform: rotate(-8deg) translateY(-4px); }
.hb:hover .hb-pic:nth-child(2) { transform: rotate(7deg) translateY(-4px); }
.hb-cut { position: absolute; right: 8%; top: 50%; translate: 0 -50%; width: 70%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
.hb-ctrl { position: absolute; inset: 18px 0 30px; pointer-events: none; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.hb-btn { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center;
  box-shadow: var(--shadow); cursor: pointer; touch-action: manipulation; margin-inline: -14px; }
.hb-btn .ic { width: 20px; height: 20px; }
.hb-btn:hover { color: var(--red); }
.hb-btn:focus-visible, .hb-dot:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.hb-dots { display: flex; justify-content: center; gap: 6px; padding-top: 10px; }
.hb-dot { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: color-mix(in srgb, var(--ink) 22%, transparent); cursor: pointer; transition: width .25s ease, background .25s ease; touch-action: manipulation; }
.hb-dot[aria-current="true"] { width: 22px; background: var(--red); }
@media (prefers-reduced-motion: reduce) { .hb-pic, .hb-dot { transition: none; } .hb:hover .hb-pic:first-child, .hb:hover .hb-pic:nth-child(2) { transform: none; } }
@media (max-width: 760px) {
  .hb-wrap { padding-block: 12px 4px; }
  .hb { min-height: 190px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 16px; }
  .hb-copy { padding: 18px 4px 18px 18px; gap: 6px; }
  .hb-title { font-size: 23px; }
  .hb-sub { font-size: 12.5px; }
  .hb-cta { padding: 7px 13px; font-size: 12.5px; }
  .hb-art { min-height: 160px; }
  .hb-pic { width: 62%; padding: 6px; border-radius: 12px; }
  .hb-pic:first-child { right: 30%; top: 10%; }
  .hb-pic:nth-child(2) { right: 2%; top: 32%; }
  .hb-ctrl { display: none; }
}
@media (max-width: 360px) { .hb-sub { display: none; } }

/* ---------- Home: Shop by price (16 Nov 2026, Samu) ----------
   priceBand() in app.js: a card per price range — word, price, item count, three product photos and an arrow. Tints of the theme
   tokens, so the website colours and dark mode follow. */
.pz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.pz { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; border-radius: 18px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.pz::before { content: "₹"; position: absolute; right: -6px; top: -26px; z-index: -1; font-family: var(--display); font-weight: 900; font-size: 130px; line-height: 1;
  color: color-mix(in srgb, var(--ink) 6%, transparent); pointer-events: none; }
.pz-v0 { background: linear-gradient(140deg, color-mix(in srgb, var(--mint-ink) 20%, var(--card)), color-mix(in srgb, var(--mint-ink) 6%, var(--card))); }
.pz-v1 { background: linear-gradient(140deg, color-mix(in srgb, var(--amber) 34%, var(--card)), color-mix(in srgb, var(--amber) 10%, var(--card))); }
.pz-v2 { background: linear-gradient(140deg, color-mix(in srgb, var(--red) 20%, var(--card)), color-mix(in srgb, var(--red) 6%, var(--card))); }
.pz-v3 { background: linear-gradient(140deg, color-mix(in srgb, var(--ink) 14%, var(--card)), color-mix(in srgb, var(--ink) 4%, var(--card))); }
.pz-word { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pz-price { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pz-n { font-size: 13px; color: var(--muted); font-weight: 600; }
.pz-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pz-pics { display: flex; }
.pz-pics img { width: 50px; height: 50px; object-fit: cover; border-radius: 12px; background: #fff; border: 3px solid var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pz-pics img + img { margin-left: -14px; }
.pz-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--bg); transition: background .2s ease, transform .2s ease; }
.pz-go .ic { width: 18px; height: 18px; }
.pz:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pz:hover .pz-go { background: var(--red); color: #fff; transform: translateX(2px); }
.pz:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pz, .pz-go { transition: none; } .pz:hover, .pz:hover .pz-go { transform: none; } }
@media (max-width: 700px) {
  .pz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pz { padding: 14px 12px 12px; border-radius: 16px; }
  .pz::before { font-size: 96px; top: -18px; }
  .pz-price { font-size: 20px; }
  .pz-n { font-size: 12px; }
  .pz-foot { margin-top: 10px; }
  .pz-pics img { width: 38px; height: 38px; border-radius: 10px; border-width: 2px; }
  .pz-pics img + img { margin-left: -12px; }
  .pz-go { width: 30px; height: 30px; }
  .pz-go .ic { width: 15px; height: 15px; }
}
@media (max-width: 360px) { .pz-pics img:nth-child(3) { display: none; } }

/* ---------- Category strip on All shops / All products, new look (16 Nov 2026, Samu) ----------
   catStrip(): plain white rounded squares (Samu: plain background like before) with the two-tone icon, name, count; red ring on the chosen one; arrows (setupCatArrows()) when it
   doesn't fit. Only inside .cs2 — the work / food-type strips (.svc-strip) keep their own look. */
.cs2 { position: relative; margin-top: 18px; }
.cs2 .cs2-row { gap: 2px; padding: 6px 2px 8px; scroll-snap-type: x proximity; }
@media (prefers-reduced-motion: no-preference) { .cs2 .cs2-row { scroll-behavior: smooth; } }
.cs2 .cs-item { flex: 0 0 90px; border: 0; background: none; border-radius: 16px; padding: 4px 4px 6px; gap: 4px; font-weight: 600; scroll-snap-align: start; cursor: pointer; }
.cs2 .cs-item:hover { transform: none; border: 0; }
.cs2 .cs-img { width: 80px; height: 80px; border-radius: 14px; position: relative; color: var(--red); margin-bottom: 4px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s ease; }
.cs2 .cs-img img { width: 70px; height: 70px; transition: transform .25s ease; }
.cs2 .cs-img .ic { width: 30px; height: 30px; }
.cs2 .cs-item:hover .cs-img img { transform: translateY(-4px) scale(1.06); }
.cs2 .cs-name { font-size: 12.5px; line-height: 1.2; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs2 .cs-n { font-size: 11px; font-weight: 600; color: var(--muted); }
.cs2 .cs-item.on { background: none; box-shadow: none; }
.cs2 .cs-item.on .cs-img { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--red); }
.cs2 .cs-item.on .cs-name { color: var(--red); font-weight: 800; }
.cs2 .cs-item:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cs2-btn { position: absolute; top: 36px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; }
.cs2-btn[hidden] { display: none; }
.cs2-btn .ic { width: 18px; height: 18px; }
.cs2-btn:hover { color: var(--red); }
.cs2-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cs2-prev { left: -14px; }
.cs2-next { right: -14px; }
@media (prefers-reduced-motion: reduce) { .cs2 .cs-img, .cs2 .cs-img img { transition: none; } .cs2 .cs-item:hover .cs-img img { transform: none; } }
@media (hover: none), (max-width: 760px) { .cs2-btn { display: none !important; } }
@media (max-width: 760px) {
  .cs2 { margin-top: 14px; }
  .cs2 .cs-item { flex-basis: 76px; }
  .cs2 .cs-img { width: 66px; height: 66px; border-radius: 12px; }
  .cs2 .cs-img img { width: 58px; height: 58px; }
  .cs2 .cs-name { font-size: 11.5px; }
  .cs2 .cs-n { font-size: 10.5px; }
}
/* the strip shows the two-tone category icons (cbIcon), not the cut-out photos (Samu, 16 Nov 2026) */
.cs2 .cs-img svg { width: 40px; height: 40px; color: var(--ink); transition: transform .25s ease; }
.cs2 .cs-img .t { fill: color-mix(in srgb, var(--amber) 32%, transparent); stroke: none; }
.cs2 .cs-item:hover .cs-img { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cs2 .cs-item:hover .cs-img svg { transform: translateY(-3px) scale(1.06); color: var(--red); }
.cs2 .cs-item.on .cs-img svg { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .cs2 .cs-img svg { transition: none; } .cs2 .cs-item:hover .cs-img svg { transform: none; } }
@media (max-width: 760px) { .cs2 .cs-img svg { width: 32px; height: 32px; } }

/* ---------- Shop card without a photo (16 Nov 2026, Samu) ----------
   coverArt() in app.js: the shop colour (--sc) as a gradient with a glow and dots — no icon, picture or awning
   (Samu) — so the card no longer looks empty. */
.scard .scover-art { position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.32), transparent 50%),
    radial-gradient(rgba(255,255,255,.16) 1.3px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(135deg, color-mix(in srgb, var(--sc) 78%, #fff), var(--sc) 55%, color-mix(in srgb, var(--sc) 72%, #000)); }

/* ---------- Admin → Banners: side pictures (16 Nov 2026, Samu) ---------- */
.bn-art { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 12px 0; display: grid; gap: 10px; }
.bn-art legend { font-weight: 700; font-size: 13.5px; padding: 0 4px; }
.bn-art-list { display: flex; flex-wrap: wrap; gap: 10px; min-height: 64px; align-items: center; }
.bn-art-t { position: relative; width: 72px; height: 72px; border-radius: 12px; background: var(--tile); border: 1px solid var(--line); }
.bn-art-t img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.bn-art-t button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.bn-art-t button .ic { width: 14px; height: 14px; }
.bn-art-none { color: var(--muted); font-size: 13px; }
.bn-art-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.bn-art-row label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.bn-art-row select { max-width: 100%; }
.bn-art-pick summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--red); }
.bn-art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 10px; }
.bn-art-grid button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: var(--tile); padding: 4px; cursor: pointer; }
.bn-art-grid button:hover, .bn-art-grid button:focus-visible { border-color: var(--red); outline: none; }
.bn-art-grid img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }


/* ---------- Category page (16 Nov 2026, Samu) ----------
   pageCategory() in app.js: a sticky list of categories on the left, the chosen category's subcategory tiles, sort chips and the
   products on the right. Phones keep a narrow icon column on the left (like grocery apps). */
.cp { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.cp-side { position: sticky; top: 140px; max-height: calc(100dvh - 160px); overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.cp-cat { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; position: relative; }
.cp-cat svg { width: 26px; height: 26px; flex: none; }
.cp-cat .t { fill: color-mix(in srgb, var(--amber) 32%, transparent); stroke: none; }
.cp-cat:hover { background: var(--tile); }
.cp-cat.on { background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); font-weight: 800; }
.cp-cat.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--red); }
.cp-cat:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.cp-main { min-width: 0; }
.cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.cp-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.cp-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.cp-subs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 16px 2px 6px; scroll-snap-type: x proximity; }
.cp-subs::-webkit-scrollbar { display: none; }
.cp-sub { flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; text-decoration: none; color: var(--ink); }
.cp-sub-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: box-shadow .2s ease; }
.cp-sub-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-sub-img svg { width: 36px; height: 36px; }
.cp-sub-img .t { fill: color-mix(in srgb, var(--amber) 32%, transparent); stroke: none; }
.cp-sub b { font-size: 12.5px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-sub small { font-size: 11px; color: var(--muted); font-weight: 600; }
.cp-sub:hover .cp-sub-img { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cp-sub.on .cp-sub-img { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--red); }
.cp-sub.on b { color: var(--red); }
.cp-sub:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 14px; }
.cp-sort { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.cp-sort .chip.on { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.cp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cp { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  .cp-side { top: 128px; max-height: calc(100dvh - 210px); padding: 4px; border-radius: 14px; gap: 0; }
  .cp-cat { flex-direction: column; gap: 4px; padding: 8px 2px; font-size: 10.5px; text-align: center; line-height: 1.15; }
  .cp-cat svg { width: 26px; height: 26px; }
  .cp-cat.on::before { top: 10px; bottom: 10px; }
  .cp-head h1 { font-size: 22px; }
  .cp-head .more { font-size: 13px; }
  .cp-sub { flex-basis: 76px; }
  .cp-sub-img { width: 64px; height: 64px; border-radius: 12px; }
  .cp-sub b { font-size: 11px; }
  .cp-sort { gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cp-sort .chip { flex: none; font-size: 12px; }
  .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cp-grid .badge-off { display: none; }   /* the narrow cards have no room for two badges; the struck-out MRP shows the saving */
}

/* ---------- Seller: store link (16 Nov 2026, Samu) ---------- */
.hd-form h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.hd-form h3 .ic { width: 20px; height: 20px; color: var(--red); }
.hd-row { display: flex !important; align-items: stretch; max-width: 560px; margin-top: 10px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.hd-row:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }
.hd-pre { display: grid; place-items: center; padding: 0 10px 0 14px; background: var(--tile); color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.hd-row input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 12px; font-size: 15px; font-weight: 700; background: transparent; }
.hd-msg { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.hd-msg.ok { color: var(--open); font-weight: 700; }
.hd-msg.bad { color: var(--red); font-weight: 700; }
.hd-now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--open) 10%, var(--surface)); font-size: 14px; }
.hd-now .ic { width: 17px; height: 17px; color: var(--open); }
.hd-now a { font-weight: 800; color: var(--ink); word-break: break-all; }
@media (max-width: 420px) { .hd-pre { font-size: 12px; padding: 0 6px 0 10px; } }

/* ---------- Seller: courier & shipping guide (16 Nov 2026, Samu) ---------- */
.cr-h { font-family: var(--display); font-size: 20px; margin: 24px 0 10px; }
.cr-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cr-table th, .cr-table td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cr-table thead th { background: var(--tile); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cr-table tbody tr:last-child > * { border-bottom: 0; }
.cr-table tbody th a { font-weight: 800; color: var(--ink); }
.cr-table tbody th small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.cr-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 16px 18px; margin-bottom: 12px; scroll-margin-top: 140px; }
.cr-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.cr-top h3 { margin: 0; font-size: 18px; }
.cr-top span { color: var(--muted); font-size: 13px; font-weight: 600; }
.cr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.cr-cols b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.cr-cols b .ic { width: 16px; height: 16px; color: var(--red); }
.cr-cols ul, .cr-cols ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; font-size: 14px; color: var(--ink); }
.cr-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-tip { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px; }
.cr-tip .ic { width: 22px; height: 22px; color: var(--red); }
.cr-tip b { display: block; margin: 6px 0 4px; }
.cr-tip p { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) {
  .cr-table thead { display: none; }
  .cr-table, .cr-table tbody, .cr-table tr, .cr-table th, .cr-table td { display: block; width: 100%; }
  .cr-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cr-table tbody th, .cr-table td { border: 0; padding: 4px 14px; }
  .cr-table td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); }
  .cr-cols, .cr-tips { grid-template-columns: 1fr; }
}
/* category page: a smaller Buy button on the product cards (Samu, 16 Nov 2026) */
.cp-grid .pfoot .btn-order { padding: 7px 12px; font-size: 13px; gap: 5px; }
.cp-grid .pfoot .btn-order .wa-icon { width: 13px; height: 13px; }
/* phones: a bit bigger again, full width under the price (Samu, 16 Nov 2026) */
@media (max-width: 760px) {
  .cp-grid .pfoot .btn-order { padding: 9px 12px; font-size: 14px; gap: 6px; }
  .cp-grid .pfoot .btn-order .wa-icon { width: 15px; height: 15px; }
}
/* desktop: a little bigger again (Samu, 16 Nov 2026) — phones keep the small one */
@media (min-width: 761px) {
  .cp-grid .pfoot .btn-order { padding: 9px 16px; font-size: 14px; gap: 6px; }
  .cp-grid .pfoot .btn-order .wa-icon { width: 15px; height: 15px; }
}

/* ---------- Phones: no footer, its few extra items sit at the end of the menu (16 Nov 2026, Samu) ---------- */
.sm-foot { margin-top: 14px; padding: 14px 16px 6px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sm-foot a, .sm-foot p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); text-decoration: none; }
.sm-foot .ic { width: 16px; height: 16px; color: var(--red); flex: none; }
.sm-foot .sm-legal { display: block; }
.sm-foot .sm-legal a { display: inline; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sm-foot small { font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 820px) { #footer { display: none !important; } }

/* ---------- Product card: narrow cards (16 Nov 2026, Samu: on phones the Buy button sat on top of the old price / unit) ----------
   The card's own width decides (container query), so the category page's narrow cards beside the side list and the 2-per-row
   phone grids both get it: under 200px the price line comes first and Buy fills the width below it. */
@media (max-width: 760px) { .cp-grid .pcard .pbody { container-type: inline-size; } }
@media (max-width: 760px) {   /* phones, category page only — other cards and desktop keep price and Buy side by side (Samu, 16 Nov 2026) */
  @container (max-width: 200px) {
    .cp-grid .pfoot { flex-wrap: wrap; gap: 6px; }
    .cp-grid .pfoot .pprice { flex: 1 1 100%; }
    .cp-grid .pfoot .psub { white-space: normal; }
    .cp-grid .pfoot .btn-order { width: 100%; justify-content: center; }
  }
}


/* ---------- Areas page: "Find your area" (17 Nov 2026, Samu chose it in place of the sketch map) ----------
   A card with the pincode box, "Use my location" and popular pincodes on top, then six areas as photo cards (three product photos,
   a badge — Your pincode / about N km / #1 busiest —, shops and open now, pincodes). 3 per row, 2 under 900px, one compact row
   (photo left) under 600px. */
.af { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 3vw, 28px); display: grid; gap: 18px;
  background-image: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--amber) 14%, transparent), transparent 42%); }
.af-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 28px; align-items: center; }
.af-copy .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.af-copy .eyebrow .ic { width: 15px; height: 15px; }
.af-copy h2 { margin: 6px 0 6px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.af-copy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.af-tools { display: grid; gap: 10px; }
.af-form { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; }
.af-form:focus-within { border-color: var(--red); }
.af-form > .ic { width: 18px; height: 18px; color: var(--red); flex: none; }
.af-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 16px/1.2 var(--body); color: var(--ink); padding: 8px 0; outline: none; letter-spacing: .04em; }
.af-form .btn { flex: none; }
.af-loc { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--line); background: transparent; color: var(--ink); border-radius: 999px;
  padding: 8px 14px; font: 600 14px/1.2 var(--body); cursor: pointer; }
.af-loc .ic { width: 17px; height: 17px; color: var(--red); }
.af-loc:hover { border-color: var(--red); }
.af-loc.on { border-style: solid; border-color: var(--red); background: color-mix(in srgb, var(--red) 8%, transparent); color: var(--red); }
.af-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.af-chips .chip { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13px; padding: 6px 10px; }
.af-chips .chip small { color: var(--muted); font-size: 11px; }
.af-chips .chip.on small { color: inherit; }
.af-res { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 16px; }
.af-res h3 { margin: 0; font-size: 18px; }
.af-res .more { font-size: 14px; white-space: nowrap; }
.af-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.af-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none;
  transition: transform .15s, box-shadow .15s; min-width: 0; }
.af-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.af-ph { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 2 / 1; background: var(--tile); }
.af-ph img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.af-ph img:first-child { grid-row: span 2; }
.af-ph.n1 img, .af-ph.n0 .af-ic { grid-column: span 2; grid-row: span 2; }
.af-ph.n2 img { grid-row: span 2; }
.af-ic { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); }
.af-ic .ic { width: 30px; height: 30px; }
.af-badge { position: absolute; left: 10px; top: 10px; font: 700 11.5px/1 var(--body); font-style: normal; padding: 6px 9px; border-radius: 999px; background: var(--surface); color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.af-badge.near { background: var(--grad-red); color: var(--on-red); }
.af-body { position: relative; display: grid; gap: 3px; padding: 12px 44px 14px 14px; }
.af-body b { font: 800 18px/1.2 var(--display); }
.af-body small { color: var(--muted); font-size: 13px; }
.af-open { color: var(--open); font-weight: 600; }
.af-open i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--open); margin-right: 4px; vertical-align: 1px; }
.af-body .af-pin { font-size: 12px; }
.af-go { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: var(--ink); }
.af-go .ic { width: 16px; height: 16px; }
.af-card:hover .af-go { background: var(--grad-red); color: var(--on-red); }
.af-note { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.af-note .ic { width: 15px; height: 15px; color: var(--amber); }
@media (max-width: 900px) {
  .af-top { grid-template-columns: minmax(0, 1fr); }
  .af-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .af { border-radius: 18px; }
  .af-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .af-card { flex-direction: row; border-radius: 14px; }
  .af-ph { flex: none; width: 112px; aspect-ratio: auto; min-height: 96px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .af-ph img { display: none; }
  .af-ph img:first-child { display: block; grid-row: auto; grid-column: auto; }
  .af-ph.n0 .af-ic { grid-column: auto; grid-row: auto; }
  .af-ic .ic { width: 22px; height: 22px; }
  .af-badge { left: 6px; top: auto; bottom: 6px; font-size: 10px; padding: 4px 7px; }
  .af-body { align-content: center; padding: 10px 50px 10px 12px; }
  .af-body b { font-size: 16px; }
  .af-res h3 { font-size: 16px; }
}
@media (max-width: 380px) {
  .af-ph { width: 88px; }
  .af-body { padding-right: 40px; }
  .af-body small { font-size: 12px; }
  .af-go { width: 26px; height: 26px; right: 8px; }
}


/* ---------- Areas page: direction tabs (17 Nov 2026, Samu; the map and the leaderboard made the same day were removed) ---------- */
.adir { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 30px; padding-bottom: 2px; }
.adir::-webkit-scrollbar { display: none; }
.adir .chip { flex: none; }
.adir .chip small { margin-left: 4px; opacity: .7; }
.adir + .fbar { margin-top: 12px; }


/* ---------- Areas page: State and District picker (17 Nov 2026, Samu) ----------
   A bar after "Find your area": two selects (states / districts with shops first, the rest under "Coming soon") and "Show all". The
   map, leaderboard, direction tabs and the area list follow it; a district with no shops gets an empty box with List your shop / Request. */
.rg { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 16px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); }
.rg-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rg-copy > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; flex: none; color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }
.rg-copy b { display: block; font: 800 17px/1.2 var(--display); }
.rg-copy small { color: var(--muted); font-size: 13px; }
.rg-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.rg-pick label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.rg-pick select { min-width: 210px; max-width: 100%; padding: 10px 36px 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background-color: var(--bg); color: var(--ink);
  font: 600 14px/1.2 var(--body); }
.rg-pick select:focus { border-color: var(--red); outline: none; }
.rg-pick select:disabled { opacity: .55; }
.rg-none { margin-top: 18px; }
@media (max-width: 600px) {
  .rg { padding: 14px; border-radius: 16px; }
  .rg-pick { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
  .rg-pick select { min-width: 0; width: 100%; }
  .rg-pick .btn { justify-self: start; }
}


/* ---------- Area card with no product photos yet (17 Nov 2026, Samu: "placeholder blank dikh raha hai, design add kijiye") ----------
   A tinted cover (four tints by area name, .av0–.av3, all from the theme tokens) with a soft glow, a dot pattern and two wavy lines,
   the area's shop kinds as small white tiles, slightly tilted, and a "Shop photos coming soon" note. The finder cards (.af-ph) match. */
.acard-photos.n0, .af-ph.n0 { --t1: var(--red); --t2: var(--amber); overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--t2) 45%, transparent), transparent 55%),
    radial-gradient(circle at 10% 100%, color-mix(in srgb, var(--t1) 30%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--t1) 16%, var(--surface)), color-mix(in srgb, var(--t2) 22%, var(--surface))); }
.acard-photos.av1, .af-ph.av1 { --t1: var(--amber); --t2: var(--red); }
.acard-photos.av2, .af-ph.av2 { --t1: var(--mint); --t2: var(--amber); }
.acard-photos.av3, .af-ph.av3 { --t1: var(--red); --t2: var(--mint); }
.acard-photos.n0::before, .af-ph.n0::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--t1) 30%, transparent) 1.2px, transparent 1.6px) 0 0 / 16px 16px;
  -webkit-mask: linear-gradient(115deg, transparent 20%, #000 75%); mask: linear-gradient(115deg, transparent 20%, #000 75%); }
.acard-photos.n0::after, .af-ph.n0::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 18%; height: 46px; z-index: -1; opacity: .5;
  border-top: 2px solid color-mix(in srgb, var(--t1) 45%, transparent); border-radius: 50%; transform: rotate(-6deg); }
.acard-art { position: absolute; inset: 0; display: grid; place-items: center; }
.acard-photos.n0 .acard-icons, .af-ph.n0 .af-ic { position: static; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--red); }
.acard-icons i, .af-ic i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--surface);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--t1) 22%, transparent), 0 1px 0 var(--line); transform: rotate(-6deg); transition: transform .25s ease; }
.acard-icons i:nth-child(even), .af-ic i:nth-child(even) { transform: rotate(5deg) translateY(-8px); }
.acard-icons i .ic, .af-ic i .ic { width: 28px; height: 28px; stroke-width: 1.6; opacity: 1; color: var(--red); }
.acard:hover .acard-icons i { transform: rotate(0) translateY(-3px); }
.acard-soon { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--muted); background: color-mix(in srgb, var(--surface) 82%, transparent); }
.acard-soon .ic { width: 13px; height: 13px; }
.af-ph.n0 .af-ic { position: absolute; inset: 0; }
.af-ic i { width: 42px; height: 42px; border-radius: 13px; }
.af-ic i .ic { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .af-ic { gap: 6px; }
  .af-ic i { width: 30px; height: 30px; border-radius: 9px; }
  .af-ic i:nth-child(n + 3) { display: none; }
  .af-ic i .ic { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .acard-icons i { width: 46px; height: 46px; border-radius: 14px; }
  .acard-icons i .ic { width: 24px; height: 24px; }
}


/* ---------- Reels (17 Nov 2026, Samu: "reels jaisa menu, swipe karne par products") ----------
   reels.html: a full-screen feed (#rlFeed) that snaps one product per screen. <body class="reels-mode"> hides the announcement bar,
   header, category bar and footer; the phone bottom menu stays. Desktop: a phone-width column in the middle on a dark backdrop, with
   up / down buttons. Colours are fixed on purpose — the feed is always dark, like other reel apps, in every theme. */
body.reels-mode { overflow: hidden; }
body.reels-mode .announce, body.reels-mode .header, body.reels-mode #catbar, body.reels-mode #footer, body.reels-mode .skip { display: none !important; }
body.reels-mode main { padding: 0 !important; }
.rl { position: fixed; inset: 0; z-index: 40; background: #0d0d0f; color: #fff; display: flex; justify-content: center; }
.rl-feed { position: relative; height: 100%; width: min(480px, 100%); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  scrollbar-width: none; outline: none; }
.rl-feed::-webkit-scrollbar { display: none; }
.rl-s { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #151518; }
.rl-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(26px) brightness(.55) saturate(1.2); }
.rl-ph { position: absolute; inset: 70px 0 200px; display: grid; place-items: center; }
.rl-ph img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.rl-noph svg { width: 120px; height: 120px; opacity: .55; color: #fff; }
.rl-s::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .45) 45%, transparent);
  pointer-events: none; }
.rl-tags { position: absolute; left: 14px; top: 66px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.rl-tags span { font: 800 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; }
.rl-tags .rl-off { background: var(--grad-red); }
.rl-info { position: absolute; left: 16px; right: 84px; bottom: 22px; z-index: 2; display: grid; gap: 8px; }
.rl-shop { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.rl-shop > span:last-child { display: grid; min-width: 0; }
.rl-shop b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-shop small { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 5px; }
.rl-shop small i { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; }
.rl-shop small i.on { background: #3ddc84; }
.rl-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--sc); color: #fff;
  font: 800 15px/1 var(--display); border: 2px solid #fff; }
.rl-ava img { width: 100%; height: 100%; object-fit: cover; }
.rl-info h2 { margin: 0; font: 800 21px/1.2 var(--display); }
.rl-info h2 a { color: #fff; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rl-price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rl-price b { font: 800 24px/1 var(--display); color: #ffd28a; }
.rl-price s { opacity: .65; font-size: 14px; }
.rl-price small { opacity: .8; font-size: 13px; }
.rl-buy { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 11px 18px; border-radius: 999px; background: #25d366; color: #06290f;
  font: 800 15px/1 var(--body); text-decoration: none; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.rl-buy svg { width: 18px; height: 18px; }
.rl-rail { position: absolute; right: 10px; bottom: 26px; z-index: 2; display: grid; gap: 14px; }
.rl-act { display: grid; justify-items: center; gap: 4px; border: 0; background: none; color: #fff; font: 700 11px/1 var(--body); cursor: pointer; text-decoration: none; padding: 0; }
.rl-act .ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.rl-act:hover .ic, .rl-act:focus-visible .ic { transform: scale(1.08); background: rgba(255, 255, 255, .26); }
.rl-act.on { color: #fff; }
.rl-act.on .ic { background: var(--grad-red); fill: currentColor; }
.rl-top { position: absolute; left: 50%; translate: -50% 0; top: 0; z-index: 5; width: min(480px, 100%); display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent); }
.rl-back { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); }
.rl-back .ic { width: 20px; height: 20px; }
.rl-title { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 800 17px/1 var(--display); }
.rl-title .ic { width: 20px; height: 20px; color: #ffb547; }
.rl-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; mask: linear-gradient(90deg, #000 85%, transparent); -webkit-mask: linear-gradient(90deg, #000 85%, transparent); }
.rl-chips::-webkit-scrollbar { display: none; }
.rl-chip { flex: none; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .25); color: #fff; border-radius: 999px; padding: 6px 12px; font: 700 12.5px/1 var(--body); cursor: pointer; }
.rl-chip.on { background: #fff; color: #111; border-color: #fff; }
.rl-nav { position: absolute; right: calc(50% - 240px - 70px); top: 50%; translate: 0 -50%; z-index: 5; display: grid; gap: 12px; }
.rl-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rl-nav button:hover { background: rgba(255, 255, 255, .22); }
.rl-nav .ic { width: 22px; height: 22px; }
.rl-hint { position: absolute; left: 50%; bottom: 120px; translate: -50% 0; z-index: 4; margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; animation: rlHint 1.6s ease-in-out infinite; }
.rl-hint .ic { width: 16px; height: 16px; }
body.rl-swiped .rl-hint { display: none; }
@keyframes rlHint { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .rl-hint { animation: none; } }
.rl-empty { align-self: center; width: min(480px, 100% - 32px); background: var(--surface); color: var(--ink); border-radius: 20px; }
@media (max-width: 820px) {
  .rl { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .rl-nav { display: none; }
  .rl-hint { bottom: 210px; }
}
@media (max-width: 520px) {
  .rl-feed, .rl-top { width: 100%; }
  .rl-ph { inset: 64px 0 210px; }
  .rl-ph img { border-radius: 0; box-shadow: none; }
}
@media (max-width: 360px) {
  .rl-info h2 { font-size: 18px; }
  .rl-price b { font-size: 21px; }
  .rl-act .ic { width: 42px; height: 42px; padding: 11px; }
  .rl-title { display: none; }
}


/* ---------- Reels: product details sheet (17 Nov 2026, Samu: "niche se product page nikalkar aa jaye") ----------
   #rlSheet: slides up from the bottom (transform + .open), 88% of the screen on phones, a 520px card in the middle on desktop.
   The body scrolls; the Save + Buy row stays at the bottom. Uses the site's normal colours (light / dark), not the reel's dark ones. */
.rl-sheet { position: fixed; inset: 0; z-index: 90; }
.rl-sheet[hidden] { display: none; }
.rs-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s ease; }
.rl-sheet.open .rs-scrim { opacity: 1; }
.rs-card { position: absolute; left: 50%; bottom: 0; width: min(560px, 100%); height: min(88dvh, 860px); translate: -50% 0; display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.rl-sheet.open .rs-card { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .rs-card, .rs-scrim { transition: none; } }
.rs-grab { flex: none; display: grid; place-items: center; padding: 10px 0 6px; cursor: grab; touch-action: none; }
.rs-grab span { width: 44px; height: 5px; border-radius: 99px; background: var(--line); }
.rs-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.rs-x .ic { width: 18px; height: 18px; }
.rs-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.rs-body > * { flex: none; }
.rs-pics { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.rs-pics::-webkit-scrollbar { display: none; }
.rs-pics img { flex: none; width: 100%; height: auto; max-height: 52vh; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: center; }
.rs-pics.many img { width: 86%; }
.rs-count { margin: -2px 0 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.rs-count .ic { width: 14px; height: 14px; }
.rs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-tags span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tile); color: var(--muted); }
.rs-tags .rs-off { background: var(--grad-red); color: var(--on-red); }
.rs-tags .rs-smp { background: color-mix(in srgb, var(--amber) 20%, var(--surface)); color: var(--ink); }
.rs-body h2 { margin: 0; font: 800 22px/1.25 var(--display); }
.rs-rate { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rs-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.rs-price b { font: 800 26px/1 var(--display); color: var(--red); }
.rs-price s { color: var(--muted); }
.rs-price small { color: var(--muted); }
.rs-stock { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--open); }
.rs-stock.low { color: var(--amber); }
.rs-stock.out { color: var(--closed); }
.rs-sec { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.rs-sec h3 { margin: 0; font-size: 15px; }
.rs-desc { margin: 0; white-space: pre-line; color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.rs-shop { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--tile); color: var(--ink); text-decoration: none; }
.rs-shop > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.rs-shop b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-shop small { color: var(--muted); font-size: 12.5px; }
.rs-shop > .ic { width: 18px; height: 18px; color: var(--muted); }
.rs-shop .rl-ava { border-color: var(--surface); }
.rs-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.rs-facts li { display: flex; align-items: flex-start; gap: 8px; }
.rs-facts .ic { width: 17px; height: 17px; flex: none; color: var(--red); margin-top: 1px; }
.rs-note { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); display: flex; gap: 8px; }
.rs-note .ic { width: 16px; height: 16px; flex: none; color: var(--amber); }
.rs-full { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--red); }
.rs-full .ic { width: 16px; height: 16px; }
.rs-foot { flex: none; display: flex; gap: 10px; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.rs-foot .rl-buy { flex: 1; justify-content: center; margin: 0; }
.rs-save { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 14px/1 var(--body); cursor: pointer; }
.rs-save .ic { width: 18px; height: 18px; }
.rs-save.on { color: var(--red); border-color: var(--red); }
.rs-save.on .ic { fill: currentColor; }
@media (min-width: 821px) {
  .rs-card { bottom: 50%; translate: -50% 50%; height: min(86vh, 820px); border-radius: 24px; }
  .rl-sheet:not(.open) .rs-card { transform: translateY(60vh); }
}


/* ---------- Product photo frame: 1:1, or 2:3 for tall photos (17 Nov 2026, Samu) ----------
   The class r23 is set from the photo's own size when it loads (app.js). On wide screens a 2:3 frame is kept to 78% of the screen height.
   Product page and the Reels Details sheet; the Reels feed shows each photo at the shape the seller uploaded. */
.pd-main.r23 { aspect-ratio: 2 / 3; width: min(100%, calc(min(78vh, 780px) * 2 / 3)); margin-inline: auto; }
.rs-pics img.r23 { aspect-ratio: 2 / 3; width: auto; height: min(56vh, 520px); max-height: none; }


/* ---------- Brand logo image (17 Nov 2026, Samu's new logo: cart + "bahabasket .com") ----------
   images/brand/bb-logo.png (light) and bb-logo-dark.png (letters made light for dark mode); the right one shows by theme. */
.logo-img { display: block; height: 54px; width: auto; }
.logo-img.dk { display: none; }
:root[data-theme="dark"] .logo-img.lt { display: none; }
:root[data-theme="dark"] .logo-img.dk { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-img.lt { display: none; } :root:not([data-theme="light"]) .logo-img.dk { display: block; } }
.foot-logo .logo-img { height: 48px; }
.sm-logo .logo-img { height: 34px; }
.sm-logo { flex: 1; min-width: 0; }
@media (max-width: 820px) { .header .logo-img { height: 42px; } }
@media (max-width: 380px) { .header .logo-img { height: 36px; } }
/* signed in (the bell shows): a little smaller, on phones only (17 Nov 2026 — it used to shrink the desktop logo too) */
@media (max-width: 820px) { .header-row.has-bell .logo-img { height: 36px; } }
@media (max-width: 380px) { .header-row.has-bell .logo-img { height: 30px; } }
.login-top .logo-img { height: 38px; }
@media (max-width: 420px) { .login-top .logo-img { height: 30px; } }
@media (max-width: 340px) { .login-top .logo-img { height: 26px; } }


/* ---------- The website's own social media links (17 Nov 2026, Samu): Admin → Settings; footer, phone menu, Contact ---------- */
.foot-soc { margin-top: 16px; }
.foot-soc .soc-head::after { display: none; }
.foot-soc .soc-i, .sm-soc .soc-i { width: 38px; height: 38px; }
.foot-soc .soc-i svg, .sm-soc .soc-i svg { width: 18px; height: 18px; }
.sm-soc { margin-bottom: 12px; }
.sm-soc .soc-head::after { display: none; }
.contact-soc { margin-top: 18px; display: grid; gap: 6px; }
.contact-soc h3 { margin: 0; }
.contact-soc p { margin: 0 0 6px; color: var(--muted); }
.df-sitesoc { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 4px 0 8px; }
.df-sitesoc legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
/* Brand colours for the website's own social icons (17 Nov 2026, Samu: "unme color bhi nahi hai") — the same in light and dark mode,
   because they are the networks' own colours; white icon on the filled circle. The phone menu's ".sm-foot a" rule (flex, ink colour)
   must not reach them, so the icon stays centred. */
.site-soc .soc-i, .sm-foot .site-soc .soc-i { display: grid; place-items: center; gap: 0; padding: 0; flex: none; border: 0; color: #fff; background: var(--soc-c, var(--red));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--soc-c, #000) 30%, transparent); }
.site-soc .soc-i:hover { background: var(--soc-c, var(--red)); filter: brightness(1.08); transform: translateY(-2px); }
.site-soc .soc-i svg { display: block; }
.site-soc .soc-facebook { --soc-c: #1877f2; }
.site-soc .soc-i.soc-instagram, .sm-foot .site-soc .soc-i.soc-instagram { --soc-c: #dd2a7b; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site-soc .soc-i.soc-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site-soc .soc-youtube { --soc-c: #ff0000; }
.site-soc .soc-x { --soc-c: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 4px 12px rgba(0, 0, 0, .25); }
.site-soc .soc-linkedin { --soc-c: #0a66c2; }
.site-soc .soc-whatsapp { --soc-c: #25d366; }
.site-soc .soc-telegram { --soc-c: #229ed9; }
.sm-foot .site-soc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sm-foot .site-soc .soc-head { flex: 0 0 100%; color: var(--muted); }

/* ---------- Footer, new look (17 Nov 2026, Samu: all 8 ideas) ----------
   A numbers strip on top, five columns (brand + Install app, Website, Categories, Areas, Contact + Follow us + WhatsApp channel),
   "Made in India" in the bottom bar, and a site-wide Back to top button. Phones have no footer (see "Phone menu"). */
.foot-stats-wrap { padding-top: 50px; }
.foot-stats { list-style: none; margin: 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25); }
.foot-stats li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.foot-stats li + li { border-left: 1px solid var(--line); padding-left: 22px; }
.fs-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-red); }
.fs-ico .ic { width: 21px; height: 21px; }
.foot-stats b { display: block; font: 800 18px/1.15 var(--display); color: var(--ink); }
.foot-stats small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.foot-grid.foot-grid5 { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr; gap: 28px; padding-top: 40px; }
.foot-grid .foot-all { font-weight: 700; color: var(--red); }
.foot-install { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); max-width: 360px; }
.foot-install img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.foot-install > span { flex: 1; min-width: 0; }
.foot-install b { display: block; font-size: 14px; }
.foot-install small { display: block; font-size: 12px; color: var(--muted); }
.foot-install .btn { flex: 1 1 100%; justify-content: center; }
.foot-install .ic { width: 15px; height: 15px; }
.foot-contact-col .foot-soc { margin-top: 18px; }
.foot-wa { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, #25d366 12%, var(--card)); border: 1px solid color-mix(in srgb, #25d366 40%, var(--line)); transition: transform .15s; }
.foot-wa:hover { transform: translateY(-2px); color: var(--ink); }
.foot-wa .wa-icon { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 50%; background: #25d366; color: #fff; fill: #fff; }
.foot-wa b { display: block; font-size: 14px; }
.foot-wa small { display: block; font-size: 12px; color: var(--muted); }
.foot-made { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); }
.foot-made .in-flag { width: 22px; height: 15px; flex: none; }
@media (max-width: 1100px) {
  .foot-grid.foot-grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid.foot-grid5 > .foot-brand { grid-column: 1 / -1; }
  .foot-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-stats li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- States (17 Nov 2026, Samu: all 10) ----------
   One look for success / warning / error / info everywhere: toasts, alertBox() (.st-alert), the bars at the top (.st-bars:
   offline, back online, old data, sign-in ended), the confirm dialog (.ok-dlg), busy buttons (.is-busy), "Draft saved". */
:root { --st-ok: #15803d; --st-warn: #b45309; --st-err: #c62828; --st-info: #1d4ed8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --st-ok: #4ade80; --st-warn: #fbbf24; --st-err: #ff7b72; --st-info: #7aa7ff; } }
:root[data-theme="dark"] { --st-ok: #4ade80; --st-warn: #fbbf24; --st-err: #ff7b72; --st-info: #7aa7ff; }
.st-ok { --st: var(--st-ok); } .st-warn { --st: var(--st-warn); } .st-err { --st: var(--st-err); } .st-info { --st: var(--st-info); }
.st-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--st); background: color-mix(in srgb, var(--st) 15%, transparent); }
.st-ic .ic { width: 16px; height: 16px; }
/* toast: dark pill with a coloured icon */
.toast { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 18px 9px 10px; }
.toast[hidden] { display: none; }
.toast .st-ic { background: var(--st); color: var(--on-dark); }
/* message box inside a page */
.st-alert { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; margin: 12px 0; color: var(--ink); font-size: 14.5px; line-height: 1.45;
  background: color-mix(in srgb, var(--st) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--st) 35%, var(--line)); border-left: 4px solid var(--st); }
.st-alert .st-body { flex: 1; min-width: 0; padding-top: 3px; }
.st-alert .st-body b { color: var(--ink); }
.st-alert .st-acts { flex: none; display: flex; gap: 8px; align-self: center; }
@media (max-width: 520px) { .st-alert { flex-wrap: wrap; } .st-alert .st-acts { flex-basis: 100%; padding-left: 40px; } }
.ok-box { margin-top: 14px; }
/* bars at the top of the screen */
.st-bars { position: fixed; top: 10px; left: 50%; translate: -50% 0; z-index: 140; width: min(640px, calc(100% - 20px)); display: grid; gap: 8px; pointer-events: none; }
.st-bar { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; color: var(--ink);
  background: color-mix(in srgb, var(--st) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--st) 40%, var(--line)); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
  animation: stIn .25s ease-out; }
.st-bar .st-body { flex: 1; min-width: 0; }
.st-bar a { color: var(--st); font-weight: 700; text-decoration: underline; }
.st-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.st-x:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.st-x .ic { width: 16px; height: 16px; }
@keyframes stIn { from { opacity: 0; transform: translateY(-10px); } }
/* confirm dialog */
.ok-dlg { padding: 0; border: 0; border-radius: 22px; background: var(--card); color: var(--ink); width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.ok-dlg::backdrop { background: rgba(10, 8, 6, .55); backdrop-filter: blur(2px); }
.ok-dlg[open] { animation: stPop .2s ease-out; }
@keyframes stPop { from { opacity: 0; transform: scale(.95); } }
.ok-card { padding: 24px 22px 20px; display: grid; gap: 8px; justify-items: start; }
.ok-card .ok-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--st); background: color-mix(in srgb, var(--st) 14%, transparent); margin-bottom: 4px; }
.ok-card .ok-ic .ic { width: 24px; height: 24px; }
.ok-card h2 { margin: 0; font: 800 19px/1.3 var(--display); }
.ok-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ok-btns { justify-self: stretch; display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.btn-danger { background: var(--st-err); color: #fff; border-color: var(--st-err); }
.btn-danger:hover { filter: brightness(1.08); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-danger { color: #1a0605; } }
:root[data-theme="dark"] .btn-danger { color: #1a0605; }
@media (max-width: 480px) { .ok-btns .btn { flex: 1 1 0; justify-content: center; } }
/* a button that is saving */
.btn.is-busy, button.is-busy { cursor: progress; opacity: .85; }
.is-busy::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: stSpin .7s linear infinite; }
.is-busy > .ic, .is-busy > svg { display: none; }
@keyframes stSpin { to { transform: rotate(360deg); } }
/* "Draft saved" */
.draft-note { flex-basis: 100%; margin: 6px 0 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.draft-note .ic { width: 14px; height: 14px; color: var(--st-ok); }
.vb-allow { margin-top: 10px; }
.dash-retry, .dash-slow { max-width: 760px; margin: 16px auto; }
.nf-wait .st-alert { margin: 0 0 16px; }
@media (prefers-reduced-motion: reduce) { .st-bar, .ok-dlg[open] { animation: none; } .is-busy::before { animation-duration: 2s; } }


/* ---------- Admin sidebar in groups (17 Nov 2026, Samu: sub-menus) ----------
   <details class="ag"> per group in .adm-side; "Jump to…" box on top; phones: a "Go to" select + the open group's tabs as chips. */
.ag-jump { display: flex; align-items: center; gap: 8px; margin: 2px 2px 8px; padding: 0 10px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); }
.ag-jump .ic { width: 16px; height: 16px; color: var(--muted); flex: none; }
.ag-jump input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.ag-jump:focus-within { border-color: var(--red); }
.ag-select { display: none; }
.adm-side .ag-nav { display: grid; gap: 4px; }
.ag > summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 11px; cursor: pointer; user-select: none;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ag > summary::-webkit-details-marker { display: none; }
.ag > summary:hover { background: var(--tile); color: var(--ink); }
.ag > summary > .ic { width: 16px; height: 16px; color: var(--red); }
.ag > summary .num { margin-left: auto; }
.ag-chev { margin-left: auto; display: grid; transition: transform .2s; }
.ag > summary .num + .ag-chev { margin-left: 6px; }
.ag-chev .ic { width: 15px; height: 15px; }
.ag[open] > summary .ag-chev { transform: rotate(180deg); }
.ag.cur > summary { color: var(--ink); }
.ag-list { display: grid; gap: 2px; padding: 2px 0 6px 12px; margin-left: 14px; border-left: 2px solid var(--line); }
.adm-side .ag-list button { width: 100%; justify-content: flex-start; padding: 9px 11px; border: 0; border-radius: 11px; background: transparent; font-size: 14.5px; }
.adm-side .ag-list button:hover { background: var(--tile); }
.adm-side .ag-list button.on { background: var(--dark); color: var(--on-dark); }
.adm-side .ag-list em { margin-left: auto; }
.ag-none { margin: 6px 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .ag-jump { display: none; }
  .ag-select { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-size: 13px; font-weight: 800; color: var(--muted); }
  .ag-select select { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; }
  .adm-side .ag-nav { display: block; }
  .ag { display: none; }
  .ag.cur { display: block; }
  .ag.cur > summary { display: none; }
  .ag.cur .ag-list { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0; margin: 0; border: 0; }
  .adm-side .ag-list button { width: auto; flex: none; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
  .adm-side .ag-list button.on { background: var(--dark); border-color: var(--dark); }
  .adm-side .ag-list em { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .ag-chev { transition: none; } }


/* ---------- Product form: specifications as rows (17 Nov 2026, Samu) ---------- */
.sp-box { display: grid; gap: 8px; }
.sp-head { font-size: 14px; } .sp-head small { color: var(--muted); font-weight: 500; }
.sp-rows { display: grid; gap: 8px; }
.sp-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 8px; align-items: center; }
.sp-row input { width: 100%; min-width: 0; }
.sp-row .sp-k { font-weight: 700; }
.sp-row.half input:placeholder-shown { border-color: var(--st-warn, #b45309); }
.sp-btns { display: flex; gap: 4px; }
.sp-b { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.sp-b:hover { color: var(--ink); border-color: var(--ink); }
.sp-b.sp-x:hover { color: var(--st-err, #c62828); border-color: var(--st-err, #c62828); }
.sp-b .ic { width: 16px; height: 16px; }
.sp-row:first-child .sp-b[data-v="-1"], .sp-row:last-child .sp-b[data-v="1"] { opacity: .35; pointer-events: none; }
.sp-add { justify-self: start; }
.sp-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sp-chips { display: contents; }
.sp-chip { font-size: 13px; padding: 5px 10px; }
@media (max-width: 600px) {
  .sp-row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .sp-row .sp-k { grid-column: 1; } .sp-row .sp-v { grid-column: 1; grid-row: 2; }
  .sp-btns { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; }
}

/* Areas page finder cards: every photo box the same size (17 Nov 2026, Samu: "chhota bada card achha nahi lag raha") — with
   overflow visible, aspect-ratio let a single tall photo stretch its box; hidden overflow + minmax rows keep the 2 : 1 shape. */
.af-ph { overflow: hidden; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.af-ph > img { min-height: 0; height: 100%; }
/* phones: the photo fills the left box whatever its own shape, so every finder card has the same height */
@media (max-width: 600px) {
  .af-ph { align-self: stretch; min-height: 96px; }
  .af-ph > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* Areas page: the state and district picker in a sticky column left of the area list (17 Nov 2026, Samu: "scroll karne ke baad bhi
   easily change"). Under 1000px it sits above the list as before. */
@media (min-width: 1000px) {
  .ar-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 22px; }
  .ar-side { position: sticky; top: 150px; }
  .ar-side .rg { margin-top: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 18px; }
  .ar-side .rg-copy { align-items: flex-start; }
  .ar-side .rg-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ar-side .rg-pick select { min-width: 0; width: 100%; }
  .ar-side .rg-pick .btn { justify-self: start; }
  .ar-main > .adir:first-child, .ar-main > .rg-none:first-child { margin-top: 0; }
  .ar-main .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1400px) { .ar-main .agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* State / District selects (17 Nov 2026, Samu: the arrow must not touch the border, but keep the same look): the browser's arrow
   can't be moved, so it is hidden and the same thin dark chevron is drawn by the label, 14px inside the border (--ink, both themes). */
.rg-pick label { position: relative; }
.rg-pick select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.rg-pick label::after { content: ""; position: absolute; right: 15px; bottom: 15px; width: 12px; height: 8px; pointer-events: none; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.5 6 6.3l4.8-4.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.5 6 6.3l4.8-4.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.rg-pick label:has(select:disabled)::after { opacity: .45; }
.rg-pick select:disabled { cursor: not-allowed; }

/* ---------- About page, new look (19 Nov 2026, Samu) — pageAbout() ---------- */
.about2 .block { margin-top: 44px; }
.ab-hero { margin-top: 22px; border-radius: 28px; padding: clamp(22px, 4vw, 46px); background: var(--tile); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; position: relative; overflow: hidden; }
.ab-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ab-copy .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.ab-copy .hero-kicker .ic { width: 16px; height: 16px; }
.ab-copy h1 { font: 900 clamp(32px, 4.8vw, 54px)/1.05 var(--display); letter-spacing: -.02em; margin: 0; }
.ab-copy h1 em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-copy p { margin: 0; color: var(--muted); font-size: 17px; max-width: 54ch; }
.ab-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ab-art { position: relative; min-height: 300px; }
.ab-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--amber) 38%, transparent), transparent 68%); }
.ab-cut { position: absolute; width: 42%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(40, 20, 0, .18)); }
.ab-cut.c0 { left: 4%; top: 2%; transform: rotate(-8deg); }
.ab-cut.c1 { right: 4%; top: 6%; transform: rotate(7deg); }
.ab-cut.c2 { left: 14%; bottom: 0; transform: rotate(5deg); }
.ab-cut.c3 { right: 10%; bottom: 4%; transform: rotate(-6deg); }
.ab-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow); font-weight: 800; font-size: 13px; z-index: 1; }
.ab-badge strong { font: 900 22px var(--display); color: var(--red); }
.ab-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa) 25%, transparent); }
.ab-badge.b1 { left: 0; top: 46%; } .ab-badge.b2 { right: 0; bottom: 38%; }

.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ab-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
.ab-stat:hover { transform: translateY(-2px); border-color: var(--red); }
.ab-si { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); margin-bottom: 6px; }
.ab-si .ic { width: 22px; height: 22px; }
.ab-stat b { font: 900 clamp(28px, 3.6vw, 38px)/1.05 var(--display); color: var(--red); }
.ab-stat > span:last-child { color: var(--muted); font-weight: 700; font-size: 14px; }
.ab-stat i { font-style: normal; color: var(--red); }

.ab-time { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.ab-time::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--grad-red); opacity: .35; }
.ab-time li { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ab-ti { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-red); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
.ab-ti .ic { width: 22px; height: 22px; }
.ab-time h3 { margin: 0 0 4px; font-size: 17px; }
.ab-time p { margin: 0; color: var(--muted); font-size: 14.5px; }

.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.ab-steps li > .ic { width: 30px; height: 30px; color: var(--red); }
.ab-sn { position: absolute; right: 16px; top: 10px; font: 900 44px/1 var(--display); color: var(--red); opacity: .14; }
.ab-steps h3 { margin: 0; } .ab-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

.ab-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-for { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: clamp(20px, 3vw, 30px); }
.ab-for h2 { margin: 0; font: 900 clamp(22px, 2.6vw, 28px)/1.15 var(--display); }
.ab-for ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.ab-for li { display: flex; gap: 10px; align-items: flex-start; }
.ab-for li .ic { width: 20px; height: 20px; color: var(--st-ok); flex-shrink: 0; margin-top: 2px; }
.ab-for.dark { background: var(--skb-bg); color: var(--skb-text); border-color: transparent; }
.ab-for.dark .hero-kicker { color: var(--skb-gold); }
.ab-for.dark li { color: var(--skb-text); }
.ab-for.dark li .ic { color: var(--skb-gold); }

.ab-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-v { display: flex; flex-direction: column; gap: 8px; }
.ab-v h3 { margin: 0; } .ab-v p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ab-vi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-red); }
.ab-v.v1 .ab-vi, .ab-v.v3 .ab-vi { background: var(--grad-amber); }
.ab-vi .ic { width: 24px; height: 24px; }

.ab-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.ab-tr { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ab-tr > .ic { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }
.ab-tr b { display: block; margin-bottom: 2px; } .ab-tr p { margin: 0; color: var(--muted); font-size: 14px; }

.ab-team { display: flex; gap: 18px; align-items: flex-start; }
.ab-team > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.ab-team h3, .ab-team p, .ab-team .kv { margin: 0; }
.ab-logo { width: 72px; height: 72px; border-radius: 20px; flex-shrink: 0; box-shadow: var(--shadow); }
.ab-soc { margin: 0; }
.ab-allareas { display: inline-block; margin-top: 14px; }

@media (max-width: 1000px) {
  .ab-time, .ab-values, .ab-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-time { row-gap: 26px; } .ab-time::before { display: none; }
}
@media (max-width: 860px) {
  .ab-hero { grid-template-columns: 1fr; }
  .ab-art { min-height: 240px; max-width: 420px; width: 100%; margin: 0 auto; }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-steps, .ab-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ab-values, .ab-trust { grid-template-columns: 1fr; }
  .ab-time { grid-template-columns: 1fr; }
  .ab-time li { flex-direction: row; } .ab-ti { flex-shrink: 0; }
  .ab-team { flex-direction: column; }
  .ab-cta .btn { flex: 1 1 100%; justify-content: center; }
  .ab-badge { font-size: 12px; padding: 8px 10px; white-space: nowrap; } .ab-badge strong { font-size: 18px; }
  .ab-badge.b1 { top: 0; left: 0; } .ab-badge.b2 { bottom: 0; right: 0; }
}

/* ---------- Contact page, new look (19 Nov 2026, Samu) — pageContact() ---------- */
.contact2 .block { margin-top: 40px; }
.ct-hero { margin-top: 22px; border-radius: 28px; padding: clamp(22px, 4vw, 44px); background: var(--tile); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ct-hero > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ct-hero .hero-kicker { display: inline-flex; align-items: center; gap: 6px; }
.ct-hero .hero-kicker .ic { width: 16px; height: 16px; }
.ct-hero h1 { font: 900 clamp(32px, 4.6vw, 50px)/1.05 var(--display); letter-spacing: -.02em; margin: 0; }
.ct-hero h1 em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ct-hero p { margin: 0; color: var(--muted); font-size: 17px; max-width: 54ch; }
.ct-hero .btn-line { overflow-wrap: anywhere; }
.ct-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-facts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ct-facts .ic { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; }
.ct-facts b { display: block; } .ct-facts small { color: var(--muted); font-size: 13px; }
.ct-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct-q { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.ct-q:hover { border-color: var(--red); transform: translateY(-2px); }
.ct-q h3 { margin: 4px 0 0; font-size: 17px; } .ct-q p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.ct-qi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
.ct-qi .ic { width: 22px; height: 22px; }
.ct-go { color: var(--red); font-weight: 800; font-size: 14px; margin-top: 4px; }
.ct-tip { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); font-size: 14px; }
.fields .ct-tip.full { grid-column: 1 / -1; }
.ct-count { text-align: right; }
.ct-privacy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.ct-privacy .ic { width: 16px; height: 16px; }
.ct-side h3 { display: flex; align-items: center; gap: 8px; } .ct-side h3 .ic { width: 20px; height: 20px; color: var(--red); }
.ct-side p a { overflow-wrap: anywhere; }
.ct-soc { margin-top: 10px; }
.ct-faq { display: grid; gap: 10px; max-width: 860px; }
@media (max-width: 960px) { .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ct-hero { grid-template-columns: 1fr; } .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ct-quick { grid-template-columns: 1fr; } .ct-hero .ab-cta .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- How it works: more ways, seller tools (19 Nov 2026, Samu) — howMore(), howSeller() ---------- */
.how-tips .tips-grid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hm-card h3 { margin: 0; font-size: 17px; } .hm-card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.hm-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
.hm-ic .ic { width: 22px; height: 22px; }
.hm-go { color: var(--red); font-weight: 800; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hs-t { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hs-t > .ic { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; }
.hs-t b { display: block; } .hs-t small { color: var(--muted); font-size: 13px; }
.hs-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hs-two .panel { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hs-two .panel > .ic { width: 28px; height: 28px; color: var(--red); }
.hs-two h3, .hs-two p { margin: 0; } .hs-two p { color: var(--muted); font-size: 14.5px; }
.how-tips + .safe-note { margin-top: 18px; }
@media (max-width: 960px) { .hm-grid, .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hm-grid, .hs-grid, .hs-two { grid-template-columns: 1fr; } }

/* ---------- Product page: how to check a genuine seller (19 Nov 2026, Samu) — genuineBox() ---------- */
.gn-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gn-cols h3 { margin: 0 0 12px; font-size: 18px; }
.gn-checks ul, .gn-tips ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gn-checks li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.gn-checks li.gn-ok { background: color-mix(in srgb, var(--st-ok) 7%, var(--surface)); }
.gn-checks li.gn-warn { background: color-mix(in srgb, var(--st-warn) 9%, var(--surface)); }
.gn-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.gn-ic .ic { width: 20px; height: 20px; }
.gn-ok .gn-ic { color: var(--st-ok); } .gn-warn .gn-ic { color: var(--st-warn); }
.gn-checks b, .gn-tips b { display: block; }
.gn-tips small b { display: inline; color: var(--ink); }
.gn-checks small, .gn-tips small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.gn-st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--surface); }
.gn-st .ic { width: 15px; height: 15px; }
.gn-ok .gn-st { background: var(--st-ok); } .gn-warn .gn-st { background: var(--st-warn); }
.gn-checks .btn { margin: 14px 8px 0 0; }
.gn-tips li { display: flex; gap: 12px; align-items: flex-start; }
.gn-tips li > .ic { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.gn-report { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 700; }
.gn-report .report-link { margin-top: 0; }
@media (max-width: 860px) { .gn-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gn-checks li { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; } .gn-checks .gn-ic { display: none; } .gn-cols .panel { padding: 16px; } }

/* genuine section, closed banner = design 2 (19 Nov 2026, Samu; dist/genuine-samples-3.html): the <summary> is a brand-gradient banner —
   "Safe shopping", the question, the shop's good signs / things to check, a sliding peek list and the category picture floating with
   check chips. Fixed white / dark text inside the banner on purpose (it is always on the red gradient, in both themes). */
.gn-box > summary { list-style: none; cursor: pointer; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center;
  padding: 26px 28px; border-radius: 26px; background: linear-gradient(120deg, #e23d28, #f0772a 60%, #f5a623); color: #fff; box-shadow: 0 14px 30px rgba(180, 60, 20, .18); }
.gn-box > summary::-webkit-details-marker { display: none; }
.gn-box > summary::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .28), transparent 50%); pointer-events: none; }
.gn-box > summary > * { position: relative; min-width: 0; }
.gn-box > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gn-box[open] > summary { margin-bottom: 16px; }
.gn-kick { display: inline-flex; align-items: center; gap: 6px; font: 800 12px var(--body, inherit); letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .2); padding: 4px 10px; border-radius: 999px; }
.gn-kick .ic { width: 13px; height: 13px; }
.gn-copy h2 { margin: 10px 0 0; font: 900 clamp(22px, 2.8vw, 30px)/1.1 var(--display); color: #fff; }
.gn-copy h2::before { display: none; }
.gn-score { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gn-score span { font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: #fff; }
.gn-score .ok { color: #15803d; } .gn-score .warn { color: #b45309; }
.gn-peek { margin-top: 14px; height: 92px; overflow: hidden; -webkit-mask: linear-gradient(#000 35%, transparent); mask: linear-gradient(#000 35%, transparent); }
.gn-peek > div { display: grid; gap: 8px; animation: gnPeek 9s ease-in-out infinite; }
.gn-pr { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .95); color: #1c1917; }
.gn-pr b, .gn-chip b { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 900 12px var(--display); flex-shrink: 0; }
.gn-pr.ok b, .gn-chip.ok b { background: #15803d; } .gn-pr.warn b, .gn-chip.warn b { background: #b45309; }
.gn-box[open] .gn-peek { display: none; }
.gn-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 20px; border-radius: 999px; background: #fff; color: #c2341f; font-weight: 800; font-size: 14px; }
.gn-toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.gn-box[open] .gn-toggle .ic { transform: rotate(180deg); }
.gn-hide, .gn-box[open] .gn-show { display: none; }
.gn-box[open] .gn-hide { display: inline; }
.gn-art { position: relative; height: 230px; display: grid; place-items: center; }
.gn-glow { position: absolute; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 68%); }
.gn-chip { position: absolute; display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 12px; background: #fff; color: #1c1917; font-weight: 800; font-size: 12.5px; box-shadow: 0 10px 20px rgba(0, 0, 0, .18); white-space: nowrap; animation: gnFloat 4s ease-in-out infinite; }
.gn-chip b { width: 18px; height: 18px; font-size: 11px; }
.gn-chip.gc1 { top: 4px; left: -12px; animation-delay: -1s; } .gn-chip.gc2 { bottom: 4px; right: -14px; animation-delay: -2s; } .gn-chip.gc3 { bottom: 4px; left: -12px; animation-delay: -3s; }
@keyframes gnPeek { 0%, 20% { transform: translateY(0); } 40%, 60% { transform: translateY(-44px); } 80%, 100% { transform: translateY(0); } }
@keyframes gnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 760px) {
  .gn-box > summary { grid-template-columns: 1fr; padding: 20px; gap: 6px; }
  .gn-art { order: -1; height: 200px; } .gn-svg { width: 210px; height: 194px; } .gn-glow { width: 180px; height: 180px; }
  .gn-toggle { width: 100%; justify-content: center; }
}
@media (max-width: 760px) { .gn-chip.gc1, .gn-chip.gc3 { left: 0; } .gn-chip.gc2 { right: 0; bottom: 44px; } }
@media (max-width: 360px) { .gn-chip { font-size: 11.5px; padding: 6px 9px; } }
@media (prefers-reduced-motion: reduce) { .gn-peek > div, .gn-chip, .gn-lens, .gn-tk { animation: none; } .gn-toggle .ic { transition: none; } }

/* genuine banner picture: SVG shop + magnifying glass (Samu chose picture 1, 19 Nov 2026) */
.gn-svg { position: relative; width: 250px; height: 230px; overflow: visible; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .22)); }
.gn-lens { animation: gnLens 5s ease-in-out infinite; }
.gn-tk { animation: gnTk 5s ease-in-out infinite; transform-origin: 196px 66px; transform-box: view-box; }
.gn-box[open] .gn-lens, .gn-box[open] .gn-tk, .gn-box[open] .gn-chip { animation: none; }
@keyframes gnLens { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-70px, -10px); } 65% { transform: translate(-30px, 20px); } }
@keyframes gnTk { 0%, 75% { transform: scale(1); } 82% { transform: scale(1.25); } 90%, 100% { transform: scale(1); } }

/* SEO / GEO (20 Nov 2026): the page's main words as plain HTML for crawlers that don't run JavaScript (build_pages.py and
   functions/_preview.js put them between <!--ssr--> and <!--/ssr--> in <main>). People see the loading skeleton as before (Samu, same
   day: the plain text showed for a few seconds) — the block is kept out of sight like .vh until app.js draws the page and replaces it. */
#app > .ssr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Search features (20 Nov 2026, Samu; docs/plans/2026-11-20-search-features.md) ---------- */
.sr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; }
.sr-sort { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.sr-sort .ic { width: 16px; height: 16px; color: var(--muted); }
.sr-sort select { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); padding: 8px 6px; cursor: pointer; }
.sr-bar .chip { margin: 0; }
.sr-price { cursor: default; }
.sr-clear { border: 0; background: none; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 4px; }
mark.sr-mk { background: color-mix(in srgb, var(--amber) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
@media (max-width: 600px) { .sr-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .sr-bar > * { flex-shrink: 0; } }
.sg-ic.sg-pic { background: var(--tile); overflow: hidden; padding: 0; }
.sg-ic.sg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-alert { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); text-align: left; }
.sr-alert > .ic { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }
.sr-alert > div { flex: 1; min-width: 200px; } .sr-alert p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.sr-alert-on { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--st-ok); }
.sr-alert-on .ic { width: 18px; height: 18px; }
.se-trend > span { display: inline-flex; align-items: center; gap: 4px; color: var(--red); }
.se-trend > span .ic { width: 15px; height: 15px; }
.sa-list { display: grid; gap: 8px; }
.sa-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.sa-row > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.sa-row .ic { width: 18px; height: 18px; color: var(--red); } .sa-row small { color: var(--muted); }
