/* Phone-first styles. Two small self-hosted fonts (about 60 KB together, cached after the first visit). */
@font-face {
  font-family: "Bricolage Grotesque Variable"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/display/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/body/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
}
:root {
  --green: #0a6b3d;
  --green-2: #0c8049;
  --green-deep: #073d24;
  --green-soft: #e6f3eb;
  --gold: #ffc21a;
  --gold-soft: #fff4cc;
  --coral: #ee5a2e;
  --coral-soft: #fdeae3;
  --blue: #1565c0;
  --blue-soft: #e6f0fc;
  --ink: #121512;
  --muted: #646c66;
  --line: #e9e6de;
  --soft: #f2f0ea;
  --bg: #fbfaf7;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(18, 21, 18, .04), 0 8px 24px rgba(18, 21, 18, .06);
  --display: "Bricolage Grotesque Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.5 var(--body);
  padding-bottom: 100px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
.h3 { font-size: 1.2rem; margin: 26px 0 6px; }
p { margin: 8px 0; }
b, strong { font-weight: 700; }
svg { flex: none; vertical-align: -3px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.link { color: var(--green); font-weight: 700; }
.link:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.035em; }
.logo-mark { width: 34px; height: 38px; display: grid; place-items: center; flex: none; }
.logo-mark svg { display: block; }
.top-search { flex: 1; display: none; align-items: center; gap: 8px; background: var(--soft); color: var(--muted); border-radius: 999px; padding: 0 16px; max-width: 460px; border: 1.5px solid transparent; }
.top-search:focus-within { background: #fff; border-color: var(--ink); }
.top-search input { border: 0; outline: 0; background: none; width: 100%; height: 44px; font: inherit; color: var(--ink); }
.top-nav { display: none; align-items: center; gap: 22px; font-weight: 600; font-size: .94rem; white-space: nowrap; margin-left: auto; }
.top-nav a:not(.btn):hover { color: var(--green); }
.top-icons { display: flex; gap: 8px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; position: relative; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 18px 16px; min-height: 60vh; }
.narrow { max-width: 560px; margin: 0 auto; }
.foot { max-width: 1120px; margin: 32px auto 0; padding: 22px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.foot div { width: 100%; font-weight: 500; }

/* ---------- Floating tab bar (phones) ---------- */
.tabbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
  background: rgba(18, 21, 18, .93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 26px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; box-shadow: 0 12px 32px rgba(18, 21, 18, .28);
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; color: #a9b0aa; font-size: .68rem; font-weight: 600; border-radius: 20px; }
.tabbar a.on { color: #fff; }
.tabbar a.on svg { color: var(--gold); }
.tabbar .tab-sell svg { background: var(--gold); color: var(--ink); border-radius: 50%; padding: 6px; width: 42px; height: 42px; }
.tabbar a.on.tab-sell svg { color: var(--ink); }
.tabbar .tab-sell span { display: none; }
.tabbar .dot { position: absolute; top: 3px; left: 54%; }
.dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; }
.dot-zero { background: var(--soft); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-align: center; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: none; color: var(--muted); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--soft); }
.btn-ghost.is-saved { color: var(--coral); }
.btn-ghost.is-saved svg { fill: currentColor; }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-xs { min-height: 34px; padding: 0 13px; font-size: .82rem; }

/* ---------- Notices ---------- */
.flash { max-width: 1088px; margin: 12px auto 0; padding: 13px 18px; border-radius: 16px; font-weight: 700; width: calc(100% - 32px); }
.flash-ok { background: var(--ink); color: #fff; }
.flash-error { background: var(--coral-soft); color: #9c2d10; }
.notice { border-radius: 16px; padding: 13px 16px; margin: 12px 0; font-size: .94rem; }
.notice a { text-decoration: underline; font-weight: 700; }
.notice-error { background: var(--coral-soft); color: #8f2a0f; }
.notice-warn { background: var(--gold-soft); color: #5e4500; }
.notice-tip { background: var(--green-soft); color: #164a2f; }

/* ---------- Home ---------- */
.hero { display: grid; gap: 14px; margin: 4px 0 6px; }
.hero-main { padding: 8px 0 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.3rem, 10.5vw, 4rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 18px; }
.hl { display: inline-block; background: var(--gold); border-radius: .28em; padding: 0 .16em .04em; transform: rotate(-2deg); }
.search-xl { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 5px 5px 18px; box-shadow: 0 10px 30px rgba(18, 21, 18, .08); max-width: 600px; }
.search-xl svg { color: var(--muted); }
.search-xl input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font: inherit; }
.search-xl .btn { min-height: 48px; padding: 0 20px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.hero-points svg { color: var(--green); }
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promo { position: relative; border-radius: 24px; padding: 16px; min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.promo b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.05; }
.promo span { font-size: .8rem; font-weight: 600; opacity: .85; margin-top: 3px; }
.promo i { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.promo-deals { grid-column: 1 / -1; background: var(--coral); color: #fff; }
.promo-deals b { font-size: 1.6rem; }
.promo-sell { background: var(--gold); color: var(--ink); }
.promo-sell i { background: rgba(18, 21, 18, .1); }
.promo-sell, .promo-verified { min-height: 132px; padding-top: 52px; }
.promo-verified { background: var(--green-deep); color: #fff; }
/* Phones: a shorter welcome banner, so Featured products show sooner */
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); margin-bottom: 12px; }
  .hero-points { display: none; }
  .promos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .promo, .promo-sell, .promo-verified, .promo-deals { grid-column: auto; min-height: 0; padding: 12px; border-radius: 18px; }
  .promo b, .promo-deals b { font-size: .98rem; }
  .promo span, .promo i { display: none; }
}

.cats { display: flex; gap: 6px; overflow-x: auto; padding: 14px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.2; }
.cat-ic { width: 62px; height: 62px; border-radius: 22px; background: var(--soft); display: grid; place-items: center; font-size: 1.65rem; transition: transform .15s ease; }
.cat:hover .cat-ic { transform: translateY(-2px); }
.cat.on .cat-ic { background: var(--ink); }
.cat.on { color: var(--green); }

.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.sec-head a { background: var(--soft); color: var(--ink); font-weight: 700; font-size: .82rem; white-space: nowrap; padding: 7px 14px; border-radius: 999px; }
.sec-head a:hover { background: var(--ink); color: #fff; }
.sec-head h2 svg, .sec-head h1 svg { color: var(--gold); vertical-align: -2px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 46%; max-width: 230px; scroll-snap-align: start; }
.hscroll-wide > * { flex-basis: 84%; max-width: 340px; }
.hscroll-shops > * { flex: 0 0 92px; max-width: 92px; }
.shop-pill { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; font-weight: 600; }
.shop-pill .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green); }
.shop-pill-name { line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.card { display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tags { position: absolute; top: 9px; left: 9px; right: 9px; display: flex; flex-wrap: wrap; gap: 4px; }
.tags-inline { position: static; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tag-featured { background: var(--gold); color: var(--ink); }
.tag-video { background: rgba(0, 0, 0, .72); color: #fff; }

/* Videos: a cover with a play button; TikTok's player replaces it when tapped (tall 9:16 like a phone) */
.video-box { max-width: 340px; margin: 6px 0 14px; }
.video-cover, .video-frame { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius); overflow: hidden; background: #111; }
.video-cover { padding: 0; cursor: pointer; color: #fff; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; }
.video-play.small-play { width: 44px; height: 44px; }
.video-note { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: .75rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.card-video .card-img { aspect-ratio: 3 / 4; }
/* Watch feed: one video per screen, snapping as you scroll */
.watch-feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 420px; margin: 0 auto; scroll-snap-type: y proximity; }
.watch-item { min-width: 0; grid-template-columns: minmax(0, 1fr); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 10px; display: grid; gap: 10px; }
.watch-item .video-cover, .watch-item .video-frame { height: auto; width: min(100%, calc(min(62vh, 600px) * 9 / 16)); margin: 0 auto; }
.watch-info { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.watch-text { flex: 1; min-width: 0; }
.watch-text .card-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-text .card-meta { display: block; white-space: normal; overflow: visible; }
.watch-info .btn { flex: none; }
.tag-deal { background: var(--coral); color: #fff; }
.tag-plain { background: var(--soft); font-weight: 600; }
.sold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 21, 18, .55); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.card-body { padding: 9px 2px 0; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card-title { font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: .76rem; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.badge { display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; font-weight: 700; padding: 3px 9px 3px 6px; border-radius: 999px; vertical-align: middle; }
.badge svg { vertical-align: 0; }
.badge-id { background: var(--blue-soft); color: var(--blue); }
.badge-biz { background: var(--green-soft); color: var(--green); }
.card-meta .badge, .shop-pill .badge, .chat-head .badge { padding: 2px 4px; }
.stars b { color: #b47a00; }

/* ---------- Coupons ---------- */
.ticket { display: flex; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.ticket-amount { flex: none; width: 108px; display: grid; place-items: center; text-align: center; background: var(--coral); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; padding: 12px 8px; line-height: 1.05; border-right: 2px dashed #fff; }
.ticket-body { padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.ticket-shop { font-weight: 700; }
.ticket-grid { display: grid; gap: 12px; }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; background: var(--gold-soft); border: 1.5px dashed #d8b23a; border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.code .small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.code-inline { font-family: ui-monospace, Consolas, monospace; }
.with-coupon { color: var(--coral); font-weight: 700; margin-top: 2px; }

/* ---------- Avatars ---------- */
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-family: var(--display); font-weight: 800; object-fit: cover; }
.avatar-lg { width: 62px; height: 62px; font-size: 1.3rem; }
.avatar-xl { width: 80px; height: 80px; font-size: 1.8rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; margin: 16px 0; }
.form-tight { gap: 8px; margin: 10px 0 0; }
.form label, .field { display: grid; gap: 7px; font-weight: 700; font-size: .92rem; }
input, select, textarea { font: inherit; color: var(--ink); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .filters select, .filters input[type=number] {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-weight: 500;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 0; }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.row-tight { gap: 8px; margin: 8px 0; }
.row-between { justify-content: space-between; align-items: flex-start; flex-wrap: nowrap; margin: 0; }
.grow { flex: 1; }
.stack { display: grid; gap: 12px; margin: 12px 0; }
.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; }

.picker-previews { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.picker-previews:empty { display: none; }
.picker-item { position: relative; width: 88px; height: 88px; border-radius: 16px; overflow: hidden; background: var(--soft); }
.picker-item img { width: 100%; height: 100%; object-fit: cover; }
.picker-remove { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(18, 21, 18, .75); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.picker-hint { font-weight: 500; margin-top: 6px; }

.choices { display: grid; gap: 10px; }
.choice { display: flex !important; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 16px; cursor: pointer; font-weight: 500 !important; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 22px; height: 22px; accent-color: var(--green); }
.choice > span { flex: 1; }
.choice-thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
/* Seller's payment details inside an accepted order */
.paybox { display: grid; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.paybox > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.paybox > div > .muted { min-width: 120px; }
.paybox b { word-break: break-all; }
.table .num { text-align: right; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate input { position: absolute; opacity: 0; }
.rate label { display: block !important; font-size: 2.1rem; line-height: 1; color: #dcd8cd; cursor: pointer; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #f0a800; }
.rate input:focus-visible + label { outline: 3px solid var(--gold); }

/* ---------- Browse filters ---------- */
.filters { margin-bottom: 6px; }
.filters .search-xl { max-width: none; }
.filter-box { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; }
.filter-box[open] { padding-bottom: 8px; }
.filter-box summary { padding: 13px 0; font-weight: 700; cursor: pointer; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.filter-grid label { display: grid; gap: 4px; font-size: .84rem; font-weight: 700; }
.filter-grid .check { grid-column: 1 / -1; }
.pager { display: flex; justify-content: center; gap: 12px; margin: 26px 0; }

/* ---------- Product page ---------- */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; background: var(--soft); margin: 0 0 16px; scrollbar-width: none; }
.gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: center; }
.gallery-empty { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); }
.product-title { font-size: 1.55rem; }
.product-price { font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.facts span { background: var(--soft); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; }
.actions { display: flex; gap: 10px; margin: 12px 0 4px; }
.actions .btn { flex: 1; }
.seller-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 14px; margin: 18px 0; }
.seller-card:hover { border-color: var(--ink); }
.seller-card > div { flex: 1; min-width: 0; }
.seller-name { font-weight: 700; }
.chev { color: var(--muted); font-size: 1.5rem; line-height: 1; margin-left: auto; }
.desc { white-space: pre-line; overflow-wrap: anywhere; }
.shop-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.review { background: #fff; border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.review p { margin: 4px 0 0; }

/* ---------- Lists, menus, chat ---------- */
.menu { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin: 16px 0; }
.menu-row, .chat-row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); min-height: 58px; }
.menu-row:hover, .chat-row:hover { background: var(--soft); }
.menu-row:last-child, .chat-row:last-child { border-bottom: 0; }
.menu-row > span:nth-of-type(1) { font-weight: 700; flex: 1; }
.menu-row svg { color: var(--green); }
.chat-row-main { flex: 1; min-width: 0; }
.chat-preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .9rem; }
.chat-row.unread .chat-preview { color: var(--ink); font-weight: 700; }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink); text-transform: capitalize; font-style: normal; white-space: nowrap; }
.pill-active, .pill-approved, .pill-paid, .pill-resolved { background: var(--green-soft); color: var(--green); }
.pill-gold, .pill-pending, .pill-open, .pill-review { background: var(--gold-soft); color: #6b4e00; }
.pill-rejected, .pill-suspended, .pill-hidden { background: var(--coral-soft); color: #9c2d10; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.chat-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 8px; border: 1px solid var(--line); margin: 10px 0; }
.chat-item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; min-height: 30vh; }
.bubble { max-width: 82%; align-self: flex-start; background: var(--soft); border-radius: 20px 20px 20px 6px; padding: 10px 14px; overflow-wrap: anywhere; }
.bubble > div { white-space: pre-line; }
.bubble span { display: block; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.bubble.mine { align-self: flex-end; background: var(--green); color: #fff; border-radius: 20px 20px 6px 20px; }
.bubble.mine span { color: rgba(255, 255, 255, .75); }
.chat-form { display: flex; gap: 8px; position: sticky; bottom: 96px; background: var(--bg); padding: 8px 0; }
.chat-form textarea { flex: 1; min-height: 50px; max-height: 120px; border: 1.5px solid var(--line); border-radius: 25px; padding: 12px 16px; resize: none; }

/* ---------- Seller dashboard / admin ---------- */
.cta { display: flex; align-items: center; gap: 12px; background: var(--blue-soft); color: #0d3f7a; border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.cta > div { flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.tiles-wide { grid-template-columns: repeat(2, 1fr); }
.tile { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 14px 8px; text-align: center; }
.tile b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.quick a { background: var(--soft); border-radius: 18px; padding: 14px 4px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--green); }
.quick a:hover { background: var(--green-soft); }
.quick a span { color: var(--ink); }
.item-row { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 10px; align-items: flex-start; }
.item-thumb { flex: none; width: 78px; height: 78px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-main { flex: 1; min-width: 0; }
.item-main form { display: contents; }
.subnav { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 6px; scrollbar-width: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: .88rem; }
.subnav a.on { background: var(--ink); color: #fff; }

/* ---------- Cart, checkout, orders ---------- */
.nav-ic, .icon-btn { position: relative; }
.nav-ic .dot, .icon-btn .dot { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; font-size: .66rem; padding: 0 5px; }
.icon-btn .dot { top: -3px; right: -3px; }
.quick { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); }
.quick a span { text-align: center; line-height: 1.15; }
.cta-gold { background: var(--gold-soft); color: #5e4500; }
.cart-shop { margin-bottom: 14px; }
.qty { display: inline-flex !important; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; }
.qty select { min-height: 36px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 8px; background: #fff; }
.qty-row { margin-bottom: 0; }
.totals .row { margin: 4px 0; }
.total-row { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px !important; font-size: 1.1rem; }
.total-row b { font-family: var(--display); }
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 14px 0; counter-reset: step; }
.track li { position: relative; text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); padding-top: 30px; }
.track li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: .72rem; z-index: 1; }
.track li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.done { color: var(--ink); }
.track li.done::before { background: var(--green); color: #fff; content: "✓"; }
.track li.done::after { background: var(--green); }
.info-list { display: grid; gap: 12px; font-size: .92rem; margin: 16px 0; }
.info-list .row { margin: 2px 0; }
.fact-hot { background: var(--coral-soft) !important; color: #9c2d10; }
.reply-line { color: var(--green); font-weight: 600; margin-top: 2px; }
.strong { font-weight: 700; }
.big-code { font-size: 1.5rem; letter-spacing: .12em; background: #fff; border-radius: 8px; padding: 2px 10px; }
a.panel { display: block; }
a.panel:hover, a.item-row:hover { border-color: var(--ink); }

/* ---------- Invoices and receipts ---------- */
.invoice { max-width: 760px; margin: 0 auto; }
.invoice-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; margin-top: 12px; }
.invoice-top { align-items: flex-start; margin-bottom: 22px; }
.invoice-kind { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; line-height: 1; }
.invoice-brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--green); }
.invoice-parties { display: grid; gap: 16px; margin-bottom: 22px; font-size: .92rem; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 16px; }
.invoice-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--ink); padding: 8px 6px; }
.invoice-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.invoice-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.invoice-table .sum td { border-bottom: 0; padding: 5px 6px; }
.invoice-table .grand td { border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; padding-top: 10px; }
@media (min-width: 620px) { .invoice-parties { grid-template-columns: repeat(3, 1fr); } .invoice-sheet { padding: 36px; } }
@media print {
  .top, .tabbar, .foot, .flash, .no-print { display: none !important; }
  body { background: #fff; padding: 0; }
  .wrap { padding: 0; max-width: none; }
  .invoice-sheet { border: 0; padding: 0; }
}

.doc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.doc-pair a { display: block; text-align: center; font-size: .8rem; font-weight: 700; }
.doc-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--soft); margin-bottom: 4px; }
.draft-banner { background: var(--gold-soft); border-radius: 16px; padding: 12px 16px; font-size: .9rem; margin-bottom: 18px; }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 40px 16px; background: var(--soft); border-radius: 24px; }
.empty p { color: var(--muted); margin: 6px 0 16px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; text-align: left; }
.steps > div { background: var(--soft); border-radius: 18px; padding: 14px; }
.steps p { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.steps svg { color: var(--green); }
.prose { max-width: 680px; margin: 0 auto; }
.prose h2 { margin: 30px 0 8px; }
.prose li { margin: 6px 0; }
.policy h2 { font-size: 1.12rem; }
.policy p, .policy li { line-height: 1.6; }
.policy table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; margin: 10px 0; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.policy th { background: var(--soft); }
.policy-nav { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .9rem; }
.policy-nav b { width: 100%; }
.policy-nav a, .policy-list a { color: var(--green); }
.policy-list { display: grid; gap: 10px; margin: 18px 0; }
.policy-list a { display: block; background: var(--soft); border-radius: 16px; padding: 14px 16px; text-decoration: none; }
.policy-list span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); font-size: .92rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--soft); }

/* ---------- Bigger screens ---------- */
@media (min-width: 620px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
  .hscroll > * { flex-basis: 30%; }
  .hscroll-wide > * { flex-basis: 46%; }
  .hscroll-shops > * { flex-basis: 104px; max-width: 104px; }
  .tiles-wide { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .narrow .steps { grid-template-columns: 1fr 1fr; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .cat { width: 92px; font-size: .78rem; }
  .cat-ic { width: 70px; height: 70px; font-size: 1.85rem; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar, .top-icons { display: none; }
  .top-search, .top-nav { display: flex; }
  .wrap { padding-top: 26px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
  .hscroll { gap: 18px; }
  .hscroll > * { flex-basis: 22%; }
  .hscroll-wide > * { flex-basis: 31%; }
  .hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: center; margin: 14px 0 12px; }
  .hero h1 { font-size: clamp(3rem, 5.4vw, 4.4rem); }
  .promo { min-height: 132px; padding: 20px; }
  .promo-deals { min-height: 150px; }
  .promo-deals b { font-size: 2.1rem; }
  .cats { justify-content: space-between; padding-top: 22px; }
  .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .gallery { position: sticky; top: 84px; }
  .chat-form { bottom: 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-img img { transition: transform .3s ease; }
  .card:hover .card-img img { transform: scale(1.04); }
  .promo { transition: transform .15s ease; }
  .promo:hover { transform: translateY(-3px); }
}

/* Boost page: benefit-first header and price cards */
.boost-hero { background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px 20px; margin: 10px 0 18px; }
.boost-hero h1 { margin: 0 0 4px; }
.boost-hero p { margin: 0 0 10px; }
.boost-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.boost-pack { align-items: flex-start !important; }
.boost-pack.is-popular { border-color: var(--green); }
.boost-name { font-size: 18px; }
.boost-price { flex: none !important; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.boost-price > b { font-size: 20px; }
.boost-save { background: var(--green); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }

/* Install-as-app banner (sits just above the bottom tab bar on phones) */
.app-banner { position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 40; display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-width: 520px; margin: 0 auto; }
.app-banner[hidden] { display: none; }
.app-banner img { border-radius: 12px; flex: none; }
.app-banner > div { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner b { display: block; font-size: 15px; }
.app-banner span { font-size: 13px; color: var(--muted, #666); }
.app-banner-x { background: none; border: 0; font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; color: #888; }
@media (min-width: 900px) { .app-banner { bottom: 20px; right: 20px; left: auto; width: 420px; } }

/* Get the app page */
.get-app-hero { text-align: center; background: linear-gradient(160deg, var(--gold-soft), #fff); border: 1.5px solid var(--line); border-radius: 24px; padding: 24px 20px; margin: 10px 0 18px; }
.get-app-hero img { border-radius: 26px; box-shadow: 0 10px 24px rgba(10,61,36,.18); }
.get-app-hero h1 { margin: 14px 0 6px; }
.get-app-perks { margin: 0 0 18px; padding: 0 4px; }
.get-app .panel { margin-bottom: 12px; }
.get-app ol { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; }

/* Boost: choose how to pay. Only the chosen way's details and button show. */
.pay-online, .pay-manual { margin-top: 4px; }
.pay-manual-title { margin: 8px 0 4px; }
@supports selector(:has(*)) {
  .pay-online, .pay-manual { display: none; }
  form:has(input[name=method][data-online]:checked) .pay-online,
  form:has(input[name=method][value=bank]:checked) .pay-manual[data-method=bank],
  form:has(input[name=method][value=ezee]:checked) .pay-manual[data-method=ezee] { display: block; }
}

/* ---- Product videos filmed on Island Higglers ---- */
.video-field .video-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.video-field .video-actions label { cursor: pointer; }
.video-field .video-preview { display: grid; gap: 6px; justify-items: start; }
.video-field .video-preview[hidden], .video-progress[hidden] { display: none; }
.video-field video { width: 100%; max-width: 260px; max-height: 420px; border-radius: 14px; background: #000; }
.video-progress { display: flex; align-items: center; gap: 8px; }
.video-progress progress { flex: 1; accent-color: var(--green); }
.own-video { width: 100%; max-height: 70vh; border-radius: 16px; background: #000; display: block; }

/* ---- Watch: full-screen swipe feed ---- */
.watch-feed { max-width: 460px; margin: 0 auto; gap: 14px; height: calc(100dvh - 290px); min-height: 380px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; border-radius: 22px; scrollbar-width: none; }
.watch-feed::-webkit-scrollbar { display: none; }
.watch-feed .watch-item { position: relative; height: 100%; padding: 0; border: 0; background: #000; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; border-radius: 22px; display: block; }
.watch-own video { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-tiktok .video-cover, .watch-tiktok .video-frame { width: 100%; height: 100%; border-radius: 0; }
.watch-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 10px; padding: 48px 14px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72)); pointer-events: none; }
.watch-overlay a, .watch-overlay button { pointer-events: auto; }
.watch-overlay .watch-text { flex: 1; min-width: 0; }
.watch-title { color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.watch-meta { font-size: 13px; opacity: .92; margin-top: 2px; }
.watch-actions { display: grid; gap: 8px; justify-items: center; }
.watch-report { color: #fff; opacity: .8; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.watch-sound { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 18px; cursor: pointer; }
.watch-tiktok .watch-overlay { padding-top: 24px; }
.watch-hint { margin-top: 8px; }
.admin-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.admin-videos video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; }
.watch-cta { display: flex; align-items: center; gap: 8px; max-width: 460px; margin: 0 auto 12px; padding: 12px 16px; border-radius: 16px;
  background: var(--gold, #ffc72c); color: var(--ink, #111); text-decoration: none; font-size: 15px; }
.watch-cta span { margin-left: auto; font-size: 13px; opacity: .8; }
/* Watch: title with a big "+ Post a video" button */
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 460px; margin: 0 auto 12px; }
.watch-head h1 { margin: 0; display: flex; align-items: center; gap: 6px; }
.watch-post { background: var(--gold, #ffc72c); color: var(--ink, #111); font-weight: 800; text-decoration: none; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.watch-create .step-title { font-weight: 800; font-size: 16px; display: block; margin-bottom: 6px; }
.watch-create .video-actions .btn { flex: 1; text-align: center; }
/* Each video fills the feed's full height, one per swipe */
.watch-feed[data-watch-feed] { display: block; }
.watch-feed[data-watch-feed] .watch-item { height: 100%; margin-bottom: 14px; }

/* ---- Founding Sellers ---- */
.founder-badge { display: inline-flex; align-items: center; gap: 4px; background: #fff4cc; color: #7a5600; border: 1px solid #f1d37a; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.founder-card { background: linear-gradient(135deg, #fff8e1, #fff); border: 1.5px solid #f1d37a; border-radius: 18px; padding: 14px 16px; margin: 12px 0; }
.founder-title { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.founder-steps { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 4px; }
.founder-steps li.done { color: var(--muted, #666); text-decoration: line-through; }
.founder-bar { height: 10px; background: #f3e7c2; border-radius: 999px; overflow: hidden; }
.founder-bar span { display: block; height: 100%; background: var(--green, #0a6b3d); border-radius: 999px; }
.founding-hero { text-align: center; background: linear-gradient(160deg, #0a6b3d, #0d8a4f); color: #fff; border-radius: 22px; padding: 26px 18px; margin-bottom: 16px; }
.founding-hero h1 { color: #fff; margin: 6px 0; }
.founding-medal { font-size: 46px; }
.founding-spots { display: inline-block; margin-top: 10px; background: var(--gold, #ffc72c); color: #111; border-radius: 999px; padding: 6px 16px; font-size: 15px; }
.founding-perks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.founding-perks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line, #eee); border-radius: 14px; padding: 12px; }
.founding-perks li > span { font-size: 24px; }
.btn-big { font-size: 18px; padding: 14px; }
.founding-how { margin-top: 18px; }

/* ---- Plans: Free, Plus, Pro ---- */
.plan-card { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; background: var(--soft); color: var(--ink); border: 1.5px solid var(--line); }
.plan-card-plus { background: var(--blue-soft); border-color: #cfe0f7; }
.plan-card-pro { background: linear-gradient(135deg, var(--gold-soft), #fff); border-color: #f0dc95; }
.plan-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.plan-badge-plus { background: var(--blue); color: #fff; }
.plan-badge-pro { background: var(--ink); color: var(--gold); }
.plan-now .usage { display: grid; gap: 12px; margin: 12px 0; }
.meter { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 4px 0; }
.meter span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.plan-table-wrap { overflow-x: auto; margin: 14px 0; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.plan-table th, .plan-table td { padding: 9px 4px; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plan-table th:first-child, .plan-table td:first-child { text-align: left; }
.plan-table .is-current { background: var(--green-soft); }
.plan-table .yes { color: var(--green); font-weight: 800; }
.plan-table .no { color: var(--muted); }
.allowance { background: var(--soft); border-radius: 16px; padding: 12px 14px; margin: 12px 0; }
.lock-note { display: block; background: var(--gold-soft); color: #5e4500; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 6px 0; }
.locked-box { background: var(--soft); border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px 14px; }
.cta-ic { font-size: 24px; line-height: 1; }
.quick-boost { margin: 10px 0; }
.boost-price-big { font-size: 22px; }
.stats-table td, .stats-table th { white-space: nowrap; }
.stats-table td:first-child { white-space: normal; min-width: 140px; }

/* ---- Couriers and tracking ---- */
.courier-list { display: grid; gap: 8px; }
.courier-row { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 12px; display: grid; gap: 6px; }
.courier-fee input { max-width: 160px; }
.track-box { display: grid; gap: 8px; }
.track-box form input { flex: 1; min-width: 0; }
.paylinks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---- Chat ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--green); }
.chip-add { color: var(--green); font-weight: 700; }
.chat-cam { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--soft); font-size: 22px; cursor: pointer; }
.chat-form { flex-wrap: wrap; align-items: flex-end; }
.chat-photo-preview { position: relative; flex-basis: 100%; }
.chat-photo-preview img { max-height: 120px; border-radius: 14px; display: block; }
.chat-photo-preview .picker-remove { position: absolute; top: 4px; left: 4px; }
.bubble-photo img { display: block; max-width: 100%; max-height: 280px; border-radius: 14px; margin-bottom: 4px; }
.bubble.auto { background: var(--blue-soft); }
.auto-label { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.bubble-order { align-self: center; max-width: 92%; background: var(--gold-soft); color: #4a3700; border: 1.5px solid #f0dc95; border-radius: 16px; padding: 10px 14px; text-align: center; font-size: 14px; }
.bubble-order small { display: block; color: #7a6000; margin-top: 2px; }
.protect-note { display: flex; gap: 8px; align-items: flex-start; background: var(--green-soft); color: var(--green-deep); border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.protect-note svg { flex: none; margin-top: 2px; }

/* ---- Watch likes ---- */
.watch-like { display: grid; justify-items: center; gap: 2px; color: #fff; background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.watch-like svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.watch-like.on svg { color: #ff3b5c; fill: #ff3b5c; }
.watch-like:active svg { transform: scale(1.15); }

/* ---- Reviews ---- */
.reviews { margin-top: 24px; }
.product-rating { display: inline-block; margin: 2px 0 6px; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.review-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.review-reply { background: var(--soft); border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; padding: 8px 12px; margin-top: 8px; font-size: 14px; }
.review-reply p { margin: 2px 0 0; }
.review-box .review-form { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }

/* ---- Shop links ---- */
.shop-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.shop-link { background: var(--soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choice.is-disabled { opacity: .55; }
.plan-table th:first-child, .plan-table td:first-child { width: 40%; }

/* ---- Lynk QR ---- */
.lynk-card { display: grid; gap: 8px; justify-items: center; text-align: center; margin: 8px 0; }
.lynk-qr img { width: 190px; max-width: 70vw; border-radius: 18px; box-shadow: var(--shadow); display: block; }
.lynk-handle { font-size: 16px; }
.proof-thumb { display: inline-grid; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 700; } .proof-thumb img { width: 120px; max-height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* Admin with more than one shop: the switcher on the Sell page. */
.shop-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.shop-switch .pill { font-weight: 700; }
