:root {
  --bg: #0b0c0f;
  --bg-2: #12141a;
  --bg-3: #1a1d26;
  --paper: #f3eee3;
  --ink: #ece6d8;
  --muted: #9a9386;
  --faint: #8e877a;
  --brass: #d7a85c;
  --brass-2: #f0d09a;
  --signal: #e85d04;
  --signal-accessible: #c54a00;
  --wa-green: #25d366;
  --wa-text: #04250d;
  --lime: #c9f04d;
  --good: #86c98a;
  --fair: #e0b45a;
  --poor: #e36754;
  --line: rgba(243, 238, 227, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --radius: 18px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.35) 100%);
}

.app { position: relative; z-index: 3; }

.demo-banner {
  background: var(--lime);
  color: #111;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

nav.top {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(11, 12, 15, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brass);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transform: perspective(200px) rotateY(-18deg);
  box-shadow: 6px 0 0 rgba(215, 168, 92, 0.2);
}
.mark svg { width: 20px; height: 20px; }
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-name span { color: var(--brass); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a, .nav-links button.linkish {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links a:hover, .nav-links button.linkish:hover { color: var(--paper); }
.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px 14px;
  min-height: 44px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.lang-toggle button.on {
  background: var(--paper);
  color: #111;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: scale(0.97);
  filter: brightness(0.94);
}
.btn-wa { background: var(--wa-green); color: var(--wa-text); font-weight: 700; }
.btn-wa:hover { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
.btn-signal { background: var(--signal-accessible); color: #ffffff; }
.btn-brass { background: var(--brass); color: #1a1206; }
.btn-brass:hover { box-shadow: 0 4px 14px rgba(215, 168, 92, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: rgba(243, 238, 227, 0.08);
  border-color: rgba(243, 238, 227, 0.25);
}
.btn-lime { background: var(--lime); color: #111; }
.btn[disabled], .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

:focus-visible {
  outline: 2px solid var(--brass) !important;
  outline-offset: 2px !important;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass) !important;
  outline-offset: 2px !important;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 28px 12px;
  align-items: start;
}
.kicker {
  color: var(--brass);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  white-space: pre-line;
  margin-bottom: 20px;
}
.hero p.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stage-wrap {
  height: auto;
  position: relative;
  user-select: none;
}
.stage-hint {
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.coverflow {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.coverflow:active { cursor: grabbing; }
.cf-card {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.cf-card:hover { transform: translateY(-8px); }
.cf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cf-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.cf-card .meta small { color: var(--brass-2); letter-spacing: 0.14em; font-size: 10px; }
.cf-card .meta strong { display: block; font-family: var(--serif); font-size: 18px; }
.cf-nav {
  position: absolute;
  top: 46%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.cf-nav button {
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.4);
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 8px 0 0;
}
.stat {
  background: var(--bg);
  padding: 22px 28px;
}
.stat b {
  font-family: var(--serif);
  font-size: 28px;
  display: block;
}
.stat span { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 36px 28px;
}
.trust article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.trust h3 { font-size: 15px; margin-bottom: 8px; }
.trust p { color: var(--muted); font-size: 13px; }

.inventory { padding: 12px 28px 80px; }
.inv-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.inv-head h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}
.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}
.filters input, .filters select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.filters input:focus, .filters select:focus { border-color: var(--brass); }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.view-toggle button.on { color: #111; background: var(--paper); }

.countline { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s linear, box-shadow 0.2s;
  will-change: transform;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.card .shot {
  height: 200px;
  overflow: hidden;
  background: #0a0a0c;
}
.card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.6s ease;
}
.card:hover .shot img { transform: scale(1.1); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.65);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.badge.e { left: auto; right: 12px; background: var(--lime); color: #111; }
.badge.pair { left: auto; right: 12px; top: 12px; background: var(--brass); color: #1a1206; }
.badge.e + .badge.pair, .shot .badge.pair { top: 40px; }
.badge.res { background: var(--fair); color: #111; }
.badge.sold { background: #474b57; color: #fff; }
.card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.refcode { color: var(--brass); font-size: 11px; letter-spacing: 0.16em; }
.card h3 { font-size: 16px; margin: 4px 0 8px; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.cond-like-new { color: var(--lime); }
.cond-excellent { color: var(--good); }
.cond-good { color: #b7d6c0; }
.cond-fair { color: var(--fair); }
.cond-project, .cond-reserved { color: var(--poor); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; }
.price { font-family: var(--serif); font-size: 26px; }
.bidlet { font-size: 12px; color: var(--muted); text-align: right; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.card-actions .btn { flex: 1; justify-content: center; padding: 10px 10px; min-height: 44px; }

.deck-wrapper {
  position: relative;
  width: 100%;
}
.deck {
  perspective: 1600px;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.deck-item {
  position: absolute;
  width: min(340px, 86vw);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease, filter 0.35s ease;
  will-change: transform, opacity;
}
.deck-item.side {
  cursor: pointer;
  filter: brightness(0.65);
}
.deck-item.side:hover {
  filter: brightness(0.85);
}
.deck-item.active {
  cursor: default;
  filter: none;
}
.deck-item.active .card {
  box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 0 2px rgba(215, 168, 92, 0.45);
}
.deck-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.deck-toolbar .deck-nav {
  min-width: 110px;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.deck-toolbar .deck-nav:hover {
  background: var(--line);
  color: var(--paper);
}
.deck-status {
  text-align: center;
  min-width: 190px;
}
.deck-status strong {
  display: block;
  font-size: 14px;
  color: var(--paper);
}
.deck-status span {
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.08em;
}
@media (max-width: 480px) {
  .deck-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
  }
  .deck-status {
    grid-column: 1 / -1;
    order: -1;
    min-width: 0;
    margin-bottom: 4px;
  }
  .deck-toolbar .deck-nav {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
}
.deck-tip {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 24px;
}

.how, .faq, .footer {
  padding: 64px 28px;
}
.how { border-top: 1px solid var(--line); }
.how h2, .faq h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  margin-bottom: 10px;
}
.lead-s { color: var(--muted); max-width: 60ch; margin-bottom: 28px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 200px;
}
.num {
  font-family: var(--serif);
  color: var(--brass);
  font-size: 28px;
}
.step h3 { margin: 8px 0; }
.step p { color: var(--muted); font-size: 14px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 8px; max-width: 70ch; }

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Product */
.product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 24px 28px 80px;
}
.backlink {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  margin-bottom: 12px; font-size: 13px;
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px 6px 0;
}
.viewer {
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #08090b;
  position: relative;
  touch-action: pan-y;
}
.viewer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08090b;
  opacity: 0;
  transition: opacity .55s ease;
  will-change: opacity, transform;
}
.viewer-img.is-on {
  opacity: 1;
  z-index: 1;
  animation: ken 9s ease-out forwards;
}
@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.grid .card {
  animation: rise .55s cubic-bezier(.22,.61,.36,1) both;
}
.grid .card:nth-child(1) { animation-delay: .02s; }
.grid .card:nth-child(2) { animation-delay: .06s; }
.grid .card:nth-child(3) { animation-delay: .1s; }
.grid .card:nth-child(4) { animation-delay: .14s; }
.grid .card:nth-child(5) { animation-delay: .18s; }
.grid .card:nth-child(6) { animation-delay: .22s; }
::view-transition-old(root) { animation: fade-out .32s ease both; }
::view-transition-new(root) { animation: fade-in .42s ease both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .viewer-img.is-on { animation: none; }
  .grid .card { animation: none; }
  .coverflow { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
.viewer-tools {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
  color: var(--paper);
  font-size: 12px;
}
.viewer-tools button {
  min-width: 44px;
  min-height: 44px;
}
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.studio-thumb { position: relative; }
.studio-thumb span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7); color: var(--brass-2);
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 0;
}
.cf-card .badge.pair { top: 12px; right: 12px; left: auto; }
.thumbs button {
  width: 92px; height: 64px; padding: 0; border-radius: 10px;
  overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #000;
}
.thumbs button.on { border-color: var(--brass); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  position: sticky;
  top: 88px;
}
.buybox h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  margin: 6px 0 10px;
}
.ask { font-family: var(--serif); font-size: 42px; }
.ask small { font-size: 14px; color: var(--muted); margin-left: 8px; }
.bid-form { display: grid; gap: 8px; margin: 14px 0; }
.bid-form input {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 12px;
  padding: 12px;
}
.contact-row { display: flex; flex-direction: column; gap: 8px; }
.note, .defect {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  font-size: 14px;
  color: var(--muted);
}
.defect { border: 1px solid rgba(212, 93, 74, 0.35); color: #f0d0c8; }
.specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
.specs th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 0; width: 40%; }
.specs td { padding: 8px 0; border-bottom: 1px solid var(--line); }

.compare-tray {
  position: fixed;
  left: 16px; right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 35;
  background: rgba(18,20,26,.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
  display: none;
  gap: 12px;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-tray.show { display: flex; }
.compare-tray img { width: 50px; height: 38px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.compare-tray .sp { flex: 1; color: var(--muted); font-size: 13px; }

@media (max-width: 600px) {
  .compare-tray {
    padding: 8px 12px;
    gap: 8px;
    overflow-x: visible;
  }
  .compare-tray .sp {
    display: none !important;
  }
  .compare-tray img {
    width: 38px;
    height: 30px;
  }
  #cmp-open-btn {
    padding: 8px 10px;
    font-size: 12px;
    margin-left: auto;
  }
  #cmp-clear {
    padding: 6px 8px;
    font-size: 11px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.modal-overlay[hidden] {
  display: none !important;
}
.compare-modal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(1060px, 98vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  animation: cmpModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cmpModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.compare-modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}
.compare-modal-header h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.compare-modal-body {
  padding: 20px;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th.row-label {
  width: 140px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.35);
  position: sticky;
  left: 0;
  z-index: 2;
}
.compare-col-header {
  text-align: center;
}
.compare-col-header img {
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}
.compare-col-header h3 {
  font-size: 15px;
  margin: 4px 0 6px;
}
.compare-col-header .price {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 10px;
}
.compare-remove-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: underline;
}
.compare-remove-btn:hover {
  color: var(--signal);
}

.compare-modal-footer {
  padding: 14px 22px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cmp-advice-text strong {
  display: block;
  font-size: 14px;
  color: var(--paper);
}
.cmp-advice-text span {
  font-size: 12px;
  color: var(--muted);
}

.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 20px 0 16px;
  padding: 14px 16px;
  background: rgba(18, 20, 26, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--paper);
}
.product-trust-item span.pt-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.product-trust-item strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
}
.product-trust-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

body:has(.compare-tray.show) .toast {
  bottom: calc(max(16px, env(safe-area-inset-bottom, 16px)) + 64px);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--paper);
  color: #111;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 40;
  max-width: min(90vw, 420px);
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty { color: var(--muted); padding: 40px 0; text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .product { display: flex; flex-direction: column; }
  .product > div:first-child { display: contents; }
  .viewer { order: 1; }
  .thumbs { order: 2; }
  .buybox { order: 3; margin-top: 16px; margin-bottom: 24px; position: static; }
  .note { order: 4; }
  .defect { order: 5; }
  .specs { order: 6; }
  .trust, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  nav.top { padding: 0 14px; }
  .nav-links a.hide-sm { display: none; }
  .hero, .inventory, .how, .faq, .footer, .product { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 680px) {
  .viewer {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 380px;
  }
  .thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .thumbs button {
    flex: 0 0 76px;
    width: 76px;
    height: 54px;
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .trust, .steps, .stats { grid-template-columns: 1fr; }
  .brand-name { letter-spacing: 0.08em; font-size: 16px; }
  .cf-card { width: 220px; height: 300px; flex-basis: 220px; }
}
@media (max-width: 420px) {
  nav.top { padding: 0 10px; gap: 8px; }
  .brand-name { font-size: 15px; }
  .mark { width: 30px; height: 30px; }
  .btn-wa { padding: 8px 10px; font-size: 12px; }
  .lang-toggle button { padding: 8px 8px; font-size: 11px; min-height: 36px; }
}

/* ---------- Favorites, Social Proof & Urgency ---------- */
.btn-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 13, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  padding: 0;
}
.btn-card-fav:hover {
  background: rgba(20, 22, 24, 0.95);
  transform: scale(1.12);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.5);
}
.btn-card-fav.active {
  background: rgba(220, 38, 38, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}
.btn-card-fav svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.btn-card-fav.active svg {
  fill: #ef4444;
  transform: scale(1.1);
}

.sp-interest-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 6px;
  width: fit-content;
}

.btn-fav-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-fav-filter:hover {
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}
.btn-fav-filter.active {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.28);
}

.btn-buybox-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-buybox-fav:hover {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.btn-buybox-fav.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}

.social-urgency-box {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.urgency-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.urgency-flame {
  font-size: 18px;
  display: inline-block;
  animation: flamePulse 2s infinite ease-in-out;
}
@keyframes flamePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
.urgency-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fb923c;
}
.urgency-stats {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.45;
}
.urgency-stats strong {
  color: #fff;
}
.urgency-callout {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(249, 115, 22, 0.25);
  font-size: 12px;
  color: #fed7aa;
  line-height: 1.4;
}

/* Visitor counter */
.visitor-count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
