/* =========================================================
   Velmora Motors — main stylesheet
   1. Tokens   2. Base   3. Layout   4. Buttons & badges
   5. Header   6. Footer   7. Components   8. Forms
   9. Vehicle card   10. Account layout   11. Utilities
   ========================================================= */

/* Fonts are stored on our own server (no Google Fonts request = no visitor data sent to Google, GDPR). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Manrope"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- 1. Tokens (change colours here, the whole site follows) ---------- */
:root {
  /* Graphite (the "navy" names are kept so every rule keeps working; the colours are graphite) */
  --navy-950: #0E0F12;
  --navy-900: #16181D;
  --navy-800: #1F2228;
  --navy-700: #2E323B;
  --navy-600: #424854;
  --navy-100: #ECEAE5;

  /* Burgundy — buttons and highlights ("orange" names kept for the same reason) */
  --orange-700: #5A1520;
  --orange-600: #6B1A26;
  --orange-500: #7D2232;
  --orange-100: #F6E7E9;

  /* Brass — accents on dark backgrounds */
  --brass:      #D2B07A;
  --brass-soft: rgba(196, 160, 104, .28);

  /* Neutrals (warm cream) */
  --paper:   #F7F4EE;
  --paper-2: #EFE9DF;
  --white:   #FFFFFF;
  --ink:     #17191E;
  --ink-2:   #41464F;
  --muted:   #6A6D74;
  --line:    #E5DED2;
  --line-2:  #D5CCBE;

  /* Status */
  --green:      #1F7A4D;
  --green-100:  #E1F2E8;
  --red:        #B42318;
  --red-100:    #FDE6E3;
  --amber:      #A15C07;
  --amber-100:  #FEF0C7;

/* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, .06);
  --shadow:    0 6px 24px -8px rgba(22, 24, 29, .18);
  --shadow-lg: 0 24px 60px -20px rgba(22, 24, 29, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
.icon { display: inline-block; flex: none; vertical-align: -0.2em; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--navy-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
::selection { background: var(--orange-500); color: var(--white); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--navy { background: var(--navy-900); color: #CFCBC3; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 640px; }
.section-head h2 { margin: 0; }
.section-head__aside { max-width: 420px; color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--brass); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- 4. Buttons & badges ---------- */
.btn {
  --bg: var(--navy-800); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 700 .95rem/1 var(--font-body);
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: 10px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--primary { --bg: var(--orange-500); box-shadow: 0 8px 20px -10px rgba(125, 34, 50, .55); }
.btn--primary:hover { --bg: var(--orange-600); }
.btn--navy:hover { --bg: var(--navy-700); }
.btn--outline { --bg: transparent; --fg: var(--navy-800); --bd: var(--line-2); }
.btn--outline:hover { --bd: var(--navy-800); }
.btn--ghost-light { --bg: rgba(255,255,255,.06); --fg: var(--white); --bd: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.14); }
.btn--danger { --bg: var(--white); --fg: var(--red); --bd: #F3B8B2; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--navy-100); color: var(--navy-700);
}
.badge--live   { background: var(--orange-100); color: var(--orange-700); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); animation: pulse 1.6s infinite; }
.badge--green  { background: var(--green-100); color: var(--green); }
.badge--red    { background: var(--red-100); color: var(--red); }
.badge--amber  { background: var(--amber-100); color: var(--amber); }
.badge--dark   { background: rgba(14, 15, 18, .78); color: var(--white); backdrop-filter: blur(6px); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- 5. Header ---------- */
.announce { background: var(--orange-500); color: var(--white); font-size: .875rem; font-weight: 600; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; position: relative; padding-right: 48px; }
.announce p { margin: 0; text-align: center; }
.announce a { color: var(--white); font-weight: 800; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse 1.6s infinite; flex: none; }
.announce__close { position: absolute; right: var(--gutter); background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; border-radius: 6px; opacity: .85; }
.announce__close:hover { opacity: 1; background: rgba(255,255,255,.15); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(196, 160, 104, .22);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand__mark { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.01em; line-height: 1; }
.brand__name em { font-style: normal; font-weight: 600; color: var(--brass); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.main-nav__link {
  position: relative; padding: 10px 12px; white-space: nowrap; border-radius: 8px;
  color: #CFCBC3; font-weight: 600; font-size: .94rem; text-decoration: none;
  transition: color .15s, background .15s;
}
.main-nav__link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.main-nav__link.is-active { color: var(--white); }
.main-nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.main-nav__mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions__login { color: var(--white); font-weight: 600; font-size: .94rem; text-decoration: none; padding: 10px 12px; }
.header-actions__login:hover { color: var(--brass); }
.header-actions__account { display: inline-flex; align-items: center; gap: 9px; color: var(--white); text-decoration: none; font-weight: 600; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.07); }
.header-actions__account:hover { color: var(--white); background: rgba(255,255,255,.13); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-500); color: var(--white); font-weight: 800; font-size: .9rem; }

.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #CFCBC3; }
.icon-btn:hover { color: var(--white); background: rgba(255,255,255,.08); }
.icon-btn__badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange-500); color: var(--white); font-size: .68rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--navy-900); }

.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center; }
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .header-actions__login, .header-actions .btn, .header-actions__name { display: none; }
  .header-actions__account { padding: 4px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .main-nav__link.is-active::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
  .main-nav__mobile-actions { display: grid; gap: 10px; margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
  body.nav-open { overflow: hidden; }
}

.flash-stack { display: grid; gap: 10px; padding-top: 20px; }

/* ---------- 6. Footer ---------- */
.site-footer { background: var(--navy-950); color: #A8A49C; padding-top: clamp(40px, 6vw, 72px); font-size: .94rem; }
.site-footer a { color: #E2DED6; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }

.footer-cta {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(196, 160, 104, .35), transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.footer-cta__title { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .35em; max-width: 22ch; }
.footer-cta__text { margin: 0; max-width: 58ch; color: #BDB8AE; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .btn--ghost-light { color: var(--white); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin: 16px 0 18px; max-width: 38ch; }
.footer-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-trust li { display: flex; gap: 10px; align-items: center; }
.footer-trust .icon { color: var(--brass); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 6px; }
.footer-contact p { display: flex; gap: 10px; margin: 0; align-items: flex-start; }
.footer-contact .icon { color: var(--brass); margin-top: 4px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (max-width: 900px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 7. Components ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card__body { padding: clamp(20px, 3vw, 28px); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.card__head h2, .card__head h3 { margin: 0; font-size: 1.3rem; }

.feature { padding: 26px; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: var(--brass); margin-bottom: 18px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.stat { padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat__label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat__value { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; line-height: 1.1; color: var(--navy-900); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid; font-weight: 600; font-size: .94rem; }
.alert--success { background: var(--green-100); border-color: #A7D8BC; color: #145536; }
.alert--error   { background: var(--red-100); border-color: #F3B8B2; color: #8A1A12; }
.alert--info    { background: var(--navy-100); border-color: #D8D3CA; color: var(--navy-800); }
.alert--warning { background: var(--amber-100); border-color: #F6D88F; color: #7A4505; }

.empty { text-align: center; padding: clamp(36px, 6vw, 64px) 20px; }
.empty__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; background: var(--orange-100); color: var(--orange-600); }
.empty h3 { margin-bottom: .35em; }
.empty p { color: var(--muted); max-width: 44ch; margin: 0 auto 22px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: .875rem; text-decoration: none; }
.tab:hover { border-color: var(--navy-700); color: var(--navy-800); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.tab__count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .75rem; text-align: center; }
.tab.is-active .tab__count { background: rgba(255,255,255,.18); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th { text-align: left; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.num { font-variant-numeric: tabular-nums; text-align: right; }

.countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown.is-urgent { color: var(--red); }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; color: var(--navy-900); list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--orange-600); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- 8. Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: start; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field .req { color: var(--orange-600); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2313294B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #9AA3B2; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9AF9F; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(30, 32, 38, .14); }
.input[aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: .82rem; color: var(--muted); margin: 0; }
.error-text { font-size: .82rem; color: var(--red); font-weight: 600; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange-500); flex: none; }
.input-group { position: relative; }
.input-group .input { padding-right: 48px; }
.input-group__btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; }
.input-group__btn:hover { color: var(--navy-800); background: var(--paper); }

.choice-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: var(--white); font-weight: 700; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--orange-500); background: #FBF4F5; box-shadow: 0 0 0 3px rgba(196, 160, 104, .14); }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange-500); outline-offset: 2px; }

/* ---------- 9. Vehicle card ---------- */
.vcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.vcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.vcard__time { position: absolute; left: 12px; bottom: 12px; }
.vcard__watch { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--navy-800); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.vcard__watch:hover, .vcard__watch.is-on { color: var(--orange-600); }
.vcard__watch.is-on svg { fill: currentColor; }
.vcard__body { padding: 18px 18px 0; flex: 1; }
.vcard__make { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin: 0 0 6px; }
.vcard__title { font-size: 1.12rem; margin: 0 0 6px; line-height: 1.2; }
.vcard__title a { color: inherit; text-decoration: none; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.vcard { position: relative; }
.vcard__watch, .vcard__foot .btn { position: relative; z-index: 2; }
.vcard__summary { font-size: .86rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.vcard__specs span { display: flex; align-items: center; gap: 7px; }
.vcard__specs .icon { color: var(--muted); }
.vcard__foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.vcard__price-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcard__price { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--navy-900); }
.vcard__meta { font-size: .78rem; color: var(--muted); }

/* ---------- 10. Account layout ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); padding: 12px; }
.side-nav__title { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; margin: 0; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; }
.side-nav a .icon { color: var(--muted); }
.side-nav a:hover { background: var(--paper); color: var(--navy-800); }
.side-nav a.is-active { background: var(--navy-800); color: var(--white); }
.side-nav a.is-active .icon { color: var(--brass); }
.side-nav__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--orange-500); color: var(--white); font-size: .72rem; font-weight: 800; text-align: center; }
@media (max-width: 900px) {
  .account-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .side-nav__title { display: none; }
  .side-nav a { white-space: nowrap; }
}

/* ---------- 11. Utilities ---------- */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Urgent countdown on a dark photo badge: red pill, white text */
.badge--dark.countdown.is-urgent { background: var(--red); color: var(--white); }

/* =========================================================
   12. Public pages (step 2)
   ========================================================= */
.badge--light { background: rgba(255,255,255,.92); color: var(--navy-800); }
.badge--navy-solid { background: var(--navy-800); color: var(--white); }
.text-right { text-align: right; }
.text-green { color: var(--green); font-weight: 700; }
.text-amber { color: var(--amber); font-weight: 700; }
.mt-l { margin-top: 28px; }
.pt-0 { padding-top: 0; }
.h3 { font-size: 1.3rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px rgba(196, 160, 104, .25); animation: pulse 1.6s infinite; }
.hp { position: absolute; left: -9999px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .86rem; text-decoration: none; }
.chip:hover { border-color: var(--navy-700); color: var(--navy-800); }
.chip--remove { background: var(--navy-100); border-color: transparent; color: var(--navy-800); }
.chip--remove:hover { background: var(--red-100); color: var(--red); }

.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.select--sm { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: .9rem; width: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--orange-600); margin-top: 3px; }
.check-list--light { color: #DCE3EE; }
.check-list--light .icon { color: var(--brass); }

/* ----- Hero (home) ----- */
.hero {
  position: relative; color: #CFCBC3; padding: clamp(48px, 7vw, 96px) 0 0;
  background:
    radial-gradient(55% 70% at 88% 8%, rgba(196, 160, 104, .16), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgba(70, 72, 80, .45), transparent 70%),
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: var(--paper); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero__accent { color: var(--brass); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 54ch; color: #CFCBC3; margin-bottom: 28px; }
.hero__proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 600; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--brass); }

.hero-lot { display: block; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-lg); transition: transform .3s, box-shadow .3s; }
.hero-lot:hover { transform: translateY(-4px); color: var(--ink); }
.hero-lot__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.hero-lot__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-lot__media .badge { position: absolute; top: 14px; left: 14px; }
.hero-lot__body { padding: 20px 22px 22px; }
.hero-lot__title { font-size: 1.35rem; margin-bottom: 14px; }
.hero-lot__row { display: flex; justify-content: space-between; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-lot__time { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--orange-600); }

.quick-search {
  position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 16px; align-items: end;
  padding: 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.quick-search__btn { min-height: 48px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-lot { transform: none; max-width: 520px; }
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search__q, .quick-search__btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .quick-search { grid-template-columns: 1fr; } }

/* ----- Types / makes ----- */
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.type-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; }
.type-tile:hover { border-color: var(--orange-500); background: #FBF4F5; transform: translateY(-2px); color: var(--ink); }
.type-tile__icon { display: grid; place-items: center; width: 60px; height: 44px; border-radius: 10px; background: var(--white); color: var(--orange-600); grid-row: 1 / 3; box-shadow: var(--shadow-sm); }
.type-tile.is-empty { opacity: .55; }
.type-tile.is-empty .type-tile__icon { color: var(--muted); }
.type-tile__name { font-weight: 700; }
.type-tile__count { font-size: .82rem; color: var(--muted); }
.make-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.make-row__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
@media (max-width: 760px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- Steps (home) ----- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 26px 26px 26px 0; border-top: 2px solid rgba(255,255,255,.12); position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--orange-500); }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: rgba(255,255,255,.18); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { color: var(--white); }
.step p { margin: 0; color: #A8A49C; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ----- Visit / FAQ split ----- */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.visit__panel .stat { background: var(--paper); }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .visit, .faq-split { grid-template-columns: 1fr; gap: 28px; } }

/* ----- Page hero (inner pages) ----- */
.page-hero {
  color: #CFCBC3; padding: clamp(44px, 6vw, 80px) 0;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(196, 160, 104, .22), transparent 60%),
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.page-hero__lead { font-size: 1.1rem; max-width: 60ch; color: #CFCBC3; margin-bottom: 24px; }
.page-hero--short { padding-block: clamp(36px, 5vw, 60px); }
.page-hero--short .page-hero__lead { margin: 0; }
.page-hero__split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.ready-card { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ready-card h2 { font-size: 1.3rem; color: var(--white); }
.ready-card .check-list { margin: 0; }
@media (max-width: 900px) { .page-hero__split { grid-template-columns: 1fr; gap: 28px; } }

/* ----- Auctions list ----- */
.filters { padding: 20px; margin-top: -48px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.filters__main { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 16px; align-items: end; }
.filters__more { margin-top: 14px; }
.filters__more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--navy-700); list-style: none; }
.filters__more summary::-webkit-details-marker { display: none; }
.filters__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .filters__main { grid-template-columns: 1fr 1fr; }
  .filters__q, .filters__submit { grid-column: 1 / -1; }
  .filters__grid { grid-template-columns: 1fr 1fr; }
}
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin: 32px 0 20px; }
.results-bar__title { font-size: 1.6rem; margin: 0; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.active-filters__clear { font-size: .86rem; font-weight: 700; margin-left: 4px; }
.sort-form { display: flex; align-items: center; gap: 10px; }

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; }
.pagination__pages { display: flex; gap: 6px; align-items: center; }
.pagination__page { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.pagination__page:hover { border-color: var(--navy-700); }
.pagination__page.is-current { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pagination__step { font-weight: 700; text-decoration: none; }
.pagination__step.is-disabled { color: var(--line-2); }
.pagination__gap { color: var(--muted); }

/* ----- Vehicle page ----- */
.lot-head { background: linear-gradient(170deg, var(--navy-900), var(--navy-950)); color: #CFCBC3; padding: 28px 0 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 22px; }
.breadcrumb a { color: #A8A49C; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }
.lot-head__title { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .25em; }
.lot-head__summary { font-size: 1.08rem; margin-bottom: 18px; }
.lot-head__tags { gap: 8px; }
.lot-head .badge--light { background: rgba(255,255,255,.1); color: #ECEAE5; }

.lot__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.lot__main { display: grid; gap: 20px; }
.lot__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 1000px) {
  .lot__grid { grid-template-columns: 1fr; gap: 20px; }
  .lot__main { display: contents; }          /* lets the photo come first, then the bid panel */
  .gallery { order: -2; }
  .lot__side { position: static; order: -1; }
}

.gallery__main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 104px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--paper-2); opacity: .75; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--orange-500); opacity: 1; }

.lot-tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; overflow-x: auto; padding: 8px; background: rgba(247, 244, 238, .92); backdrop-filter: blur(8px); border-radius: 12px; border: 1px solid var(--line); }
.lot-tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.lot-tabs a:hover { background: var(--white); color: var(--navy-800); }
.lot-section { scroll-margin-top: calc(var(--header-h) + 70px); }
.lot-section h2 { font-size: 1.6rem; }

.key-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 22px; }
.key-facts > div { background: var(--white); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.key-facts .icon { grid-row: span 2; color: var(--orange-600); }
.key-facts span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.key-facts strong { font-size: 1rem; }
@media (max-width: 600px) { .key-facts { grid-template-columns: 1fr 1fr; } }
.prose { color: var(--ink-2); }
.prose > *:last-child { margin-bottom: 0; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 600px) { .spec-list { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: center; }
.feature-list .icon { color: var(--green); }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }

.condition-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.condition-head h2 { margin: 0; }
.grade { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--paper); line-height: 1.2; }
.grade__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.grade small { color: var(--muted); }
.issue-list { margin: 0 0 20px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.issue-list li { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--amber-100); color: #6B3D04; font-weight: 600; font-size: .94rem; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--navy-100); color: var(--navy-800); margin-bottom: 16px; }
.note p { margin: 0; }
.note .icon { margin-top: 3px; flex: none; }

.card__foot { padding: 14px clamp(20px, 3vw, 28px) 18px; margin: 0; border-top: 1px solid var(--line); }
.table tr.is-leading td { background: #F6FBF8; }
.cost-table { margin: 6px 0 14px; }
.cost-table td { padding-left: 0; padding-right: 0; }
.cost-table__total td { font-weight: 800; font-size: 1.1rem; color: var(--navy-900); border-top: 2px solid var(--navy-800); }
.delivery-box { display: flex; gap: 18px; align-items: flex-start; }
.delivery-box__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; flex: none; }
.delivery-box h2 { margin-bottom: 6px; }
.delivery-box p { color: var(--ink-2); }

.bid-panel { padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--orange-500); }
.bid-panel__top { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bid-panel__time { display: grid; gap: 2px; }
.bid-panel__countdown { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--navy-900); gap: 10px; }
.bid-panel__countdown .icon { color: var(--orange-600); }
.bid-panel__countdown.is-urgent, .bid-panel__countdown.is-urgent .icon { color: var(--red); }
.bid-panel__price { display: grid; gap: 2px; padding: 16px 0; }
.bid-panel__amount { font-family: var(--font-display); font-weight: 600; font-size: 2.8rem; line-height: 1; color: var(--navy-900); }
.bid-panel__meta { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.bid-form { display: grid; gap: 8px; margin-bottom: 14px; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); font-size: 1.15rem; }
.money-input .input { padding-left: 36px; font-size: 1.25rem; font-weight: 800; min-height: 56px; }
.buy-now-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin: 4px 0 12px; border-radius: var(--radius-sm); background: var(--paper); }
.buy-now-box strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.bid-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.bid-panel__actions .btn.is-on { color: var(--orange-600); border-color: var(--orange-500); }
.bid-panel__actions .btn.is-on svg { fill: currentColor; }
.bid-panel__notes { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .84rem; color: var(--ink-2); }
.bid-panel__notes li { display: flex; gap: 10px; }
.bid-panel__notes .icon { color: var(--muted); margin-top: 2px; }
.help-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.help-card__phone { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--navy-900); text-decoration: none; margin-bottom: 8px; }

/* ----- How it works ----- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.journey__item { padding: 26px; position: relative; scroll-margin-top: calc(var(--header-h) + 20px); }
.journey__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-500); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.journey__item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.journey__item:target { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(196,160,104,.15); }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.rules { display: grid; gap: 22px; margin-top: 24px; }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.rule .feature__icon { margin: 0; }
.rule h3 { font-size: 1.12rem; margin-bottom: .3em; }
.rule p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ----- About ----- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.story__badge { position: absolute; left: 20px; right: 20px; bottom: -22px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-size: .9rem; }
.story__badge .icon { color: var(--orange-600); margin-top: 2px; }
.story__badge span { color: var(--muted); }
.company { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.company__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 0; }
.company__list dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 4px; }
.company__list dd { margin: 0; font-weight: 700; }
@media (max-width: 900px) {
  .story, .company { grid-template-columns: 1fr; gap: 40px; }
  .company__list { grid-template-columns: 1fr; }
}

/* ----- Contact ----- */
.contact { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; margin-top: -72px; position: relative; z-index: 2; }
.contact__info { display: grid; gap: 16px; }
.contact__map { height: 150px; display: grid; place-items: center; color: var(--orange-500); border-radius: var(--radius) var(--radius) 0 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(30,32,38,.08) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(30,32,38,.08) 22px 23px),
    var(--navy-100); }
.contact__form { box-shadow: var(--shadow); }
.contact__submit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.contact__submit .hint { display: flex; align-items: center; gap: 6px; }
.contact-quick { display: grid; gap: 16px; }
.contact-quick > * { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; font-weight: 700; }
.contact-quick .icon { color: var(--brass); }
.contact-quick small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #A8A49C; font-weight: 800; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; margin-top: 0; } .contact__form { order: -1; } }

/* ----- Legal pages ----- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.legal__nav { padding: 10px; display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.legal__nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.legal__nav a:hover { background: var(--paper); }
.legal__nav a.is-active { background: var(--navy-800); color: var(--white); }
.legal__body h2 { font-size: 1.4rem; margin-top: 1.4em; }
@media (max-width: 800px) { .legal { grid-template-columns: 1fr; } .legal__nav { position: static; } }

/* =========================================================
   13. Login / register & My account (step 3)
   ========================================================= */
.mt-neg { margin-top: -8px; }
.pt-s { padding-top: 16px; }
.anchor { scroll-margin-top: calc(var(--header-h) + 20px); }
.chip--save { background: var(--orange-100); border-color: transparent; color: var(--orange-700); }
.chip--save:hover { background: var(--orange-500); color: var(--white); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; text-decoration: none; }
.icon-plain { background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--muted); cursor: pointer; }
.icon-plain:hover { color: var(--green); background: var(--green-100); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__link { font-size: .86rem; font-weight: 700; }
.choice__sub { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.stat__text { font-weight: 800; color: var(--navy-900); margin-top: 4px; }

/* ----- Auth pages ----- */
.auth { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.auth__aside {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #CFCBC3;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(196, 160, 104, .32), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  min-height: 520px; display: flex; flex-direction: column;
}
.auth__title { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.auth__aside .check-list { margin-bottom: 28px; }
.auth__aside-foot { margin: auto 0 0; display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--white); }
.auth__aside-foot .icon { color: var(--brass); }
.auth__card { padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.auth__card--narrow { max-width: 520px; width: 100%; }
.auth__heading { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: .3em; }
.auth__card > .muted { margin-bottom: 24px; }
.terms-box { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 900px) {
  .auth__grid { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .auth__card--narrow { margin-inline: auto; }
}

/* ----- Account hero ----- */
.account-hero { color: #CFCBC3; padding: clamp(32px, 5vw, 56px) 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(196, 160, 104, .22), transparent 60%), linear-gradient(170deg, var(--navy-900), var(--navy-950)); }
.account-hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: end; }
.account-hero__title { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 22px; }
.account-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.account-stat { display: grid; gap: 2px; min-width: 120px; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: inherit; transition: background .15s; }
.account-stat:hover { background: rgba(255,255,255,.12); color: inherit; }
.account-stat span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.account-stat strong { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--white); }
.account-id { padding: 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.account-id__name { color: var(--white); font-weight: 800; font-size: 1.15rem; margin: 0 0 6px; }
.account-id__line { margin: 0; font-size: .9rem; }
.account-id__line strong { color: var(--white); }
@media (max-width: 900px) { .account-hero__grid { grid-template-columns: 1fr; } .account-stat { flex: 1 1 40%; } }

.account-main { display: grid; gap: 20px; min-width: 0; }
.account-main > .tabs { margin-bottom: 0; }
.account-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.account-banner span { flex: 1; min-width: 220px; font-weight: 500; }
.account-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 1100px) { .account-split { grid-template-columns: 1fr; } }
.account-cards { gap: 20px; }

/* Getting started */
.progress { width: 160px; height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--orange-500); border-radius: inherit; }
.todo { list-style: none; margin: 0; padding: 8px clamp(20px, 3vw, 28px) 20px; display: grid; }
.todo__item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.todo__item:last-child { border-bottom: 0; }
.todo__item strong { display: block; }
.todo__item div span { font-size: .88rem; color: var(--muted); }
.todo__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-2); font-weight: 800; font-size: .85rem; color: var(--ink-2); }
.todo__item.is-done .todo__mark { background: var(--green); border-color: var(--green); color: var(--white); }
.todo__item.is-done strong { color: var(--muted); text-decoration: line-through; }

/* Mini lists */
.mini-list { list-style: none; margin: 0; padding: 6px clamp(20px, 3vw, 28px) 16px; }
.mini-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list img { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--paper-2); flex: none; }
.mini-list a { color: var(--ink); text-decoration: none; }
.mini-list a:hover { color: var(--orange-600); }
.mini-list div { display: grid; min-width: 0; }
.mini-list strong { font-size: .94rem; line-height: 1.3; }
.mini-list div > span { font-size: .84rem; color: var(--muted); }
.mini-list__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper); color: var(--muted); flex: none; }
.mini-list--notes li.is-unread .mini-list__icon { background: var(--orange-100); color: var(--orange-600); }

/* Bids table */
.bids-table__car { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 240px; }
.bids-table__car img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--paper-2); }
.bids-table__car span { display: grid; }
.bids-table__car small { color: var(--muted); }
.bids-table__car:hover strong { color: var(--orange-600); }
.bids-table__again { display: block; font-size: .8rem; font-weight: 700; margin-top: 4px; }

/* Orders / offers */
.order-list { list-style: none; margin: 0; padding: 0; }
.order { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 18px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.order:last-child { border-bottom: 0; }
.order img { width: 110px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.order h3 { margin: 0 0 4px; font-size: 1.1rem; }
.order h3 a { color: inherit; text-decoration: none; }
.order__side { display: grid; justify-items: end; gap: 8px; }
.order__total { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); }
@media (max-width: 640px) { .order { grid-template-columns: 80px 1fr; } .order img { width: 80px; height: 60px; } .order__side { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; } }
.mini-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }

/* Saved searches */
.save-search { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border: 1.5px solid var(--orange-500); background: #FBF4F5; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.search-list li:last-child { border-bottom: 0; }
.search-list__main { display: grid; }
.search-list__main span { font-size: .86rem; }
.search-list form { margin: 0; }

/* Notifications */
.notes-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px clamp(20px, 3vw, 28px); background: var(--paper); border-bottom: 1px solid var(--line); }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.note-item:last-child { border-bottom: 0; }
.note-item.is-unread { background: #FFFBF7; box-shadow: inset 3px 0 0 var(--orange-500); }
.note-item__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--navy-700); flex: none; }
.note-item.is-unread .note-item__icon { background: var(--orange-100); color: var(--orange-600); }
.note-item__body { flex: 1; display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.note-item__body span { color: var(--ink-2); font-size: .92rem; }
.note-item__body small { color: var(--muted); font-size: .8rem; }
.note-item form { margin: 0; }

/* Documents */
.doc-name { display: flex; gap: 12px; align-items: center; }
.doc-name .icon { color: var(--orange-600); }
.doc-name span { display: grid; }
.doc-name small { color: var(--muted); }

/* Settings */
.ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ready-list li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.ready-list li.is-ok { color: var(--ink); }
.ready-list li.is-ok .icon { color: var(--green); }
.toggle-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.toggle-row:has(input:checked) { border-color: #A7D8BC; background: #F6FBF8; }
.toggle-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.toggle-row span { display: grid; }
.toggle-row small { color: var(--muted); }

/* Fixes */
[hidden] { display: none !important; }
.countdown { white-space: nowrap; }
.account-layout > * { min-width: 0; }
@media (max-width: 900px) { .account-layout { grid-template-columns: minmax(0, 1fr); } }
.input:disabled { background: var(--paper); color: var(--muted); cursor: not-allowed; }
@media (max-width: 520px) {
  .site-header__inner { gap: 12px; }
  .brand__name em { display: none; }          /* "Velmora" only on small phones */
  .header-actions { gap: 4px; }
}
.account-main > *, .lot__main > * { min-width: 0; }

/* =========================================================
   14. Live auction (step 4)
   ========================================================= */
.quick-bids { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-bids .chip { cursor: pointer; font-variant-numeric: tabular-nums; }
.bid-feedback { font-size: .9rem; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { color: var(--orange-600); transform: scale(1.04); } 100% { transform: none; } }

.my-status { display: grid; gap: 6px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--radius-sm); background: var(--paper); }
.my-status__pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.my-status__pill.is-lead, .my-status__pill.is-win { color: var(--green); }
.my-status__pill.is-out { color: var(--red); }
.my-status__max { font-size: .88rem; color: var(--muted); }
.blockers ul { margin: 6px 0 10px; padding-left: 18px; font-weight: 500; }

.confirm-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.confirm-dialog::backdrop { background: rgba(14, 15, 18, .55); backdrop-filter: blur(3px); }
.confirm-dialog form { padding: 28px; display: grid; gap: 12px; }
.confirm-dialog h2 { font-size: 2.6rem; margin: 0; color: var(--navy-900); }
.confirm-dialog p { margin: 0; color: var(--ink-2); }
.confirm-dialog__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 6px; }

/* =========================================================
   15. Payments, Buy It Now, offers (step 6)
   ========================================================= */
.narrow { max-width: 720px; }
.pay-card { box-shadow: var(--shadow); overflow: hidden; }
.pay-card h1 { margin-bottom: 0; }
.pay-options { display: grid; gap: 12px; }
.pay-option { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.pay-option h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: .3em; }
.pay-option h3 .icon { color: var(--orange-600); }
.bank-box { padding: 12px 14px; background: var(--paper); border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.pay-option--main { border-color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
/* Bank transfer details + SEPA QR code */
.bank-transfer { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); margin: 10px 0; }
.bank-transfer__list { margin: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.bank-transfer__list div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.bank-transfer__list dt { color: var(--muted); font-size: .88rem; }
.bank-transfer__list dd { margin: 0; font-weight: 600; word-break: break-word; }
.bank-transfer__iban { letter-spacing: .04em; }
.bank-transfer__qr { margin: 0; width: 150px; text-align: center; }
.bank-transfer__code { background: #fff; padding: 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.bank-transfer__code svg { display: block; width: 100%; height: auto; }
.bank-transfer__qr figcaption { font-size: .75rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
@media (max-width: 560px) {
  .bank-transfer { grid-template-columns: 1fr; }
  .bank-transfer__qr { width: 170px; margin: 0 auto; }
  .bank-transfer__list div { grid-template-columns: 1fr; gap: 0; }
  .bank-transfer__list dt { font-size: .78rem; }
}
.confirm-car { display: flex; gap: 16px; align-items: center; padding: 20px clamp(20px, 3vw, 28px); background: var(--paper); border-bottom: 1px solid var(--line); }
.confirm-car img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.confirm-car h1 { margin: 0; }
.offer-btn { margin-top: 10px; }
.listing-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.listing-summary > div { background: var(--white); padding: 12px 14px; display: grid; }
.listing-summary span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.listing-summary strong { font-size: 1.15rem; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* =========================================================
   16. Legal pages, errors (step 7)
   ========================================================= */
.legal-draft { padding: 14px 16px; margin-bottom: 24px; border-radius: var(--radius-sm); background: var(--amber-100); border: 1px solid #F6D88F; color: #7A4505; font-size: .92rem; }
.legal__body ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .92rem; }
.legal__body th, .legal__body td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__body th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal__body h2:first-of-type { margin-top: .4em; }
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-page__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; color: var(--orange-500); margin: 0; }
.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.error-page p { color: var(--muted); max-width: 46ch; margin: 0 auto 26px; }
.mt-s { margin-top: 10px; }

/* ---------- 17. Vehicle history check ---------- */
.history-sum { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green); margin-bottom: 14px; }
.history-sum--warn { background: var(--amber-100); color: var(--amber); }
.history-sum__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; }
.history-sum strong { display: block; font-size: 17px; color: var(--ink); }
.history-sum span:not(.history-sum__icon) { font-size: 14px; color: var(--ink-2); }
.history-recorded { margin: 0 0 16px; padding: 12px 16px 12px 34px; border: 1px solid #F3D9A4; border-radius: var(--radius-sm); background: #FFFBF2; }
.history-recorded li { margin: 4px 0; }
.history-facts { margin-top: 4px; }
.history-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.history-list li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); }
.history-list li:first-child { border-top: 0; }
.history-list li.is-recorded { background: #FFFBF2; }
.history-list__label { font-weight: 700; color: var(--ink); }
.history-list__text { color: var(--ink-2); }
.history-actions { margin: 18px 0 10px; }
.history-lock { display: grid; gap: 12px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--paper); }
.history-lock > .icon { color: var(--orange-500); }
.history-lock p { margin: 0; }
.lot-head__tags a.badge { text-decoration: none; }
@media (max-width: 560px) {
  .history-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .history-list__text { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
}

/* ---------- 18. Coming soon ---------- */
.coming-section { padding-top: 0; }
.coming-section__hint { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; }
.coming-section__hint .icon { color: var(--orange-500); }
.filters + .tabs { margin-top: 18px; }


/* ---------- 19. Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: 8px; color: #CFCBC3; font-weight: 700; font-size: .85rem; letter-spacing: .04em;
  cursor: pointer; list-style: none; user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--white); background: rgba(255,255,255,.07); }
.lang-switch__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.lang-switch__menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.lang-switch__menu a:hover { background: var(--paper); color: var(--orange-600); }
.lang-switch__menu a.is-current { color: var(--orange-600); }
.lang-switch__menu a.is-current::after { content: " ✓"; }

/* Desktop: the logo already links home, so the Home link is only in the mobile menu */
@media (min-width: 1141px) { .main-nav__link--home { display: none; } }
.hero .live-dot, .eyebrow--light .live-dot { background: var(--brass); }
@media (max-width: 520px) {
  .type-tile { grid-template-columns: 1fr; padding: 14px; }
  .type-tile__icon { grid-row: auto; margin-bottom: 8px; }
}
.type-tile__name, .type-tile__count { min-width: 0; overflow-wrap: anywhere; }

/* Delivery row in "What you'll pay" */
.cost-table__delivery td:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cost-table__delivery select { width: auto; min-width: 150px; }
.cost-table__delivery small { flex-basis: 100%; }

/* Delivery or collection choice (Buy It Now, purchases) */
.handover { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.choice--wide { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; width: 100%; }
.choice--wide strong { display: block; }
.handover__total { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: .9rem; }
.link-btn:hover { color: var(--orange-600); }
.order__handover { margin-top: 4px; }

.copy-btn { margin-left: 8px; font-size: .78rem; font-weight: 600; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); cursor: pointer; vertical-align: middle; }
.copy-btn.is-done { border-color: var(--green); color: var(--green); }
@media print { .copy-btn { display: none; } }

/* Legal texts */
.legal-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 18px; font-size: .9rem; }
.legal-switch a { padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.legal-switch a[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.legal-lead { padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--brass); border-radius: var(--radius-sm); }
.legal-form { padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--white); }
.legal-form p { margin: 0 0 8px; }
.fill-in { background: var(--amber-100); color: #7A4505; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose h3 { margin-top: 1.4em; }

.footer-withdraw { display: inline-block; padding: 4px 12px; border: 1px solid var(--brass); border-radius: 999px; color: #fff !important; background: rgba(176,141,87,.18); font-weight: 600; text-decoration: none !important; }
.footer-withdraw:hover { background: var(--brass); color: var(--navy-900) !important; }

/* Car page: where the car is */
.help-card__where { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.help-card__where svg { flex: none; margin-top: 3px; color: var(--orange-500); }
.help-card__where p { margin: 0; line-height: 1.45; }
.loc-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 14px; }
.loc-list li { line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.loc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
