/* Discount Hunter — site styles. Colours come only from brand/tokens.css. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--color-bg); color: var(--color-ink);
  font: var(--weight-regular) var(--text-base)/var(--leading-normal) var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-violet-100); color: var(--brand-midnight); }
/* tabular figures only in columns; single prices and percentages use proportional figures (no "1 30 ден" gap, review H11) */
.num { font-variant-numeric: tabular-nums lining-nums; }
.price, .pct { font-variant-numeric: lining-nums proportional-nums; font-feature-settings: "tnum" 0, "lnum" 1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--color-ink); color: var(--color-bg); padding: 10px 16px; border-radius: var(--radius-md); text-decoration: none; transition: top var(--dur-base) var(--ease-out); }
.skip:focus { top: 12px; color: var(--color-bg); }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.display { font-family: var(--font-display); letter-spacing: var(--tracking-display); font-weight: var(--weight-semibold); line-height: var(--leading-tight); }
.muted { color: var(--color-muted); }
.ext::after { content: "↗"; font-size: .85em; margin-left: 2px; }

/* ---------- static (pre-hydration / no-JS) content ---------- */
.static-page { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 12px; }
.static-page h1 { font-family: var(--font-display); font-size: var(--text-2xl); letter-spacing: var(--tracking-display); }
.static-page table { border-collapse: collapse; }
.static-page td, .static-page th { padding: 6px 12px 6px 0; text-align: left; border-bottom: 1px solid var(--color-line); }
.static-kicker { font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-size: var(--text-xs); }

/* ---------- buttons, chips, inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-md); border: 1px solid var(--color-line-strong); background: var(--color-surface);
  color: var(--color-ink); font-weight: var(--weight-semibold); text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn:hover { border-color: var(--color-ink); color: var(--color-ink); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--color-primary); border-color: transparent; color: var(--color-on-primary); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--color-surface-2); border-color: transparent; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: var(--text-md); border-radius: 14px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent;
  color: var(--color-ink); transition: background var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--color-surface-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--weight-semibold); text-decoration: none; color: var(--color-link); }
.link-arrow .icon { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-ink); font-weight: var(--weight-medium);
  font-size: var(--text-sm); text-decoration: none; white-space: nowrap; transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--color-line-strong); color: var(--color-ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip.is-on { background: var(--color-ink); color: var(--color-bg); border-color: var(--color-ink); }
.chip .count { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .count, .chip[aria-current="true"] .count, .chip.is-on .count { color: inherit; opacity: .7; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter); margin: 0 calc(-1 * var(--gutter)); scroll-padding: 0 var(--gutter);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); }
.chip-row::-webkit-scrollbar { display: none; }

.input, .select {
  min-height: 44px; width: 100%; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--color-line-strong);
  background: var(--color-surface); color: var(--color-ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input:focus, .select:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--shadow-focus); }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select-inline { width: auto; min-width: 0; font-weight: var(--weight-medium); }

/* ---------- header ---------- */
#app-header { position: sticky; top: 0; z-index: var(--z-header); }
.hdr { background: color-mix(in srgb, var(--color-bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color var(--dur-base); }
.hdr.scrolled { border-bottom-color: var(--color-line); }
.hdr-row { display: flex; align-items: center; gap: 12px; height: 60px; }
@media (min-width: 768px) { .hdr-row { height: var(--header-h); gap: 20px; } }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 30px; width: auto; }
@media (min-width: 768px) { .logo img { height: 36px; } }
.logo .logo-d { display: none; }
:root[data-theme="dark"] .logo .logo-l { display: none; }
:root[data-theme="dark"] .logo .logo-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-l { display: none; } :root:not([data-theme="light"]) .logo .logo-d { display: block; } }
.hdr-search { flex: 1; max-width: 520px; margin: 0 auto; display: none; }
@media (min-width: 900px) { .hdr-search { display: block; } }
.hdr-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-search-btn { display: inline-grid; }
@media (min-width: 900px) { .hdr-search-btn { display: none; } }
.seg { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--color-surface-2); border: 1px solid var(--color-line); }
.seg button { min-width: 40px; height: 34px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font-weight: var(--weight-semibold); font-size: var(--text-sm); letter-spacing: .02em; transition: all var(--dur-fast) var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--color-surface); color: var(--color-ink); box-shadow: var(--shadow-sm); }
.nav-row { display: none; border-top: 1px solid var(--color-line); }
@media (min-width: 900px) { .nav-row { display: block; } }
.nav-row ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; height: 48px; align-items: center; }
.nav-row a, .nav-row button.navlink { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; color: var(--color-ink-2); text-decoration: none; font-weight: var(--weight-medium); background: none; border: 0; font-size: var(--text-sm); }
.nav-row a:hover, .nav-row button.navlink:hover { background: var(--color-surface-2); color: var(--color-ink); }
.nav-row a[aria-current="page"], .nav-row button.navlink[aria-expanded="true"] { color: var(--color-ink); background: var(--color-surface-2); }
.nav-row .spacer { flex: 1; }
.nav-fresh { font-size: var(--text-xs); color: var(--color-muted); display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-deal); box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-deal) 60%, transparent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-deal) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-surface); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-lg); padding: 24px 0 28px; animation: drop var(--dur-base) var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
@media (min-width: 1200px) { .mega-grid { grid-template-columns: repeat(5, 1fr); } }
.mega-col h3 { font-size: var(--text-sm); display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mega-col h3 a { color: var(--color-ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mega-col h3 img { width: 36px; height: 36px; }
.mega-col ul { list-style: none; padding: 0 0 0 46px; margin: 0; display: grid; gap: 2px; height: auto; align-items: stretch; }
.mega-col li a span:first-child { min-width: 0; }
/* the mega panel lives inside .nav-row: undo the nav-bar link/list sizing there */
.nav-row .mega a { height: auto; border-radius: 6px; background: none; }
.mega { max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.mega-col ul:empty { display: none; }
.nav-row .mega-col h3 a { padding: 0; }
.nav-row .mega-col li a { padding: 3px 0; display: flex; align-items: flex-start; line-height: 1.35; }
.mega-col li a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.mega-col li a:hover { color: var(--color-ink); }
.mega-col .zero { opacity: .55; }

/* search box + typeahead */
.search { position: relative; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 14px; color: var(--color-muted); pointer-events: none; }
.search-field input { width: 100%; height: 44px; padding: 0 16px 0 44px; border-radius: var(--radius-pill); border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.search-field input::placeholder { color: var(--color-subtle); }
.search-field input:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--shadow-focus); }
.search-lg .search-field input { height: 56px; font-size: var(--text-md); padding-left: 50px; border-color: transparent; box-shadow: var(--shadow-lg); }
.search-lg .search-field .icon { left: 18px; width: 22px; height: 22px; }
.search-lg .search-field .btn { position: absolute; right: 6px; min-height: 44px; border-radius: var(--radius-pill); }
.search-lg .search-field input { padding-right: 120px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 8px; max-height: min(70vh, 520px); overflow: auto; color: var(--color-ink); text-align: left; }
.suggest h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); padding: 8px 10px 4px; font-weight: 600; display: flex; justify-content: space-between; }
.suggest h4 button { border: 0; background: none; color: var(--color-link); font-size: inherit; text-transform: none; letter-spacing: 0; padding: 0; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--color-ink); text-decoration: none; min-height: 44px; }
.sg-item[aria-selected="true"], .sg-item:hover { background: var(--color-surface-2); color: var(--color-ink); }
.sg-item img, .sg-item .sg-thumb { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: var(--color-photo-bg); flex: none; }
.sg-item .sg-text { min-width: 0; flex: 1; }
.sg-item .sg-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); font-weight: 500; }
.sg-item .sg-sub { display: block; font-size: var(--text-xs); color: var(--color-muted); }
.sg-item .sg-pct { font-weight: 700; color: var(--color-deal-ink); font-variant-numeric: tabular-nums; font-size: var(--text-sm); }

/* mobile search overlay */
.msearch { position: fixed; inset: 0; z-index: var(--z-modal); background: var(--color-bg); padding: 12px var(--gutter); animation: fade var(--dur-base) var(--ease-out); }
.msearch-row { display: flex; gap: 8px; align-items: center; }
.msearch .search { flex: 1; }
.msearch .suggest { position: static; margin-top: 12px; box-shadow: none; border: 0; padding: 0; max-height: none; background: transparent; }
/* search v2: full-screen sheet that fits 375 px, clear button, grouped suggestions, results page, product drawer */
.msearch { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.msearch-row { align-items: flex-start; max-width: 100%; }
.msearch .search { min-width: 0; position: static; }
.msearch .suggest { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(max(12px, env(safe-area-inset-top)) + 56px); margin: 0; padding-bottom: 24px; }
.msearch .msearch-row > .btn { flex: none; min-height: 44px; }
.search-clear { display: none; position: absolute; right: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-muted); place-items: center; cursor: pointer; }
.search-clear .icon { position: static; width: 16px; height: 16px; }
.search-clear:hover { background: var(--color-surface-2); color: var(--color-ink); }
.search.has-q .search-clear { display: grid; }
.search.has-q .search-field input { padding-right: 44px; }
.search-lg .search-clear { right: 118px; }
.search-lg.has-q .search-field input { padding-right: 160px; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.suggest .sg-h { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); padding: 10px 10px 4px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.suggest .sg-h button { border: 0; background: none; color: var(--color-link); font-size: inherit; text-transform: none; letter-spacing: 0; padding: 0; cursor: pointer; }
.sg-item .sg-ico { display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-muted); }
.sg-item .sg-title mark, .pcard .card-title mark { background: transparent; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-primary); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.sg-item .sg-pct.is-trap { color: var(--color-trap-ink); }
.sg-item .sg-pct.is-fake { color: var(--color-fake-ink); }
.sg-loading, .sg-empty, .sg-foot { display: flex; align-items: center; gap: 10px; padding: 10px; font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.sg-foot { font-size: var(--text-xs); padding-top: 4px; }
.srch-box { max-width: 620px; margin-top: 8px; }
.srch-body { min-height: 40vh; }
.srch-skel { display: grid; gap: 12px; margin-top: 16px; }
.srch-skel span { display: block; height: 108px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--color-surface-2) 0, var(--color-surface) 50%, var(--color-surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.srch-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 10px; font-size: var(--text-sm); color: var(--color-muted); }
.srch-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 12px; font-size: var(--text-sm); color: var(--color-ink-2, var(--color-ink)); }
.srch-note .icon { flex: none; margin-top: 2px; color: var(--color-info); }
.srch-deals { margin: 8px 0 24px; }
.srch-tracked { display: flex; align-items: center; gap: 8px; margin: 24px 0 8px; font-size: var(--text-sm); color: var(--color-muted); }
.srch-pop { margin-top: 18px; }
.srch-pop .chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.srch-empty { margin-top: 12px; }
.srch-filters { margin: 4px 0 16px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.srch-filters > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; cursor: pointer; font-weight: 600; font-size: var(--text-sm); list-style: none; }
.srch-filters > summary::-webkit-details-marker { display: none; }
.srch-filters > summary .icon:last-child { margin-left: auto; transition: transform var(--dur-fast); }
.srch-filters[open] > summary .icon:last-child { transform: rotate(180deg); }
.srch-filters > summary .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--color-ink); color: var(--color-bg); font-size: 12px; }
.sf-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; padding: 4px 14px 14px; }
.sf { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-xs); color: var(--color-muted); min-width: 0; flex: 1 1 150px; max-width: 240px; }
.sf .select, .sf .input { width: 100%; min-height: 40px; }
.sf-num { flex: 1 1 110px; max-width: 140px; }
.sf-tog { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: var(--text-sm); cursor: pointer; }
.sf-tog input { width: 18px; height: 18px; accent-color: var(--color-primary); }
@media (max-width: 640px) { .sf, .sf-num { flex: 1 1 calc(50% - 6px); max-width: none; } }
.pgrid { margin-top: 4px; }
.pcard .card-body { gap: 10px; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pc-price .k { width: 100%; font-size: var(--text-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: 600; }
.pc-price .price { font-size: var(--text-lg); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); }
.pc-price .at { font-size: var(--text-sm); color: var(--color-muted); }
.pc-shops { margin: 0; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.pd-price { margin-top: 16px; }
.pd-call { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-lg); }
.pd-call > .icon { flex: none; margin-top: 2px; }
.pd-call p { margin: 0 0 10px; }
.pd-deal { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.pd-warn { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.pd-vars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pd-vars a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: 10px; color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); }
.pd-vars a:hover { border-color: var(--color-line-strong); }
.pd-vars b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.srch-body .more-row { display: flex; justify-content: center; margin-top: 20px; }
.pd-call .btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--text-sm); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- tab bar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--color-surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--color-line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: 60px; }
.tabbar a { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--color-muted); text-decoration: none; font-size: 12px; font-weight: var(--weight-medium); position: relative; }
.tabbar a .icon { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--color-ink); }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--color-primary); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- page structure ---------- */
main { display: block; min-height: 60vh; outline: none; }
.section { padding-top: 56px; }
@media (min-width: 768px) { .section { padding-top: 80px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); font-weight: 600; line-height: 1.15; }
@media (min-width: 768px) { .sec-head h2 { font-size: var(--text-2xl); } }
.sec-head p { color: var(--color-muted); margin-top: 6px; max-width: 60ch; }
.page-head { padding: 28px 0 8px; display: grid; gap: 10px; }
@media (min-width: 768px) { .page-head { padding-top: 44px; } }
.page-head h1 { font-family: var(--font-display); font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem); letter-spacing: var(--tracking-display); font-weight: 600; line-height: 1.1; }
.page-head .sub { color: var(--color-muted); max-width: 64ch; font-size: var(--text-md); }
.page-head-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.crumbs { font-size: var(--text-sm); color: var(--color-muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--color-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-ink); }
.fresh { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-muted); }
.kicker { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: 700; color: var(--color-muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-midnight); color: var(--color-on-inverse); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,.45) 55%, rgba(10,14,26,.1) 75%, rgba(10,14,26,.8) 100%); }
.hero-inner { padding-top: 40px; padding-bottom: 28px; min-height: 640px; display: flex; flex-direction: column; }
.hero h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.08; font-size: clamp(1.75rem, 1.1rem + 3.4vw, 3.5rem); max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand-violet-300); }
.hero .lead { margin-top: 14px; color: var(--color-on-inverse-muted); max-width: 46ch; font-size: var(--text-base); }
.hero .search { margin-top: 24px; max-width: 560px; }
.hero-stats { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); max-width: 620px; }
.hero-stat { padding: 14px 12px; background: rgba(10,14,26,.55); }
.hero-stat .n { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; display: block; font-variant-numeric: tabular-nums; }
.hero-stat .l { font-size: var(--text-xs); color: var(--color-on-inverse-muted); display: block; margin-top: 2px; line-height: 1.3; }
.hero-fresh { text-shadow: 0 1px 8px rgba(10,14,26,.9); margin-top: 14px; font-size: var(--text-sm); color: #A1A7BC; display: inline-flex; gap: 8px; align-items: center; }
@media (min-width: 768px) {
  .hero-inner { min-height: 560px; padding-top: 72px; padding-bottom: 40px; }
  .hero-art img { object-position: 70% center; }
  .hero-art::after { background: linear-gradient(90deg, rgba(10,14,26,.92) 0%, rgba(10,14,26,.6) 42%, rgba(10,14,26,0) 70%); }
  .hero .lead { font-size: var(--text-md); }
  .hero-stat { padding: 18px 20px; }
}
@media (min-width: 1200px) { .hero-inner { min-height: 600px; padding-top: 96px; } .hero-art img { object-position: right center; } }

/* ---------- category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1200px) { .tiles { grid-template-columns: repeat(7, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; overflow: hidden; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); min-height: 168px; }
.tile:hover { border-color: var(--color-line-strong); color: var(--color-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile img { width: 88px; height: 88px; margin: -2px 0 6px -6px; transition: transform var(--dur-slow) var(--ease-out); }
.tile:hover img { transform: scale(1.06) rotate(-2deg); }
.tile .t-name { font-weight: var(--weight-semibold); font-size: var(--text-sm); line-height: 1.25; }
.tile .t-meta { font-size: var(--text-xs); color: var(--color-muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; margin-top: auto; padding-top: 4px; }
.tile .t-best { color: var(--color-deal-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tile.is-empty { background: transparent; border-style: dashed; }
.tile.is-empty img { opacity: .5; filter: grayscale(.6); }
.tile.is-empty .t-name { color: var(--color-muted); }

/* ---------- rails ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 82%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 300px; } }
@media (min-width: 1200px) { .rail { grid-auto-columns: calc((100% - 3 * 14px - 2 * var(--gutter)) / 4); gap: 14px; } }
.rail-nav { display: none; gap: 6px; }
@media (min-width: 900px) { .rail-nav { display: flex; } }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-surface); display: grid; place-items: center; color: var(--color-ink); transition: all var(--dur-fast); }
.rail-nav button:hover:not(:disabled) { border-color: var(--color-ink); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-block + .rail-block { margin-top: 36px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rail-head h3 { font-size: var(--text-lg); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.rail-head h3 img { width: 36px; height: 36px; }
.rail-head .link-arrow { font-size: var(--text-sm); }
.rail-head-r { display: flex; align-items: center; gap: 14px; }

/* ---------- deal card ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); overflow: hidden; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); min-width: 0; }
.card:hover { border-color: var(--color-line-strong); box-shadow: var(--shadow-md); }
.card:has(.stretch:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.card .stretch { color: inherit; text-decoration: none; }
.card .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .stretch:focus-visible { outline: none; }
.card .above { position: relative; z-index: 2; }
.card-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-top { display: flex; gap: 12px; align-items: flex-start; }
.thumb { position: relative; flex: none; width: 76px; height: 76px; border-radius: 12px; background: var(--color-photo-bg); border: 1px solid var(--color-line); overflow: hidden; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.thumb img.loaded { opacity: 1; }
.thumb.loading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-surface-2) 0, color-mix(in srgb, var(--color-surface-2) 55%, var(--color-line)) 50%, var(--color-surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--color-muted); padding: 6px; background: var(--color-surface-2); }
.thumb .ph img { opacity: .9; width: 70%; height: 70%; padding: 0; }
.card-title { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-sub { font-size: var(--text-xs); color: var(--color-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-row { display: flex; align-items: center; gap: 12px; }
.real { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 84px; padding: 7px 10px 6px; border-radius: 12px; background: var(--tier-5); color: var(--tier-5-on); line-height: 1; flex: none; }
.real .pct { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.real .lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-caps); margin-top: 4px; opacity: .85; }
.real.t-oial { background: var(--tier-1-gradient); color: var(--tier-1-on); }
.real.t-diamond { background: var(--tier-2-gradient); color: var(--tier-2-on); }
.real.t-terrific { background: var(--tier-3); color: var(--tier-3-on); }
.real.t-good { background: var(--tier-4); color: var(--tier-4-on); }
.real.t-ok { background: var(--tier-5); color: var(--tier-5-on); }
.real.t-up { background: var(--color-surface-2); color: var(--color-muted); }
.real.t-oial .pct { position: relative; }
.price-col { min-width: 0; }
.price { font-weight: 700; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.save { color: var(--color-deal-ink); font-weight: 600; font-size: var(--text-sm); margin-top: 3px; }
.vs { font-size: var(--text-xs); color: var(--color-ink-2); line-height: 1.4; }
.claim { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.4; }
.claim .bad { color: var(--color-trap-ink); font-weight: 600; }
.claim .good { color: var(--color-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; background: var(--color-surface-2); color: var(--color-ink-2); white-space: nowrap; }
.badge .icon { width: 13px; height: 13px; stroke-width: 2; }
.badge.b-oial { background: var(--tier-1-soft); color: var(--tier-1-ink); }
.badge.b-diamond { background: var(--tier-2-soft); color: var(--tier-2-ink); }
.badge.b-terrific { background: var(--tier-3-soft); color: var(--tier-3-ink); }
.badge.b-good { background: var(--tier-4-soft); color: var(--tier-4-ink); }
.badge.b-ok { background: var(--tier-5-soft); color: var(--tier-5-ink); }
.badge.b-hidden { background: var(--color-accent-soft); color: var(--color-on-accent-soft); }
.badge.b-atl { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.badge.b-new { background: var(--color-info-soft); color: var(--color-info); }
.badge.b-trap { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.badge.b-fake { background: var(--color-fake-soft); color: var(--color-fake-ink); }
.conf { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 8px; border-radius: var(--radius-pill); background: var(--color-surface-2); font-size: 12px; font-weight: 600; color: var(--color-ink-2); }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.bars i { width: 3px; border-radius: 1px; background: var(--color-line-strong); }
.bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 9px; } .bars i:nth-child(3) { height: 12px; }
.bars[data-n="1"] i:nth-child(-n+1), .bars[data-n="2"] i:nth-child(-n+2), .bars[data-n="3"] i:nth-child(-n+3) { background: var(--color-ink-2); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--color-line); font-size: var(--text-xs); color: var(--color-muted); }
.card-foot .left { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shop { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--color-surface-2); color: var(--color-ink); font-weight: 700; font-size: 12px; letter-spacing: -.005em; white-space: nowrap; }
.shop-lg { height: 28px; font-size: 13px; padding: 0 10px; border-radius: 8px; }
.loyal { display: inline-flex; align-items: center; gap: 4px; color: var(--color-ink-2); font-weight: 500; }
.loyal .icon { width: 13px; height: 13px; }
.stock { display: inline-flex; align-items: center; gap: 5px; }
.stock .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-deal); flex: none; }
.stock.assumed .dot { background: var(--color-subtle); }
.share-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-ink); font-size: 13px; font-weight: 600; transition: all var(--dur-fast) var(--ease-out); }
.share-btn:hover { border-color: var(--color-ink); }
.share-btn .icon { width: 16px; height: 16px; }
.share-btn.icon-only { width: 40px; padding: 0; justify-content: center; }

/* verdict band */
.band { display: flex; gap: 8px; align-items: flex-start; padding: 9px 16px; font-size: var(--text-xs); line-height: 1.4; font-weight: 500; }
.band .icon { width: 16px; height: 16px; margin-top: 1px; stroke-width: 2; }
.band b { font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-caps); margin-right: 4px; font-size: 12px; }
.band-trap { background: var(--color-trap-soft); color: var(--color-trap-ink); border-bottom: 1px solid color-mix(in srgb, var(--color-trap) 35%, transparent); }
.band-fake { background: var(--color-fake-soft); color: var(--color-fake-ink); border-bottom: 1px solid color-mix(in srgb, var(--color-fake) 35%, transparent); }
.card.is-trap { border-color: color-mix(in srgb, var(--color-trap) 45%, var(--color-line)); }
.card.is-fake { border-color: color-mix(in srgb, var(--color-fake) 45%, var(--color-line)); }
.band-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* hero card (category #1) */
.card-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .card-hero { grid-template-columns: 280px minmax(0, 1fr); }
  .card-hero .hero-img { border-right: 1px solid var(--color-line); }
}
.card-hero .hero-img { background: #fff; display: grid; place-items: center; aspect-ratio: 16 / 9; max-height: 220px; position: relative; }
@media (min-width: 760px) { .card-hero .hero-img { aspect-ratio: auto; min-height: 260px; max-height: none; } }
.card-hero .hero-img img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; padding: 20px; }
.card-hero .card-body { padding: 18px 20px; gap: 12px; }
.card-hero .card-title { font-size: var(--text-lg); -webkit-line-clamp: 3; }
.card-hero .real { min-width: 112px; padding: 10px 14px 8px; border-radius: 14px; }
.card-hero .real .pct { font-size: 2.25rem; }
.card-hero .price { font-size: 1.75rem; }
.best-flag { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* trap / fake card */
.card-warn .card-body { gap: 12px; }
.cvr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--color-line); border-radius: 12px; overflow: hidden; }
.cvr > div { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.cvr > div + div { border-left: 1px solid var(--color-line); }
.cvr .k { font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); font-weight: 600; }
.cvr .v { font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.cvr .claimed .v { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--color-muted) 70%, transparent); }
.cvr .actual { background: var(--color-surface-2); }
.is-trap .cvr .actual .v { color: var(--color-trap-ink); }
.is-fake .cvr .actual .v { color: var(--color-fake-ink); }
.cvr .actual .v.up { color: var(--color-muted) !important; }
.cvr .s { font-size: 12px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.over { font-size: var(--text-sm); font-weight: 600; }
.over .amt { color: var(--color-fake-ink); }
.is-trap .over .amt { color: var(--color-trap-ink); }
.alt { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.proof-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: var(--text-xs); }
.proof-mini li { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--color-line); }
.proof-mini li:first-child { border-top: 0; }
.proof-mini a { font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.proof-mini .p-shop { color: var(--color-ink-2); font-weight: 600; }
.proof-mini .p-date { color: var(--color-muted); }
.card-compact .card-body { padding: 12px 14px; gap: 10px; }

/* grids */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
.more-wrap .hint { font-size: var(--text-xs); color: var(--color-muted); }

/* ---------- dark feature bands (scam / shops) ---------- */
.feature { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--brand-midnight); color: var(--color-on-inverse); isolation: isolate; padding: 28px 20px 20px; }
@media (min-width: 768px) { .feature { padding: 40px 36px 32px; } }
.feature-art { position: absolute; inset: 0; z-index: -1; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: right top; opacity: .9; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.5) 0%, rgba(10,14,26,.92) 40%, var(--brand-midnight) 100%); }
@media (min-width: 900px) { .feature-art::after { background: linear-gradient(90deg, rgba(10,14,26,.96) 0%, rgba(10,14,26,.75) 45%, rgba(10,14,26,.35) 100%), linear-gradient(180deg, transparent 50%, var(--brand-midnight) 100%); } }
.feature .sec-head h2 { color: #fff; }
.feature .sec-head p { color: var(--color-on-inverse-muted); }
.feature .link-arrow { color: var(--brand-violet-300); }
.feature .btn { background: #fff; color: var(--brand-midnight); border-color: transparent; }
.feature .btn:hover { background: var(--brand-violet-100); color: var(--brand-midnight); }
.feature .card { box-shadow: var(--shadow-lg); }

/* verify strip */
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 20px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); display: grid; gap: 8px; align-content: start; position: relative; }
.step .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-accent-soft); color: var(--color-on-accent-soft); margin-bottom: 6px; }
.step .ic .icon { width: 22px; height: 22px; }
.step h3 { font-size: var(--text-base); font-weight: 600; }
.step p { font-size: var(--text-sm); color: var(--color-muted); }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-subtle); }

/* market strip */
.mstrip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .mstrip { grid-template-columns: repeat(4, 1fr); } }
.mstat { background: var(--color-surface); padding: 18px 18px 16px; display: grid; gap: 4px; align-content: start; }
.mstat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mstat .l { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.35; }
.mstat .n.trap { color: var(--color-trap-ink); }
.mstat .n.deal { color: var(--color-deal-ink); }
.vsbar { display: grid; gap: 6px; margin-top: 6px; }
.vsbar .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-size: 12px; color: var(--color-muted); }
.vsbar .row > span:first-child { grid-column: 1; }
.vsbar .track { grid-column: 1 / -1; grid-row: 2; display: block; height: 8px; border-radius: 4px; background: var(--color-surface-2); overflow: hidden; }
.vsbar .fill { display: block; height: 100%; border-radius: 4px; background: var(--color-muted); }
.vsbar .fill-real { background: var(--color-deal); }
.vsbar .v { text-align: right; font-weight: 600; color: var(--color-ink); font-variant-numeric: tabular-nums; }

/* shop teaser */
.shop-teaser { display: grid; gap: 14px; }
@media (min-width: 900px) { .shop-teaser { grid-template-columns: 1fr 1fr; } }
.st-col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.st-col h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: #A1A7BC; font-weight: 700; margin: 2px 4px 8px; }
.st-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid rgba(255,255,255,.08); color: var(--color-on-inverse); text-decoration: none; border-radius: 8px; }
.st-row:first-of-type { border-top: 0; }
.st-row:hover { background: rgba(255,255,255,.06); color: #fff; }
.st-row .nm { font-weight: 600; flex: 1; }
.st-row .pc { font-size: var(--text-sm); color: var(--color-on-inverse-muted); font-variant-numeric: tabular-nums; }

/* grade badge */
.grade { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; flex: none; }
.grade-lg { width: 48px; height: 48px; border-radius: 12px; font-size: 22px; }
.g-A { background: var(--color-deal-strong); }
.g-B { background: var(--tier-4); }
.g-C { background: var(--tier-1); color: var(--tier-1-on); }
.g-D { background: var(--color-trap); color: var(--color-on-trap); }
.g-F { background: var(--color-fake); color: #fff; }
.g-na { background: var(--color-surface-2); color: var(--color-muted); border: 1px dashed var(--color-line-strong); }
:root[data-theme="dark"] .g-F { color: var(--color-on-fake); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-F { color: var(--color-on-fake); } }
.feature .g-na { background: rgba(255,255,255,.08); color: #A1A7BC; border-color: rgba(255,255,255,.2); }

/* ---------- category page ---------- */
.filterbar { position: sticky; top: 60px; z-index: 40; background: color-mix(in srgb, var(--color-bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 10px 0; margin-top: 8px; border-bottom: 1px solid var(--color-line); }
@media (min-width: 768px) { .filterbar { top: var(--header-h); } }
@media (min-width: 900px) { .filterbar { top: calc(var(--header-h) + 49px); } }
.fb-row { display: flex; align-items: center; gap: 8px; }
.fb-row .grow { flex: 1; }
.fb-mobile { display: flex; }
.fb-desk { display: none; }
@media (min-width: 900px) { .fb-mobile { display: none; } .fb-desk { display: flex; flex-wrap: nowrap; } }
.fb-count { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--color-line); background: var(--color-surface); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.dd-btn:hover { border-color: var(--color-line-strong); }
.dd-btn.on { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-bg); }
.dd-btn .icon { width: 16px; height: 16px; }
.dd-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; width: 300px; max-height: 420px; overflow: auto; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px; animation: drop var(--dur-base) var(--ease-out); }
.fsec { display: grid; gap: 10px; }
.fsec + .fsec { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.fsec h3 { font-size: var(--text-sm); font-weight: 600; }
.checks { display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px; border-radius: 8px; cursor: pointer; font-size: var(--text-sm); }
.check:hover { background: var(--color-surface-2); }
.check input { width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; margin: 0; }
.check .c-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check .c-count { color: var(--color-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.chips-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.chips-wrap .chip { min-height: 36px; padding: 0 12px; }
.pr-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pr-inputs label { display: grid; gap: 4px; font-size: var(--text-xs); color: var(--color-muted); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 40px; }
.hist i { flex: 1; background: var(--color-line-strong); border-radius: 2px 2px 0 0; min-height: 2px; }
.hist i.in { background: var(--color-primary); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: var(--text-sm); cursor: pointer; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--color-line-strong); position: relative; flex: none; transition: background var(--dur-fast); cursor: pointer; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out); }
.toggle input:checked { background: var(--color-primary); }
.toggle input:checked::after { transform: translateX(18px); }
.warn-strip { margin-top: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--color-trap-soft); color: var(--color-trap-ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; border: 1px solid color-mix(in srgb, var(--color-trap) 30%, transparent); }
.warn-strip:hover { color: var(--color-trap-ink); }
.warn-strip .grow { flex: 1; }

/* ---------- empty / error ---------- */
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 20px; border: 1px dashed var(--color-line-strong); border-radius: var(--radius-xl); color: var(--color-muted); }
.empty .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-ink-2); }
.empty .ic .icon { width: 26px; height: 26px; }
.empty p { max-width: 44ch; color: var(--color-ink-2); }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); font-size: var(--text-sm); }
.banner-stale { background: var(--color-trap-soft); color: var(--color-trap-ink); margin-top: 12px; }
.banner .grow { flex: 1; }
.banner button { border: 0; background: none; color: inherit; padding: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; }
.banner-info { background: var(--color-info-soft); color: var(--color-info); }

/* ---------- overlay layer: drawer, sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--color-overlay); animation: fade var(--dur-base) var(--ease-out); }
.drawer { position: fixed; z-index: var(--z-modal); background: var(--color-bg); display: flex; flex-direction: column; inset: 0; animation: sheet-up 260ms var(--ease-out); outline: none; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes slide-in { from { transform: translateX(48px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 900px) { .drawer { inset: 0 0 0 auto; width: 560px; max-width: 100%; animation-name: slide-in; box-shadow: var(--shadow-lg); border-left: 1px solid var(--color-line); } }
@media (max-width: 899px) { .drawer { top: 10px; border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg); } }
.drawer-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--color-line); background: var(--color-surface); border-radius: inherit; position: relative; }
.drawer-top .grab { position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 2px; background: var(--color-line-strong); transform: translateX(-50%); }
@media (min-width: 900px) { .drawer-top .grab { display: none; } }
.drawer-top .t { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.drawer-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer-cta { flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); background: var(--color-surface); display: grid; gap: 8px; }
.drawer-cta .row { display: flex; gap: 8px; }
.drawer-cta .row .btn-primary { flex: 1; }
.drawer-cta .note { font-size: 12px; color: var(--color-muted); text-align: center; }

.sheet { position: fixed; z-index: calc(var(--z-modal) + 2); left: 0; right: 0; bottom: 0; background: var(--color-surface); border-radius: 22px 22px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: sheet-up 240ms var(--ease-out); max-height: 92vh; overflow: auto; outline: none; }
.sheet.over-drawer, .scrim.over-drawer { z-index: calc(var(--z-modal) + 2); }
.scrim.over-drawer { z-index: calc(var(--z-modal) + 1); }
@media (min-width: 900px) { .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 440px; border-radius: var(--radius-xl); animation: pop 200ms var(--ease-out); } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
.sheet-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--color-line-strong); margin: 0 auto 10px; }
@media (min-width: 900px) { .sheet-grab { display: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sheet-head h2 { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: var(--tracking-display); }
.share-preview { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius-md); background: var(--color-surface-2); margin-bottom: 14px; font-size: var(--text-sm); color: var(--color-ink-2); }
.share-preview img { width: 44px; height: 44px; border-radius: 8px; background: var(--color-photo-bg); object-fit: contain; flex: none; }
.share-preview p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; }
.share-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border-radius: 14px; border: 0; background: none; color: var(--color-ink); text-decoration: none; font-size: 12px; font-weight: 500; text-align: center; min-height: 44px; }
.share-item:hover { background: var(--color-surface-2); color: var(--color-ink); }
.share-item .sh-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--color-surface-2); border: 1px solid var(--color-line); color: var(--color-ink); }
.share-item .sh-ic svg { width: 26px; height: 26px; }
.sh-viber { color: #7360F2 !important; } .sh-whatsapp { color: #25D366 !important; } .sh-messenger { color: #0A7CFF !important; } .sh-facebook { color: #1877F2 !important; } .sh-telegram { color: #229ED9 !important; }
.share-copy { display: flex; gap: 8px; margin-top: 14px; }
.share-copy input { flex: 1; min-width: 0; font-size: var(--text-sm); color: var(--color-muted); }
.share-story { margin-top: 10px; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--color-line); background: var(--color-surface); text-align: left; color: var(--color-ink); }
.share-story:hover { border-color: var(--color-ink); }
.share-story .sh-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-gradient); color: #fff; display: grid; place-items: center; flex: none; }
.share-story .grow { flex: 1; }
.share-story b { display: block; font-weight: 600; }
.share-story small { color: var(--color-muted); font-size: 12px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--color-line-strong); border-top-color: var(--color-primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* filter sheet (mobile full screen) */
.fsheet { position: fixed; inset: 0; z-index: var(--z-modal); background: var(--color-bg); display: flex; flex-direction: column; animation: sheet-up 240ms var(--ease-out); outline: none; }
.fsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--color-line); background: var(--color-surface); }
.fsheet-head h2 { font-size: var(--text-lg); font-weight: 600; }
.fsheet-body { flex: 1; overflow: auto; padding: 20px 16px 24px; }
.fsheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); background: var(--color-surface); }

/* toast */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: var(--z-toast); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
@media (min-width: 900px) { .toasts { bottom: 28px; } }
.toast { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--color-surface-inverse); color: var(--color-bg); box-shadow: var(--shadow-lg); font-size: var(--text-sm); font-weight: 500; animation: toast-in 220ms var(--ease-out); }
.toast .icon { width: 18px; height: 18px; }
.toast.ok .icon { color: var(--brand-mint); }
.toast.err .icon { color: var(--color-fake); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.vband { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.vband .icon { width: 22px; height: 22px; margin-top: 1px; stroke-width: 2; }
.vband h2 { font-size: var(--text-base); font-weight: 700; }
.vband p { font-size: var(--text-sm); margin-top: 2px; }
.vband-trap { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.vband-fake { background: var(--color-fake-soft); color: var(--color-fake-ink); }
.vband .term { color: inherit; }
.d-sec { padding: 20px 16px; border-bottom: 1px solid var(--color-line); }
.d-sec:last-child { border-bottom: 0; }
@media (min-width: 600px) { .d-sec { padding: 24px; } .vband { padding: 16px 24px; } }
.d-sec > h2, .d-sec > h3 { font-size: var(--text-md); font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.d-head { display: grid; gap: 14px; }
.d-img { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-line); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; position: relative; }
.d-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.d-title { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.d-meta { font-size: var(--text-sm); color: var(--color-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.d-price { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.d-price .real { min-width: 120px; padding: 12px 16px 10px; border-radius: 16px; }
.d-price .real .pct { font-size: 2.75rem; }
.d-price .price { font-size: 2rem; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.d-price .save { font-size: var(--text-base); }
.d-lines { display: grid; gap: 4px; font-size: var(--text-sm); }
.d-lines .vs { font-size: var(--text-sm); }
.d-lines .claim { font-size: var(--text-sm); }
.d-cta { display: grid; gap: 8px; }
.d-cta .row { display: flex; gap: 8px; }
.d-cta .row .btn-primary { flex: 1; }
.d-cta .note { font-size: 12px; color: var(--color-muted); }
.term { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.tip { position: absolute; z-index: calc(var(--z-modal) + 5); max-width: 280px; padding: 10px 12px; border-radius: 10px; background: var(--color-surface-inverse); color: var(--color-bg); font-size: var(--text-sm); box-shadow: var(--shadow-lg); animation: fade var(--dur-fast); }
.tip b { display: block; margin-bottom: 2px; }

/* compare table */
.ctable { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.ctable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); font-weight: 600; padding: 0 8px 8px; border-bottom: 1px solid var(--color-line); }
.ctable td { padding: 12px 8px; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable .r { text-align: right; }
.ctable tr.this td { background: var(--color-accent-soft); }
.ctable tr.this td:first-child { border-radius: 10px 0 0 10px; }
.ctable tr.this td:last-child { border-radius: 0 10px 10px 0; }
.ctable tr.oos td { opacity: .55; }
.ctable .pr a { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; color: var(--color-ink); display: inline-flex; gap: 4px; align-items: center; }
.ctable .pr a:hover { color: var(--color-link); }
.ctable .pr a .icon { width: 14px; height: 14px; color: var(--color-muted); }
.ctable .sub { display: block; font-size: 12px; color: var(--color-muted); margin-top: 2px; }
.ctable .tag { display: inline-flex; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 12px; font-weight: 700; align-items: center; margin-left: 6px; vertical-align: 1px; }
.ctable .tag-cheap { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.ctable .tag-this { background: var(--color-primary); color: var(--color-on-primary); }
.ctable .st { font-size: 12px; color: var(--color-muted); white-space: nowrap; }
@media (max-width: 480px) { .ctable .hide-sm { display: none; } }

/* range bar */
.rbar { position: relative; height: 10px; border-radius: 5px; background: var(--color-surface-2); margin: 28px 0 10px; }
.rbar .typ { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--color-deal) 30%, transparent); border-radius: 5px; }
.rbar .mk { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--color-ink); border: 3px solid var(--color-surface); transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }
.rbar .mk span { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; }
.rlabels { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-muted); }

/* chart */
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--color-line); stroke-width: 1; }
.chart .ax text { fill: var(--color-muted); font-size: 12px; font-family: var(--font-body); }
.chart .l-low { fill: none; stroke: var(--color-ink); stroke-width: 2.25; }
.chart .l-shop { fill: none; stroke: var(--color-primary); stroke-width: 2; }
.chart .l-was { stroke: var(--color-muted); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .cross { stroke: var(--color-line-strong); stroke-width: 1; }
.chart-tip { position: absolute; pointer-events: none; background: var(--color-surface-inverse); color: var(--color-bg); font-size: 12px; padding: 8px 10px; border-radius: 8px; box-shadow: var(--shadow-md); white-space: nowrap; transform: translate(-50%, -110%); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--color-muted); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 0; border-top: 2px solid var(--color-ink); }
.legend i.shop { border-color: var(--color-primary); }
.legend i.was { border-top: 2px dashed var(--color-muted); }
.chart-sum { font-size: var(--text-sm); color: var(--color-ink-2); margin-top: 10px; }
.history-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.history-note .icon { color: var(--color-muted); margin-top: 1px; }
.skel { border-radius: 10px; background: linear-gradient(90deg, var(--color-surface-2) 0, color-mix(in srgb, var(--color-surface-2) 60%, var(--color-line)) 50%, var(--color-surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reasons li { display: flex; gap: 10px; font-size: var(--text-sm); line-height: 1.5; }
.reasons li .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--color-muted); }
.reasons li.r-trap .icon { color: var(--color-trap-ink); }
.reasons li.r-fake .icon { color: var(--color-fake-ink); }
.reasons li.r-ok .icon { color: var(--color-deal-ink); }
.proof { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; }
.proof li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; font-size: var(--text-sm); }
.proof li + li { border-top: 1px solid var(--color-line); }
.proof a { font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.proof .p-date { font-size: 12px; color: var(--color-muted); }
.fine { font-size: 12px; color: var(--color-muted); margin-top: 10px; line-height: 1.45; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: var(--text-sm); }
.kv dt { color: var(--color-muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.conf-big { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.conf-big .bars i { width: 5px; } .conf-big .bars i:nth-child(1) { height: 9px; } .conf-big .bars i:nth-child(2) { height: 14px; } .conf-big .bars i:nth-child(3) { height: 19px; }
.conf-big b { font-size: var(--text-base); }
.report { display: inline-flex; gap: 6px; align-items: center; font-size: var(--text-sm); }
.detail-page { padding-top: 12px; }
@media (min-width: 900px) {
  .detail-page .detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .detail-page .d-aside { position: sticky; top: calc(var(--header-h) + 64px); }
}
.only-desk { display: none; }
@media (min-width: 900px) { .only-desk { display: block; } .only-mob { display: none; } }
.detail-page .detail { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); overflow: hidden; }
.detail-page .vband { border-radius: 0; }
.gone { padding: 32px 0; display: grid; gap: 12px; }

/* ---------- scam watch ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--brand-midnight); color: var(--color-on-inverse); isolation: isolate; }
.page-banner .art { position: absolute; inset: 0; z-index: -1; }
.page-banner .art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-banner .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.55), rgba(10,14,26,.92)); }
@media (min-width: 900px) { .page-banner .art::after { background: linear-gradient(90deg, rgba(10,14,26,.95) 0%, rgba(10,14,26,.7) 50%, rgba(10,14,26,.1) 100%); } }
.page-banner .page-head { padding: 36px 0 32px; }
@media (min-width: 900px) { .page-banner .page-head { padding: 64px 0 56px; } }
.page-banner .page-head .sub { color: var(--color-on-inverse-muted); }
.page-banner .crumbs, .page-banner .crumbs a { color: #A1A7BC; }
.page-banner .share-btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.page-banner .share-btn:hover { border-color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-line); overflow-x: auto; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; color: var(--color-muted); text-decoration: none; font-weight: 600; font-size: var(--text-sm); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="true"] { color: var(--color-ink); border-bottom-color: var(--color-ink); }
.tabs .count { font-variant-numeric: tabular-nums; background: var(--color-surface-2); border-radius: 10px; padding: 1px 7px; font-size: 12px; }
.tools-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 14px 0; }
.tools-row .select { width: auto; min-width: 150px; }
.tools-row .grow { flex: 1; }
.fair { font-size: 12px; color: var(--color-muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; max-width: 80ch; }
.fair .icon { width: 16px; height: 16px; margin-top: 1px; }
.rank-n { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--color-muted); margin-right: 2px; }

/* ---------- shops page ---------- */
.stable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
.stable th { text-align: left; padding: 0; font-weight: 600; font-size: 12px; color: var(--color-muted); border-bottom: 1px solid var(--color-line); background: var(--color-surface-2); }
.stable th button { width: 100%; text-align: inherit; padding: 12px 14px; border: 0; background: none; color: inherit; font: inherit; display: inline-flex; gap: 4px; align-items: center; justify-content: inherit; }
.stable th.r button { justify-content: flex-end; }
.stable th[aria-sort="ascending"] button, .stable th[aria-sort="descending"] button { color: var(--color-ink); }
.stable td { padding: 12px 14px; border-bottom: 1px solid var(--color-line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.stable tr:last-child td { border-bottom: 0; }
.stable .r { text-align: right; }
.stable tr.srow { cursor: pointer; transition: background var(--dur-fast); }
.stable tr.srow:hover td { background: var(--color-surface-2); }
.stable tr.srow.open td { background: var(--color-surface-2); border-bottom-color: transparent; }
.stable .sname { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.stable .sname button { border: 0; background: none; padding: 0; font: inherit; color: inherit; display: inline-flex; gap: 8px; align-items: center; text-align: left; }
.stable .sname .icon { transition: transform var(--dur-base); color: var(--color-muted); }
.stable tr.open .sname .icon { transform: rotate(90deg); }
.minibar { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; width: 100%; }
.minibar .track { width: 72px; height: 6px; border-radius: 3px; background: var(--color-surface-2); overflow: hidden; }
.minibar .fill { display: block;  height: 100%; background: var(--color-trap); border-radius: 3px; }
.sdetail td { background: var(--color-surface-2); padding-top: 0; }
.sdetail-in { display: grid; gap: 12px; padding: 4px 0 8px 30px; }
.sdetail-in .links { display: flex; gap: 8px; flex-wrap: wrap; }
.sdetail-in .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--color-ink-2); font-size: var(--text-sm); }
.scards { display: grid; gap: 10px; }
.scard { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
.scard summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; cursor: pointer; }
.scard summary::-webkit-details-marker { display: none; }
.scard .s-name { font-weight: 600; }
.scard .s-sub { font-size: 12px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.scard .s-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-line); border-top: 1px solid var(--color-line); }
.scard .s-stats div { background: var(--color-surface); padding: 10px 12px; }
.scard .s-stats b { display: block; font-variant-numeric: tabular-nums; font-size: var(--text-base); }
.scard .s-stats span { font-size: 12px; color: var(--color-muted); }
.scard .sdetail-in { padding: 14px; border-top: 1px solid var(--color-line); }
.shop-desk { display: none; }
@media (min-width: 900px) { .shop-desk { display: block; } .shop-mob { display: none; } }
.explain { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-line); }
@media (min-width: 900px) { .explain { grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 32px; } }
.explain h2 { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); }
.formula { font-family: var(--font-mono); font-size: 13px; background: var(--color-surface-2); border-radius: var(--radius-md); padding: 14px 16px; line-height: 1.7; overflow-x: auto; white-space: pre; color: var(--color-ink-2); }
.grade-scale { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.grade-scale span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted); }
.grade-scale .grade { width: 26px; height: 26px; font-size: 12px; border-radius: 7px; }

/* ---------- how it works / about ---------- */
.prose { display: grid; gap: 14px; font-size: var(--text-base); color: var(--color-ink-2); max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); color: var(--color-ink); margin-top: 24px; }
.how-steps { display: grid; gap: 12px; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
.how-step { padding: 22px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); display: grid; gap: 8px; align-content: start; }
.how-step h3 { font-size: var(--text-md); }
.how-step p { color: var(--color-muted); font-size: var(--text-sm); }
.ttable { width: 100%; border-collapse: collapse; font-size: var(--text-sm); background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); }
.ttable td { padding: 14px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.ttable tr:last-child td { border-bottom: 0; }
.ttable td:first-child { width: 1%; white-space: nowrap; }
.gloss { display: grid; gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .gloss { grid-template-columns: repeat(2, 1fr); } }
.gloss div { background: var(--color-surface); padding: 16px 18px; }
.gloss dt { font-weight: 600; margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--dur-base); color: var(--color-muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; color: var(--color-muted); }
.note-box { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--color-info-soft); color: var(--color-ink-2); display: grid; gap: 6px; font-size: var(--text-sm); }
.note-box h3 { font-size: var(--text-base); color: var(--color-ink); }
.about-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-card { padding: 22px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); display: grid; gap: 8px; align-content: start; }
.about-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-accent-soft); color: var(--color-on-accent-soft); }
.about-card h2 { font-size: var(--text-md); }
.about-card p { color: var(--color-muted); font-size: var(--text-sm); }

/* categories list (mobile tab) */
.cat-list { display: grid; gap: 8px; }
.cat-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); text-decoration: none; color: var(--color-ink); min-height: 72px; }
.cat-row img { width: 56px; height: 56px; flex: none; }
.cat-row .grow { flex: 1; min-width: 0; }
.cat-row b { display: block; font-weight: 600; }
.cat-row small { color: var(--color-muted); font-size: var(--text-xs); }
.cat-row .t-best { color: var(--color-deal-ink); font-weight: 700; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.cat-row.is-empty { opacity: .6; }

/* ---------- footer ---------- */
.ftr { margin-top: 80px; border-top: 1px solid var(--color-line); background: var(--color-surface); padding: 40px 0 32px; font-size: var(--text-sm); color: var(--color-muted); }
.ftr-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.ftr .logo img { height: 28px; }
.ftr .tag { margin-top: 12px; color: var(--color-ink-2); font-weight: 500; }
.ftr h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); margin-bottom: 10px; font-weight: 700; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ftr ul a { color: var(--color-ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.ftr ul a:hover { color: var(--color-ink); }
.ftr .disc { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-line); font-size: 12px; line-height: 1.55; display: grid; gap: 8px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
  .thumb.loading::before, .skel { animation: none; }
}
@media (min-width: 900px) and (max-width: 1199px) { .fb-desk .fb-count { display: none; } }
.fb-desk .select-inline { min-height: 40px; border-radius: var(--radius-pill); font-size: var(--text-sm); }
.explain > * { min-width: 0; }
.tools-row .fb-count { white-space: normal; }
@media (max-width: 599px) { .tools-row .select { flex: 1 1 140px; min-width: 0; } .tools-row .grow { display: none; } .tools-row .fb-count { flex-basis: 100%; } }
.feature .btn { white-space: normal; text-align: left; min-height: 48px; padding-top: 10px; padding-bottom: 10px; }

.vband-info { background: var(--color-info-soft); color: var(--color-info); }
.ctable .sub.reg, .p-reg { color: var(--color-muted); }
.proof .p-reg { display: block; font-size: 12px; margin-top: 2px; }
.proof-mini .p-reg { font-weight: 500; }

/* ---------- QA pass additions ---------- */
/* secondary "also cheaper than other shops" line (real % capped at the shop's claim) */
.mkt { font-size: var(--text-xs); font-weight: 600; color: var(--color-deal-ink); line-height: 1.4; }
.d-lines .mkt { font-size: var(--text-sm); }
.proof-mini .p-reg { display: block; font-weight: 500; color: var(--color-muted); font-size: 12px; }
/* rail "see all" link: short on phones */
.link-arrow .sm { display: none; }
@media (max-width: 599px) { .rail-head .link-arrow .lg { display: none; } .rail-head .link-arrow .sm { display: inline; } .rail-head h3 { font-size: var(--text-md); } .rail-head-r { flex: none; } }
/* hero category chips: one tap from home to a category */
.hero-cats { margin-top: 16px; max-width: 620px; }
.hero-cats .chip-row { padding-top: 2px; padding-bottom: 4px; }
.hchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--color-on-inverse); font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.hchip:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.hchip img { width: 30px; height: 30px; }
.hchip b { color: var(--brand-mint); font-variant-numeric: tabular-nums; font-weight: 700; }
@media (max-width: 767px) { .hero-inner { min-height: 0; } .hero-stats { margin-top: 20px; } }
/* share sheet: 5 channels fit one row on the desktop popover */
@media (min-width: 900px) { .share-grid { grid-template-columns: repeat(5, 1fr); } }
.hero-cats .chip-row { margin: 0; padding-left: 0; padding-right: 32px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }

/* ---------- legal pages (long-form) ---------- */
.lg-wrap { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 960px) { .lg-wrap { grid-template-columns: 260px minmax(0, 760px); gap: 48px; } .lg-side { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; } }
.lg-toc { border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); padding: 16px 18px; }
.lg-toc ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; font-size: var(--text-sm); }
.lg-toc a { color: var(--color-ink-2); text-decoration: none; }
.lg-toc a:hover { color: var(--color-link); text-decoration: underline; }
.lg-doc { max-width: 72ch; font-size: var(--text-base); line-height: 1.7; color: var(--color-ink-2); }
.lg-sum { font-size: var(--text-md); color: var(--color-ink); padding: 16px 18px; border-left: 3px solid var(--color-primary); background: var(--color-surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.lg-sec { scroll-margin-top: calc(var(--header-h) + 64px); margin-top: 32px; }
.lg-sec h2 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-display); color: var(--color-ink); margin-bottom: 10px; }
.lg-sec p + p { margin-top: 12px; }
.lg-sec:focus { outline: none; }
.lg-more { margin-top: 40px; border-top: 1px solid var(--color-line); padding-top: 20px; }
.lg-more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lg-more a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
mark.lg-ph { background: var(--color-trap-soft); color: var(--color-trap-ink); border: 1px dashed var(--color-trap); border-radius: 4px; padding: 0 4px; font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.ftr-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--color-line); }
.ftr-legal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-legal a { color: var(--color-muted); text-decoration: none; }
.ftr-legal a:hover { color: var(--color-ink); text-decoration: underline; }
.ftr-legal p { margin-top: 10px; font-size: var(--text-xs); }
.legal-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.45; }
.legal-note .icon { flex: none; margin-top: 1px; }
.legal-block { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.legal-block .icon { flex: none; color: var(--color-muted); }

/* ---------- Black Friday campaign mode ---------- */
.b-bf { background: var(--bf-ink); color: #FFFFFF; border: 1px solid rgba(255,255,255,.16); letter-spacing: .01em; }
.b-bf img { width: 14px; height: 14px; }
.bf-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-mint); box-shadow: 0 0 0 3px rgba(61,214,140,.22); flex: none; }
.bf-hero .hero-inner { min-height: 0; padding-bottom: 32px; }
.bf-hero .hero-art::after { background: linear-gradient(180deg, rgba(5,7,13,.72) 0%, rgba(5,7,13,.6) 55%, rgba(5,7,13,.85) 100%); }
@media (min-width: 768px) { .bf-hero .hero-art::after { background: linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.7) 45%, rgba(5,7,13,.15) 75%); } .bf-hero .hero-inner { padding-top: 56px; padding-bottom: 44px; } }
.bf-kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; font-size: var(--text-sm); font-weight: 600; color: var(--color-on-inverse-muted); letter-spacing: .02em; }
.bf-pill .badge { height: 28px; padding: 0 11px; font-size: 13px; }
.bf-cd { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.bf-cd-label { width: 100%; font-size: var(--text-sm); font-weight: 600; color: var(--color-on-inverse-muted); }
.bf-cd-units { display: flex; gap: 8px; }
.bf-cd-u { min-width: 66px; padding: 10px 10px 8px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; gap: 4px; text-align: center; }
.bf-cd-u b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; }
.bf-cd-u small { font-size: 12px; color: var(--color-on-inverse-muted); }
.bf-cd-now { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.bf-trust { margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; max-width: 56ch; font-size: var(--text-sm); color: var(--color-on-inverse-muted); }
.bf-trust .icon { margin-top: 2px; color: var(--brand-mint); }
.bf-hero .search { margin-top: 22px; }
.bf-hero-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.bf-hero .share-btn { height: 44px; background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.bf-hero .share-btn:hover { border-color: #fff; }
.bf-btn { background: #fff; color: var(--brand-midnight); border-color: transparent; }
.bf-btn:hover { background: var(--brand-violet-100); color: var(--brand-midnight); border-color: transparent; }
.bf-sofar { display: inline-flex; gap: 8px; align-items: center; font-size: var(--text-sm); font-weight: 600; color: var(--color-deal-ink); }
.bf-few { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--color-line-strong); display: grid; gap: 16px; }
.bf-few .sec-head { margin-bottom: 0; }
.bf-other-head h3 { font-size: var(--text-lg); font-weight: 600; }
.bf-other-head p { color: var(--color-muted); font-size: var(--text-sm); margin-top: 4px; }
.bf-tile .bf-tile-p { font-size: 12px; line-height: 1.3; color: var(--color-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-tiles { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .bf-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .bf-tiles { grid-template-columns: repeat(6, 1fr); } }
.bf-empty { display: flex; gap: 12px; align-items: flex-start; max-width: 680px; padding: 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #E3E4EE; font-size: var(--text-sm); }
.bf-empty .icon { color: var(--brand-mint); margin-top: 1px; }
.bf-shops { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .bf-shops { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bf-shops { grid-template-columns: repeat(3, 1fr); } }
.bf-shop { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.bf-shop:hover { color: var(--color-ink); border-color: var(--color-line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bf-shop-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--text-md); }
.bf-shop-meta, .bf-shop-label { font-size: var(--text-sm); color: var(--color-muted); }
.bf-shop-n { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.bf-shop-cta { margin-top: 4px; font-size: var(--text-sm); font-weight: 600; color: var(--color-link); }
.bf-nl { display: grid; gap: 22px; padding: 28px 20px; border-radius: var(--radius-xl); background: var(--brand-midnight); background-image: var(--brand-glow); color: var(--color-on-inverse); }
@media (min-width: 900px) { .bf-nl { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 40px; } }
.bf-nl h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.15; color: #fff; }
.bf-nl-copy p { margin-top: 8px; color: var(--color-on-inverse-muted); }
.bf-nl-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; }
.bf-nl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-nl-row .input { flex: 1 1 220px; min-height: 48px; background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.24); }
.bf-nl-row .input::placeholder { color: #8A90A3; }
.bf-nl-row .input[aria-invalid="true"] { border-color: #FF9F5A; }
.bf-nl-row .btn { min-height: 48px; }
.bf-nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: var(--text-sm); color: var(--color-on-inverse-muted); cursor: pointer; line-height: 1.45; }
.bf-nl-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand-violet); }
.bf-nl-consent a { color: #B3A8FF; }
.bf-nl-msg { min-height: 1.45em; margin-top: 10px; font-size: var(--text-sm); font-weight: 600; }
.bf-nl-msg.err { color: #FF9F5A; }
.bf-nl-msg.ok, .bf-nl-msg.soon { color: #3DD68C; }
.bf-ribbon { display: block; background-color: var(--bf-ink); background-size: cover; background-position: center; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.bf-ribbon:hover { color: #fff; }
.bf-ribbon.has-art { box-shadow: inset 0 0 0 999px rgba(5,7,13,.45); }
.bf-ribbon > .container { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: var(--text-sm); font-weight: 600; }
.bf-ribbon .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-ribbon-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-violet-300); white-space: nowrap; }
.bf-ribbon-cd { display: none; }
@media (min-width: 900px) {
  .bf-ribbon-cd { display: inline-flex; }
  .bf-ribbon-cd .bf-cd-label { display: none; }
  .bf-ribbon-cd .bf-cd-units { gap: 6px; }
  .bf-ribbon-cd .bf-cd-u { min-width: 0; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; display: inline-flex; gap: 3px; align-items: baseline; }
  .bf-ribbon-cd .bf-cd-u b { font-size: 14px; font-family: var(--font-body); font-weight: 700; }
  .bf-ribbon-cd .bf-cd-now { font-size: 13px; padding: 0; background: none; border: 0; font-family: var(--font-body); }
}
.bf-chip { gap: 8px; }
.bf-chip[aria-pressed="true"] { background: var(--bf-ink); color: #fff; border-color: var(--bf-ink); }
:root[data-theme="dark"] .bf-chip[aria-pressed="true"] { border-color: rgba(255,255,255,.4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bf-chip[aria-pressed="true"] { border-color: rgba(255,255,255,.4); } }
.nav-row a.nav-bf { color: var(--color-ink); font-weight: 700; }
.fb-row .bf-chip { flex: none; }
.bf-badge-img { height: 24px; width: auto; flex: none; display: inline-block; vertical-align: middle; }
.bf-pill .bf-badge-img { height: 28px; }
.bf-few > *, #bf-a > * { min-width: 0; }
@media (max-width: 599px) { .bf-ribbon .bf-badge-img, .bf-ribbon .b-bf { display: none; } }

/* Black Friday as the first "category" on home: own dark theme */
.hchip.hchip-bf { background: var(--bf-ink); color: #fff; border-color: rgba(61,214,140,.45); gap: 8px; }
.hchip.hchip-bf b { color: var(--brand-mint); font-weight: 600; }
.tile.tile-bf { background: var(--bf-ink) var(--bf-art, none) center / cover no-repeat; color: #fff; border-color: rgba(61,214,140,.35); justify-content: flex-start; gap: 6px; isolation: isolate; position: relative; }
.tile.tile-bf::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(5,7,13,.35), rgba(5,7,13,.88)); }
.tile.tile-bf:hover { color: #fff; border-color: var(--brand-mint); }
.tile.tile-bf .bf-badge-img, .tile.tile-bf .b-bf { margin: 4px 0 auto; align-self: flex-start; }
.tile.tile-bf .t-name { font-family: var(--font-display); font-size: var(--text-md); letter-spacing: var(--tracking-display); }
.tile.tile-bf .t-meta { color: var(--color-on-inverse-muted); }
.tile.tile-bf .t-best { color: var(--brand-mint); }
.bf-band { position: relative; isolation: isolate; overflow: hidden; padding: 18px 16px 14px; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; background: var(--bf-ink) var(--bf-art, none) center / cover no-repeat; color: var(--color-on-inverse); }
@media (min-width: 768px) { .bf-band { margin: 0; padding: 22px 22px 16px; border-radius: var(--radius-xl); } }
.bf-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.78) 55%, rgba(5,7,13,.55) 100%); }
.bf-band + .rail-block { margin-top: 36px; }
.bf-band-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.bf-band-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.bf-band-title h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-display); color: #fff; }
.bf-band-cd { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); background: rgba(61,214,140,.12); color: var(--brand-mint); font-size: 13px; font-weight: 600; }
.bf-band .rail { padding-bottom: 4px; }
.bf-band-shops { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: var(--text-sm); color: var(--color-on-inverse-muted); }
.bf-band-shops .icon { color: var(--brand-mint); }
@media (max-width: 599px) { .bf-band .bf-btn { width: 100%; } }

/* Neutral festive campaign variant (any campaign without its own art): brand midnight + violet glow, gold accent */
.cmp-festive.bf-band, .cmp-festive.tile-bf, .cmp-festive.bf-ribbon { background-color: var(--festive-ink); background-image: radial-gradient(70% 120% at 85% 20%, rgba(91,61,245,.55) 0%, rgba(91,61,245,0) 70%); }
.cmp-festive.bf-band::before, .cmp-festive.tile-bf::before { background: linear-gradient(90deg, rgba(18,14,48,.6), rgba(18,14,48,.2)); }
.cmp-festive .bf-dot, .bf-dot.cmp-festive, .cmp-festive.hchip-bf .bf-dot, .nav-bf.cmp-festive .bf-dot { background: #F5C451; box-shadow: 0 0 0 3px rgba(245,196,81,.25); }
.cmp-festive .bf-band-cd { background: rgba(245,196,81,.14); color: #F5C451; }
.cmp-festive.tile-bf .t-best, .cmp-festive.hchip-bf b, .cmp-festive .bf-trust .icon { color: #F5C451; }
.cmp-festive.tile-bf, .cmp-festive.hchip-bf { border-color: rgba(245,196,81,.4); }
.cmp-festive.hchip-bf { background: var(--festive-ink); }
.b-bf.cmp-festive { background: var(--festive-ink); border-color: rgba(245,196,81,.45); }
.cmp-festive.bf-hero { background: var(--festive-ink); }
.sales-kicker { display: block; margin-bottom: 8px; font-family: var(--font-body); letter-spacing: var(--tracking-caps); color: var(--color-muted); }
.bf-band .card, .bf-feature .card { color: var(--color-ink); }

.prelim { display: block; font-size: 12px; line-height: 1.3; opacity: .75; margin-top: 2px; font-weight: 500; letter-spacing: .01em; }

/* swipe rows with the mouse (see dragScroll in app.js) */
@media (hover: hover) and (pointer: fine) {
  .rail, .chip-row, .tabs { cursor: grab; }
  .rail a, .rail button, .chip-row a, .chip-row button { cursor: pointer; }
}
.is-dragging { cursor: grabbing !important; scroll-snap-type: none !important; user-select: none; scroll-behavior: auto !important; }
.is-dragging * { pointer-events: none; }

/* ---- QA fixes (site/qa/FIX_REPORT.md) ---- */
.claim .neutral { color: var(--color-muted); }
.lg-pending { display: inline-block; padding: 0 6px; border-radius: 4px; background: var(--color-surface-2); border: 1px dashed var(--color-line-strong); color: var(--color-muted); font-size: .92em; font-style: italic; line-height: 1.5; }
a.prelim { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mstat .l-sub { font-size: 12px; } .mstat .l-sub b { color: var(--color-ink); font-weight: 600; }
.stable td .sub { display: block; font-size: 12px; color: var(--color-muted); font-weight: 400; white-space: nowrap; }
.scard .s-sub .sub { margin-left: 4px; }
.stable td.na-span { text-align: center; }
.muted.na { font-size: 12px; font-style: italic; }
.scard .s-na { padding: 10px 14px; border-top: 1px solid var(--color-line); font-size: 13px; margin: 0; }
.shops-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.45; }
.shops-note .icon { flex: none; margin-top: 2px; }
/* E3: 44px tap targets for "See all N" */
.rail-head .link-arrow { min-height: 44px; padding: 0 4px; }
/* E5: the sort select stays on the filter row on mid-size desktops */
@media (min-width: 900px) and (max-width: 1199px) { .fb-desk { gap: 6px; } .fb-desk .dd-btn { padding: 0 8px 0 11px; font-size: 13px; } .fb-desk .bf-chip { font-size: 13px; } .fb-desk .select-inline { max-width: 150px; font-size: 13px; } }
/* E2: hero text over the busy art on phones */
@media (max-width: 767px) {
  .hero .lead, .hero-fresh { color: #E3E5EE; text-shadow: 0 1px 10px rgba(10,14,26,.95), 0 0 2px rgba(10,14,26,.8); }
  .hero:not(.bf-hero) .hero-art::after { background: linear-gradient(180deg, rgba(10,14,26,.72) 0%, rgba(10,14,26,.62) 60%, rgba(10,14,26,.35) 78%, rgba(10,14,26,.85) 100%); }
}

/* =====================================================================================================
   Design review fixes (site/qa/DESIGN_REVIEW.md -> site/qa/DESIGN_FIX_REPORT.md). Later rules override above.
   ===================================================================================================== */

/* ---- one Share button: 44 px ghost; icon-only on cards (M4) ---- */
.share-btn { height: 44px; padding: 0 14px; border-radius: 12px; background: transparent; border: 1px solid var(--color-line); font-size: var(--text-sm); }
.share-btn:hover { background: var(--color-surface-2); border-color: var(--color-line-strong); }
.share-btn.icon-only { width: 44px; padding: 0; border-color: transparent; color: var(--color-muted); }
.share-btn.icon-only:hover { color: var(--color-ink); border-color: transparent; }
.share-btn .icon { width: 18px; height: 18px; }
.share-btn-lg { width: 52px; padding: 0; flex: none; }

/* ---- 5-step tier scale (H8): ink segments, gold only for tier 1; never violet or verdict green ---- */
.tier { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--color-ink-2); line-height: 1.2; min-width: 0; }
.tier-bar { display: inline-flex; gap: 2px; flex: none; }
.tier-bar i { width: 9px; height: 4px; border-radius: 2px; background: var(--tier-scale-off); }
.tier-bar[data-n="1"] i:nth-child(-n+1), .tier-bar[data-n="2"] i:nth-child(-n+2), .tier-bar[data-n="3"] i:nth-child(-n+3), .tier-bar[data-n="4"] i:nth-child(-n+4), .tier-bar[data-n="5"] i { background: var(--tier-scale); }
.tier-bar[data-n="5"] i { background: var(--tier-scale-top); }
.tier-lg { font-size: var(--text-sm); }
.tier-lg .tier-bar i { width: 13px; height: 6px; border-radius: 3px; }
.check .tier-bar { margin-right: 2px; }

/* ---- DealCard, four zones (C2, M1-M5) ---- */
.dcard .card-body { gap: 12px; }
.dcard .card-top { align-items: flex-start; gap: 12px; }
.dcard .thumb { width: 64px; height: 64px; }
.card-id { min-width: 0; flex: 1; padding-top: 2px; }
.dcard .card-title { font-size: var(--text-sm); line-height: 1.35; }
.card-share { margin: -6px -10px -6px 0; }
.card-deal { display: grid; gap: 8px; }
.dcard .price-row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: nowrap; }
.rp { display: inline-flex; flex-direction: column; line-height: 1; flex: none; }
.rp .pct { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.6rem + .6vw, 2rem); letter-spacing: -0.035em; color: var(--color-deal-ink); }
.rp .lbl { font-size: 12px; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: var(--tracking-caps); margin-top: 6px; }
.rp-up .pct { color: var(--color-muted); }
.rp-trap .pct { color: var(--color-ink); }
.dcard .price-col { min-width: 0; padding-left: 16px; border-left: 1px solid var(--color-line); }
.dcard .price { font-size: 1.25rem; line-height: 1.15; }
.save { white-space: nowrap; font-size: var(--text-sm); margin-top: 4px; }
.evid { font-size: 13px; line-height: 1.45; color: var(--color-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard .badges { flex-wrap: nowrap; overflow: hidden; }
.badge, .conf { max-width: 100%; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex-shrink: 1; }
.conf .conf-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conf .icon { width: 13px; height: 13px; flex: none; }
.dcard .card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 10px; min-height: 36px; }
.dcard .card-foot .loyal { font-size: 12px; }
.dcard .card-foot .stock { margin-left: auto; }
.card-compact.dcard .card-body { padding: 14px 14px 12px; }
/* grids: cards keep their own height instead of stretching into voids (M3) */
.grid { align-items: start; }

/* hero card (best of a category): photo on an inset light tile (H6) */
.card-hero .hero-img { background: var(--color-surface-2); padding: 16px; aspect-ratio: auto; height: 240px; max-height: none; }
@media (min-width: 760px) { .card-hero .hero-img { height: auto; min-height: 280px; } }
.ph-tile { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; background: var(--color-photo-bg); overflow: hidden; }
.card-hero .hero-img img, .d-img img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; padding: 16px; opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.card-hero .hero-img img.loaded, .d-img img.loaded { opacity: 1; }
.hero-img.loading .ph-tile, .d-img.loading .ph-tile { background: linear-gradient(90deg, var(--color-surface-2) 0, color-mix(in srgb, var(--color-surface-2) 55%, var(--color-line)) 50%, var(--color-surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.ph-tile .ph, .d-img .ph { display: grid; place-items: center; gap: 6px; font-size: 12px; color: var(--color-muted); }
.ph-tile .ph img, .d-img .ph img { width: 64px; height: 64px; padding: 0; opacity: .8; }
.best-flag { position: absolute; top: 24px; left: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-line); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm); }
.best-flag .icon { color: var(--color-deal-ink); }
.card-hero .card-body { padding: 20px 22px; gap: 14px; }
.card-hero .card-title { font-size: var(--text-lg); -webkit-line-clamp: 3; }
.card-hero .rp .pct { font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem); }
.card-hero .price { font-size: 1.75rem; }
.card-hero .evid { font-size: var(--text-sm); }

/* drawer + static page photo: inset tile, capped height (H6, M17) */
.d-img { background: var(--color-surface-2); border: 0; padding: 14px; aspect-ratio: auto; height: 240px; }
@media (min-width: 900px) { .d-img { height: 300px; } }
.d-img img { max-height: none; }
.d-price .real { min-width: 0; }
.real.t-deal { background: var(--color-deal-strong); color: #FFFFFF; }
.real.t-trap { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-trap); }
.d-notes { margin-top: 14px; display: grid; gap: 4px; }
.d-notes .note { font-size: 12px; color: var(--color-muted); }
.d-h3 { font-size: var(--text-base); font-weight: 600; margin-top: 20px; }
.drawer-cta { gap: 0; }
.dp-title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.15; max-width: 32ch; overflow-wrap: anywhere; }
.gone-sec { display: grid; justify-items: center; text-align: center; gap: 8px; padding-top: 32px; padding-bottom: 28px; }
.gone-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-ink-2); }
.gone-prod { font-weight: 600; max-width: 40ch; }

/* trap / fake bands: readable, with a verdict-coloured edge (M12, M13) */
.band { font-size: 13px; padding: 10px 16px; border-left: 3px solid currentColor; }
.band .icon { width: 20px; height: 20px; margin-top: 0; }
.band b { font-size: 12px; }

/* ---- home: compact hero -> best rail -> category scroller (C1, H2, H7, M9) ---- */
.hero-home .hero-inner { min-height: 0; padding-top: 28px; padding-bottom: 22px; }
@media (min-width: 768px) { .hero-home .hero-inner { min-height: 500px; padding-top: 64px; padding-bottom: 36px; } }
@media (min-width: 1200px) { .hero-home .hero-inner { min-height: 540px; padding-top: 80px; } }
@media (max-width: 400px) { .hero h1 { font-size: 1.625rem; } }
@media (max-width: 767px) { .hero-home .lead { font-size: var(--text-sm); margin-top: 10px; } .hero-home .search { margin-top: 16px; } .hero .search-lg .search-field input { height: 52px; } }
.hero-cats { display: none; }
@media (min-width: 900px) { .hero-cats { display: block; } }
.hchips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .hero-home .hero-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
  .hero-home .hero-stat { padding: 0; background: none; display: inline-flex; align-items: baseline; gap: 5px; }
  .hero-home .hero-stat .n { display: inline; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; }
  .hero-home .hero-stat .l { display: inline; font-size: var(--text-sm); margin: 0; color: var(--color-on-inverse-muted); }
  .hero-home .hero-fresh { margin-top: 12px; font-size: 12px; }
}
@media (min-width: 768px) { .hero-home .hero-stats { margin-top: auto; } .hero-home .hero-fresh { margin-bottom: 20px; } }
.live-dot { background: var(--brand-violet-300); animation-iteration-count: 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-violet-300) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.section-first { padding-top: 28px; }
@media (min-width: 768px) { .section-first { padding-top: 48px; } }
.section-tight { padding-top: 36px; }
@media (min-width: 768px) { .section-tight { padding-top: 56px; } }
.sec-head > .link-arrow { flex: none; min-height: 44px; }

/* category scroller: 2-row horizontal on phones, a calm grid on desktop (H9, P4) */
.cscroll { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(208px, 64%); gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 2px var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.cscroll::-webkit-scrollbar { display: none; }
.cscroll > * { scroll-snap-align: start; }
@media (min-width: 600px) { .cscroll { grid-auto-columns: 236px; } }
@media (min-width: 900px) { .cscroll { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; gap: 10px; } }
@media (min-width: 1200px) { .cscroll { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ctile { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px 10px 10px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); min-width: 0; }
.ctile:hover { color: var(--color-ink); border-color: var(--color-line-strong); box-shadow: var(--shadow-sm); }
.ct-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--color-surface-2); color: var(--color-ink-2); }
.ct-ic img { width: 48px; height: 48px; }
.ct-tx { display: grid; gap: 2px; min-width: 0; }
.ct-name { font-weight: 600; font-size: var(--text-sm); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ct-meta { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 12px; color: var(--color-muted); }
.ct-meta b { color: var(--color-deal-ink); font-weight: 700; }
.ctile-bf { background: var(--bf-ink); color: #FFFFFF; border-color: color-mix(in srgb, var(--brand-mint) 45%, transparent); }
.ctile-bf:hover { color: #FFFFFF; border-color: var(--brand-mint); }
.ctile-bf .ct-ic { background: rgba(255,255,255,.08); }
.ctile-bf .ct-meta { color: var(--color-on-inverse-muted); }
.ctile-bf .ct-meta b { color: var(--brand-mint); }
.ctile-bf.cmp-festive { background: var(--festive-ink); }
.ctile-all .ct-ic { background: transparent; border: 1px dashed var(--color-line-strong); }
.ctile-all .ct-name { color: var(--color-link); }

/* rail heads: illustrations on a 44 px tile, never shrunk to 24 px (M11); arrows only when the rail overflows (P8) */
.rh-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--color-surface-2); display: grid; place-items: center; flex: none; }
.rh-ic img { width: 40px; height: 40px; }
.rail-nav[hidden] { display: none !important; }

/* neutral "preliminary" marker */
.prelim-tag { display: inline-block; width: fit-content; margin-top: 6px; padding: 1px 8px; border-radius: var(--radius-pill); border: 1px dashed var(--color-line-strong); color: var(--color-muted); font-size: 12px; text-decoration: none; }
a.prelim-tag:hover { color: var(--color-ink); }

/* ---- category toolbar: one 52 px row on phones that hides on scroll down (H3, M6) ---- */
.filterbar { transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out); }
.filterbar.fb-hide { transform: translateY(calc(-100% - 64px)); opacity: 0; pointer-events: none; }
@media (max-width: 899px) { .filterbar { padding: 4px 0; } }
.fb-mobile { flex-wrap: nowrap; gap: 8px; }
.fb-mobile .fb-btn, .fb-mobile .fb-sort { flex: 1 1 0; min-width: 0; }
.fb-btn { min-height: 44px; padding: 0 12px; }
.fb-btn span { overflow: hidden; text-overflow: ellipsis; }
.fb-btn.on { border-color: var(--color-ink); }
.fb-sort { position: relative; display: flex; align-items: center; }
.fb-sort > .icon { position: absolute; left: 13px; pointer-events: none; color: var(--color-muted); z-index: 1; }
.fb-sort .select { width: 100%; min-height: 44px; padding-left: 36px; border-radius: var(--radius-md); }
.select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.fb-active { display: flex; gap: 8px; padding: 6px 0 2px; }
@media (min-width: 900px) { .fb-mobile-only { display: none; } }
.fb-active .chip .icon { width: 14px; height: 14px; }
.fb-desk { gap: 6px; }
.fb-desk .dd-btn, .fb-desk .bf-chip { flex: none; white-space: nowrap; }
.fb-desk .select-inline { max-width: 240px; }
.toggle-bf span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.fsheet .checks { max-height: none; overflow: visible; }
.hist i.in { background: var(--color-ink-2); }

/* ---- campaign: static date, no countdown (H1, M8) ---- */
.bf-cd { margin-top: 20px; }
.bf-when { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--color-on-inverse); font-size: var(--text-md); }
.bf-when b { font-weight: 600; }
.bf-when .icon { color: var(--brand-mint); }
.bf-rel { color: var(--color-on-inverse-muted); font-size: var(--text-sm); }
.bf-ribbon > .container { gap: 14px; min-height: 44px; }
.bf-r-name { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
.bf-r-date { color: var(--color-on-inverse-muted); font-weight: 500; }
.bf-ribbon .grow { color: var(--color-on-inverse-muted); font-weight: 500; }
@media (max-width: 599px) { .bf-r-date { display: none; } }
.bf-band-cd { background: rgba(255,255,255,.08); color: var(--color-on-inverse); }
.bf-band-cd .icon { color: var(--brand-mint); }

/* ---- Scam watch: evidence pipeline (H12) ---- */
.pipeline { margin-top: 24px; padding: 20px; border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-line); }
@media (min-width: 768px) { .pipeline { padding: 24px 28px; } }
.pipe-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.pipe-head h2 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-display); }
.pipe-head .link-arrow { font-size: var(--text-sm); min-height: 44px; }
.pipe { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.pipe-s { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--color-surface-2); }
@media (min-width: 760px) {
  .pipe-s { border-radius: 0; margin-right: 18px; padding-left: 20px; }
  .pipe-s:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .pipe-s:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin-right: 0; }
  .pipe-s:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 0; bottom: 0; width: 18px; background: var(--color-surface-2); clip-path: polygon(0 0, 100% 50%, 0 100%); }
}
.pipe-n { grid-row: 1 / span 3; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface); border: 1px solid var(--color-line-strong); font-size: 12px; font-weight: 700; color: var(--color-muted); align-self: start; margin-top: 4px; }
.pipe-big { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.1; color: var(--color-ink); display: flex; align-items: center; min-height: 36px; }
.pipe-big .icon { width: 26px; height: 26px; color: var(--color-ink-2); }
.pipe-l { grid-column: 2; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); line-height: 1.35; }
.pipe-sub { grid-column: 2; font-size: 12px; color: var(--color-muted); line-height: 1.4; margin-top: 2px; }
.pipe-done .pipe-n { background: var(--color-ink); color: var(--color-bg); border-color: var(--color-ink); }

/* ---- Shops: designed pending state (H10) ---- */
.sp-card { border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-line); overflow: hidden; }
.sp-head { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-bottom: 1px solid var(--color-line); }
@media (min-width: 768px) { .sp-head { padding: 24px 28px; } }
.sp-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-ink-2); flex: none; }
.sp-head h2 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-display); }
.sp-head p { margin-top: 6px; color: var(--color-muted); font-size: var(--text-sm); max-width: 70ch; }
.sp-row { border-bottom: 1px solid var(--color-line); }
.sp-row:last-child { border-bottom: 0; }
.sp-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name g chev" "bar bar bar" "n n n"; gap: 8px 12px; align-items: center; padding: 14px 20px; min-height: 56px; }
.sp-row summary::-webkit-details-marker { display: none; }
.sp-row summary:hover { background: var(--color-surface-2); }
@media (min-width: 768px) { .sp-row summary { grid-template-columns: minmax(140px, 1.1fr) minmax(160px, 2fr) minmax(170px, 1.3fr) 80px 20px; grid-template-areas: "name bar n g chev"; padding: 12px 28px; } }
.sp-name { grid-area: name; font-weight: 600; }
.sp-bar { grid-area: bar; display: block; height: 8px; border-radius: 4px; background: var(--color-surface-2); overflow: hidden; }
.sp-row summary:hover .sp-bar { background: var(--color-line); }
.sp-bar span { display: block; height: 100%; border-radius: 4px; background: var(--color-ink-2); }
.sp-n { grid-area: n; font-size: var(--text-sm); color: var(--color-ink-2); }
.sp-n .sub { display: block; font-size: 12px; color: var(--color-muted); }
.sp-g { grid-area: g; justify-self: end; }
.sp-row summary > .icon { grid-area: chev; color: var(--color-muted); transition: transform var(--dur-base); }
.sp-row[open] summary > .icon { transform: rotate(180deg); }
.g-soon { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); border: 1px dashed var(--color-line-strong); font-size: 12px; font-weight: 600; color: var(--color-ink-2); white-space: nowrap; }
.sp-row .sdetail-in { padding: 4px 20px 18px; }
@media (min-width: 768px) { .sp-row .sdetail-in { padding: 4px 28px 20px; } }
.sp-rest { padding: 18px 20px 20px; border-top: 1px solid var(--color-line); background: var(--color-surface-2); font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.7; }
@media (min-width: 768px) { .sp-rest { padding: 20px 28px 24px; } }
.sp-rest h3 { font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-muted); margin-bottom: 6px; }
.sp-rest a { color: var(--color-ink-2); }
.mstat .prelim-tag { margin-top: 4px; }

/* page banners: taller, art positioned per banner (M25) */
@media (min-width: 900px) { .page-banner .page-head { padding: 76px 0 68px; } }
.page-banner img[src*="banner-scam"] { object-position: 70% 45%; }
.page-banner img[src*="banner-shop"] { object-position: 75% 60%; }

/* ---- type floor + misc polish ---- */
.tabbar a { font-size: 12px; }
.seg button { height: 40px; }
.ftr ul a { min-height: 44px; }
@media (pointer: coarse) { .chip { min-height: 44px; } }
.sg-item .sg-title mark, .pcard .card-title mark { text-decoration: none; font-weight: 700; color: var(--color-ink); }
.suggest { scrollbar-width: thin; }
@media (min-width: 900px) { .srch-box { display: none; } }
.srch-filters .select, .srch-filters .input { border-radius: var(--radius-pill); }
.lg-pending { border: 0; background: none; padding: 0; color: var(--color-muted); }

/* card: saving on its own full-width line, never clipped (M1) */
.dcard .price-row { align-items: center; }
.dcard .price-col { align-self: stretch; display: flex; align-items: center; }
.dcard .save { margin-top: -2px; }
/* phones: the hero search opens the full-screen search sheet, so the inline submit button only costs placeholder room */
@media (max-width: 640px) { .search-lg .search-field .btn { display: none; } .search-lg .search-field input, .search-lg.has-q .search-field input { padding-right: 48px; } .search-lg .search-clear { right: 10px; } }
@media (max-width: 599px) { .sec-head { flex-wrap: wrap; align-items: flex-start; } .sec-head > .link-arrow { margin-top: -8px; } }
.btn { max-width: 100%; }
@media (max-width: 599px) { .section .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; } }
.ph-tile > img { position: absolute; inset: 0; max-height: none; }
.ph-tile > .ph { position: absolute; inset: 0; }
@media (min-width: 768px) and (max-width: 1199px) { .hero-home .hero-art::after { background: linear-gradient(90deg, rgba(10,14,26,.95) 0%, rgba(10,14,26,.86) 48%, rgba(10,14,26,.25) 82%); } }
.hdr-search { transition: opacity var(--dur-base) var(--ease-out); }
.hdr.hdr-search-off .hdr-search { opacity: 0; visibility: hidden; }
.card-compact.dcard .price-row { gap: 12px; }
.card-compact.dcard .price-col { padding-left: 12px; }
.card-compact.dcard .rp .pct { font-size: 1.75rem; }
.card-compact.dcard .price { font-size: 1.1875rem; }
.page-head-row > div { min-width: 0; }
.page-head h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 599px) { .page-head-row > .share-btn { width: 44px; padding: 0; flex: none; } .page-head-row > .share-btn span { display: none; } .ttable td:first-child { white-space: normal; width: 34%; } .ttable .tier { flex-wrap: wrap; } }

/* cards carry their own text colour: a light card inside a dark section must not inherit white text */
.card { color: var(--color-ink); }
.card .card-title a { color: inherit; }
.card .over { color: var(--color-ink); }

/* ===================================================================== V2 Phase A (search-first, product page) */
/* home: compact search-first hero (≤ 45% of a 375×812 screen: search box + one product visible) */
.hero-v2 .hero-inner { min-height: 0; padding-top: 28px; padding-bottom: 22px; }
.hero-v2 h1 { max-width: 18ch; }
.hero-v2 .lead { margin-top: 8px; font-size: var(--text-md); color: var(--color-on-inverse); opacity: .86; }
.hero-v2 .search { margin-top: 18px; }
.hero-link { margin-top: 10px; font-size: var(--text-sm); }
.hero-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-violet-300); text-decoration: none; font-weight: 600; min-height: 32px; }
.hero-link a:hover { text-decoration: underline; }
.hero-pop { margin-top: 10px; max-width: 640px; display: grid; gap: 6px; }
.hero-pop .hp-k { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--color-on-inverse-muted); font-weight: 600; }
.hero-pop .hchips { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-pop .hchip { height: 34px; padding: 0 12px; font-weight: 500; }
@media (max-width: 599px) { .hero-pop .hchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } .hero-pop .hchips::-webkit-scrollbar { display: none; } }
@media (min-width: 768px) { .hero-v2 .hero-inner { padding-top: 64px; padding-bottom: 40px; min-height: 420px; } }
@media (min-width: 1200px) { .hero-v2 .hero-inner { padding-top: 80px; min-height: 460px; } }

/* rare-price card: best-price facts only (no tier block, no confidence bars) */
.rcard { flex-direction: column; height: 100%; }
.rcard .rc-img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; border: 0; border-bottom: 1px solid var(--color-line); background: var(--color-photo-bg); }
.rcard .rc-img img { padding: 16px; }
.rc-pct { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--color-deal-soft); color: var(--color-deal-ink); font-weight: 700; font-size: var(--text-sm); font-variant-numeric: tabular-nums; line-height: 1.4; box-shadow: var(--shadow-xs); }
.rcard .card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; min-width: 0; flex: 1; }
.rcard .card-title { font-size: var(--text-sm); line-height: 1.35; min-height: calc(2 * 1.35em); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-buy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.rc-buy .price { font-size: var(--text-lg); font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-buy .at { font-size: var(--text-sm); color: var(--color-muted); }
.rc-vs { margin: 0; font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-card { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--color-muted); }
#rail-rare { grid-auto-columns: 62%; }
@media (min-width: 600px) { #rail-rare { grid-auto-columns: 220px; } }
@media (min-width: 1200px) { #rail-rare { grid-auto-columns: calc((100% - 4 * 14px - 2 * var(--gutter)) / 5); } }
.rc-n { margin: auto 0 0; padding-top: 2px; font-size: var(--text-xs); color: var(--color-muted); opacity: .85; }
.rgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 599px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .rgrid .rcard .card-body { padding: 10px 10px 12px; } .rgrid .rc-buy .price { font-size: var(--text-md, 1.05rem); } .rgrid .rc-pct { top: 6px; left: 6px; font-size: var(--text-xs); } }
.pc-one { color: var(--color-muted); }

/* search: new-only line, accessories group */
.srch-new .linkish, .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--color-link); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; min-height: 28px; }
.srch-acc { margin-top: 24px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.srch-acc > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; cursor: pointer; font-weight: 600; font-size: var(--text-sm); list-style: none; }
.srch-acc > summary::-webkit-details-marker { display: none; }
.srch-acc > summary .icon:last-child { margin-left: auto; transition: transform var(--dur-fast); }
.srch-acc[open] > summary .icon:last-child { transform: rotate(180deg); }
.srch-acc > .grid { padding: 0 12px 12px; }
/* search: one-tap "compared in 2+ shops" chip above the filters (13 Nov) */
.srch-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.srch-quick .chip .icon { margin-right: 4px; }

/* product page */
.pp-back { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; margin-bottom: 8px; min-height: 32px; }
.pp-img { max-width: 520px; }
.pp-best { display: grid; gap: 10px; }
.pp-best .kicker { margin: 0; }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pp-price .price { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--color-ink); line-height: 1.1; }
.pp-price .at { font-size: var(--text-md); font-weight: 600; color: var(--color-ink-2); }
.pp-card, .pp-fresh, .pp-tie, .pp-single { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-sm); color: var(--color-ink-2); }
.pp-card .icon, .pp-fresh .icon, .pp-tie .icon, .pp-single .icon { flex: none; margin-top: 2px; color: var(--color-muted); }
.pp-card { color: var(--color-ink); font-weight: 600; }
.pp-single { padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-surface-2); }
.pp-claim { font-size: var(--text-sm); color: var(--color-muted); }
.pp-cta { display: flex; gap: 10px; }
.pp-cta .btn-primary { flex: 1; justify-content: center; }
.pp-best .note { margin: 0; font-size: var(--text-xs); color: var(--color-muted); }
.pp-spread { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.pp-h-sub { font-size: var(--text-sm); font-weight: 500; }
.pp-table .tag { background: var(--color-surface-2); color: var(--color-ink-2); }
.pp-table .tag.tag-cheap { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.pp-table .badge { margin-left: 6px; vertical-align: 1px; }
.ctable .show-sm { display: none; }
@media (max-width: 480px) { .ctable .show-sm { display: block; } }
.badge.b-ver { background: var(--color-deal-soft); color: var(--color-deal-ink); gap: 4px; }
.pp-more { margin-top: 14px; border-top: 1px solid var(--color-line); }
.pp-more > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: var(--text-sm); list-style: none; }
.pp-more > summary::-webkit-details-marker { display: none; }
.pp-more > summary .icon { margin-left: auto; transition: transform var(--dur-fast); }
.pp-more[open] > summary .icon { transform: rotate(180deg); }
.pp-more .count { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.pp-fam { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-foot p { display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-sm); color: var(--color-ink-2); margin: 0 0 8px; }
.pp-foot .icon { flex: none; margin-top: 2px; color: var(--color-muted); }

/* shops directory: positive facts only */
.sdir-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sdir .card-body { display: grid; gap: 12px; padding: 16px; }
.sdir-top { display: flex; align-items: center; gap: 12px; }
.sdir-av { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-ink-2); font-weight: 700; font-size: var(--text-sm); text-transform: uppercase; border: 1px solid var(--color-line); }
.sdir-name { font-size: var(--text-md); margin: 0; }
.sdir-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--text-sm); color: var(--color-ink-2); }
.sdir-facts li { display: flex; gap: 8px; align-items: flex-start; }
.sdir-facts .icon { flex: none; margin-top: 2px; color: var(--color-muted); }
.sdir-facts li.pos { color: var(--color-deal-ink); font-weight: 600; }
.sdir-facts li.pos .icon { color: var(--color-deal-ink); }
.sdir-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sdir.is-hl { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.pp .detail, .pp .detail-grid > * { min-width: 0; }
.pp-table td:first-child { white-space: normal; }
.pp-table td:first-child .tag, .pp-table td:first-child .badge { margin: 4px 6px 0 0; }
.pp-table td:first-child b { margin-right: 4px; }
@media (max-width: 480px) { .pp-table td { padding: 10px 6px; } }
/* paste-a-link checker (search page, ?link=1) */
.link-lead { margin: 4px 0 6px; color: var(--color-muted); max-width: 60ch; }
.link-note { margin-top: 12px; }
/* "Следи цена" watchlist */
.watch-btn .icon { width: 18px; height: 18px; }
.watch-btn.is-on { border-color: var(--color-deal-ink); color: var(--color-deal-ink); }
.watch-btn.is-on .icon path { fill: currentColor; }
.hdr-watch { position: relative; }
.hdr-watch .wcount { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--color-deal-ink); color: var(--color-surface); font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.watch-list { display: grid; gap: 12px; max-width: 760px; }
.wcard .card-body { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.wcard .card-top { flex: 1; min-width: 0; }
.w-price { margin: 4px 0 2px; font-size: var(--text-sm); color: var(--color-muted); }
.w-price b { color: var(--color-ink); font-size: var(--text-md, 1rem); }
.w-delta { font-size: var(--text-xs); color: var(--color-muted); }
.w-delta.down { color: var(--color-deal-ink); font-weight: 600; }
.w-rm { position: relative; z-index: 2; flex: none; }
/* product CTA row with the watch button: wrap instead of overflowing on phones */
.pp-cta { flex-wrap: wrap; }
.pp-cta .watch-btn { flex: 0 0 auto; }
@media (max-width: 599px) {
  .pp-cta .btn-primary { flex: 1 1 100%; justify-content: center; }
  .pp-cta .watch-btn { flex: 1 1 auto; justify-content: center; }
}
/* narrow phones: the watchlist icon added a 4th header tool; keep the row inside 360-420px screens */
@media (max-width: 420px) {
  .hdr-tools { gap: 0; }
  .hdr-tools .icon-btn { width: 38px; height: 40px; }
  .hdr .logo img { width: 128px; height: auto; }
  .hdr .seg button { padding-left: 8px; padding-right: 8px; }
}
/* V2 category page: product grid */
.cat-subs { margin: 4px 0 12px; }
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; }
.cat-tools .sf { margin-left: auto; }
@media (max-width: 599px) { .cat-tools .sf { margin-left: 0; width: 100%; } .cat-tools .select { width: 100%; } }
.cat-tail { margin-top: 22px; }

/* ---- 8 Nov phone pass (design review) ---- */
/* iOS zooms into inputs under 16px; 44px touch targets */
@media (max-width: 767px) {
  .sf-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .sf, .sf-num { max-width: none; }
  .sf .select, .sf .input, .select, .input { font-size: 16px; min-height: 44px; }
  .sf-tog { min-height: 44px; }
}
.hchip { min-height: 44px; display: inline-flex; align-items: center; }
.hero-link a { min-height: 44px; display: inline-flex; align-items: center; }
.chip { min-height: 40px; }
.hdr-tools .icon-btn { min-height: 44px; }
/* shorter footer on phones: link groups side by side */
@media (max-width: 599px) {
  .ftr { margin-top: 48px; padding: 28px 0 24px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .ftr ul a { min-height: 36px; }
}
/* mid widths (~520-767px): product page sections must not exceed the viewport */
.pp-sec, .pp-best, .pp-table-wrap, .sec { max-width: 100%; min-width: 0; }

/* product page (8 Nov) */
.pp-table tr.pp-row { cursor: pointer; }
.pp-table tr.pp-row td { padding-top: 12px; padding-bottom: 12px; }
.pp-table tr.pp-row:hover td { background: var(--color-surface-2); }
.pp-table .sub, .pp-table .st { white-space: nowrap; }
.pp-table .sub.pp-otitle { white-space: normal; max-width: 46ch; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sdir-facts .stale, .fresh .stale, .ctable .st.stale, .ctable .sub.stale { color: var(--color-trap-ink); }
.pp-table td:first-child .tag { display: inline-block; vertical-align: 1px; }
.pp-fam { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.pp-fam::-webkit-scrollbar { display: none; }
.pp-fam .chip { flex: none; }
.hist-young { align-items: flex-start; }
.hist-young p { margin: 0; }
.pp-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-md, 10px); background: var(--color-surface-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.pp-intro .icon { flex: none; margin-top: 2px; }

.pp-rel .sec-head { align-items: flex-end; gap: 12px; }
.pp-rel .rgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@media (max-width: 599px) { .pp-rel .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home: returning visitor's watched prices */
.watch-strip { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); min-height: 48px; }
.watch-strip span { flex: 1; min-width: 0; }
.watch-strip.has-drop { border-color: var(--color-deal-ink); background: var(--color-deal-soft); }
.watch-strip.has-drop b { color: var(--color-deal-ink); }

/* the shop's own discount (single-shop products): neutral, not our green "below other shops" */
.rc-pct.rc-pct-claim { background: var(--color-surface); color: var(--color-ink-2); border: 1px solid var(--color-line-strong); }
.rc-claim { margin: 0; font-size: var(--text-xs); color: var(--color-muted); }
.pcard .rc-claim { margin-top: 4px; }
.pp-claim-line { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: var(--text-sm); color: var(--color-ink-2); }

/* home "Што бараш денес?": exactly two rows on desktop (4 columns -> 8 tiles; 6 columns -> 12 tiles) */
@media (min-width: 900px) and (max-width: 1199px) { #home-cats > .ctile:nth-child(n+8):not(.ctile-all) { display: none; } #home-cats.has-bf > .ctile:nth-child(n+7):not(.ctile-all) { display: none; } }
@media (min-width: 1200px) { #home-cats > .ctile:nth-child(n+12):not(.ctile-all) { display: none; } #home-cats.has-bf > .ctile:nth-child(n+11):not(.ctile-all) { display: none; } }

/* cookie consent banner (Google Tag Manager only after "Accept") */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.consent-in { pointer-events: auto; max-width: 720px; width: 100%; background: var(--color-surface, #fff); color: var(--color-ink, inherit); border: 1px solid var(--color-line); border-radius: 16px; box-shadow: 0 12px 40px rgba(10, 14, 26, .18); padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; line-height: 1.45; }
.consent-in p { flex: 1 1 320px; margin: 0; }
.consent-in a { text-decoration: underline; }
.consent-btns { display: flex; gap: 8px; margin-left: auto; }
.consent-btns .btn { min-height: 40px; }
@media (max-width: 767px) { .consent { bottom: calc(76px + env(safe-area-inset-bottom)); } .consent-btns { width: 100%; } .consent-btns .btn { flex: 1; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* savings in denars: the number a shopper feels, louder than the percentage */
.rc-save { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); line-height: 1.3; color: var(--color-deal-ink); }
.pp-save { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md, 1.125rem); color: var(--color-deal-ink); }
/* Black Friday: watched prices + calendar reminder under the hero */
.bf-hook { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.bf-hook:empty { display: none; }
.bf-hook .watch-strip { margin: 0; flex: 1 1 320px; }
.bf-ics { display: inline-flex; gap: 8px; align-items: center; }
/* phones: shorter heroes so the first deal cards show on the first screen */
@media (max-width: 767px) {
  .bf-hero .hero-inner { padding-top: 20px; padding-bottom: 18px; }
  .bf-hero .lead, .bf-hero .bf-trust { display: none; }
  .bf-hero .bf-kicker { margin-bottom: 8px; }
  .bf-hero .bf-cd { margin-top: 10px; }
  .bf-hero .search { margin-top: 12px; }
  .bf-hero .bf-hero-tools { margin-top: 10px; }
  .hero:not(.bf-hero) .hero-inner { padding-top: 24px; padding-bottom: 18px; }
  .hero:not(.bf-hero) .lead { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero:not(.bf-hero) .search { margin-top: 14px; }
}

/* Black Friday feature card in "Што бараш денес?" (phones: a tall card leading the scroller; desktop: two columns wide) */
.ctile.bf-feature { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 8px; padding: 14px 16px;
  background: var(--bf-ink); border-color: color-mix(in srgb, var(--brand-mint) 40%, transparent); color: #fff; }
.ctile.bf-feature::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--bf-art); background-size: cover; background-position: 66% 50%; transition: transform .6s var(--ease-out); }
.ctile.bf-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,13,.25) 0%, rgba(5,7,13,.55) 50%, rgba(5,7,13,.92) 100%); }
.ctile.bf-feature:hover { color: #fff; border-color: var(--brand-mint); box-shadow: 0 0 0 1px var(--brand-mint), 0 10px 30px rgba(61,214,140,.18); }
.ctile.bf-feature:hover::before { transform: scale(1.04); }
.bff-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bff-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(5,7,13,.6); border: 1px solid rgba(255,255,255,.18); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bff-date { font-size: 12px; font-weight: 600; color: var(--brand-mint); white-space: nowrap; text-shadow: 0 1px 6px rgba(5,7,13,.9); }
.bff-body { display: grid; gap: 2px; }
.bff-n { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); line-height: 1.2; text-shadow: 0 1px 8px rgba(5,7,13,.9); }
.bff-save { font-size: var(--text-sm); font-weight: 700; color: var(--brand-mint); text-shadow: 0 1px 6px rgba(5,7,13,.9); }
.bff-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); }
@media (max-width: 899px) { #home-cats .bf-feature { grid-row: span 2; min-height: 168px; } }
@media (min-width: 900px) {
  #home-cats .bf-feature { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; padding: 10px 16px; min-height: 76px; }
  #home-cats .bf-feature::after { background: linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.8) 45%, rgba(5,7,13,.15) 100%); }
  #home-cats .bf-feature::before { background-position: 72% 50%; }
  #home-cats .bf-feature .bff-top { flex-direction: column; align-items: flex-start; gap: 4px; flex: none; }
  #home-cats .bf-feature .bff-body { flex: 1; min-width: 0; }
  #home-cats .bf-feature .bff-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ctile.bf-feature::before { transition: none; } .ctile.bf-feature:hover::before { transform: none; } }
/* home category rails: "see all" link next to the rail arrows */
.sec-head-r { display: flex; align-items: center; gap: 12px; }
.bff-pill { white-space: nowrap; }

/* "Suggest a shop" on the shops page */
.shop-sg { margin: 28px 0 40px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--color-line); background: var(--color-surface); display: grid; gap: 16px; }
.suggest-copy { display: flex; gap: 14px; align-items: flex-start; }
.suggest-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--color-surface-2); }
.shop-sg h2 { font-family: var(--font-display); font-size: var(--text-lg, 1.25rem); }
.shop-sg p { color: var(--color-muted); margin-top: 4px; }
.suggest-form { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .suggest-form { grid-template-columns: 2fr 2fr auto; align-items: start; } .suggest-msg { grid-column: 1 / -1; } }
.suggest-msg { margin: 0; font-size: var(--text-sm); }
.suggest-msg.ok { color: var(--color-deal-ink); font-weight: 600; }
.suggest-msg.err { color: var(--color-danger, #B42318); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* mega menu v2 (10 Nov 2026): product counts, columns without row gaps, "see all" link */
.mega-grid { display: block; column-count: 4; column-gap: 32px; }
@media (min-width: 1200px) { .mega-grid { column-count: 5; } }
@media (max-width: 760px) { .mega-grid { column-count: 2; column-gap: 20px; } }
.mega-col { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 22px; }
.mega-col h3 { margin-bottom: 4px; }
.mega-h { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mega-h > span { font-weight: 600; }
.mega-h small { font-size: 12px; font-weight: 400; color: var(--color-muted); min-height: 1em; }
.nav-row .mega-col li a { justify-content: flex-start; }
.mega-col .mega-all { color: var(--color-primary, var(--color-ink)); font-weight: 600; align-items: center; gap: 4px; }
.mega-col .mega-all .icon-sm { width: 14px; height: 14px; }

/* savings signal v1 (10 Nov 2026): saving = green pill + accent, tie = grey "=", per-store change arrows */
.save-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px 4px 7px; border-radius: var(--radius-pill); background: var(--color-deal-soft); color: var(--color-deal-ink); font-family: var(--font-display); font-size: var(--text-sm); line-height: 1.3; max-width: 100%; }
.save-pill .icon { flex: none; width: 18px; height: 18px; }
.save-pill b { font-weight: 700; }
.save-pct { margin-left: 6px; font-weight: 700; opacity: .85; font-variant-numeric: tabular-nums; }
.tie-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--color-surface-2, rgba(127,127,127,.12)); color: var(--color-muted); font-size: var(--text-sm); }
.tie-note span { font-weight: 800; }
.card.sv-yes { box-shadow: inset 0 3px 0 var(--color-deal-ink), var(--shadow-xs, none); }
.card.sv-tie { box-shadow: inset 0 3px 0 var(--color-line-strong), var(--shadow-xs, none); }
.pcard .thumb { position: relative; }
.pc-pct { position: absolute; top: -6px; left: -6px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--color-deal-soft); color: var(--color-deal-ink); font-weight: 700; font-size: 12px; line-height: 1.4; box-shadow: var(--shadow-xs); font-variant-numeric: tabular-nums; }
.pc-pct-claim, .rc-pct-claim { background: var(--color-surface-2, #eee); color: var(--color-muted); }
.pp-verdict { display: flex; gap: 12px; align-items: center; margin: 10px 0 4px; padding: 12px 14px; border-radius: var(--radius-md, 12px); }
.pp-verdict .icon { flex: none; width: 30px; height: 30px; }
.pp-verdict b { display: block; font-family: var(--font-display); font-size: var(--text-lg, 1.25rem); line-height: 1.2; }
.pp-verdict span { display: block; font-size: var(--text-sm); }
.pp-verdict-yes { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.pp-verdict-tie { background: var(--color-surface-2, rgba(127,127,127,.12)); color: var(--color-muted); }
.pp-verdict-tie .eq { flex: none; width: 30px; text-align: center; font-size: 26px; font-weight: 800; line-height: 1; }
.pp-table .more-than { display: block; font-size: 12px; font-weight: 600; color: var(--color-trap-ink); white-space: nowrap; }
.pp-table .chg { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pp-table .chg-down { color: var(--color-deal-ink); }
.pp-table .chg-up { color: var(--color-trap-ink); }
/* idea #31: delivery terms under each shop's price */
.pp-table .pp-deliv { display: block; margin: 3px 0 0 auto; max-width: 22em; min-width: 12em; font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--color-muted); white-space: normal; text-align: right; }
.pp-table .pp-deliv .icon { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }
.pp-table td.pr .pp-deliv a { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.save-pill { overflow-wrap: anywhere; }
.save-pill > span { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.save-pct { margin-left: 0; }

/* daily Black Friday picks: why this card was picked (10 Nov 2026) */
.rc-why { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 80px); padding: 3px 9px; border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-ink); font-size: 12px; font-weight: 600; line-height: 1.4; box-shadow: var(--shadow-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .rc-why { top: 6px; right: 6px; font-size: 11px; padding: 2px 7px; } }
.corr-log { list-style: none; padding: 0; margin: 0; } .corr-log li { padding: 12px 0; border-bottom: 1px solid var(--color-line); } .corr-log p { margin: 4px 0 0; }
/* 10 Nov 2026 (feedback): the savings pill took 4 lines on phone cards; smaller text, full card width, 2 lines max */
.card .save-pill { display: flex; width: 100%; font-size: 13px; padding: 5px 10px 5px 8px; border-radius: 12px; }
.card .save-pill .icon { width: 16px; height: 16px; }
@media (max-width: 599px) {
  .card .save-pill { font-size: 12px; gap: 5px; padding: 4px 8px 4px 6px; }
  .card .save-pill .icon { width: 14px; height: 14px; }
  .card .save-pill > span { column-gap: 4px; }
  .rgrid .card .save-pill .save-pct, .rail .card .save-pill .save-pct { display: none; }   /* the % badge on the photo already says it */
}
/* price history "we track it since…": the watch button centred */
.hist-young > div { flex: 1; min-width: 0; }
.hist-young .row { display: flex; justify-content: center; margin-left: -18px; }   /* reach under the icon so the button sits in the true centre */
/* 10 Nov 2026 (feedback): on phones the shop price table was 440 px wide in a 375 px screen (no-wrap sub lines),
   so prices and "+X поскапо" were cut off. Phones get one clear block per shop: name + badges left, price right. */
@media (max-width: 599px) {
  .pp-h-sub { display: block; margin-top: 4px; }
  h2:has(> .pp-h-sub) { flex-direction: column; align-items: flex-start; gap: 0; }
  .pp-table, .pp-table tbody { display: block; width: 100%; }
  .pp-table thead { display: none; }
  .pp-table tr.pp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start;
    padding: 12px; border-bottom: 1px solid var(--color-line); border-radius: 12px; }
  .pp-table tr.pp-row:last-child { border-bottom: 0; }
  .pp-table tr.pp-row td { display: block; padding: 0; border: 0; background: none !important; border-radius: 0 !important; }
  .pp-table tr.pp-row td.hide-sm { display: none; }
  .pp-table tr.this { background: var(--color-accent-soft); border-bottom-color: transparent; }
  .pp-table tr.pp-row:hover { background: var(--color-surface-2); }
  .pp-table tr.this:hover { background: var(--color-accent-soft); }
  .pp-table .sub, .pp-table .st { white-space: normal; }
  .pp-table td:first-child b { display: inline-block; margin: 0 6px 2px 0; font-size: 15px; }
  .pp-table td.pr { text-align: right; }
  .pp-table td.pr a { font-size: 16px; }
  .pp-table .more-than, .pp-table .chg { margin-top: 3px; }
}
/* the % is already on the photo badge of every card: never repeat it inside the savings pill (10 Nov feedback) */
.card .save-pill .save-pct { display: none; }

/* Акции page (/akcii) and the home "Акции сега" block (11 Nov 2026) */
.nav-akcii { display: inline-flex; align-items: center; gap: 6px; }
.nav-akcii-mark { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-on-accent-soft); }
.ak-sec { margin: 28px 0 12px; }
.ak-jump { margin-bottom: 8px; }
.ak-camp { border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); padding: 18px; margin: 0 0 18px; scroll-margin-top: 90px; }
.ak-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.ak-head h2 { margin: 4px 0 6px; }
.ak-kind { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; font-size: var(--text-xs); color: var(--color-muted); }
.ak-pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-info-soft); color: var(--color-info); }
.ak-stats { margin: 0 0 8px; color: var(--color-muted); font-size: var(--text-sm); }
.ak-shops { display: flex; flex-wrap: wrap; gap: 6px; }
.ak-shop { font-size: var(--text-xs); padding: 2px 8px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); }
.ak-cats { margin-bottom: 10px; }
.ak-cat-line { margin: 4px 0 10px; font-size: var(--text-sm); color: var(--color-muted); }
.ak-v { display: flex; gap: 5px; align-items: center; margin: 6px 0 0; font-size: var(--text-xs); line-height: 1.35; }
.ak-v .icon { flex: none; width: 15px; height: 15px; }
.ak-v-yes { color: var(--color-deal-ink); font-weight: 600; }
.ak-v-no { color: var(--color-trap-ink); }
.ak-v-one { color: var(--color-muted); }
.ak-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ak-soon-card { border: 1px dashed var(--color-line-strong); border-radius: 14px; padding: 14px; background: var(--color-surface); }
.ak-soon-card h3 { margin: 6px 0 4px; } .ak-soon-card p { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
.ak-how { max-width: 760px; }
.ak-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ak-now-card { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-surface); color: var(--color-ink); text-decoration: none; }
.ak-now-card:hover { border-color: var(--color-primary); }
.ak-now-card b { font-size: var(--text-md, 16px); } .ak-now-card > span:last-child { color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 599px) { .ak-camp { padding: 14px 12px; border-radius: 12px; } }
.team-note { margin-top: 8px; font-size: 12px; color: var(--color-trap-ink); }
/* SEO crawl paths (CRAWL_LINKS, 11 Nov 2026): static header/footer links for crawlers and no-JS visitors (app.js draws
   its own header and footer), and the static list on /c/<id>/<n>/. These classes only exist when the switch is on. */
.js .static-nav { display: none; }
.static-nav ul { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 12px 16px; margin: 0; }
.catn { padding-top: 24px; padding-bottom: 40px; display: grid; gap: 14px; }
.catn h1 { font-family: var(--font-display); font-size: var(--text-2xl); letter-spacing: var(--tracking-display); }
.catn p { color: var(--color-muted); }
.catn .catn-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 20px; padding-left: 1.4em; }
.catn .catn-list a { color: var(--color-ink); text-decoration: none; } .catn .catn-list a:hover { text-decoration: underline; }
.cat-pager h2 { font-size: var(--text-md, 16px); margin: 8px 0; }
.cat-pager ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.cat-pager a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--color-line); border-radius: 10px; color: var(--color-ink); text-decoration: none; }
.cat-pager a[aria-current="page"] { background: var(--color-ink); color: var(--color-bg, #fff); border-color: var(--color-ink); }

/* Акции: one theme per campaign (11 Nov 2026). Colours and art come from config.CAMPAIGN_THEMES as --ak-* variables */
.ak-camp { --ak-bg: #14162B; --ak-ink: #FFFFFF; --ak-accent: #3DD68C; --ak-glow: #5B3DF5; padding: 0; overflow: hidden; border-color: color-mix(in srgb, var(--ak-accent) 35%, var(--color-line)); }
.ak-banner { position: relative; isolation: isolate; color: var(--ak-ink); background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--ak-glow) 38%, transparent) 0%, transparent 55%),
    var(--ak-bg); }
.ak-banner.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ak-art) right center / cover no-repeat; }
.ak-banner.has-art::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ak-bg) 0%, var(--ak-bg) 34%, color-mix(in srgb, var(--ak-bg) 70%, transparent) 55%, transparent 80%); }
.ak-banner-in { position: relative; padding: 26px 26px 22px; max-width: 640px; display: grid; gap: 10px; }
.ak-banner .ak-kind { color: color-mix(in srgb, var(--ak-ink) 75%, transparent); }
.ak-banner .ak-pill { background: color-mix(in srgb, var(--ak-accent) 18%, transparent); color: var(--ak-accent); border: 1px solid color-mix(in srgb, var(--ak-accent) 45%, transparent); }
.ak-banner h2 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4.2vw, 40px); line-height: 1.05; letter-spacing: -.01em; color: var(--ak-ink); }
.ak-tag { margin: 0; font-size: var(--text-md, 16px); line-height: 1.4; color: color-mix(in srgb, var(--ak-ink) 85%, transparent); }
.ak-nums { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ak-nums > div { display: grid; gap: 2px; min-width: 110px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ak-ink) 7%, transparent); border: 1px solid color-mix(in srgb, var(--ak-ink) 14%, transparent); backdrop-filter: blur(4px); }
.ak-nums b { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--ak-ink); }
.ak-nums span { font-size: 12px; color: color-mix(in srgb, var(--ak-ink) 72%, transparent); }
.ak-nums .ak-n-hi { border-color: color-mix(in srgb, var(--ak-accent) 60%, transparent); background: color-mix(in srgb, var(--ak-accent) 14%, transparent); }
.ak-nums .ak-n-hi b { color: var(--ak-accent); }
.ak-banner .ak-shops { gap: 6px; }
.ak-banner .ak-shop { border-color: color-mix(in srgb, var(--ak-ink) 22%, transparent); color: color-mix(in srgb, var(--ak-ink) 90%, transparent); background: color-mix(in srgb, var(--ak-bg) 50%, transparent); }
.ak-banner .ak-shop b { color: var(--ak-accent); }
.ak-cta { justify-self: start; background: var(--ak-accent); color: var(--ak-bg); border-color: var(--ak-accent); font-weight: 600; }
.ak-cta:hover { filter: brightness(1.08); }
.ak-body { padding: 16px 18px 18px; border-top: 3px solid var(--ak-accent); }
.ak-body .chip[aria-current="true"] { background: var(--ak-bg); color: var(--ak-ink); border-color: var(--ak-bg); }
.ak-jump-chip { display: inline-flex; align-items: center; gap: 6px; }
.ak-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ak-accent, #3DD68C); box-shadow: 0 0 0 3px var(--ak-bg, #14162B); }
.ak-soon-card { --ak-bg: #14162B; --ak-ink: #FFFFFF; --ak-accent: #3DD68C; position: relative; isolation: isolate; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ak-accent) 30%, transparent); background: var(--ak-bg); color: var(--ak-ink); min-height: 150px; }
.ak-soon-card.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ak-art) 78% center / cover no-repeat; opacity: .45; filter: saturate(.7); }
.ak-soon-card.has-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ak-bg) 30%, transparent 100%); }
.ak-soon-card h3 { color: var(--ak-ink); }
.ak-soon-card .ak-pill { background: color-mix(in srgb, var(--ak-accent) 18%, transparent); color: var(--ak-accent); }
.ak-soon-card .ak-soon-when { color: color-mix(in srgb, var(--ak-ink) 80%, transparent); font-weight: 600; }
.ak-soon-card .ak-soon-tag { color: color-mix(in srgb, var(--ak-ink) 70%, transparent); margin-top: 6px; }
@media (max-width: 599px) {
  .ak-banner-in { padding: 20px 16px 18px; }
  .ak-banner.has-art::before { background-position: 72% center; opacity: .55; }
  .ak-banner.has-art::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-bg) 55%, transparent) 0%, var(--ak-bg) 92%); }
  .ak-nums > div { min-width: 0; flex: 1 1 30%; padding: 8px 10px; }
  .ak-nums b { font-size: 18px; }
  .ak-body { padding: 12px 12px 14px; }
}
.ak-soon { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ak-soon-card { padding: 16px 18px; }
.ak-soon-card.has-art::before { opacity: .32; background-position: 85% center; }
.ak-soon-card.has-art::after { background: linear-gradient(90deg, var(--ak-bg) 45%, color-mix(in srgb, var(--ak-bg) 40%, transparent) 100%); }
.ak-soon-card .ak-soon-tag { max-width: 34ch; }

/* compact cookie banner (Martin, 12 Nov 2026): small card, short honest text, "Одбиј" as easy as "Прифати" (GDPR) */
.consent { left: 16px; right: auto; bottom: calc(16px + env(safe-area-inset-bottom)); justify-content: flex-start; max-width: calc(100vw - 32px); }
.consent-in { max-width: 400px; padding: 12px 14px; gap: 10px; font-size: 13px; line-height: 1.4; border-radius: 14px; box-shadow: 0 8px 28px rgba(10, 14, 26, .16); }
.consent-in p { flex: 1 1 100%; }
.consent-btns { margin-left: 0; width: 100%; }
.consent-btns .btn { flex: 1 1 0; min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
@media (max-width: 767px) {
  .consent { left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); max-width: none; justify-content: center; }
  .consent-in { max-width: none; padding: 10px 12px; }
}

/* Suggestion #3 (12 Nov 2026): phones see a saving on the first screen (375x812, above the tab bar).
   Home: no hero subtitle; the rail subtitle and trust line move under the first rail.
   Black Friday landing: date, reminder and share in one row; no kicker, date box, second search or tools row. */
.home-after-m, .bf-mrow { display: none; }
@media (max-width: 599px) {
  .hero.hero-v2:not(.bf-hero) .lead, .hero-home .hero-fresh { display: none; }
  .hero-v2 .hero-inner { padding-top: 22px; padding-bottom: 14px; }
  .hero-v2 .search { margin-top: 14px; }
  .hero-home ~ .section-first { padding-top: 16px; }
  .hero-home ~ .section-first .sec-head p { display: none; }
  .hero-home .hero-pop .hp-k { display: none; }   /* 13 Nov: the chips speak for themselves; keeps the first pill above the tab bar */
  .home-after-m { display: grid; gap: 6px; margin-top: 12px; font-size: var(--text-sm); color: var(--color-muted); }
  .home-after-m .home-trust-m { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; }
  .bf-hero.is-landing .bf-kicker, .bf-hero.is-landing .bf-cd, .bf-hero.is-landing .search, .bf-hero.is-landing .bf-hero-tools { display: none; }
  .bf-hero.is-landing .hero-inner { padding-top: 20px; padding-bottom: 18px; }
  .bf-hero.is-landing .bf-mrow { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
  .bf-mwhen { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-on-inverse); }
  .bf-mwhen b { font-weight: 600; white-space: nowrap; }
  .bf-mwhen-t { display: inline-flex; flex-wrap: wrap; column-gap: 6px; line-height: 1.3; }
  .bf-mwhen-t span { color: var(--color-on-inverse-muted); white-space: nowrap; }
  .bf-mwhen .icon { color: var(--brand-mint); flex: none; }
  .bf-mrow .bf-ics-s { flex: none; height: 40px; padding: 0 12px; font-size: var(--text-sm); }
  .bf-mrow .share-btn { flex: none; width: 40px; height: 40px; color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
  .bf-hook .bf-ics { display: none; }
  .bf-hook:not(:has(.watch-strip, .bf-chk-link)) { display: none; }
}

/* Idea #5 (13 Nov 2026): shops page with search, sort and "most often cheapest"; compact rows on phones */
.sdir-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.sdir-tools .input { flex: 1 1 220px; min-width: 0; max-width: 420px; }
.sdir-sort { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-muted); }
.sdir-note { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; max-width: 80ch; }
.sdir-note .icon { flex: none; margin-top: 2px; }
.sdir-more { display: block; }
.sdir-more > summary { list-style: none; cursor: pointer; }
.sdir-more > summary::-webkit-details-marker { display: none; }
.sdir-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sdir-key { font-size: var(--text-sm); color: var(--color-ink-2); }
.sdir-chev { flex: none; color: var(--color-muted); transition: transform var(--dur-fast) var(--ease-out); }
.sdir-more[open] .sdir-chev { transform: rotate(180deg); }
.sdir-more > .sdir-facts, .sdir-more > .sdir-links { margin-top: 12px; }
@media (min-width: 600px) { .sdir-more > summary { pointer-events: none; cursor: default; } .sdir-chev { display: none; } }
@media (max-width: 599px) {
  .sdir-grid { gap: 8px; }
  .sdir .card-body { padding: 12px 14px; gap: 0; }
  .sdir-av { width: 36px; height: 36px; border-radius: 10px; }
  .sdir-name { font-size: var(--text-base); }
  .sdir-key { font-size: 13px; }
  .sdir-tools .input { flex-basis: 100%; max-width: none; }
}

/* Idea #6 (13 Nov 2026): card-only prices are labelled, and a cheaper no-card shop gets its own line */
.pp-verdict-card { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.pp-nocard { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 4px; padding: 10px 12px; border-radius: var(--radius-md, 12px); border: 1px solid var(--color-line-strong); background: var(--color-surface); }
.pp-nocard .icon { flex: none; margin-top: 2px; color: var(--color-ink-2); }
.pp-nocard b { display: block; font-size: var(--text-base); color: var(--color-ink); }
.pp-nocard span { display: block; font-size: var(--text-sm); color: var(--color-ink-2); }
.tag.tag-cardbest { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.rc-cardchip { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; background: var(--color-trap-soft); color: var(--color-trap-ink); }
.rc-cardchip .icon { flex: none; }

/* Idea #27 (13 Nov 2026): "is this a good price now?" line from our own dated history */
.pp-pv { margin: 8px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.pp-pv .icon { flex: none; margin-top: 2px; }
.pp-pv.pv-low { color: var(--color-deal-ink); }
.pp-pv.pv-up { color: var(--color-trap-ink); }

/* Idea #33 (13 Nov 2026): what changed on each watched product since it was added */
.watch-sum { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-weight: 600; color: var(--color-ink); }
.watch-sum[hidden] { display: none; }
.w-then { color: var(--color-muted); font-weight: 400; }
.w-since { display: block; font-size: var(--text-xs); color: var(--color-muted); margin-top: 2px; }
.w-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.w-facts li { font-size: var(--text-xs); padding: 1px 8px; border-radius: 999px; background: var(--color-surface-2); color: var(--color-ink-2); }
.w-facts .wf-low, .w-facts .wf-new { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.w-facts .wf-oos, .w-facts .wf-left { background: var(--color-trap-soft); color: var(--color-trap-ink); }
.wcard .w-delta { display: block; }

/* idea #16 (13 Nov 2026): "since your last visit" on home */
.since .sec-head { margin-bottom: 10px; }
.since-list, .since-recent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.since-list li, .since-recent li { min-width: 0; }
@media (min-width: 768px) { .since-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.since-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-ink); text-decoration: none; min-height: 48px; }
.since-item .thumb { flex: 0 0 48px; width: 48px; height: 48px; }
.since-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: var(--text-sm); }
.since-t > b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.since-p s { color: var(--color-muted); }
.since-p b.down { color: var(--color-deal-ink); }
.since-d { font-size: var(--text-xs); color: var(--color-muted); }
.since-h3 { font-size: var(--text-sm); margin: 14px 0 6px; }
.since-recent { gap: 0; }
.since-recent a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); min-height: 44px; align-items: center; }
.since-recent a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.since-note { margin: 10px 0 0; font-size: var(--text-xs); color: var(--color-muted); }

/* idea #26 (13 Nov 2026): share the watchlist as a link */
.wl-share { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.wl-share .hint, .wl-actions .hint { font-size: var(--text-xs); color: var(--color-muted); margin: 0; }
.wl-share p.hint { flex-basis: 100%; }
.wl-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 16px; }
.wl-mine { margin: 16px 0 0; }
#wl-shared .thumb { flex: 0 0 76px; width: 76px; }

/* ---- 13 Nov 2026 feature pages (#28 /poevtineti, #32 /podaroci, #30 /compare, #17 /skeniraj) ---- */
.hdr-scan { display: inline-grid; }
@media (min-width: 900px) { .hdr-scan { display: none; } }
/* integration pass: the scan icon made 5 header tools; keep the row inside 360-420px phones (no sideways scroll) */
@media (max-width: 420px) {
  .hdr-row { gap: 8px; }
  .hdr-tools .icon-btn { width: 36px; }
  .hdr .seg { padding: 2px; }
  .hdr .seg button { min-width: 32px; padding-left: 6px; padding-right: 6px; }
  .hdr .logo img { width: 116px; }
}
/* long "all in <category> up to N ден" links (/podaroci/) wrap on phones instead of running off-screen */
@media (max-width: 599px) { .sec-head > .link-arrow { flex: 0 1 auto; min-width: 0; } }
@media (max-width: 380px) {
  .hdr-tools .icon-btn { width: 34px; }
  .hdr .logo img { width: 100px; }
}
.feat-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.feat-links .link-arrow { display: inline-flex; align-items: center; gap: 6px; }
.fd-rule { margin-top: 12px; }
.fd-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.fd-count { margin: 4px 0 12px; }
.fd-was { font-size: var(--text-sm); color: var(--color-muted); margin-top: 4px; }
.fd-catlink, .fd-max { margin-top: 6px; }
.gf-bands { margin: 8px 0 4px; }
.gf-sec .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.cmp-btn.is-on { border-color: var(--color-primary); color: var(--color-primary); }
.cmp-tray { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: var(--z-header); background: var(--color-surface); border-top: 1px solid var(--color-line); box-shadow: 0 -6px 18px rgb(0 0 0 / .08); }
@media (min-width: 900px) { .cmp-tray { bottom: 0; } }
/* integration pass: toasts sit above the compare tray, not on top of it */
body:has(#cmp-tray) .toasts { bottom: calc(64px + 100px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body:has(#cmp-tray) .toasts { bottom: 84px; } }
.cmp-tray-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; font-size: var(--text-sm); }
.cmp-tray-in > span:first-child { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cmp-tray-act { display: inline-flex; gap: 6px; flex: none; }
.cmp-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-top: 12px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 10px 12px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--color-line); min-width: 180px; scroll-snap-align: start; }
.cmp-table .cmp-k { position: sticky; left: 0; background: var(--color-surface-2); min-width: 110px; max-width: 130px; font-size: var(--text-sm); color: var(--color-ink-2); font-weight: 600; z-index: 1; }
.cmp-table td .sub { display: block; font-size: var(--text-xs); color: var(--color-muted); }
.cmp-h { display: grid; gap: 6px; }
.cmp-h .rc-img { width: 96px; height: 96px; }
.cmp-h .rc-img img { width: 100%; height: 100%; object-fit: contain; }
.cmp-h .card-title { font-size: var(--text-sm); }
.cmp-share { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmp-table th.cmp-k { text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 767px) { .cmp-table th, .cmp-table td { min-width: calc((100vw - 2 * var(--gutter, 16px) - 92px) / 2); max-width: calc((100vw - 2 * var(--gutter, 16px) - 92px) / 2); padding: 8px; } .cmp-table .cmp-k { min-width: 90px; max-width: 90px; } .cmp-h .rc-img { width: 72px; height: 72px; } }
.scan-box { display: grid; gap: 14px; max-width: 560px; }
.scan-cam [hidden] { display: none !important; }   /* .btn's display would otherwise show the hidden stop button */
.scan-cam video { width: 100%; max-height: 50vh; border-radius: var(--radius-lg); background: #000; margin-bottom: 10px; object-fit: cover; }
.scan-form label { display: block; font-size: var(--text-sm); color: var(--color-ink-2); margin-bottom: 6px; }
.scan-form .row { display: flex; gap: 8px; }
.scan-form .input { flex: 1; min-width: 0; }
.scan-privacy { display: flex; gap: 6px; align-items: flex-start; }
.scan-msg:empty { display: none; }

/* ---- idea #29: Black Friday after-check (/black-friday/2026-proverka/) */
.bfc-hero { margin-top: 16px; padding: 20px; border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-line); display: grid; gap: 12px; }
.bfc-big { font-size: var(--text-lg); line-height: 1.3; }
.bfc-big b { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 3vw, 3.75rem); line-height: 1; color: var(--color-deal-ink); letter-spacing: var(--tracking-display); }
.bfc-bar { display: flex; height: 14px; border-radius: var(--radius-pill); overflow: hidden; background: var(--color-surface-2); }
.bfc-seg { display: block; height: 100%; }
.bfc-seg.is-real, .bfc-dot.is-real { background: var(--color-deal); }
.bfc-seg.is-same, .bfc-dot.is-same { background: var(--color-line-strong); }
.bfc-seg.is-raised, .bfc-dot.is-raised { background: var(--color-trap); }
.bfc-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--text-sm); }
.bfc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.bfc-mut { color: var(--color-muted); font-size: var(--text-sm); }
.bfc-note { margin-top: 10px; }
.bfc-h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: 14px; }
.bfc-tbl-wrap { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.bfc-tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.bfc-tbl th, .bfc-tbl td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--color-line); }
.bfc-tbl thead th { color: var(--color-muted); font-weight: 600; vertical-align: bottom; background: var(--color-surface); }
.bfc-tbl th[scope="row"], .bfc-tbl thead th:first-child { text-align: left; position: sticky; left: 0; background: var(--color-surface); white-space: nowrap; }
.bfc-tbl tbody tr:last-child > * { border-bottom: 0; }
.bfc-nowrap { white-space: nowrap; }
.bfc-top { padding-left: 1.4em; display: grid; gap: 12px; }
.bfc-top a { font-weight: 600; }
.bfc-pct { margin-left: 8px; font-weight: 700; color: var(--color-deal-ink); white-space: nowrap; }
.bfc-rule { max-width: 72ch; color: var(--color-ink-2); }

/* site-wide e-mail sign-up in the footer (13 Nov 2026) */
.ftr-signup { margin: 0 0 32px; }
.ftr-signup h2 { font-size: 1.35rem; margin: 6px 0 4px; }

/* „Нова цена“ mark: a real drop against our own daily history (15 Nov 2026). Info blue, so it never reads as the shop's own % sticker */
.new-price { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--color-info-soft); color: var(--color-info); font-weight: 700; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; width: fit-content; }
.pp-new { margin: 8px 0 0; color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.5; }
.pp-new .new-price { margin: 0 6px 0 0; vertical-align: 1px; }

/* ---------- home add-on cards (16 Nov 2026): Поевтинети оваа недела + Подароци по буџет ---------- */
.feat-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .feat-cards { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; } }
.fc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: var(--radius-lg); border: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.fc::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fc-drops { background: var(--color-surface); }
.fc-drops::before { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--color-deal) 22%, transparent) 0, transparent 60%); }
.fc-gifts { background: var(--color-surface); }
.fc-gifts::before { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--color-primary) 26%, transparent) 0, transparent 60%); }
a.fc:hover, .fc-gifts:has(.fc-main:hover) { border-color: var(--color-line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.18)); color: var(--color-ink); }
.fc-main { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.fc-main:hover { color: inherit; }
.fc-kick { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 700; letter-spacing: .01em; }
.fc-drops .fc-kick { color: var(--color-deal-ink); }
.fc-gifts .fc-kick { color: var(--color-link); }
.fc-big { font-family: var(--font-display); letter-spacing: var(--tracking-display); line-height: 1.05; font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 600; }
.fc-big .fc-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-big .fc-unit { font-size: .5em; font-weight: 600; color: var(--color-ink-2, var(--color-muted)); letter-spacing: 0; }
.fc-big-t { font-size: clamp(1.5rem, 5vw, 2rem); }
.fc-sub { font-size: var(--text-sm); color: var(--color-muted); max-width: 34ch; }
.fc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; max-width: 360px; }
.fc-thumbs i { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-md); background: #fff; overflow: hidden; font-style: normal; box-shadow: var(--shadow-xs); }
.fc-thumbs i:empty { background: var(--color-surface-2); }
.fc-thumbs i.fc-noimg { background: var(--color-surface-2); }
.fc-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.fc-thumbs em { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: var(--radius-pill); font-style: normal; font-weight: 700; font-size: var(--text-xs); font-variant-numeric: tabular-nums; line-height: 1.5; box-shadow: var(--shadow-xs); }
.fc-drops .fc-thumbs em { background: var(--color-deal-soft); color: var(--color-deal-ink); }
.fc-gifts .fc-thumbs em { background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-line); }
.fc-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: var(--text-sm); color: var(--color-deal-ink); }
.fc-bands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fc-bands .chip { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .fc, a.fc:hover { transition: none; transform: none; } }
