/* ==========================================================================
   BidBox Auctions — facade redesign
   Token-driven so whole design styles swap via <html data-theme="…">.
   Themes: midnight (default) · daylight · bold
   ========================================================================== */

/* ---- Shared palette --------------------------------------------------- */
:root {
  --ink: #0b0c10; --ink-2: #15171d; --ink-3: #1f222b;
  --gold: #f1a208; --gold-2: #d58e00; --gold-3: #ffd166; --gold-soft: rgba(241,162,8,.14);
  --green: #178a4c; --green-soft: rgba(23,138,76,.12);
  --red: #d64545; --red-soft: rgba(214,69,69,.12);
  --blue: #2b6cb0; --blue-soft: rgba(43,108,176,.12);
  --max: 1240px;
}

/* ---- Theme: Midnight Gold (default) ------------------------------------ */
:root, :root[data-theme="midnight"] {
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px; --radius-sm: 12px; --radius-btn: 999px; --radius-chip: 999px;
  --h1-weight: 800; --h1-spacing: -0.035em;

  --paper: #0e1015; --paper-2: #161920; --line: rgba(255,255,255,.09);
  --text: #f3f1ea; --text-2: rgba(243,241,234,.7); --text-3: rgba(243,241,234,.48);
  --card-border: 1px solid var(--line);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.8);
  --shadow-hover: 0 24px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(241,162,8,.35);
  --media-bg: linear-gradient(145deg, #1d2029, #141720); --ph: rgba(255,255,255,.18);
  --tag-gold: var(--gold-3); --input-bg: #11141a;

  --topbar-bg: var(--ink); --topbar-text: rgba(246,244,239,.66); --topbar-accent: var(--gold-3); --topbar-line: rgba(255,255,255,.08);
  --chrome-bg: rgba(11,12,16,.86); --chrome-text: #f6f4ef; --chrome-text-2: rgba(246,244,239,.66); --chrome-line: rgba(255,255,255,.08);
  --chrome-field: rgba(255,255,255,.06); --chrome-field-line: rgba(255,255,255,.1); --chrome-field-focus: rgba(241,162,8,.6);
  --chrome-hover: rgba(255,255,255,.06); --chrome-loc-bg: rgba(241,162,8,.14); --chrome-loc-text: var(--gold-3); --chrome-hot: var(--gold-3);

  --hero-bg:
    radial-gradient(900px 500px at 12% -10%, rgba(241,162,8,.22), transparent 60%),
    radial-gradient(700px 500px at 95% 20%, rgba(241,162,8,.10), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #0e1016 60%, #15171d 100%);
  --hero-text: #f6f4ef; --hero-text-2: rgba(246,244,239,.66); --hero-line: rgba(255,255,255,.08);
  --hero-grid: rgba(255,255,255,.035); --hero-em: linear-gradient(92deg, #ffd166, #f1a208 50%, #ffb52e);
  --hero-ghost-line: rgba(255,255,255,.18); --hero-ghost-bg: rgba(255,255,255,.04); --hero-ghost-hover: rgba(255,255,255,.1);

  --feature-bg: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); --feature-line: rgba(255,255,255,.12);
  --feature-text: #f6f4ef; --feature-text-2: rgba(246,244,239,.66); --feature-media: #1a1d25;

  --dark-bg: var(--ink); --dark-text: #f6f4ef; --dark-text-2: rgba(246,244,239,.66); --dark-line: rgba(255,255,255,.1);
  --dark-card: rgba(255,255,255,.04); --dark-card-hover: rgba(255,255,255,.06); --dark-accent: var(--gold-3); --dark-glow: rgba(241,162,8,.16);

  --footer-bg: var(--ink); --footer-text: #f6f4ef; --footer-text-2: rgba(246,244,239,.66); --footer-line: rgba(255,255,255,.08); --footer-accent: var(--gold-3);

  --btn-primary-bg: linear-gradient(180deg, #ffbf2f 0%, #f1a208 55%, #d58e00 100%); --btn-primary-text: #1b1200;
  --btn-primary-shadow: 0 8px 20px -8px rgba(241,162,8,.7), inset 0 1px 0 rgba(255,255,255,.35);
  --btn-primary-hover-shadow: 0 12px 26px -8px rgba(241,162,8,.85);
  --btn-dark-bg: #f3f1ea; --btn-dark-text: #15171d; --btn-dark-hover: #ffffff;

  --cat-ico-bg: rgba(241,162,8,.14); --cat-ico-text: var(--gold-3);
  --step-ico-bg: rgba(241,162,8,.14); --step-ico-text: var(--gold-3);
  --eyebrow: var(--gold-3); --accent-text: var(--gold-3);
  --chip-on-bg: var(--gold); --chip-on-text: #1b1200;
  --price-color: var(--text); --deal-price: var(--gold-3);
  --hover-lift: -4px;
}
:root[data-theme="midnight"] .cats, :root .cats { background: #0b0c10; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 15.5px; line-height: 1.55;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-top: 10px; }
.section-head p { margin: 8px 0 0; color: var(--text-2); max-width: 56ch; }
.page-head { padding: 44px 0 28px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-top: 10px; }
.page-head p { margin: 10px 0 0; color: var(--text-2); max-width: 60ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; color: var(--text); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.muted { color: var(--text-3); }
.mono { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid transparent; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--btn-primary-bg); color: var(--btn-primary-text); box-shadow: var(--btn-primary-shadow); }
.btn-gold:hover { box-shadow: var(--btn-primary-hover-shadow); filter: brightness(1.03); }
.btn-dark { background: var(--btn-dark-bg); color: var(--btn-dark-text); }
.btn-dark:hover { background: var(--btn-dark-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost-inv { background: var(--hero-ghost-bg); border-color: var(--hero-ghost-line); color: var(--hero-text); }
.btn-ghost-inv:hover { background: var(--hero-ghost-hover); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-xs { height: 32px; padding: 0 12px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input, .select, textarea.input { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--input-bg); color: var(--text); font: inherit; font-size: 14.5px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.input::placeholder, textarea.input::placeholder { color: var(--text-3); }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8f9c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; cursor: pointer; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--gold-2); margin: 0; }
.check:hover { color: var(--text); }
.check .count { margin-left: auto; font-size: 12px; color: var(--text-3); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); border: 0; transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle.on { background: var(--gold); }
.toggle.on::after { transform: translateX(18px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { height: 36px; padding: 0 14px; border-radius: var(--radius-chip); border: 1px solid var(--line); background: var(--paper-2); font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip.on { background: var(--chip-on-bg); color: var(--chip-on-text); border-color: var(--chip-on-bg); }

/* Tags / badges */
.tag { height: 26px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.tag.green { color: var(--green); background: var(--green-soft); border-color: transparent; }
.tag.gold { color: var(--tag-gold); background: var(--gold-soft); border-color: transparent; }
.tag.red { color: var(--red); background: var(--red-soft); border-color: transparent; }
.tag.blue { color: var(--blue); background: var(--blue-soft); border-color: transparent; }

/* ==========================================================================
   Chrome: top bar, header, footer
   ========================================================================== */
.topbar { background: var(--topbar-bg); color: var(--topbar-text); font-size: 12.5px; border-bottom: 1px solid var(--topbar-line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 16px; }
.topbar b { color: var(--topbar-accent); font-weight: 600; }
.topbar .ticker { display: flex; gap: 28px; overflow: hidden; white-space: nowrap; }
.topbar .ticker i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.topbar .ticker svg { width: 13px; height: 13px; color: var(--gold); }
.topbar .right { display: flex; gap: 18px; }
.topbar .right a:hover { color: var(--topbar-accent); }

.header { position: sticky; top: 0; z-index: 50; background: var(--chrome-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--chrome-line); color: var(--chrome-text); }
.header .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 40px; width: auto; }
.header .mid { display: flex; align-items: center; min-width: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--chrome-text-2); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--chrome-text); background: var(--chrome-hover); }
.nav a.hot { color: var(--chrome-hot); }
.search { flex: 1 1 160px; min-width: 0; max-width: 520px; margin-left: 14px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: var(--radius-btn); background: var(--chrome-field); border: 1px solid var(--chrome-field-line); transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--chrome-field-focus); }
.search svg { width: 18px; height: 18px; color: var(--chrome-text-2); flex: none; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--chrome-text); font: inherit; font-size: 14.5px; }
.search input::placeholder { color: var(--chrome-text-2); opacity: .8; }
.search .loc { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-btn); background: var(--chrome-loc-bg); color: var(--chrome-loc-text); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.search .loc svg { width: 14px; height: 14px; color: currentColor; }
.header .actions { display: flex; align-items: center; gap: 8px; }
.header .actions .login { padding: 10px 14px; font-weight: 500; color: var(--chrome-text-2); white-space: nowrap; }
.header .actions .login:hover { color: var(--chrome-text); }
.icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--chrome-line); background: transparent; color: var(--chrome-text); display: grid; place-items: center; position: relative; }
.icon-btn:hover { background: var(--chrome-hover); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }
.menu-btn { display: none; }

.footer { background: var(--footer-bg); color: var(--footer-text-2); padding: 64px 0 28px; margin-top: 72px; border-top: 1px solid var(--footer-line); }
.footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--footer-line); }
.footer .brand img { height: 42px; width: auto; margin-bottom: 16px; }
.footer .brand p { margin: 0 0 18px; max-width: 36ch; font-size: 14px; }
.footer .social { display: flex; gap: 10px; }
.footer .social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--footer-line); color: var(--footer-text-2); transition: all .2s; }
.footer .social a:hover { color: var(--footer-accent); border-color: var(--footer-accent); }
.footer .social svg { width: 17px; height: 17px; }
.footer h4 { font-family: var(--font-body); color: var(--footer-text); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--footer-text); }
.footer address { font-style: normal; font-size: 14px; line-height: 1.6; }
.footer address a { color: var(--footer-accent); }
.footer .legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 12.5px; flex-wrap: wrap; }
.footer.tight { margin-top: 0; }

/* ==========================================================================
   Design switcher (demo control)
   ========================================================================== */
.switcher { position: fixed; left: 20px; bottom: 20px; z-index: 90; font-family: "Inter", system-ui, sans-serif; }
.switcher-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: #0b0c10; color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.switcher-btn .sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: conic-gradient(var(--sw1) 0 50%, var(--sw2) 50% 100%); }
.switcher-btn small { color: rgba(255,255,255,.6); font-weight: 500; }
.switcher-btn svg { width: 16px; height: 16px; color: rgba(255,255,255,.6); }
.switcher-panel { position: absolute; left: 0; bottom: 56px; width: 340px; max-width: calc(100vw - 40px); border-radius: 18px; background: #0f1116; color: #fff; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); padding: 16px; display: none; }
.switcher.open .switcher-panel { display: block; }
.switcher-panel h5 { margin: 0 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.switcher-panel h5 + h5 { margin-top: 16px; }
.theme-opts { display: grid; gap: 8px; }
.theme-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); text-align: left; color: #fff; transition: background .2s, border-color .2s; }
.theme-opt:hover { background: rgba(255,255,255,.07); }
.theme-opt.on { border-color: var(--gold); background: rgba(241,162,8,.1); }
.theme-opt .sw { width: 34px; height: 34px; border-radius: 10px; background: conic-gradient(var(--sw1) 0 50%, var(--sw2) 50% 100%); border: 1px solid rgba(255,255,255,.15); }
.theme-opt b { display: block; font-size: 13.5px; }
.theme-opt span { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.theme-opt svg { width: 16px; height: 16px; color: var(--gold); visibility: hidden; }
.theme-opt.on svg { visibility: visible; }
.page-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.page-links a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: rgba(255,255,255,.8); }
.page-links a:hover { background: rgba(255,255,255,.07); color: #fff; }
.page-links a.on { color: var(--gold-3); background: rgba(241,162,8,.1); }
.page-links svg { width: 15px; height: 15px; color: rgba(255,255,255,.5); }
.switcher-panel .fine { margin: 14px 0 0; font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: var(--hero-text); background: var(--hero-bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 84px 0 72px; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.0; font-weight: var(--h1-weight); letter-spacing: var(--h1-spacing); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: transparent; background: var(--hero-em); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--hero-text-2); max-width: 50ch; margin: 0 0 32px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .proof { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--hero-line); }
.hero .proof div { display: grid; gap: 2px; }
.hero .proof b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hero .proof span { font-size: 13px; color: var(--hero-text-2); }

.feature-card { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--feature-bg); color: var(--feature-text); border: 1px solid var(--feature-line); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.feature-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--feature-media); display: block; }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s ease; }
.feature-card:hover .media img { transform: scale(1.06); }
.feature-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,10,14,.75)); }
.feature-card .live { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(10,10,14,.7); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.feature-card .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,90,.6);} 100% { box-shadow: 0 0 0 10px rgba(255,90,90,0);} }
.feature-card .meta { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; color: #fff; }
.feature-card .meta .cond { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 6px; }
.feature-card .meta h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.feature-card .body { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px 20px 20px; }
.feature-card .price small { display: block; font-size: 12px; color: var(--feature-text-2); margin-bottom: 2px; }
.feature-card .price b { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.feature-card .price s { color: var(--feature-text-2); font-size: 14px; margin-left: 8px; }
.feature-card .timer { text-align: right; }
.feature-card .timer small { display: block; font-size: 12px; color: var(--feature-text-2); margin-bottom: 4px; }
.feature-card .timer .clock { font-family: var(--font-display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.feature-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 20px; }
.feature-card .foot .stat { display: flex; gap: 14px; font-size: 13px; color: var(--feature-text-2); }
.feature-card .foot .stat b { color: var(--feature-text); font-weight: 600; }

.cats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.cat { display: grid; justify-items: center; gap: 10px; padding: 18px 10px 16px; border-radius: var(--radius); border: var(--card-border); background: var(--paper); text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--paper-2); }
.cat .ico { width: 48px; height: 48px; border-radius: calc(var(--radius-sm) + 2px); display: grid; place-items: center; background: var(--cat-ico-bg); color: var(--cat-ico-text); }
.cat .ico svg { width: 22px; height: 22px; }
.cat span { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--text); }

/* Lot cards */
.lot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lot { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: var(--card-border); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.lot:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--shadow-hover); }
.lot.hidden { display: none; }
.lot .media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--media-bg); display: block; }
.lot .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lot:hover .media img { transform: scale(1.05); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ph); }
.ph svg { width: 44px; height: 44px; }
img.ok + .ph { display: none; }
.lot .badge, .badge { position: absolute; top: 12px; left: 12px; z-index: 2; height: 26px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--text); backdrop-filter: blur(6px); }
.badge.new { color: var(--green); } .badge.like { color: var(--blue); } .badge.open { color: #9a6b00; } .badge.used { color: #5c6170; }
.lot .badge { color: #15171d; }
.lot .watch { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); border: 0; color: #5c6170; transition: color .2s, transform .2s; }
.lot .watch:hover { color: var(--red); transform: scale(1.08); }
.lot .watch.on { color: var(--red); }
.lot .watch.on svg { fill: currentColor; }
.lot .watch svg { width: 17px; height: 17px; }
.lot .ends, .ends { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(11,12,16,.82); color: #fff; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }
.ends svg { width: 13px; height: 13px; color: var(--gold); }
.ends.soon { background: rgba(214,69,69,.94); }
.ends.soon svg { color: #fff; }
.lot .info { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.lot h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.lot .stats { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-3); }
.lot .stats b { color: var(--text-2); font-weight: 600; }
.lot .pricing { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }
.lot .pricing .cur small { display: block; font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.lot .pricing .cur b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--price-color); }
.lot .pricing .ret { text-align: right; font-size: 12.5px; color: var(--text-3); }
.lot .pricing .ret s { display: block; color: var(--text-2); font-size: 13.5px; }
.lot .pricing .ret em { font-style: normal; color: var(--green); font-weight: 600; }
.lot .btn { margin-top: 4px; }

/* List view variant (browse page) */
.lot-grid.list { grid-template-columns: 1fr; gap: 14px; }
.lot-grid.list .lot { flex-direction: row; }
.lot-grid.list .lot .media { width: 200px; aspect-ratio: 1; flex: none; }
.lot-grid.list .lot .info { flex-direction: row; align-items: center; gap: 24px; padding: 18px 22px; }
.lot-grid.list .lot h3 { min-height: 0; flex: 1; font-size: 15.5px; -webkit-line-clamp: 2; }
.lot-grid.list .lot .stats { flex-direction: column; gap: 2px; min-width: 110px; }
.lot-grid.list .lot .pricing { margin: 0; flex-direction: column; align-items: flex-start; gap: 0; min-width: 150px; }
.lot-grid.list .lot .pricing .ret { text-align: left; }
.lot-grid.list .lot .btn { margin: 0; width: 150px; }

/* Deals */
.deals { background: var(--dark-bg); color: var(--dark-text); position: relative; overflow: hidden; }
.deals::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 80% 0%, var(--dark-glow), transparent 60%); pointer-events: none; }
.deals .wrap { position: relative; }
.deals .eyebrow { color: var(--dark-accent); }
.deals .section-head p { color: var(--dark-text-2); }
.deals .link-arrow { color: var(--dark-text); }
.deal-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.deal { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--dark-card); border: 1px solid var(--dark-line); transition: transform .25s, border-color .25s, background .25s; color: var(--dark-text); }
.deal:hover { transform: translateY(var(--hover-lift)); border-color: var(--gold); background: var(--dark-card-hover); }
.deal .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1d25; display: block; }
.deal .media img { width: 100%; height: 100%; object-fit: cover; }
.deal .media .ph { color: rgba(255,255,255,.25); }
.deal .off { position: absolute; top: 12px; left: 12px; height: 28px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-weight: 700; font-size: 12.5px; background: var(--gold); color: #1b1200; }
.deal .info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.deal .cond { font-size: 12px; color: var(--dark-text-2); }
.deal .pricing { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; }
.deal .pricing b { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--deal-price); }
.deal .pricing s { color: var(--dark-text-2); font-size: 13.5px; }
.deal .btn { margin-top: 10px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--paper-2); border: var(--card-border); overflow: hidden; }
.step .n { position: absolute; right: 18px; top: 8px; font-family: var(--font-display); font-size: 96px; font-weight: 800; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; opacity: .8; }
.step .ico { width: 52px; height: 52px; border-radius: calc(var(--radius-sm) + 4px); display: grid; place-items: center; background: var(--step-ico-bg); color: var(--step-ico-text); margin-bottom: 20px; }
.step .ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; position: relative; }
.step p { margin: 0; color: var(--text-2); position: relative; }

/* Trust */
.trust { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 10px 0 14px; }
.trust p { color: var(--text-2); margin: 0 0 22px; }
.cond-list { display: grid; gap: 10px; }
.cond-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--radius-sm); border: var(--card-border); background: var(--paper); }
.cond-item .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.cond-item b { display: block; font-weight: 600; margin-bottom: 2px; }
.cond-item span { font-size: 13.5px; color: var(--text-2); }
.pickup-card { border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--ink); color: #f6f4ef; box-shadow: var(--shadow-lg); border: var(--card-border); }
.pickup-card .map { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 60% 48%, rgba(241,162,8,.35), transparent 28%), linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(160deg, #1a1d26, #0f1116); }
.pickup-card .map .road { position: absolute; background: rgba(255,255,255,.12); border-radius: 4px; }
.pickup-card .map .pin { position: absolute; left: 60%; top: 48%; transform: translate(-50%, -100%); width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--gold); rotate: -45deg; box-shadow: 0 10px 24px -6px rgba(241,162,8,.8); display: grid; place-items: center; }
.pickup-card .map .pin::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.pickup-card .body { padding: 24px 26px 26px; display: grid; gap: 6px; }
.pickup-card .body small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.pickup-card .body b { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.pickup-card .body span { color: rgba(246,244,239,.66); font-size: 14px; }
.pickup-card .body .btn { margin-top: 14px; justify-self: start; }

/* Newsletter */
.news .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px 52px; border-radius: calc(var(--radius) + 10px); color: var(--dark-text); background: radial-gradient(600px 300px at 0% 0%, var(--dark-glow), transparent 60%), var(--dark-bg); box-shadow: var(--shadow-lg); border: 1px solid var(--dark-line); }
.news .eyebrow { color: var(--dark-accent); }
.news h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 10px 0 8px; }
.news p { color: var(--dark-text-2); margin: 0; }
.news form { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: var(--radius-btn); border: 1px solid var(--dark-line); background: var(--dark-card); color: var(--dark-text); font: inherit; outline: 0; }
.news input:focus { border-color: var(--gold); }
.news .btn { height: 50px; }
.news .fine { grid-column: 1 / -1; font-size: 12px; color: var(--dark-text-2); margin: -16px 0 0; opacity: .8; }

/* ==========================================================================
   Lot detail
   ========================================================================== */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); padding: 20px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; }
.detail { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "gallery bid" "body bid"; gap: 36px 48px; padding: 24px 0 72px; align-items: start; }
.detail .gallery { grid-area: gallery; } .detail .bidbox { grid-area: bid; } .detail .detail-body { grid-area: body; }
.gallery { display: grid; gap: 12px; }
.gallery .main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: var(--card-border); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery .thumbs button { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--paper-2); }
.gallery .thumbs button.on { border-color: var(--gold); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bidbox { position: sticky; top: 96px; border-radius: calc(var(--radius) + 6px); background: var(--paper-2); border: var(--card-border); box-shadow: var(--shadow); overflow: hidden; }
.bidbox .top { padding: 24px 26px 20px; border-bottom: 1px solid var(--line); }
.bidbox .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.bidbox h1 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.bidbox .lotno { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.bidbox .state { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.bidbox .state > div { padding: 18px 26px; }
.bidbox .state > div + div { border-left: 1px solid var(--line); }
.bidbox .state small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.bidbox .state b { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bidbox .state .ret { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.bidbox .state .ret s { color: var(--text-2); }
.bidbox .state .ret em { font-style: normal; color: var(--green); font-weight: 600; }
.bidbox .state .clock.soon b { color: var(--red); }
.bidbox .form { padding: 22px 26px; display: grid; gap: 12px; }
.bidbox .amount { display: flex; align-items: center; height: 52px; border-radius: var(--radius-sm); border: var(--card-border); background: var(--paper); overflow: hidden; }
.bidbox .amount button { width: 52px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--text-2); }
.bidbox .amount button:hover { background: var(--gold-soft); color: var(--text); }
.bidbox .amount span { flex: 1; text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.bidbox .hint { font-size: 12.5px; color: var(--text-3); text-align: center; margin: 0; }
.bidbox .quick { display: flex; gap: 8px; }
.bidbox .quick .chip { flex: 1; justify-content: center; }
.bidbox .trust-row { display: flex; justify-content: space-between; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.bidbox .trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.bidbox .trust-row svg { width: 15px; height: 15px; color: var(--accent-text); }
.detail-body { display: grid; gap: 28px; }
.panel { padding: 26px 28px; border-radius: var(--radius); background: var(--paper-2); border: var(--card-border); }
.panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.panel h2 .tag { margin-left: 10px; vertical-align: middle; }
.panel p { color: var(--text-2); margin: 0 0 10px; }
.panel p:last-child { margin-bottom: 0; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec div span { color: var(--text-3); }
.spec div b { font-weight: 600; text-align: right; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; }
.table tr:last-child td { border-bottom: 0; }
.table .item { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.table .item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper); }
.table .item b { display: block; font-weight: 600; line-height: 1.3; }
.table .item span { font-size: 12px; color: var(--text-3); }
.table .lead-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 3px 7px; border-radius: 6px; margin-left: 8px; }
.table-wrap { overflow-x: auto; }
.history tr:first-child td { font-weight: 600; }

/* ==========================================================================
   Browse / search
   ========================================================================== */
.browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; padding: 8px 0 72px; align-items: start; }
.browse > section { min-width: 0; }
.filters { position: sticky; top: 96px; display: grid; gap: 22px; }
.filters .group { padding: 18px 18px 14px; border-radius: var(--radius); background: var(--paper-2); border: var(--card-border); }
.filters h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; font-weight: 600; display: flex; justify-content: space-between; }
.filters h4 button { background: none; border: 0; font-size: 12px; color: var(--accent-text); letter-spacing: 0; text-transform: none; padding: 0; font-weight: 600; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); }
.range .input { height: 38px; padding: 0 10px; font-size: 13.5px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar .count { font-size: 14px; color: var(--text-2); }
.results-bar .count b { color: var(--text); }
.results-bar .tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.results-bar .select { height: 40px; width: auto; font-size: 13.5px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.view-toggle button { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; color: var(--text-3); }
.view-toggle button.on { background: var(--chip-on-bg); color: var(--chip-on-text); }
.view-toggle svg { width: 17px; height: 17px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters .chip { height: 30px; font-size: 12.5px; }
.active-filters .chip svg { width: 13px; height: 13px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.pager button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper-2); font-size: 14px; color: var(--text-2); }
.pager button.on { background: var(--chip-on-bg); color: var(--chip-on-text); border-color: var(--chip-on-bg); }
.pager button:disabled { opacity: .4; cursor: default; }
.empty { padding: 60px 20px; text-align: center; color: var(--text-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.filters-toggle { display: none; }

/* ==========================================================================
   Account
   ========================================================================== */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 8px 0 72px; align-items: start; }
.account > div { min-width: 0; }
.side-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.side-nav .who { display: flex; align-items: center; gap: 12px; padding: 14px 14px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.side-nav .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--btn-primary-bg); color: var(--btn-primary-text); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); flex: none; }
.side-nav .who b { display: block; font-size: 14.5px; }
.side-nav .who span { font-size: 12.5px; color: var(--text-3); }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; color: var(--text-2); border: 1px solid transparent; }
.side-nav a:hover { background: var(--paper-2); color: var(--text); }
.side-nav a.on { background: var(--paper-2); color: var(--text); border-color: var(--line); font-weight: 600; }
.side-nav a svg { width: 17px; height: 17px; color: var(--text-3); }
.side-nav a.on svg { color: var(--accent-text); }
.side-nav a .n { margin-left: auto; font-size: 12px; background: var(--gold-soft); color: var(--accent-text); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.tile { padding: 18px 20px; border-radius: var(--radius); background: var(--paper-2); border: var(--card-border); }
.tile small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.tile b { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; display: block; }
.tile span { font-size: 12.5px; color: var(--text-2); }
.tile.alert b { color: var(--red); }
.tile.good b { color: var(--green); }
.pane { display: none; }
.pane.on { display: grid; gap: 22px; }
.pane h2 { font-size: 22px; font-weight: 700; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid rgba(241,162,8,.35); font-size: 14px; }
.notice svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; margin-top: 1px; }
.notice b { display: block; margin-bottom: 2px; }
.notice.red { background: var(--red-soft); border-color: rgba(214,69,69,.35); }
.notice.red svg { color: var(--red); }
.notice .btn { margin-left: auto; flex: none; }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pref-row:last-child { border-bottom: 0; }
.pref-row b { display: block; font-weight: 600; font-size: 14.5px; }
.pref-row span { font-size: 13px; color: var(--text-3); }
.qr { width: 160px; height: 160px; border-radius: var(--radius-sm); background: #fff; border: var(--card-border); padding: 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.qr i { background: #111; border-radius: 1px; }
.qr i.o { background: transparent; }
.pickup-slot { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.pickup-slot .when b { font-family: var(--font-display); font-size: 22px; display: block; }
.pickup-slot .when span { color: var(--text-2); font-size: 14px; }
.timeline { display: grid; gap: 0; }
.timeline > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; position: relative; font-size: 14px; }
.timeline > div::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--line); margin: 5px; }
.timeline > div.done::before { background: var(--green); }
.timeline > div.now::before { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.timeline > div:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--text-3); font-size: 13px; }

/* ==========================================================================
   Invoice
   ========================================================================== */
.invoice { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 8px 0 72px; align-items: start; }
.inv-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.inv-head h1 { font-size: 26px; font-weight: 700; }
.inv-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; font-size: 13.5px; color: var(--text-2); }
.inv-meta b { display: block; color: var(--text); font-weight: 600; }
.totals { display: grid; gap: 10px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals div span:first-child { color: var(--text-2); }
.totals .grand { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.totals .grand span:first-child { color: var(--text); font-size: 15px; font-family: var(--font-body); font-weight: 600; align-self: center; }
.pay-methods { display: grid; gap: 8px; }
.pay-methods label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); border: var(--card-border); background: var(--paper); font-size: 14px; cursor: pointer; }
.pay-methods label.on { border-color: var(--gold); background: var(--gold-soft); }
.pay-methods input { accent-color: var(--gold-2); }
.pay-methods .card-ico { width: 38px; height: 26px; border-radius: 6px; background: var(--chip-on-bg); color: var(--chip-on-text); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.sticky { position: sticky; top: 96px; }

/* ==========================================================================
   Auth
   ========================================================================== */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 112px); }
.auth .side { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); padding: 64px 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .side h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: var(--h1-weight); letter-spacing: var(--h1-spacing); line-height: 1.05; margin: 16px 0 14px; }
.auth .side h2 em { font-style: normal; color: transparent; background: var(--hero-em); -webkit-background-clip: text; background-clip: text; }
.auth .side p { color: var(--hero-text-2); max-width: 44ch; margin: 0; }
.auth .perks { display: grid; gap: 14px; margin-top: 36px; }
.auth .perks div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--hero-text-2); }
.auth .perks svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.auth .perks b { color: var(--hero-text); font-weight: 600; }
.auth .quote { padding: 22px 24px; border-radius: var(--radius); background: var(--feature-bg); border: 1px solid var(--feature-line); color: var(--feature-text); font-size: 14.5px; line-height: 1.6; }
.auth .quote small { display: block; margin-top: 10px; color: var(--feature-text-2); font-size: 12.5px; }
.auth .form-side { display: grid; place-items: center; padding: 56px 24px; background: var(--paper); }
.auth-card { width: 100%; max-width: 440px; display: grid; gap: 18px; }
.auth-card h1 { font-size: 28px; font-weight: 700; }
.auth-card .sub { color: var(--text-2); margin: -8px 0 0; font-size: 14.5px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--radius-sm); background: var(--paper-2); border: var(--card-border); }
.seg button { height: 40px; border: 0; border-radius: calc(var(--radius-sm) - 3px); background: transparent; font-weight: 600; color: var(--text-2); }
.seg button.on { background: var(--chip-on-bg); color: var(--chip-on-text); }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card .fine { font-size: 12.5px; color: var(--text-3); text-align: center; margin: 0; line-height: 1.5; }
.auth-card .fine a { color: var(--accent-text); font-weight: 600; }
.auth-card .between { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.auth-card .between a { color: var(--accent-text); font-weight: 600; }

/* ==========================================================================
   FAQ / Contact
   ========================================================================== */
.faq { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 8px 0 72px; align-items: start; }
.faq-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.faq-nav a:hover, .faq-nav a.on { background: var(--paper-2); color: var(--text); }
.faq-group { margin-bottom: 36px; }
.faq-group h2 { font-size: 22px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 span { width: 32px; height: 32px; border-radius: 10px; background: var(--step-ico-bg); color: var(--step-ico-text); display: grid; place-items: center; font-size: 14px; font-family: var(--font-display); }
details.qa { border: var(--card-border); border-radius: var(--radius-sm); background: var(--paper-2); margin-bottom: 8px; overflow: hidden; }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 600; font-size: 15px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary svg { width: 18px; height: 18px; color: var(--text-3); flex: none; transition: transform .2s; }
details.qa[open] summary svg { transform: rotate(45deg); }
details.qa .a { padding: 0 18px 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
details.qa .a p { margin: 0 0 8px; }
.contact { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 8px 0 72px; align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--paper-2); border: var(--card-border); align-items: start; }
.info-card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--cat-ico-bg); color: var(--cat-ico-text); display: grid; place-items: center; }
.info-card .ico svg { width: 20px; height: 20px; }
.info-card b { display: block; font-weight: 600; margin-bottom: 2px; }
.info-card span { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.info-card a { color: var(--accent-text); font-weight: 600; }

/* ==========================================================================
   Misc
   ========================================================================== */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 100; opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #f6f4ef; font-size: 14px; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--gold-3); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a:nth-child(n+4) { display: none; }
  .search input { font-size: 14px; }
  .search .loc span { display: none; }
}
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .lot-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero .proof { grid-template-columns: repeat(2, auto); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .invoice { grid-template-columns: 1fr 320px; }
}
@media (max-width: 1024px) {
  .header .wrap { grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav { display: none; }
  .search { max-width: none; margin-left: 0; }
  .search .loc span { display: inline; }
  .menu-btn { display: grid; }
  .header .actions .login { display: none; }
  .browse { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
  .account, .faq { grid-template-columns: 1fr; }
  .side-nav, .faq-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .side-nav .who { display: none; }
  .side-nav a, .faq-nav a { white-space: nowrap; }
  .auth { grid-template-columns: 1fr; }
  .auth .side { display: none; }
  .invoice, .contact { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 900px) {
  .topbar .ticker i:nth-child(n+3) { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding: 56px 0 48px; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; gap: 36px; }
  .news .wrap { grid-template-columns: 1fr; padding: 36px 28px; }
  .detail { grid-template-columns: 1fr; grid-template-areas: "gallery" "bid" "body"; gap: 28px; }
  .bidbox { position: static; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .lot-grid.list .lot .info { flex-wrap: wrap; gap: 12px; }
  .lot-grid.list .lot .media { width: 140px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .topbar .right { display: none; }
  .header .wrap { grid-template-columns: auto auto; justify-content: space-between; height: auto; padding: 10px 0 12px; row-gap: 10px; }
  .header .logo { grid-row: 1; grid-column: 1; }
  .header .actions { grid-row: 1; grid-column: 2; }
  .header .mid { grid-row: 2; grid-column: 1 / -1; }
  .search { height: 42px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat { padding: 14px 6px 12px; }
  .lot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lot .info { padding: 12px; }
  .lot .stats { white-space: nowrap; }
  .lot .stats span:last-child { display: none; }
  .lot .pricing { flex-direction: column; align-items: flex-start; gap: 2px; }
  .lot .pricing .ret { text-align: left; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .lot .pricing .ret s { display: inline; }
  .lot .pricing .ret em { white-space: nowrap; }
  .lot .pricing .cur b { font-size: 19px; }
  .lot .btn { height: 40px; font-size: 13px; }
  .lot-grid.list { grid-template-columns: 1fr; }
  .lot-grid.list .lot { flex-direction: column; }
  .lot-grid.list .lot .media { width: 100%; }
  .lot-grid.list .lot .btn { width: 100%; }
  .hero .proof { gap: 22px; }
  .hero .cta .btn { flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news form { flex-direction: column; }
  .footer .grid { grid-template-columns: 1fr; gap: 28px; }
  .spec { grid-template-columns: 1fr; }
  .gallery .thumbs { gap: 8px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .pickup-slot { grid-template-columns: 1fr; }
  .inv-meta { grid-template-columns: 1fr 1fr; }
  .social-btns { grid-template-columns: 1fr; }
  .switcher { left: 12px; bottom: 12px; }
  .switcher-btn small { display: none; }
  .page-links { grid-template-columns: 1fr; }
}
