/* =========================================================
   LowPopGaveMeFOMO — styles
   Colours live in :root. Change them here and the whole site follows.
   ========================================================= */
/* ---------- Fonts (stored in /fonts, no outside service needed) ---------- */
@font-face { font-family: "Bubblegum Sans"; font-weight: 400; font-display: swap; src: url("../fonts/bubblegum-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bubblegum Sans"; font-weight: 400; font-display: swap; src: url("../fonts/bubblegum-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --line: #262626;
  --text: #f4f1ea;
  --muted: #9b958a;
  --yellow: #ffc72c;
  --orange: #f28c28;
  --flame: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  /* Neon glow (soft at rest, stronger on hover) */
  --neon: 255, 199, 44;        /* the yellow, as RGB for glows */
  --glow-soft: 0 0 12px rgba(var(--neon), .22);
  --glow-hover: 0 0 10px rgba(var(--neon), .55), 0 0 28px rgba(var(--neon), .35);
  --radius: 14px;
  --font-title: "Bubblegum Sans", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Bubblegum Sans", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: #08080a; }
body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: url("../images/brand/favicon-64.png") center / cover no-repeat;
}
.brand-name {
  font-family: var(--font-title); font-weight: 800; font-size: 18px;
  letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name .accent { background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--flame); color: #140a00; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); }
.btn-outline:hover { background: rgba(255, 201, 60, 0.08); }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ---------- Intro ---------- */
.intro { padding: 40px 0 8px; }
.intro h1 {
  margin: 0 0 8px; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(30px, 5vw, 48px); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em;
}
.intro p { margin: 0; color: var(--muted); max-width: 620px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; margin: 28px 0 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; font-family: var(--font-title); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.tab:hover { color: var(--text); border-color: #3a3a3a; }
.tab[aria-selected="true"] { color: #140a00; background: var(--flame); border-color: transparent; }
.tab-count { opacity: .7; font-weight: 600; margin-left: 2px; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 10px; margin-bottom: 26px; }
.search, .sort {
  font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; outline: none;
}
.search { flex: 1; min-width: 0; }
.search:focus, .sort:focus { border-color: var(--orange); }
.sort { flex: none; cursor: pointer; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; } }

.card { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.card-media {
  position: relative; width: 100%; aspect-ratio: 5 / 7;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 40%, #1c1c1c 0%, #0f0f0f 70%);
  overflow: hidden;
}
.card-media img {
  width: 86%; height: 92%; object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .6));
  transition: transform .25s ease;
}
.card-media img { transform: scale(1); transform-origin: 50% 50%; transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; will-change: transform; }
.card:hover .card-media img, .card:focus-visible .card-media img { transform: scale(1.08); filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)); }
.card-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; transition: box-shadow .2s ease;
}
.card:hover .card-media::after { box-shadow: inset 0 0 0 1.5px var(--orange); }

/* Every title uses the same size, case and 2-line box, so rows always line up */
.card-title {
  margin: 16px 0 6px; width: 100%;
  font-family: var(--font-title); font-weight: 700; font-size: 15px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.3em * 2);
}
@media (min-width: 720px) { .card-title { font-size: 16px; } }
.card-price { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: 16px; color: var(--yellow); }
.card-price .cur { color: var(--muted); font-size: .8em; font-weight: 600; margin-left: 3px; }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-family: var(--font-title); font-weight: 800; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.badge-sold { background: #2a2a2a; color: var(--text); }
.badge-new { background: var(--flame); color: #140a00; }
.card.is-sold .card-media img { opacity: .35; filter: grayscale(1); }
.card.is-sold .card-price { color: var(--muted); text-decoration: line-through; }

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

/* ---------- Product page ---------- */
.back { display: inline-block; margin: 26px 0 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--yellow); }
.product { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 880px) { .product { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }

.gallery-main {
  aspect-ratio: 5 / 7; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, #1d1d1d 0%, #0e0e0e 72%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gallery-main img { width: 84%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.65)); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 64px; aspect-ratio: 5 / 7; padding: 4px; border-radius: 10px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--orange); }

.p-kicker { margin: 0 0 10px; font-family: var(--font-title); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.p-title { margin: 0 0 14px; font-family: var(--font-title); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; text-transform: uppercase; }
.p-price { margin: 0 0 22px; font-family: var(--font-title); font-weight: 700; font-size: 30px; color: var(--yellow); }
.p-price .cur { font-size: .55em; color: var(--muted); margin-left: 6px; }
.p-sold { display: inline-block; margin: 0 0 22px; padding: 6px 12px; border-radius: 999px; background: #2a2a2a; font-family: var(--font-title); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.specs { margin: 0 0 22px; border-top: 1px solid var(--line); }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; font-weight: 500; }
.spec dd a { color: var(--yellow); }

.p-desc { margin: 0 0 26px; color: #d8d3c8; white-space: pre-line; }
.actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) { .actions { flex-direction: row; flex-wrap: wrap; } }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.fine strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; font-size: 14px; color: #cfcac0; }
.site-footer p { margin: 0 0 8px; max-width: 760px; }
.muted { color: var(--muted); }

/* ---------- Phone adjustments ---------- */
@media (max-width: 480px) {
  .brand-name { font-size: 15px; }
  .brand-mark { width: 24px; height: 24px; }
  .header-inner .btn-small { padding: 7px 12px; font-size: 12px; }
  .tab { flex: 1; padding: 10px 8px; font-size: 13px; letter-spacing: .03em; text-align: center; }
  .sort { max-width: 42%; }
  .card-title { font-size: 13px; margin-top: 12px; }
  .card-price { font-size: 15px; }
}

/* ---------- Neon layer: soft glow at rest, lights up on hover ---------- */
a, button, .card-media, .search, .sort, .thumb { transition: box-shadow .25s ease, border-color .25s ease, color .2s ease, text-shadow .25s ease, filter .25s ease, transform .2s ease, background .2s ease; }

/* Always-on subtle neon */
.brand-name .accent { filter: drop-shadow(0 0 5px rgba(var(--neon), .35)); }
.neon { color: var(--yellow); text-shadow: 0 0 14px rgba(var(--neon), .35); }
.tab[aria-selected="true"] { box-shadow: var(--glow-soft); }
.btn-primary { box-shadow: var(--glow-soft); }
.btn-outline { box-shadow: inset 0 0 0 1.5px var(--yellow), var(--glow-soft); }
.card-price, .p-price { text-shadow: 0 0 10px rgba(var(--neon), .22); }
.site-header { border-bottom-color: rgba(var(--neon), .14); }

/* Light up on hover / keyboard focus */
.brand:hover .brand-name .accent { filter: drop-shadow(0 0 9px rgba(var(--neon), .8)); }
.brand:hover .brand-mark { filter: drop-shadow(0 0 8px rgba(var(--neon), .7)); }

.card:hover .card-media, .card:focus-visible .card-media { box-shadow: var(--glow-hover); }
.card:hover .card-media::after, .card:focus-visible .card-media::after { box-shadow: inset 0 0 0 1.5px var(--yellow); }
.card:hover .card-title { color: #fff; text-shadow: 0 0 12px rgba(var(--neon), .35); }
.card:hover .card-price { text-shadow: 0 0 12px rgba(var(--neon), .6); }
.card:focus-visible { outline: none; }

.tab:hover, .tab:focus-visible { color: var(--yellow); border-color: var(--yellow); box-shadow: var(--glow-hover); outline: none; }
.tab[aria-selected="true"]:hover { color: #140a00; }

.btn-primary:hover, .btn-primary:focus-visible { box-shadow: var(--glow-hover); filter: brightness(1.08); outline: none; }
.btn-outline:hover, .btn-outline:focus-visible { box-shadow: inset 0 0 0 1.5px var(--yellow), var(--glow-hover); text-shadow: 0 0 8px rgba(var(--neon), .6); outline: none; }

.search:hover, .sort:hover { border-color: rgba(var(--neon), .6); box-shadow: var(--glow-soft); }
.search:focus, .sort:focus { border-color: var(--yellow); box-shadow: var(--glow-hover); }

.back:hover, .back:focus-visible { color: var(--yellow); text-shadow: 0 0 10px rgba(var(--neon), .6); outline: none; }
.spec dd a:hover { text-shadow: 0 0 10px rgba(var(--neon), .7); }
.thumb:hover { border-color: var(--yellow); box-shadow: var(--glow-hover); }
.gallery-main { transition: box-shadow .3s ease; }
.gallery-main:hover { box-shadow: 0 0 30px rgba(var(--neon), .18); }

/* Phones have no cursor: light the card while it's being tapped */
@media (hover: none) {
  .card:active .card-media { box-shadow: var(--glow-hover); }
}

/* Respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Logo ---------- */
.logo { display: block; height: 66px; width: auto; }
.brand { transition: filter .25s ease; }
.brand:hover .logo, .brand:focus-visible .logo { filter: drop-shadow(0 0 10px rgba(var(--neon), .55)); }
@media (max-width: 480px) { .header-inner { height: 64px; } .logo { height: 40px; } }

/* ---------- Toolbar + grid size switch ---------- */
.toolbar { flex-wrap: wrap; align-items: stretch; }
.density { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.dens {
  width: 38px; border: 0; border-radius: 7px; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--muted);
}
.dens:hover { color: var(--yellow); box-shadow: var(--glow-soft); }
.dens[aria-pressed="true"] { background: var(--flame); color: #140a00; box-shadow: var(--glow-soft); }
@media (max-width: 600px) {
  .search { flex: 1 1 100%; }
  .sort { flex: 1; max-width: none; }
  .dens { width: 34px; }
}

/* Medium: 3 / 4 / 6 per row */
.grid[data-density="m"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
@media (min-width: 720px) { .grid[data-density="m"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; } }
@media (min-width: 1040px) { .grid[data-density="m"] { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 20px; } }
.grid[data-density="m"] .card-title { font-size: 12px; margin-top: 10px; }
.grid[data-density="m"] .card-price { font-size: 13px; }
@media (min-width: 720px) { .grid[data-density="m"] .card-title { font-size: 13px; } .grid[data-density="m"] .card-price { font-size: 14px; } }

/* Small: 4 / 6 / 8 per row, one-line titles */
.grid[data-density="s"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
@media (min-width: 720px) { .grid[data-density="s"] { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; } }
@media (min-width: 1040px) { .grid[data-density="s"] { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 26px 16px; } }
.grid[data-density="s"] .card-title { font-size: 10px; margin: 8px 0 3px; -webkit-line-clamp: 1; min-height: 1.3em; }
.grid[data-density="s"] .card-price { font-size: 11px; }
@media (min-width: 720px) { .grid[data-density="s"] .card-title { font-size: 11px; } .grid[data-density="s"] .card-price { font-size: 12px; } }

/* See everything: 5 / 8 / 12 per row, photo + price only (full title on hover) */

/* Smaller tiles: smaller corners and tags */
.grid[data-density="s"] .card-media { border-radius: 9px; }
.grid[data-density="s"] .card-media::after::after { border-radius: 9px; }
.grid[data-density="m"] .badge { font-size: 9px; padding: 3px 7px; top: 7px; left: 7px; }
.grid[data-density="s"] .badge { font-size: 7px; padding: 2px 5px; top: 5px; left: 5px; letter-spacing: .04em; }

/* ---------- Background: warm spotlight, faint grid, film grain ---------- */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background:
    radial-gradient(1100px 560px at 50% -180px, rgba(255, 199, 44, .14), transparent 70%),
    radial-gradient(760px 620px at 108% 18%, rgba(242, 140, 40, .07), transparent 70%),
    radial-gradient(720px 620px at -8% 78%, rgba(255, 199, 44, .045), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
}
body::after {
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.site-header { background: rgba(8, 8, 10, .72); }
.site-footer { background: rgba(0, 0, 0, .35); }
.card-media { background: radial-gradient(ellipse at 50% 35%, #1f1f1f 0%, #101010 62%, #0b0b0b 100%); }
.search, .sort, .density, .tab:not([aria-selected="true"]) { background: rgba(20, 20, 20, .78); backdrop-filter: blur(6px); }

/* ---------- Product page (name, price, cert, one button) ---------- */
.info { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 880px) { .info { position: sticky; top: 110px; padding-top: 18px; } }
.p-title { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
.p-price { font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 26px; }
.p-cert {
  display: flex; flex-direction: column; gap: 4px; margin: 0 0 30px; padding: 16px 20px; min-width: 240px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 20, 20, .7);
}
.p-cert-label { font-family: var(--font-title); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-cert-num { font-family: var(--font-title); font-weight: 700; font-size: 22px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.p-desc { margin-bottom: 30px; }
.btn-cta { padding: 18px 34px; font-size: 16px; letter-spacing: .06em; }
@media (max-width: 520px) { .btn-cta { width: 100%; } .p-cert { width: 100%; } }
/* Keep the whole slab photo on screen on laptops */
@media (min-width: 880px) { .gallery { width: 100%; max-width: calc((100vh - 170px) * 5 / 7); justify-self: center; } }
.btn-cta { text-align: center; }
@media (max-width: 520px) { .btn-cta { padding: 17px 16px; font-size: 15px; letter-spacing: .04em; } }

/* ---------- Stronger branded background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
/* sunburst rays echoing the logo, fading out from the top */
.bg-fx::before {
  content: ""; position: absolute; left: 50%; top: calc(-95vmax - 14vh); width: 190vmax; height: 190vmax; transform: translateX(-50%);
  background: repeating-conic-gradient(from -4deg at 50% 50%, rgba(255, 199, 44, .085) 0deg 4deg, transparent 4deg 13deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 22%, rgba(0,0,0,.35) 32%, transparent 42%);
          mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 22%, rgba(0,0,0,.35) 32%, transparent 42%);
}
/* slow-breathing warm glows */
.bg-fx::after {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(52% 38% at 50% 0%, rgba(255, 199, 44, .24), transparent 70%),
    radial-gradient(36% 42% at 100% 26%, rgba(242, 140, 40, .15), transparent 72%),
    radial-gradient(34% 40% at 0% 64%, rgba(255, 199, 44, .09), transparent 72%),
    radial-gradient(44% 30% at 60% 104%, rgba(242, 140, 40, .12), transparent 72%);
  animation: bg-breathe 14s ease-in-out infinite alternate;
}
@keyframes bg-breathe {
  from { opacity: .8; transform: translate3d(0, 0, 0) scale(1); }
  to   { opacity: 1;  transform: translate3d(0, 1.5%, 0) scale(1.04); }
}
/* edge vignette keeps the eye on the products */
body::before {
  background:
    radial-gradient(ellipse 130% 100% at 50% 30%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px;
}
@media (prefers-reduced-motion: reduce) { .bg-fx::after { animation: none; } }

/* ---------- Bubblegum Sans everywhere ---------- */
/* The font has a single weight: never fake bold, it looks smudged */
body, button, input, select { font-family: var(--font-body); font-synthesis: none; }
.intro h1, .card-title, .card-price, .p-title, .p-price, .p-cert-label, .p-cert-num, .tab, .btn, .badge, .p-sold { font-weight: 400 !important; }
body { font-size: 17px; letter-spacing: .01em; }
.intro h1 { letter-spacing: .02em; }
.card-title { letter-spacing: .04em; line-height: 1.25; }
.tab, .btn { letter-spacing: .07em; }
.p-cert-num { letter-spacing: .08em; font-size: 24px; }
.search, .sort { font-size: 15px; letter-spacing: .02em; }

/* ---------- Header contact icons ---------- */
.contact-icons { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--yellow); background: rgba(20, 20, 20, .6);
  box-shadow: inset 0 0 0 1.5px var(--yellow), var(--glow-soft); text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--flame); color: #140a00; box-shadow: var(--glow-hover); transform: translateY(-1px); outline: none; }
@media (max-width: 480px) { .icon-btn { width: 38px; height: 38px; } .icon-btn svg { width: 17px; height: 17px; } .contact-icons { gap: 8px; } }

/* ---------- Header spans the full screen: logo far left, icons far right ---------- */
.site-header .header-inner { max-width: none; padding-left: 20px; padding-right: 20px; }
@media (min-width: 720px) { .site-header .header-inner { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1400px) { .site-header .header-inner { padding-left: 44px; padding-right: 44px; } }

/* =========================================================
   Selling features (kept slim and consistent)
   ========================================================= */

/* How-to-buy steps under the title */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 15px; color: #d9d3c6; }
.steps li { display: flex; align-items: center; gap: 8px; }
.step-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--flame); color: #140a00; box-shadow: var(--glow-soft); flex: none; }
.steps-more a { color: var(--yellow); text-decoration: none; }
.steps-more a:hover { text-shadow: 0 0 10px rgba(var(--neon), .6); }

/* Prices: small USD line */
.usd { display: block; margin-top: 2px; font-size: .78em; color: var(--muted); text-shadow: none; }
.p-price .usd { font-size: .5em; margin-top: 6px; letter-spacing: .03em; }
.grid[data-density="s"] .usd { display: none; }

/* Pop badge (top-right of the tile) */
.badge-pop { left: auto; right: 10px; background: rgba(10,10,10,.82); color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(var(--neon), .5); }
.grid[data-density="m"] .badge-pop { right: 7px; }
.grid[data-density="s"] .badge-pop-pop { display: none; }

/* Bottom bands: recently sold, reviews, want list */
.band { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); }
.band-title { margin: 0 0 18px; font-family: var(--font-title); font-size: 22px; text-transform: uppercase; letter-spacing: .06em; }
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.mini { flex: none; width: 118px; text-decoration: none; scroll-snap-align: start; }
.mini-media { position: relative; aspect-ratio: 5 / 7; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #1f1f1f, #0b0b0b); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.mini-media img { width: 86%; height: 92%; object-fit: contain; opacity: .55; filter: grayscale(.6); transition: opacity .25s ease, filter .25s ease; }
.mini:hover .mini-media img { opacity: 1; filter: none; }
.mini .badge { font-size: 8px; padding: 2px 6px; top: 6px; left: 6px; }
.mini-title { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.want { display: grid; gap: 18px; align-items: center; }
@media (min-width: 980px) { .want { grid-template-columns: 1fr 2fr; } }
.want .band-title { margin-bottom: 6px; }
.want-text p { margin: 0; }
.want-form { display: flex; flex-wrap: wrap; gap: 10px; }
.field { flex: 2 1 220px; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: rgba(20,20,20,.78); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none; }
.field-small { flex: 1 1 120px; }
.field:hover { border-color: rgba(var(--neon), .6); }
.field:focus { border-color: var(--yellow); box-shadow: var(--glow-hover); }
.want-form .btn { flex: 0 0 auto; padding: 12px 26px; }

/* Footer */
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #d9d3c6; text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--yellow); text-shadow: 0 0 10px rgba(var(--neon), .5); }
.site-footer .muted { margin: 0; font-size: 13px; }

/* Product page: cert box with pop + verify, helper links, toast */
.p-cert { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px; }
.p-cert-main, .p-cert-pop { display: flex; flex-direction: column; gap: 4px; }
.p-verify { margin-left: auto; align-self: center; font-size: 14px; color: var(--yellow); text-decoration: none; white-space: nowrap; }
.p-verify:hover { text-shadow: 0 0 10px rgba(var(--neon), .6); }
.p-helpers { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.link-btn { font: inherit; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 4px; }
.link-btn:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 50; background: var(--flame); color: #140a00; padding: 12px 22px; border-radius: 999px; box-shadow: var(--glow-hover); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Info + thanks pages */
.narrow { max-width: 820px; }
.center { text-align: center; padding-top: 60px; }
.page-title { margin: 6px 0 28px; font-family: var(--font-title); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; text-transform: uppercase; }
.info-block { padding: 24px 0; border-top: 1px solid var(--line); }
.info-block h2 { margin: 0 0 12px; font-family: var(--font-title); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.info-block ul, .info-block ol { margin: 0; padding-left: 20px; color: #ddd7ca; }
.info-block li { margin: 8px 0; }
.info-block strong { color: var(--text); font-weight: 400; text-decoration: underline; text-decoration-color: rgba(var(--neon), .45); text-underline-offset: 4px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .info-actions .btn { width: 100%; } .want-form .btn { width: 100%; } }


/* =========================================================
   THEME: baby blue background, yellow highlights, navy blue layer
   main #9fd6f5 · secondary #ffc72c · layer #0f2a3d
   ========================================================= */

html { background:#9fd6f5 !important; }
:root { --text:#0d1216; --muted:#405764; --line:rgba(13,18,22,0.16); --yellow:#ffc72c; --orange:#e0af27; --flame:linear-gradient(135deg, #ffc72c 0%, #e0af27 100%);
  --neon:255,199,44; --glow-soft:0 0 12px rgba(255,199,44,0.25); --glow-hover:0 0 10px rgba(255,199,44,0.6),0 0 28px rgba(255,199,44,0.35); }
body::before { background: linear-gradient(rgba(255,255,255,0.3) 1px,transparent 1px) 0 0/56px 56px, linear-gradient(90deg,rgba(255,255,255,0.3) 1px,transparent 1px) 0 0/56px 56px !important;
  -webkit-mask-image:none;mask-image:none; }
body::after { opacity:0.03; }
.bg-fx::before { background: repeating-conic-gradient(from -4deg at 50% 50%, rgba(255,255,255,0.32) 0deg 4deg, transparent 4deg 13deg) !important; }
.bg-fx::after { background: radial-gradient(52% 38% at 50% 0%, rgba(255,255,255,0.55), transparent 70%), radial-gradient(36% 42% at 100% 26%, rgba(255,199,44,0.22), transparent 72%), radial-gradient(34% 40% at 0% 64%, rgba(15,42,61,0.25), transparent 72%) !important; }
.site-header { background:#0f2a3d !important; border-bottom:0 !important; }
.icon-btn { color:#ffc72c !important; background:transparent !important; box-shadow: inset 0 0 0 1.5px #ffc72c !important; }
.icon-btn:hover { background:#ffc72c !important; color:#0d1216 !important; box-shadow: inset 0 0 0 1.5px #ffc72c, 0 0 18px rgba(255,199,44,0.5) !important; }
.site-footer { background:#0f2a3d !important; color:#f4f1ea !important; border-top:0 !important; }
.site-footer .muted, .footer-links a { color:#a4abad !important; }
.intro h1, .band-title, .p-title, .page-title { color:#0d1216 !important; }
.neon { color:#0f2a3d !important; text-shadow:none !important; }
.intro p, .muted { color:#405764; }
.steps { color:#0d1216 !important; } .step-n { background:#0f2a3d !important; color:#ffc72c !important; box-shadow:none !important; }
.steps-more a { color:#0f2a3d !important; }
.tab { background:rgba(15,42,61,0.9) !important; color:#a4abad !important; border-color:rgba(13,18,22,0.15) !important; }
.tab[aria-selected="true"] { background:#ffc72c !important; color:#0d1216 !important; border-color:transparent !important; }
.tab:hover { color:#ffc72c !important; border-color:#ffc72c !important; }
.search, .sort, .density, .field { background:rgba(255,255,255,0.72) !important; color:#0d1216 !important; border-color:rgba(13,18,22,0.18) !important; }
.search::placeholder, .field::placeholder { color:#6a6f74 !important; }
.dens { color:#555 !important; } .dens[aria-pressed="true"] { background:#ffc72c !important; color:#0d1216 !important; }
.card-media, .mini-media { background: radial-gradient(ellipse at 50% 35%, #1d3d55 0%, #0f2a3d 70%) !important; box-shadow:0 10px 24px rgba(0,0,0,.25) !important; }
.card-title, .card:hover .card-title { color:#0d1216 !important; text-shadow:none !important; }
.card-price { color:#0f2a3d !important; text-shadow:none !important; }
.card-price .cur, .usd { color:#405764 !important; }
.badge-new { background:#ffc72c !important; color:#0d1216 !important; }
.badge-pop { background:rgba(0,0,0,0.8) !important; color:#ffc72c !important; }
.card:hover .card-media::after { box-shadow: inset 0 0 0 1.5px #ffc72c !important; }
.card:hover .card-media { box-shadow: 0 0 10px rgba(255,199,44,0.6), 0 0 28px rgba(255,199,44,0.35) !important; }
.p-price { color:#0f2a3d !important; text-shadow:none !important; }
.p-cert { background:#0f2a3d !important; border-color:rgba(13,18,22,0.15) !important; }
.p-cert-num { color:#f4f1ea !important; } .p-cert-label { color:#a4abad !important; } .p-verify { color:#ffc72c !important; }
.btn-primary { background:#ffc72c !important; color:#0d1216 !important; }
.gallery-main { background: radial-gradient(ellipse at 50% 40%, #1d3d55 0%, #0f2a3d 72%) !important; border:0 !important; }
.back, .link-btn { color:#405764 !important; }
/* Copy item info / How buying works: stay discreet, turn yellow under the cursor so people see they're clickable */
.link-btn { transition: color .15s ease, text-shadow .15s ease; text-decoration: none !important; }
.link-btn:hover, .link-btn:focus-visible { color:#ffc72c !important;
  text-shadow: -1px -1px 0 #0f2a3d, 1px -1px 0 #0f2a3d, -1px 1px 0 #0f2a3d, 1px 1px 0 #0f2a3d; }
.band { border-top-color:rgba(13,18,22,0.16) !important; }

/* finishing details */
.site-header { background: rgba(15,42,61,.96) !important; }
.card-price, .p-price { color:#0f2a3d !important; }
.badge-sold, .p-sold { background:#0f2a3d !important; color:#fff !important; }
.mini-title { color:#2d5068 !important; }
.mini-media img { opacity:.7; }
.info-block h2 { color:#0f2a3d !important; }
.info-block ul, .info-block ol, .p-desc { color:#1c3a50 !important; }
.info-block strong { color:#0f2a3d !important; text-decoration-color: rgba(15,42,61,.35) !important; }
.btn-outline { color:#0f2a3d !important; box-shadow: inset 0 0 0 1.5px #0f2a3d !important; }
.btn-outline:hover { background: rgba(15,42,61,.08) !important; text-shadow:none !important; }
.toast { background:#ffc72c !important; color:#0f2a3d !important; }
.thumb { background:#0f2a3d !important; border-color: rgba(15,42,61,.3) !important; }
.thumb[aria-current="true"], .thumb:hover { border-color:#ffc72c !important; }
.empty { color:#2d5068; }
.field { color:#0f2a3d !important; }
/* highlighted words: yellow with a navy outline, like the logo */
.neon { color: #ffc72c !important; -webkit-text-stroke: 2.5px #0f2a3d; paint-order: stroke fill; text-shadow: 0 3px 0 #0f2a3d !important; }
@media (max-width: 480px) { .neon { -webkit-text-stroke-width: 2px; text-shadow: 0 2px 0 #0f2a3d !important; } }

/* ---------- Scroll fade ---------- */
/* opacity/position follow the scroll position directly, so no delayed transition on these */
.fade-item { transition: none !important; will-change: opacity, transform; }
/* the header always stays on top and in place; the background never scrolls */
.site-header { position: sticky; top: 0; z-index: 20; }

/* ---------- Search icon that opens the search field ---------- */
.search-toggle {
  flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer; color: #0f2a3d; background: #ffc72c;
  box-shadow: 0 4px 12px rgba(15, 42, 61, .18);
}
.search-toggle:hover, .search-toggle:focus-visible { box-shadow: 0 0 10px rgba(255,199,44,.7), 0 0 26px rgba(255,199,44,.4); outline: none; transform: translateY(-1px); }
.search-toggle .ico-close { display: none; }
.toolbar.search-open .search-toggle { background: #0f2a3d; color: #ffc72c; }
.toolbar.search-open .search-toggle .ico-search { display: none; }
.toolbar.search-open .search-toggle .ico-close { display: block; }

.toolbar .search {
  flex: 0 1 0; min-width: 0; width: 0; padding-left: 0; padding-right: 0; border-width: 0 !important;
  opacity: 0; pointer-events: none;
  transition: flex-basis .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease, padding .35s ease !important;
}
.toolbar.search-open .search {
  flex: 1 1 280px; padding-left: 14px; padding-right: 14px; border-width: 1px !important;
  opacity: 1; pointer-events: auto;
}
/* phones: the field opens on its own full-width line under the buttons */
@media (max-width: 600px) {
  .toolbar .search { order: 10; flex-basis: 100% !important; height: 0; padding-top: 0; padding-bottom: 0; }
  .toolbar.search-open .search { height: 46px; padding-top: 11px; padding-bottom: 11px; }
  .toolbar .sort { flex: 1; }
}
@media (max-width: 600px) { .toolbar:not(.search-open) .search { margin-top: -10px; } }

/* search sits on the right, next to sort + sizes; the field opens to its left */
.toolbar { justify-content: flex-end; }
.toolbar .search { order: 0; margin-right: auto; }
.toolbar.search-open .search { margin-right: 0; }
.toolbar .sort { order: 1; }
.toolbar .density { order: 2; }
.search-toggle { order: 3; }
@media (max-width: 600px) {
  .toolbar .search { order: 10; margin-right: 0; }
  .toolbar .sort { flex: 1; }
}

/* tabs on the left, sort / sizes / search on the right (one line on computers) */
.controls { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 26px; }
.controls .tabs { margin: 0; }
.controls .toolbar { margin: 0; }
@media (min-width: 900px) {
  .controls { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; }
  .controls .toolbar { flex: 1; min-width: 0; }
}

/* ---------- Phone refinements ---------- */
@media (max-width: 600px) {
  /* product page: smaller photo so name, price and the Contact button show on the first screen */
  .product { gap: 18px; }
  .gallery-main { aspect-ratio: auto; height: 46vh; max-height: 420px; }
  .gallery-main img { width: auto; height: 90%; max-width: 88%; }
  .thumbs { justify-content: center; margin-top: 10px; }
  .thumb { width: 48px; }
  .p-title { font-size: 25px; margin-bottom: 8px; }
  .p-price { font-size: 28px; margin-bottom: 16px; }
  .p-cert { margin-bottom: 18px; padding: 12px 16px; }
  .back { margin: 16px 0 12px; }
  /* 3 per row: keep only the POP tag so the tags never overlap */
  .grid[data-density="m"] .badge-new { display: none; }
  .grid[data-density="m"] .badge-pop { right: 5px; top: 5px; font-size: 8px; padding: 2px 6px; }
  /* home: a little tighter so the first slabs show sooner */
  .intro { padding-top: 26px; }
  .steps { gap: 6px 16px; margin-top: 14px; font-size: 14px; }
  .controls { margin: 20px 0 20px; }
}
@media (max-width: 600px) {
  .gallery-main { height: 38vh; max-height: 360px; }
  .thumb { width: 40px; padding: 3px; }
  .thumbs { margin-top: 8px; gap: 8px; }
  .info { display: flex; flex-direction: column; }
  .info .p-title { order: 1; } .info .p-price, .info .p-sold { order: 2; }
  .info .p-cert { order: 3; margin: 0 0 14px; }  /* cert + pop above the button, like on a computer */
  .info .btn-cta { order: 4; margin-bottom: 14px; }
  .info .p-helpers { order: 5; margin: 0 0 18px; justify-content: center; width: 100%; }
  .info .p-desc { order: 6; }
  .p-price { margin-bottom: 14px; }
  .p-price .usd { display: inline; margin-left: 10px; }
}

/* =========================================================
   Photos only: no box behind images (scans have no background)
   ========================================================= */
.card-media, .mini-media, .gallery-main {
  background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
}
.card-media::after { display: none !important; }
.card-media img, .mini-media img, .gallery-main img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(15, 42, 61, .28));
}
.gallery-main img { max-width: 100%; }
/* hover: the photo itself grows and a soft yellow shine spreads around the slab's own edges.
   The photo spot must not clip it (overflow visible), or the shine gets cut into a square (owner, Oct 1 2026).
   min-height 0 keeps the spot's fixed height once it no longer clips. */
.card-media { overflow: visible !important; min-height: 0;
  /* the shine may spread up and to the sides, but never down onto the info label under the photo (owner) */
  clip-path: inset(-60px -60px -12px -60px); transition: clip-path .3s ease; }
.card:hover .card-media, .card:focus-visible .card-media { clip-path: inset(-60px -60px 0 -60px); }
.card-media img { transform-origin: 50% 100%; }  /* grows upward, so its bottom edge stays put */
.card:hover .card-media, .card:focus-visible .card-media { box-shadow: none !important; }
.card:hover .card-media img, .card:focus-visible .card-media img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 199, 44, .85)) drop-shadow(0 0 28px rgba(255, 199, 44, .45)) drop-shadow(0 12px 18px rgba(15, 42, 61, .25));
}
.mini-media img { opacity: .8; }
.thumb { background: rgba(255, 255, 255, .35) !important; border-color: transparent !important; }
.thumb[aria-current="true"], .thumb:hover { border-color: #0f2a3d !important; background: rgba(255, 255, 255, .6) !important; }
/* tags sit on the photo corners */
.card .badge { top: 6px; left: 6px; }
.card .badge-pop { left: auto; right: 6px; }

/* =========================================================
   Product page spacing & alignment (owner's choices, Sept 30)
   ========================================================= */
/* Computer: cert box and Contact button are the same width and line up exactly; the links sit centred under them */
@media (min-width: 601px) {
  .info .p-cert, .info .btn-cta { box-sizing: border-box; width: 100%; max-width: 420px; }  /* room for 4-digit pops */
  .info .btn-cta { display: flex; justify-content: center; }
  .info .p-helpers { box-sizing: border-box; width: 100%; max-width: 420px; justify-content: center; }  /* centred under the cert box and button */
}
/* Computer (two columns): name, price, cert box, button and links are centred vertically beside the photo */
@media (min-width: 880px) {
  .product .info { align-self: center; padding-top: 0; padding-bottom: 0; }
  .product .info > :last-child { margin-bottom: 0; }
}
/* iPhone: more room above the photo, less empty space under the links */
@media (max-width: 600px) {
  .product .back, main:has(#product) .back { margin-top: 22px; margin-bottom: 30px; }
  .product { padding-bottom: 0 !important; }
}
/* Product pages have no footer: the whole block (back link, photo, info) is centred in the screen,
   so the space above it (under the header) matches the space below it */
body:has(#product) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
main:has(#product) { flex: 1 0 auto; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center;
  padding-top: 28px; padding-bottom: 28px; }
main:has(#product) .back { margin-top: 0; }
main:has(#product) .product { padding-bottom: 0 !important; }
/* Computer: the photo never gets taller than the screen, so the page fits without scrolling */
@media (min-width: 880px) {
  main:has(#product) .gallery-main { aspect-ratio: auto; height: min(calc((100vw - 264px) * 0.51 * 1.4), calc(100svh - 190px)); min-height: 420px; }
}
@media (max-width: 600px) {
  main:has(#product) { padding-top: 20px; padding-bottom: 20px; }
  main:has(#product) .back { margin-top: 0; }
}

/* =========================================================
   Discounts: red -% tag + old price crossed out
   ========================================================= */
/* top-right corner of a card: POP tag, and the -% tag stacked under it */
.card .tags-r { position: absolute; top: 6px; right: 6px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; }
.card .tags-r .badge { position: static; }
.badge-off { background: #e0322f !important; color: #fff !important; box-shadow: none !important; }
.was { margin-left: 8px; font-size: .78em; color: #5d7280; text-decoration-thickness: 1.5px; }
.card-price .was { font-size: .75em; }
.p-price .p-off { position: static; display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 13px; padding: 4px 10px; }
/* smaller grid sizes: smaller tags, tighter stack */
.grid[data-density="m"] .tags-r { top: 5px; right: 5px; gap: 3px; }
.grid[data-density="s"] .tags-r { top: 4px; right: 4px; gap: 2px; }
.grid[data-density="s"] .badge-new { display: none; }   /* 4/8 per row: no room for NEW next to POP */
.grid[data-density="s"] .card-price .was { display: none; }  /* the red tag already says it */
@media (max-width: 600px) {
  .grid[data-density="m"] .badge-off { font-size: 8px; padding: 2px 6px; }
  .grid[data-density="m"] .card-price .was { display: none; }
  .p-price .p-off { font-size: 11px; padding: 3px 8px; margin-left: 8px; }
}
/* Slab cert box: one fixed look (owner's choice) whether it shows Pop, Gem rate, both or neither;
   sized so "Verify on PSA" always stays on the same line */
.p-cert { --cg: 20px; column-gap: 20px; padding-left: 16px; padding-right: 16px; }
.p-cert .p-cert-num { font-size: 21px; letter-spacing: .05em; }
@media (max-width: 600px) {
  .p-cert { --cg: 12px; column-gap: 12px; padding-left: 14px; padding-right: 14px; }
  .p-cert .p-cert-num { font-size: 18px; letter-spacing: .03em; }
  .p-cert .p-cert-label { font-size: 10px; letter-spacing: .1em; }
  .p-cert .p-verify { font-size: 13px; }
}

/* Thin grey bars between Cert # | Pop | Gem rate (centred in the gap) */
.p-cert-pop { position: relative; }
.p-cert-pop::before { content: ""; position: absolute; left: calc(var(--cg) / -2); top: 3px; bottom: 3px; width: 1px; background: rgba(255, 255, 255, .18); }
@media (min-width: 385px) and (max-width: 600px) {
  .p-cert { --cg: 16px; column-gap: 16px; }  /* most iPhones: a little more air around the bars */
}

/* Quantity (sealed / raw): small line under the price */
.p-qty { margin: -4px 0 16px; font-family: var(--font-title); font-size: 17px; color: #0f2a3d; letter-spacing: .02em; }
.p-qty::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fae5b; margin-right: 8px; vertical-align: middle; position: relative; top: -2px; }
@media (max-width: 600px) { .info .p-qty { order: 2; margin: -6px 0 14px; font-size: 16px; } }

/* Product page: small "Free shipping if you pay the asking price" line under the price */
.p-ship { display: flex; align-items: center; gap: 7px; margin: -6px 0 16px; font-family: var(--font-title); font-size: 15px; letter-spacing: .02em; }
.p-ship svg { width: 18px; height: 18px; flex: none; color: #0f2a3d; }
.p-ship a { color: #0f2a3d; text-decoration: none; }
.p-ship a:hover { color: #ffc72c; text-shadow: -1px -1px 0 #0f2a3d, 1px -1px 0 #0f2a3d, -1px 1px 0 #0f2a3d, 1px 1px 0 #0f2a3d; }
.p-ship + .p-qty { margin-top: -8px; }
@media (max-width: 600px) { .info .p-ship { order: 2; margin: -8px 0 14px; font-size: 14px; } }
/* Smaller iPhones (mini / SE): slightly smaller photo so the whole slab page still fits one screen */
@media (max-width: 600px) and (max-height: 830px) { main:has(#product) .gallery-main { height: 35vh; } }

/* Raw cards: "contact me" link in the condition sentence */
.p-desc strong { font-weight: 400; color: #0f2a3d; text-decoration: underline; text-decoration-color: rgba(15,42,61,.35); text-underline-offset: 3px; }
.p-desc-link { color: #0f2a3d; text-decoration: underline; text-decoration-color: rgba(15,42,61,.35); text-underline-offset: 3px; }
.p-desc-link:hover { color: #ffc72c; text-shadow: -1px -1px 0 #0f2a3d, 1px -1px 0 #0f2a3d, -1px 1px 0 #0f2a3d, 1px 1px 0 #0f2a3d; text-decoration-color: transparent; }

/* Sealed / raw: description sits right under the price (owner's choice) */
.info .p-price + .p-desc, .info .p-ask + .p-desc { margin: -4px 0 14px; }
@media (max-width: 600px) { .info .p-price + .p-desc, .info .p-ask + .p-desc { order: 2; margin: -6px 0 12px; } }

/* =========================================================
   Cards: frosted white label behind title + price (owner chose option D)
   ========================================================= */
.card-title { color:#0f2a3d !important; background:rgba(255,255,255,.55); border-radius:14px 14px 0 0; margin:12px 0 0 !important; padding:0 8px !important; border-top:10px solid transparent; border-bottom:5px solid transparent; box-sizing:border-box; width:100%; }
.card-price { display:block !important; width:100%; box-sizing:border-box; background:rgba(255,255,255,.55); border-radius:0 0 14px 14px; padding:0 8px 10px; box-shadow:0 10px 18px rgba(15,42,61,.10); }
.grid[data-density="l"] .card-price { font-size:18px !important; }
.grid[data-density="m"] .card-title { border-radius:10px 10px 0 0; border-top-width:7px; padding:0 5px !important; margin-top:9px !important; }
.grid[data-density="m"] .card-price { border-radius:0 0 10px 10px; padding:0 5px 7px; }
.grid[data-density="s"] .card-title { border-radius:8px 8px 0 0; border-top-width:5px; border-bottom-width:2px; padding:0 4px !important; margin-top:7px !important; }
.grid[data-density="s"] .card-price { border-radius:0 0 8px 8px; padding:0 4px 5px; }
.card:hover .card-title, .card:hover .card-price { background:rgba(255,255,255,.75); }
/* labels in the same row get the same height */
.grid .card { display:flex; flex-direction:column; }
.grid .card-price { flex:1 0 auto; }

/* shipping fee tiers on info.html */
.info-block .ship-rates { margin: 6px 0 0; padding-left: 18px; list-style: circle; }
.info-block .ship-rates li { margin: 4px 0; }

/* photo choices always centred under the main photo (owner, Oct 1 2026) */
.thumbs { justify-content: center; }

/* ---------- Contact box (envelope icon): centred card, page blurred behind ---------- */
html.cbox-open, html.cbox-open body { overflow: hidden; }
.cbox-bg { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(15, 42, 61, .28); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .18s ease; }
.cbox-bg.show { opacity: 1; }
.cbox { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; outline: none;
  background: #f6fbff; color: #0f2a3d; border-radius: 22px; padding: 26px 22px 20px;
  box-shadow: 0 24px 60px rgba(15, 42, 61, .35), 0 0 0 2px #0f2a3d; transform: translateY(10px) scale(.98); transition: transform .2s ease; }
.cbox-bg.show .cbox { transform: none; }
.cbox h2 { margin: 0 0 4px; font-family: var(--font-title); font-weight: 400; font-size: 28px; letter-spacing: .02em; color: #0f2a3d; text-align: center; }
.cbox-sub { margin: 0 0 16px; text-align: center; color: #3d5a6e; font-size: 16px; }
.cbox-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent;
  color: #0f2a3d; font-size: 26px; line-height: 1; cursor: pointer; }
.cbox-x:hover { background: rgba(15, 42, 61, .08); }
.cbox-f { display: block; margin: 0 0 12px; }
.cbox-f span { display: block; margin: 0 0 4px 2px; font-size: 15px; letter-spacing: .03em; color: #0f2a3d; }
.cbox-f em { font-style: normal; color: #6b8293; }
.cbox-f input, .cbox-f textarea { display: block; width: 100%; box-sizing: border-box; min-height: 46px; padding: 11px 13px;
  border: 1.5px solid rgba(15, 42, 61, .2); border-radius: 12px; background: #fff; color: #0f2a3d;
  font: 16px/1.35 var(--font-title); letter-spacing: .02em; transition: border-color .15s, box-shadow .15s; }
.cbox-f textarea { min-height: 104px; resize: vertical; }
.cbox-f input::placeholder, .cbox-f textarea::placeholder { color: #9aacb9; }
.cbox-f input:focus, .cbox-f textarea:focus { outline: none; border-color: #0f2a3d; box-shadow: 0 0 0 3px rgba(255, 199, 44, .55); }
.cbox-err { margin: 0 0 10px; color: #c62828; font-size: 15px; text-align: center; }
.cbox-send { display: block; width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: 999px; cursor: pointer;
  background: #ffc72c; color: #0f2a3d; font: 18px var(--font-title); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 3px 0 #0f2a3d; transition: transform .12s, box-shadow .12s, filter .15s; }
.cbox-send:hover { filter: brightness(1.05); }
.cbox-send:active { transform: translateY(2px); box-shadow: 0 1px 0 #0f2a3d; }
.cbox-send[disabled] { opacity: .65; cursor: default; }
.cbox-alt { margin: 14px 0 0; text-align: center; font-size: 15px; color: #3d5a6e; }
.cbox-alt a { color: #0f2a3d; text-decoration: none; border-bottom: 1.5px solid #ffc72c; }
.cbox-alt a:hover { color: #0f2a3d; background: rgba(255, 199, 44, .35); }
.cbox-done { text-align: center; padding: 8px 0 4px; }
.cbox-check { width: 60px; height: 60px; margin: 4px auto 12px; border-radius: 50%; background: #ffc72c; color: #0f2a3d;
  display: grid; place-items: center; font-size: 32px; box-shadow: 0 3px 0 #0f2a3d; }
@media (max-width: 400px) { .cbox { padding: 22px 16px 16px; border-radius: 18px; } .cbox h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .cbox-bg, .cbox { transition: none; } }
.cbox-opt { display: flex; gap: 10px; align-items: flex-start; margin: 2px 2px 14px; cursor: pointer; font-size: 15px; line-height: 1.3; color: #3d5a6e; }
.cbox-opt input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #0f2a3d; cursor: pointer; }

/* ---------- Big photo viewer (tap the photo on a product page) ---------- */
.gallery-main img.zoomable { cursor: zoom-in; }
.zoom-bg { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px;
  background: rgba(15, 42, 61, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .18s ease; }
.zoom-bg.show { opacity: 1; }
.zoom-img { display: block; max-width: min(92vw, 900px); max-height: calc(100dvh - 90px); width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); transform: scale(.96); transition: transform .2s ease; user-select: none; }
.zoom-bg.show .zoom-img { transform: none; }
.zoom-frame { position: relative; display: inline-block; line-height: 0; }
/* the ✕ sits on the photo's top-right corner (owner, Oct 1 2026) */
.zoom-x { position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: #ffc72c; color: #0f2a3d; font-size: 30px; line-height: 1; box-shadow: 0 3px 0 #0f2a3d; }
.zoom-x:hover { filter: brightness(1.06); }
.zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .85); color: #0f2a3d; font-size: 32px; line-height: 1; padding-bottom: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.zoom-nav:hover { background: #ffc72c; }
.zoom-prev { left: 14px; } .zoom-next { right: 14px; }
.zoom-x, .zoom-nav { z-index: 2; }
@media (max-width: 600px) { .zoom-x { top: -14px; right: -8px; width: 40px; height: 40px; font-size: 27px; } }
@media (max-width: 600px) { .zoom-nav { width: 38px; height: 38px; font-size: 28px; } .zoom-prev { left: 6px; } .zoom-next { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .zoom-bg, .zoom-img { transition: none; } }
/* closed boxes must really disappear, or their invisible layer blocks clicks on the page */
.zoom-bg[hidden], .cbox-bg[hidden] { display: none !important; }
/* magnifying square on the big photo (follows the mouse / finger) */
.zoom-img { cursor: none; -webkit-touch-callout: none; touch-action: none; }
.zoom-lens { position: absolute; left: 0; top: 0; width: 150px; height: 150px; border-radius: 14px; pointer-events: none;
  border: 3px solid #ffc72c; box-shadow: 0 0 0 2px #0f2a3d, 0 12px 30px rgba(0, 0, 0, .45);
  background-color: #0f2a3d; background-repeat: no-repeat; opacity: 0; transition: opacity .12s ease; z-index: 1; }
.zoom-lens.on { opacity: 1; }
@media (max-width: 600px) { .zoom-lens { width: 130px; height: 130px; } }
@media (hover: none) { .zoom-img { cursor: auto; } }

/* Each kind of product keeps its own photo shape (owner, Oct 2 2026):
   slabs and raw cards stay tall (5:7, unchanged); sealed product is wide (boxes are wider than tall) */
/* sealed: square spots so boxes show bigger (owner, Oct 2 2026) */
.grid[data-cat="sealed"] .card-media { aspect-ratio: 1 / 1; }
/* raw cards a little smaller than slabs, bottoms lined up (owner, Oct 2 2026) */
.grid[data-cat="raw"] .card-media { align-items: flex-end; }
.grid[data-cat="raw"] .card-media img { width: 86%; height: 86%; }

/* Tabs on iPhone (Oct 2, 2026): phones keep "hover" on the last tapped tab, which turned the selected tab's text yellow on yellow.
   The selected tab always keeps dark text, and the yellow hover look only applies on devices with a real mouse. */
.tab[aria-selected="true"], .tab[aria-selected="true"]:hover, .tab[aria-selected="true"]:focus, .tab[aria-selected="true"]:focus-visible { color:#0d1216 !important; border-color:transparent !important; }
@media (hover: none) {
  .tab:not([aria-selected="true"]):hover, .tab:not([aria-selected="true"]):focus { color:#a4abad !important; border-color:rgba(13,18,22,0.15) !important; box-shadow:none !important; }
}

/* Oct 4, 2026: "On hold" items, sale events (set in the admin, live without publishing) */
.badge-hold { background: #fff !important; color: #0f2a3d !important; box-shadow: inset 0 0 0 2px #0f2a3d; }
.p-hold { margin: -6px 0 16px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.6); color: #0f2a3d; font-size: 14.5px; line-height: 1.35; }
.p-hold strong { font-family: var(--font-title); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.intro .sale-banner, .sale-banner { display: inline-block; margin: 14px 0 0; padding: 8px 16px; border-radius: 999px; background: #e0322f; color: #fff;
  font-family: var(--font-title); font-size: 17px; letter-spacing: .04em; box-shadow: 0 3px 0 #0f2a3d; color: #fff !important; -webkit-text-stroke: 0; text-shadow: none; }
@media (max-width: 600px) { .sale-banner { font-size: 15px; padding: 7px 14px; } .info .p-hold { order: 2; } }

/* ===== Buyer tools (Oct 4, 2026): offers, wish list, alerts, trust line, facts, filters, similar, FR/EN ===== */
.lang-btn { font: 15px var(--font-title); letter-spacing: .04em; color: #ffc72c; border: 0; cursor: pointer; }
.cbox textarea[name="cards"], .cbox textarea[name="message"][rows="2"] { min-height: 70px; }
.cbox-link { display: block; width: 100%; margin-top: 10px; padding: 10px; border: 0; background: none; cursor: pointer;
  font: 16px var(--font-title); letter-spacing: .04em; color: #0f2a3d; text-decoration: underline; text-decoration-color: #ffc72c; text-underline-offset: 4px; }
.cbox-link:hover { color: #0f2a3d; background: rgba(255, 199, 44, .2); border-radius: 999px; }
.cbox-link[disabled] { opacity: .6; }
.seg2 { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; justify-content: center; }
.seg2 button { flex: 1 1 auto; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid #0f2a3d; background: #fff; color: #0f2a3d;
  font: 15px var(--font-title); letter-spacing: .03em; cursor: pointer; }
.seg2 button[aria-pressed="true"] { background: #0f2a3d; color: #ffc72c; }
.flt-g { margin: 0 0 4px; }
.flt-l { display: block; margin: 6px 0 6px 2px; font: 15px var(--font-title); letter-spacing: .03em; color: #3d5a6e; }

/* product page: offer + save, alerts, trust line, facts, recent sales */
.p-actions2 { display: flex; gap: 10px; width: 100%; max-width: 420px; margin: 12px 0 0; }
.p-actions2 .btn { flex: 1 1 0; min-height: 46px; padding: 10px 12px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn-save svg { width: 18px; height: 18px; flex: none; }
.btn-save.on { background: #ffc72c !important; }
.p-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 12px; }
.p-facts span { padding: 3px 10px; border-radius: 999px; background: #0f2a3d; color: #ffc72c; font: 13px var(--font-title); letter-spacing: .04em; }
.p-comps { margin: -4px 0 14px; font-size: 14px; color: #0f2a3d; line-height: 1.35; }
.p-comps .muted { color: #4d6676; }
.p-comps .p-comps-l { font-family: var(--font-title); letter-spacing: .03em; color: #4d6676; }
.p-comps small { display: block; font-size: 12px; color: #4d6676; margin-top: 1px; }
.p-trend { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 12px var(--font-title); letter-spacing: .04em; vertical-align: 1px; }
.p-trend.up { background: #e3f6ea; color: #1d7d43; }
.p-trend.down { background: #fde7e5; color: #b3261e; }
body.ask-mode .p-comps { max-width: 460px; margin-top: -2px; }
@media (max-width: 600px) { body.ask-mode .info .p-comps { order: 6; margin: 0 0 12px; } }
.p-trust { list-style: none; margin: 16px 0 0; padding: 12px 14px; width: 100%; max-width: 420px; box-sizing: border-box; border-radius: 14px;
  background: rgba(255, 255, 255, .55); display: grid; gap: 6px; font-size: 14px; color: #0f2a3d; }
.p-trust li { position: relative; padding-left: 22px; line-height: 1.35; }
.p-trust li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: #2fae5b; font-weight: 700; }
.p-trust .p-vouch::before { content: "★"; color: #f2a900; }
.p-trust a { color: #0f2a3d; text-decoration: none; border-bottom: 1.5px solid #ffc72c; }
.p-helpers { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 600px) {
  .info .p-facts { order: 1; }
  .info .p-comps { order: 6; margin: 0 0 12px; text-align: center; width: 100%; }
  .info .p-actions2 { order: 4; margin: -2px 0 12px; max-width: none; }
  .info .p-trust { order: 7; max-width: none; margin-top: 0; }
}
@media (min-width: 601px) { .info .p-actions2 { margin-top: 12px; } }

/* hearts on cards + floating "My list" button */
.card .heart { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: #0f2a3d; box-shadow: 0 2px 8px rgba(15, 42, 61, .25); cursor: pointer; transition: transform .15s; }
.card .heart svg { width: 18px; height: 18px; }
.card .heart.on { color: #e0322f; }
.card .heart:hover { transform: scale(1.1); }
.grid[data-density="s"] .heart { display: none; }
.grid[data-density="m"] .heart { width: 28px; height: 28px; right: 5px; bottom: 5px; }
.grid[data-density="m"] .heart svg { width: 15px; height: 15px; }
.wl-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 900; height: 52px; min-width: 52px; padding: 0 16px;
  border: 0; border-radius: 999px; background: #0f2a3d; color: #ffc72c; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 18px var(--font-title); box-shadow: 0 6px 20px rgba(15, 42, 61, .35), 0 0 0 2px #ffc72c; }
.wl-fab[hidden] { display: none; }
.wl-fab svg { width: 20px; height: 20px; color: #e0322f; }
.wl-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.wl-items li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 6px 8px; }
.wl-items a { flex: 1; display: flex; align-items: center; gap: 10px; color: #0f2a3d; text-decoration: none; min-width: 0; }
.wl-items img { width: 44px; height: 60px; object-fit: contain; flex: none; }
.wl-items span { display: grid; font-size: 14px; line-height: 1.25; min-width: 0; }
.wl-items b { font: 16px var(--font-title); font-weight: 400; margin-top: 2px; }
.wl-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(15, 42, 61, .08); color: #0f2a3d; font-size: 20px; cursor: pointer; }
.wl-total { text-align: center; font-size: 16px; margin: 4px 0 12px; }
.wl-total b { font-family: var(--font-title); font-weight: 400; font-size: 20px; }
.wl-deal { color: #1d6b39; }

/* filter + "Deals" / "New this week" chips above the grid */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.qchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #0f2a3d; background: rgba(255, 255, 255, .6); color: #0f2a3d; font: 15px var(--font-title); letter-spacing: .03em; }
.qchip svg { width: 16px; height: 16px; }
.qchip b { font-weight: 400; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #0f2a3d; color: #ffc72c; font-size: 13px; line-height: 20px; text-align: center; }
.qchip[aria-pressed="true"] { background: #0f2a3d; color: #ffc72c; }
.qchip[aria-pressed="true"] b { background: #ffc72c; color: #0f2a3d; }
.qclear { border-color: transparent; background: transparent; text-decoration: underline; }

/* "You may also like" and "Recently viewed" */
.band.sim { margin-top: 10px; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .sim-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.sim-card { display: grid; gap: 6px; text-decoration: none; color: #0f2a3d; }
.sim-media { aspect-ratio: 5 / 7; display: flex; align-items: flex-end; justify-content: center; }
.sim-media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(15,42,61,.25)); transition: transform .2s; }
.sim-card:hover .sim-media img { transform: scale(1.04); }
.sim-title { font: 14px/1.2 var(--font-title); letter-spacing: .02em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sim-price { font: 17px var(--font-title); }
.sim-price .cur { font-size: 12px; }
.mini-price { display: block; font: 14px var(--font-title); color: #0f2a3d; margin-top: 2px; }
.cbox-f[hidden] { display: none; }
@media (max-width: 600px) { .info .p-facts { order: 6; margin: 0 0 12px; justify-content: center; width: 100%; } }

/* ---------- Showcase mode (no prices, Oct 30 2026): name-only label, round chat icon under it; "Message me" on the product page ---------- */
.card.card-askmode .card-title { border-radius: 14px; border-bottom-width: 10px; box-shadow: 0 10px 18px rgba(15,42,61,.10); }
.grid[data-density="m"] .card.card-askmode .card-title { border-radius: 10px; border-bottom-width: 7px; }
.grid[data-density="s"] .card.card-askmode .card-title { border-radius: 8px; border-bottom-width: 5px; }
.card-dm { display: grid; place-items: center; width: 40px; height: 40px; margin: 10px auto 0; border-radius: 50%; flex: none;
  background: #0f2a3d; color: #ffc72c; box-shadow: 0 4px 12px rgba(15,42,61,.25); cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.card-dm .ico-chat { width: 20px; height: 20px; }
.card-dm:hover, .card-dm:focus-visible { background: #ffc72c; color: #0f2a3d; transform: scale(1.08); outline: none; }
.grid[data-density="m"] .card-dm { width: 32px; height: 32px; margin-top: 8px; }
.grid[data-density="m"] .card-dm .ico-chat { width: 16px; height: 16px; }
.grid[data-density="s"] .card-dm { width: 26px; height: 26px; margin-top: 6px; }
.grid[data-density="s"] .card-dm .ico-chat { width: 13px; height: 13px; }
.grid .card.card-askmode .card-title { flex: 1 0 auto; }
.p-ask { margin: 0 0 18px; font-family: var(--font-title); font-size: 20px; color: #0f2a3d; letter-spacing: .02em; }
.btn-cta .ico-chat { width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; }
@media (max-width: 600px) { .info .p-ask { order: 2; margin-bottom: 14px; font-size: 18px; } }

/* ---------- Showcase layout on product pages (owner, Oct 30 2026): the slab gets the room, the text column takes less ----------
   body.ask-mode is set by app.js when prices are off. Same look, just more photo and a slightly tighter info column. */
@media (min-width: 880px) {
  body.ask-mode .product { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  /* photo height leaves room for the front/back thumbnails (≈ 90px) so they stay in the first screen */
  body.ask-mode .gallery { max-width: calc((100svh - 230px) * 5 / 7); }
  body.ask-mode main:has(#product) .gallery-main { height: min(calc((100vw - 264px) * 0.56 * 1.4), calc(100svh - 230px)); }
  body.ask-mode main:has(#product) { padding-top: 16px; padding-bottom: 16px; }
  body.ask-mode .gallery-main img { width: 90%; height: 94%; }
  body.ask-mode .thumbs { margin-top: 12px; }
  body.ask-mode .thumb { width: 56px; }
  /* text column sized to the slab: bigger name, cert box and button (owner, Oct 30 2026) */
  body.ask-mode .p-title { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 12px; }
  body.ask-mode .p-ask { font-size: 22px; margin-bottom: 18px; }
  body.ask-mode .info .p-cert, body.ask-mode .info .btn-cta, body.ask-mode .info .p-helpers, body.ask-mode .p-trust, body.ask-mode .p-actions2 { max-width: 460px; }
  body.ask-mode .p-cert { --cg: 22px; column-gap: 22px; padding: 16px 20px; }
  body.ask-mode .p-cert-num { font-size: 24px; }
  body.ask-mode .btn-cta { padding: 20px 34px; font-size: 18px; }
  body.ask-mode .btn-cta .ico-chat { width: 22px; height: 22px; }
  body.ask-mode .p-helpers { margin-top: 12px; font-size: 15px; }
  body.ask-mode .p-trust { margin-top: 16px; font-size: 15px; padding: 14px 16px; }
  body.ask-mode .p-facts { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  body.ask-mode .gallery-main { height: 54vh; max-height: 560px; }
  body.ask-mode .gallery-main img { height: 96%; max-width: 94%; }
  body.ask-mode .product .back, body.ask-mode main:has(#product) .back { margin-top: 8px; margin-bottom: 14px; }
  body.ask-mode .product { gap: 12px; }
  body.ask-mode .p-title { font-size: 22px; margin-bottom: 6px; }
  body.ask-mode .info .p-ask { font-size: 16px; margin-bottom: 10px; }
  body.ask-mode .info .p-cert { padding: 10px 14px; margin-bottom: 10px; }
  body.ask-mode .info .btn-cta { padding: 15px 16px; margin-bottom: 10px; }
}
@media (max-width: 600px) and (max-height: 830px) { body.ask-mode main:has(#product) .gallery-main { height: 46vh; } }
@media (max-width: 600px) {
  /* showcase on phones: smaller front/back thumbnails under the big photo so name, cert box and button stay in view */
  body.ask-mode .thumbs { margin-top: 6px; gap: 8px; }
  body.ask-mode .thumb { width: 34px; padding: 2px; }
  body.ask-mode main:has(#product) { padding-top: 12px; }
  body.ask-mode .gallery-main { height: 50vh; }
}
@media (max-width: 600px) and (max-height: 830px) { body.ask-mode main:has(#product) .gallery-main { height: 44vh; } }
@media (max-width: 600px) {
  body.ask-mode .gallery-main { height: 46vh; }
  body.ask-mode .product .back, body.ask-mode main:has(#product) .back { margin-bottom: 6px; }
  body.ask-mode .p-title { font-size: 20px; }
  body.ask-mode .thumbs { margin-top: 4px; }
}
@media (max-width: 600px) and (max-height: 830px) { body.ask-mode main:has(#product) .gallery-main { height: 41vh; } }

/* Swirl tag (owner, Oct 30 2026): exactly the POP tag's look, text "SWIRL" / "P/SWIRL" */

/* =========================================================
   eBay (Nov 2026): the shop is the catalog, buyers bid or buy on eBay.
   Grid: a navy pill "BID ON EBAY" (+ live bid when known) under the name label, same spot as the chat icon.
   Product page: the main button goes to the listing; the live line sits under it.
   No eBay logo anywhere (brand marks stay out of the design): a plain price-tag icon + the word.
   ========================================================= */
.icon-btn.icon-text { width: auto; padding: 0 14px; border-radius: 999px; font: 15px var(--font-title); letter-spacing: .04em; color: #ffc72c; text-decoration: none; }
@media (max-width: 480px) { .icon-btn.icon-text { padding: 0 11px; font-size: 14px; } }
.card-ebay { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 40px; margin: 10px auto 0; padding: 7px 14px; border-radius: 999px;
  background: #0f2a3d; color: #ffc72c; box-shadow: 0 4px 12px rgba(15,42,61,.25); cursor: pointer; transition: transform .15s, background .2s, color .2s;
  font-family: var(--font-title); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; text-align: center; }
.card-ebay .ico-ebay { display: none; }
.card-ebay-l { font: 12px/1.1 var(--font-title); letter-spacing: .02em; text-transform: none; color: #fff; opacity: .9; }
.card-ebay:hover, .card-ebay:focus-visible { background: #ffc72c; color: #0f2a3d; transform: scale(1.05); outline: none; }
.card-ebay:hover .card-ebay-l, .card-ebay:focus-visible .card-ebay-l { color: #0f2a3d; }
.grid[data-density="m"] .card-ebay { padding: 5px 10px; font-size: 12px; margin-top: 8px; }
.grid[data-density="m"] .card-ebay-l { font-size: 11px; }
.grid[data-density="s"] .card-ebay { padding: 4px 8px; font-size: 10px; margin-top: 6px; }
.grid[data-density="s"] .card-ebay-l { display: none; }
.p-ask-ebay { color: #0f2a3d; }
.btn-ebay .ico-ebay { width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; }
body.ask-mode .btn-ebay .ico-ebay { width: 22px; height: 22px; }
.p-ebay-line { margin: 10px 0 0; font-family: var(--font-title); font-size: 19px; color: #0f2a3d; letter-spacing: .02em; text-align: center; width: 100%; max-width: 420px; }
body.ask-mode .p-ebay-line { max-width: 460px; }
.p-ebay-note { margin: 6px 0 0; font-size: 13.5px; color: #405764; text-align: center; width: 100%; max-width: 420px; }
body.ask-mode .p-ebay-note { max-width: 460px; }
.p-ebay-ended { margin: 0 0 12px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.6); color: #0f2a3d; font-size: 14.5px; line-height: 1.35; text-align: left; }
.p-helpers .link-btn.js-dm2 { text-decoration: none; }
@media (max-width: 600px) {
  .info .p-ebay-line { order: 4; margin: -4px 0 8px; }
  .info .p-ebay-note { order: 4; margin: 0 0 10px; }
  .info .p-ebay-ended { order: 3; }
  .p-ebay-line { font-size: 17px; }
}
.js-ebay-store[hidden] { display: none !important; }

/* ---------- eBay call-to-action: the one thing on the page that moves (Nov 10, 2026, owner: "a glowing color that catches the eye") ----------
   Product button: a slow yellow "breathing" glow plus a light sweep every few seconds. Grid pill: the same glow, softer.
   Auctions in their last 24 h: red "ENDING SOON" tag, faster glow. Everything stops for people who asked for reduced motion. */
@keyframes ebay-breathe { 0%, 100% { box-shadow: 0 6px 18px rgba(15,42,61,.22), 0 0 0 0 rgba(255,199,44,.55); } 50% { box-shadow: 0 6px 22px rgba(15,42,61,.22), 0 0 0 12px rgba(255,199,44,0); } }
@keyframes ebay-sweep { 0%, 70% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(230%) skewX(-18deg); } }
@keyframes ebay-breathe-soon { 0%, 100% { box-shadow: 0 6px 18px rgba(15,42,61,.22), 0 0 0 0 rgba(224,50,47,.6); } 50% { box-shadow: 0 6px 22px rgba(15,42,61,.22), 0 0 0 12px rgba(224,50,47,0); } }
.btn-ebay { position: relative; overflow: hidden; animation: ebay-breathe 2.6s ease-in-out infinite; }
.btn-ebay::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%); animation: ebay-sweep 4.2s ease-in-out infinite; }
.btn-ebay:hover, .btn-ebay:focus-visible { animation-play-state: paused; transform: translateY(-1px) scale(1.02); }
.btn-ebay.is-soon { animation-name: ebay-breathe-soon; animation-duration: 1.6s; }
.card-ebay { animation: ebay-breathe 3s ease-in-out infinite; }
.card-soon .card-ebay { animation-name: ebay-breathe-soon; animation-duration: 1.6s; }
.badge-soon { background: #e0322f !important; color: #fff !important; -webkit-text-stroke: 0; text-shadow: none; }
.p-ebay-line.is-soon { color: #c1221f; }
.qchip-ebay { background: #0f2a3d; color: #ffc72c; border-color: #0f2a3d; }
.qchip-ebay .ico-ebay { width: 15px; height: 15px; margin-right: 5px; vertical-align: -2px; }
.qchip-ebay[aria-pressed="true"] { background: #ffc72c; color: #0f2a3d; border-color: #ffc72c; }
.qchip-ebay b { background: rgba(255,255,255,.18); color: inherit; }
@media (prefers-reduced-motion: reduce) { .btn-ebay, .card-ebay, .btn-ebay::after { animation: none; } }

/* ---------- Card labels: clean 2-line names (owner, Nov 13 2026: "perfect"; he tried full names and preferred the old look) ----------
   Same look as before: 2 lines, long names end with … (1 line in the small grid). The fix: the cut now sits on the
   text (.card-title-t) and not on the white box, so when the box is stretched to match its row a third line can
   never peek out half hidden. */
.card-title { display: flex !important; align-items: flex-start; justify-content: center; overflow: visible; -webkit-line-clamp: unset; }
.card-title-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-width: 0; max-width: 100%; text-align: center; }
.grid[data-density="s"] .card-title-t { -webkit-line-clamp: 1; }
/* Photo, white label and button each sit on a line shared by the whole row, so every label in a row has exactly the
   same height and every button starts at the same level, whatever sits under the label (chat icon, eBay pill with or
   without its live line, price). Older browsers without subgrid keep the flex layout above. */
@supports (grid-template-rows: subgrid) {
  .grid .card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
  .grid .card > .card-title, .grid .card > .card-price { align-self: stretch; }
  .grid .card > .card-dm, .grid .card > .card-ebay { align-self: start; justify-self: center; }
}
