/* Layout concept: a night showroom — dark ink bands carry the brand, ivory "paper" bands carry inventory and forms; gold is the only accent. */
:root {
  --ink: #0B0B0C;
  --ink-2: #121211;
  --ink-3: #171613;
  --line: #262522;
  --line-2: #3A372F;
  --ivory: #F4EFE4;
  --muted: #C9C3B6;
  --muted-2: #A9A394;
  --gold: #C9A44C;
  --gold-hi: #E3C77A;
  --gold-pale: #F3D77A;
  --gold-deep: #6E5410;
  --gold-shadow: #5A440A;
  --paper: #F6F2EA;
  --paper-2: #FBF8F1;
  --paper-ink: #1A1814;
  --paper-muted: #5C574C;
  --paper-line: #E4DDCF;
  --card: #FFFFFF;
  --heart: #B3261E;
  --ok: #2E6B3A;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
a, button, input, select, textarea { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s ease, box-shadow .25s ease; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: calc(var(--gutter-l) + 16px); padding-right: calc(var(--gutter-r) + 16px); }
.band { padding-block: 96px; }
.band--tight { padding-block: 64px; }
.band--paper { background: var(--paper); color: var(--paper-ink); }
.band--ink2 { background: var(--ink-2); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.grid-auto--sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.band--paper .eyebrow { color: #7A5F12; }
.eyebrow--rule::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.display { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em; }
.display em, .h2 em { font-style: italic; color: var(--gold-hi); }
.band--paper .h2 em { color: #7A5F12; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.band--paper .lead { color: var(--paper-muted); }
.muted { color: var(--muted-2); }
.band--paper .muted { color: var(--paper-muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,164,76,.25); }
.btn--ghost { border-color: #5A5446; color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.band--paper .btn--ghost { border-color: #B9B09C; color: var(--paper-ink); }
.band--paper .btn--ghost:hover { border-color: var(--paper-ink); }
.btn--dark { background: var(--ink); color: var(--gold-hi); }
.btn--dark:hover { background: #26231C; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 12px 0; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ivory); border: 1px solid var(--line-2); background: transparent; text-decoration: none; position: relative; cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.icon-btn svg { width: 18px; height: 18px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.badge[data-count="0"] { display: none; }

/* ---------- utility bar + header ---------- */
.utility { background: var(--ink-3); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.utility span { display: inline-flex; align-items: center; gap: 8px; }
.utility svg { width: 14px; height: 14px; color: var(--gold); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11,11,12,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 52px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--ivory); }
.brand-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 500; }
.main-nav > a, .dropdown > button { color: var(--ivory); text-decoration: none; padding: 12px 13px; border-radius: 999px; background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.main-nav > a:hover, .dropdown > button:hover { color: var(--gold-hi); }
.main-nav a[aria-current="page"], .dropdown.is-current > button { color: var(--gold-hi); }
.dropdown { position: relative; }
.dropdown svg { width: 14px; height: 14px; transition: transform .2s ease; }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; box-shadow: 0 24px 48px rgba(0,0,0,.5); display: none; flex-direction: column; }
.dropdown.open .dropdown-menu { display: flex; }
.dropdown.open > button svg { transform: rotate(180deg); }
.dropdown-menu a { padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ivory); }
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: #24211A; color: var(--gold-hi); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 16px var(--gutter-l); }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropdown > button { padding: 14px 16px; border-radius: 10px; width: 100%; justify-content: space-between; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 18px; }
  .brand svg { width: 42px; height: 38px; }
  .header-actions .btn { display: none; }
}

/* ---------- 3D motion ---------- */
@keyframes wgTurn { to { transform: rotateZ(360deg); } }
@keyframes wgSpin { to { transform: rotateY(360deg); } }
@keyframes wgFloat { 0%,100% { transform: translateY(0) rotateX(8deg) rotateY(-12deg); } 50% { transform: translateY(-12px) rotateX(8deg) rotateY(-12deg); } }
@keyframes wgBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wgGlow { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes wgFloor { from { background-position: 0 0; } to { background-position: 0 60px; } }
@keyframes wgRise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.wg-turn { animation: wgTurn 24s linear infinite; }
.wg-spin { animation: wgSpin 9s linear infinite; }
.wg-float { animation: wgFloat 6s ease-in-out infinite; }
.wg-bob { animation: wgBob 5s ease-in-out infinite; }
.wg-glow { animation: wgGlow 4s ease-in-out infinite; }
.wg-floor { animation: wgFloor 3s linear infinite; }
.hero-copy > * { animation: wgRise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.tilt { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; transform: perspective(1000px); }
.tilt:hover { transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-8px); box-shadow: 0 2px 4px rgba(26,24,20,.06), 0 36px 60px rgba(26,24,20,.18); }
.lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.lift:hover { transform: perspective(800px) translateY(-6px) rotateX(6deg); box-shadow: 0 24px 40px rgba(26,24,20,.14); }
@media (prefers-reduced-motion: reduce) {
  .wg-turn, .wg-spin, .wg-float, .wg-bob, .wg-glow, .wg-floor, .hero-copy > * { animation: none; }
  .tilt:hover, .lift:hover, .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 72% 55%, #2A2418 0%, var(--ink) 70%); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 80px 150px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-stage-col { flex: 1 1 520px; min-width: 0; }
.page-hero { background: radial-gradient(ellipse 70% 90% at 80% 0%, #2A2418 0%, var(--ink) 65%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: 72px 64px; display: flex; flex-direction: column; gap: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }

.stage { position: relative; aspect-ratio: 16 / 12; max-width: 100%; perspective: 1100px; perspective-origin: 50% 30%; }
.stage-floor { position: absolute; left: -30%; right: -30%; bottom: -6%; height: 70%; transform: rotateX(72deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(201,164,76,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(201,164,76,.28) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 20%, #000 10%, transparent 75%); }
.stage-light { position: absolute; left: 14%; right: 14%; top: -14%; height: 96%; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(243,215,122,.32), transparent 70%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.turntable { position: absolute; left: 6%; width: 88%; top: 79%; aspect-ratio: 1 / 1; transform: translateY(-50%) rotateX(77deg); transform-style: preserve-3d; }
.turntable > div { position: absolute; inset: 0; border-radius: 50%; }
.tt-base { background: #070706; transform: translateZ(-16px); box-shadow: 0 0 120px 20px rgba(201,164,76,.28); }
.tt-edge { background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi) 50%, var(--gold-deep)); transform: translateZ(-8px); }
.tt-top { border: 4px solid var(--gold); background: repeating-conic-gradient(rgba(227,199,122,.22) 0deg 1.5deg, transparent 1.5deg 22.5deg), repeating-radial-gradient(circle, #1C1A15 0 22px, #2A261D 22px 24px); box-shadow: inset 0 0 0 14px #13110D, inset 0 0 0 16px rgba(227,199,122,.7), inset 0 0 60px rgba(0,0,0,.8); }
.tt-ring { inset: -4% !important; border: 2px solid rgba(243,215,122,.7); filter: blur(3px); }
.stage-car { position: absolute; left: 10%; width: 80%; top: 40%; filter: drop-shadow(0 18px 18px rgba(0,0,0,.6)); }
.stage-reflect { position: absolute; left: 10%; width: 80%; top: 73.6%; transform: scaleY(-1); opacity: .16; -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 55%); mask-image: linear-gradient(0deg, #000 0%, transparent 55%); }
.glass-chip { position: absolute; background: rgba(20,19,17,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(227,199,122,.35); color: var(--gold-hi); font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.price-float { position: absolute; right: 2%; bottom: 2%; background: rgba(246,242,234,.95); color: var(--ink); padding: 14px 18px; border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.5), inset 0 1px 0 #FFF; text-decoration: none; display: block; }
.price-float small { display: block; font-size: 12px; font-weight: 600; color: var(--paper-muted); }
.price-float strong { display: block; font-size: 24px; letter-spacing: -0.01em; }
.price-float span { display: block; font-size: 13px; font-weight: 600; color: var(--gold-deep); }

/* coin */
.coin { position: relative; perspective: 800px; }
.coin-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin-body > div { position: absolute; inset: 0; border-radius: 50%; }
.coin-face { background: radial-gradient(circle at 32% 28%, #FFF1C2, var(--gold-hi) 30%, var(--gold) 58%, var(--gold-deep)); box-shadow: inset 0 0 0 4px rgba(110,84,16,.7), inset 0 0 0 7px var(--gold-hi); backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #3D2E06; font-family: var(--font-display); font-weight: 800; }
.coin-back { transform: rotateY(180deg) translateZ(var(--t, 4px)); }
.coin-front { transform: translateZ(var(--t, 4px)); }

/* ---------- quick search ---------- */
.quick { position: relative; margin-top: -92px; z-index: 2; }
.quick form { background: var(--paper); color: var(--paper-ink); border-radius: 20px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.45); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 16px; align-items: end; }

/* ---------- form fields (paper context) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: #4A463D; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid #D8D1C2; border-radius: 12px; padding: 0 14px; font: 500 15px var(--font-body); background: var(--card); color: var(--paper-ink); }
.field textarea { padding: 14px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--paper-ink); }
.field .hint { font-size: 12px; color: var(--paper-muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card { background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); color: var(--paper-ink); }
.form-success { display: flex; gap: 12px; align-items: flex-start; background: #EAF3EA; color: #1F4A27; border-radius: 12px; padding: 16px; font-weight: 500; }
.form-success svg { width: 22px; height: 22px; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--paper-muted); }
.check input { width: 20px; height: 20px; accent-color: var(--paper-ink); margin-top: 1px; flex: none; }

/* ---------- trust tiles ---------- */
.promise { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.promise h3 { margin: 0; font-size: 16px; font-weight: 600; font-family: var(--font-body); }
.promise p { margin-top: 4px; font-size: 14px; color: var(--muted-2); }
.gold-tile { flex: none; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #F6DE8A 0%, var(--gold) 50%, #8E6C10 100%); box-shadow: 0 6px 0 var(--gold-shadow), 0 12px 20px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.2); transform: perspective(300px) rotateX(14deg); display: flex; align-items: center; justify-content: center; color: #2A1F05; }
.gold-tile svg { width: 22px; height: 22px; }

/* ---------- calculator ---------- */
.calc { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 24px; }
.seg { display: inline-flex; align-self: flex-start; background: #E8E2D5; border-radius: 999px; padding: 4px; }
.seg button { border: 0; border-radius: 999px; min-height: 44px; padding: 0 22px; font: 600 15px var(--font-body); cursor: pointer; background: transparent; color: #3D392F; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--gold-hi); }
.body-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .body-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.body-pick button { border: 1.5px solid #D8D1C2; background: var(--paper-2); border-radius: 14px; min-height: 84px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 13px var(--font-body); color: var(--paper-ink); cursor: pointer; }
.body-pick button[aria-pressed="true"] { border-color: var(--ink); background: var(--card); box-shadow: 0 6px 16px rgba(26,24,20,.1); }
.body-pick svg { width: 56px; height: 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills button { border: 1.5px solid #D8D1C2; background: var(--card); color: var(--paper-ink); border-radius: 999px; min-height: 44px; padding: 0 18px; font: 600 15px var(--font-body); cursor: pointer; }
.pills button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--gold-hi); }
.calc-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #D8D1C2; }
.big-figure { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1.1; color: var(--gold-deep); font-variant-numeric: tabular-nums; }

/* ---------- car cards ---------- */
.car-card { background: var(--card); color: var(--paper-ink); border-radius: 20px; overflow: hidden; border: 1px solid var(--paper-line); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(26,24,20,.04), 0 12px 32px rgba(26,24,20,.06); }
.car-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(180deg, #23211D 0%, #121110 100%); overflow: hidden; }
.car-media::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 13%; height: 2px; background: linear-gradient(90deg, transparent, rgba(201,164,76,.6), transparent); }
.car-media svg.car-art { position: absolute; left: 9%; width: 82%; bottom: 14%; }
.car-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tag--dark { background: rgba(11,11,12,.72); color: var(--ivory); font-weight: 600; }
.heart { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(246,242,234,.94); color: var(--paper-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.heart svg { width: 20px; height: 20px; }
.heart[aria-pressed="true"] { color: var(--heart); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.car-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.car-body h3 { margin: 0; font-size: 20px; font-weight: 700; }
.car-body h3 a { text-decoration: none; }
.car-body h3 a:hover { color: #7A5F12; }
.spec-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips li { background: #F3EEE3; color: #3D392F; font-size: 13px; font-weight: 500; padding: 6px 10px; border-radius: 8px; }
.car-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #ECE6DA; }
.car-price .p { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.car-price .m { font-size: 18px; font-weight: 700; color: var(--gold-deep); text-align: right; font-variant-numeric: tabular-nums; }
.car-price small { display: block; font-size: 13px; font-weight: 500; color: var(--paper-muted); }

/* ---------- stock page ---------- */
.stock-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.filters { flex: 1 1 260px; max-width: 100%; background: var(--card); border: 1px solid var(--paper-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.results { flex: 999 1 560px; min-width: 0; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.results-bar .field { flex-direction: row; align-items: center; gap: 10px; }
.results-bar .field select { min-height: 44px; width: auto; }
.empty { text-align: center; padding: 56px 24px; border: 1.5px dashed #CFC6B3; border-radius: 20px; color: var(--paper-muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (max-width: 860px) { .filters { position: static; } }

/* ---------- car detail ---------- */
.detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-media { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.detail-main { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #23211D 0%, #121110 100%); }
.detail-main svg.car-art { position: absolute; left: 8%; width: 84%; bottom: 14%; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumbs button { aspect-ratio: 4 / 3; border-radius: 10px; border: 2px solid transparent; background: linear-gradient(180deg, #2A2722, #141310); cursor: pointer; padding: 0; color: var(--muted-2); font-size: 11px; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.detail-aside { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.price-card { background: var(--card); border: 1px solid var(--paper-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.spec-table th { font-weight: 500; color: var(--paper-muted); width: 45%; }
.spec-table td { font-weight: 600; }
.feature-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: center; }
.feature-list svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.range { width: 100%; accent-color: var(--ink); min-height: 32px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.kv strong { font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .detail-aside { position: static; } }

/* ---------- body type tiles ---------- */
.type-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; background: var(--card); border: 1px solid var(--paper-line); border-radius: 16px; text-decoration: none; color: var(--paper-ink); }
.type-tile svg.type { width: 84px; height: 36px; }
.type-tile span.t { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 17px; }
.round-arrow { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--gold-hi); display: flex; align-items: center; justify-content: center; flex: none; }
.round-arrow svg { width: 18px; height: 18px; }

/* ---------- steps / features / services ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 28px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.band--paper .steps li { background: var(--card); border-color: var(--paper-line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--gold); line-height: 1; }
.band--paper .steps li::before { color: #8A6A0E; }
.steps h3 { margin: 0; font-size: 19px; }
.steps p { color: var(--muted-2); font-size: 15px; }
.band--paper .steps p { color: var(--paper-muted); }
.service { background: var(--card); border: 1px solid var(--paper-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--paper-ink); }
.service h3 { margin: 0; font-size: 20px; }
.service ul { margin: 0; padding-left: 18px; color: var(--paper-muted); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.service .from { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--paper-line); display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.pillars { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; }
.pillars .gold-tile { width: 44px; height: 44px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--paper-line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; transition: transform .25s ease; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--paper-muted); max-width: 70ch; }

/* ---------- reviews ---------- */
.review-panel { border-radius: 28px; background: var(--ink-3); border: 1px solid var(--line); padding: clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.review-panel > * { min-width: 0; }
.stars { color: var(--gold-hi); font-size: 22px; letter-spacing: 4px; }
.quote { margin: 20px 0 24px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; }
.review-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-card blockquote { margin: 0; font-size: 17px; color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: #2A2620; color: var(--gold-hi); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.who { display: flex; align-items: center; gap: 14px; }
.who strong { display: block; }
.who span { display: block; font-size: 14px; color: var(--muted-2); }

/* ---------- CTA band ---------- */
.cta-gold { border-radius: 28px; background: linear-gradient(135deg, #E3C77A 0%, var(--gold) 45%, #B08A2E 100%); color: var(--ink); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.cta-gold > * { flex: 1 1 380px; min-width: 0; }
.cta-gold .h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-gold p { color: #2A2416; }
.cta-gold form { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-gold input { flex: 1 1 240px; min-width: 0; height: 56px; border: 0; border-radius: 999px; padding: 0 22px; font: 16px var(--font-body); background: var(--paper-2); color: var(--paper-ink); }
.cta-gold .btn { min-height: 56px; }
.cta-gold .form-success { flex-basis: 100%; }

/* ---------- media placeholders ---------- */
.ph { position: relative; border-radius: var(--radius-lg); border: 1px solid #2E2B25; background: linear-gradient(160deg, #221E15 0%, #0F0E0D 80%); display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 14px; text-align: center; padding: 24px; aspect-ratio: 4 / 3; max-width: 100%; }
.band--paper .ph { background: linear-gradient(160deg, #EDE6D6, #DCD3BF); border-color: var(--paper-line); color: var(--paper-muted); }
.map-ph { aspect-ratio: 16 / 9; background: repeating-linear-gradient(0deg, transparent 0 38px, rgba(201,164,76,.12) 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(201,164,76,.12) 38px 40px), #13120F; flex-direction: column; gap: 14px; }
.pin { width: 52px; height: 52px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold); box-shadow: 0 10px 24px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.pin span { transform: rotate(45deg); font-family: var(--font-display); font-weight: 800; color: var(--ink); }

/* ---------- contact list ---------- */
.contact-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .gold-tile { width: 44px; height: 44px; }
.copy-btn { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 999px; min-height: 36px; padding: 0 12px; font: 600 13px var(--font-body); cursor: pointer; margin-top: 6px; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-variant-numeric: tabular-nums; }
.hours dd { margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); }
.site-footer .wrap { padding-block: 72px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer-grid h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; font-family: var(--font-body); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer-grid ul a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-grid ul a:hover { color: var(--gold-hi); }
.footer-grid .hours { color: var(--muted); font-size: 15px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-2); }
.footer-bottom a { color: var(--muted-2); }
.socials { display: flex; gap: 8px; margin-top: 8px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ivory); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.heart-text[aria-pressed="true"] { color: var(--heart); border-color: var(--heart); }
.heart-text[aria-pressed="true"] svg { fill: currentColor; }

/* =====================================================================
   ACCOUNTS, DASHBOARD AND SHARED ADDITIONS
   ===================================================================== */
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
@media (max-width: 1180px) { .hide-md { display: none !important; } }

/* announcement banner */
.announce { background: linear-gradient(90deg, #B08A2E, var(--gold), #B08A2E); color: var(--ink); font-weight: 600; font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 9px; text-align: center; }
.announce svg { width: 18px; height: 18px; flex: none; }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--gold-hi); }

/* account button in header */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.acct-btn svg { width: 18px; height: 18px; }
.acct-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.acct-btn[data-role="admin"], .acct-btn[data-role="manager"] { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 560px) { .acct-btn { width: 44px; padding: 0; justify-content: center; } .acct-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* photos on cards and car page */
.car-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-main .car-photo { object-fit: cover; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.thumbs button { overflow: hidden; }
.tag--warn { background: var(--ivory); color: #7A2E12; }
.status-banner { background: #FBEDE4; color: #7A2E12; border-radius: 12px; padding: 12px 16px; font-weight: 600; }

/* forms: messages */
.form-msg { margin-top: 4px; }
.form-error { display: flex; gap: 12px; align-items: flex-start; background: #FBEAE7; color: #7A1E12; border-radius: 12px; padding: 16px; font-weight: 500; }
.form-error svg { width: 22px; height: 22px; flex: none; }
.toast--error { background: #FBEAE7; color: #7A1E12; }
.link-btn { background: none; border: 0; padding: 8px 0; font: 600 14px var(--font-body); color: var(--paper-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.link-btn svg { width: 16px; height: 16px; }
.link-btn--light { color: var(--gold-hi); padding: 0 0 0 6px; min-height: 0; }
button:disabled { opacity: .6; cursor: progress; }

/* owner card + visit strip */
.owner-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--ink-2); margin-top: 8px; }
.owner-card a { color: var(--gold-hi); text-decoration: none; word-break: break-all; }
.owner-card a:hover { text-decoration: underline; }
.avatar--lg { width: 64px; height: 64px; font-family: var(--font-display); font-size: 22px; background: linear-gradient(145deg, #F6DE8A, var(--gold) 50%, #8E6C10); color: #2A1F05; }
.visit-strip { margin-top: 88px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--paper-line); border-radius: 24px; }

/* preview banner */
.preview-banner { background: #2A2416; color: #F3E6C0; border-bottom: 1px solid #4A3F22; font-size: 14px; }
.preview-banner .wrap { display: flex; gap: 12px; align-items: flex-start; padding-block: 12px; }
.preview-banner svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-hi); }

/* sign in */
.auth-band { background: radial-gradient(ellipse 70% 90% at 85% 10%, #2A2418 0%, var(--ink) 65%); }
.auth-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.auth-side { flex: 1 1 380px; min-width: 0; }
.auth-card { flex: 1 1 420px; min-width: 0; max-width: 520px; background: var(--paper); color: var(--paper-ink); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 20px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #E8E2D5; border-radius: 999px; padding: 4px; }
.auth-tabs button { border: 0; border-radius: 999px; min-height: 44px; font: 600 15px var(--font-body); background: transparent; color: #3D392F; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--ink); color: var(--gold-hi); }
.notice { background: #EFE9DC; color: var(--paper-ink); border-radius: 14px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.notice p { flex: 1 1 280px; }
.notice--gold { background: #F5EBCD; border: 1px solid #E3C77A; margin-bottom: 32px; }
.preview-try { border-top: 1px dashed #CFC6B3; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* roles + status chips */
.role-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #3A372F; color: var(--ivory); }
.role-chip--admin { background: var(--gold); color: var(--ink); }
.role-chip--manager { background: #E3D7B4; color: #3D2E06; }
.role-chip--customer { background: #E8E2D5; color: #3D392F; }
.status-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #E8E2D5; color: #3D392F; white-space: nowrap; }
.status-chip--new { background: #F5EBCD; color: #5A440A; }
.status-chip--contacted { background: #E1EEDF; color: #1F4A27; }
.status-chip--closed { background: #E8E2D5; color: #5C574C; }
.mini-enq-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mini-enq { background: var(--card); border: 1px solid var(--paper-line); border-radius: 16px; padding: 16px 18px; }

/* dashboard */
.dash-hero .wrap { padding-block: 40px 32px; }
.dash-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--paper-line); margin-bottom: 28px; scrollbar-width: thin; }
.dash-tabs [role=tab] { flex: none; border: 0; background: none; min-height: 48px; padding: 0 16px; font: 600 15px var(--font-body); color: var(--paper-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px; }
.dash-tabs [role=tab]:hover { color: var(--paper-ink); }
.dash-tabs [role=tab][aria-selected="true"] { color: var(--paper-ink); border-bottom-color: var(--gold); }
.tab-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E8E2D5; color: #3D392F; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.tab-count--new { background: var(--gold); color: var(--ink); }
.dash-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 18px; }
.dash-bar .grow { flex: 1 1 260px; }
.dash-bar .btn { min-height: 52px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--paper-line); border-radius: 18px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.dash-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); padding: 14px 16px; border-bottom: 1px solid var(--paper-line); background: #FBF8F1; }
.dash-table td { padding: 12px 16px; border-bottom: 1px solid #F0EBE0; vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table td > strong, .dash-table td > span, .dash-table td strong + span { display: block; }
.car-cell { display: flex; gap: 14px; align-items: center; }
.car-cell > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.thumb { position: relative; flex: none; width: 88px; height: 62px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #23211D, #121110); display: flex; align-items: center; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-art { width: 92%; }
.mini-select { min-height: 40px; border: 1px solid #D8D1C2; border-radius: 999px; padding: 0 12px; font: 600 13px var(--font-body); background: var(--card); color: var(--paper-ink); cursor: pointer; }
.mini-select.status-available, .mini-select.status-contacted { background: #E1EEDF; border-color: #B9D4B4; color: #1F4A27; }
.mini-select.status-reserved, .mini-select.status-new { background: #F5EBCD; border-color: #E3C77A; color: #5A440A; }
.mini-select.status-sold { background: #FBEDE4; border-color: #EBC3AC; color: #7A2E12; }
.mini-select.status-draft, .mini-select.status-closed { background: #EFEBE3; color: #5C574C; }
.star-toggle { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #D8D1C2; background: var(--card); color: #B9B09C; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.star-toggle svg { width: 20px; height: 20px; }
.star-toggle[aria-pressed="true"] { color: #8A6A0E; border-color: var(--gold); background: #FBF3DC; }
.star-toggle[aria-pressed="true"] svg { fill: var(--gold); }
.row-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.btn svg { flex: none; }
.btn--sm svg { width: 16px; height: 16px; }
.icon-btn--paper { color: var(--paper-ink); border-color: #D8D1C2; background: var(--card); }
.icon-btn--paper:hover { border-color: var(--paper-ink); color: var(--paper-ink); }
.icon-btn--paper:disabled { opacity: .35; cursor: default; }
.icon-btn--danger:hover { border-color: #B3261E; color: #B3261E; }
.is-armed { background: #B3261E !important; color: #FFF !important; border-color: #B3261E !important; width: auto !important; padding: 0 14px !important; border-radius: 999px; font: 600 13px var(--font-body); }

/* car editor */
.editor { display: flex; flex-direction: column; gap: 24px; }
.editor-section { border: 1px solid var(--paper-line); border-radius: 20px; background: var(--card); padding: clamp(18px, 3vw, 28px); margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.editor-section legend { font-family: var(--font-display); font-weight: 700; font-size: 22px; padding: 0 8px; margin-left: -8px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); background: rgba(246,242,234,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px; border-radius: 18px; border: 1px solid var(--paper-line); }
.dropzone { border: 2px dashed #CFC6B3; border-radius: 18px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: #FBF8F1; transition: border-color .2s ease, background-color .2s ease; }
.dropzone > svg { width: 32px; height: 32px; color: #8A6A0E; }
.dropzone.is-over { border-color: var(--gold); background: #FBF3DC; }
.dropzone label.btn { cursor: pointer; }
.dropzone input:focus-visible + label { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.photo-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.photo-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--paper-line); background: #F3EEE3; display: flex; flex-direction: column; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-item.is-cover { border: 2px solid var(--gold); }
.cover-badge { position: absolute; top: 8px; left: 8px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.photo-actions { display: flex; gap: 6px; padding: 8px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.photo-actions .icon-btn { width: 38px; height: 38px; }
.photo-actions .btn--sm { min-height: 38px; padding: 0 12px; font-size: 13px; }

/* enquiries */
.enq-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.enq-card { background: var(--card); border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.enq-card.status-new { border-color: #E3C77A; box-shadow: inset 4px 0 0 var(--gold); }
.enq-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #F0EBE0; background: #FBF8F1; }
.kind-chip { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5A440A; }
.enq-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.enq-name { font-weight: 700; font-size: 17px; }
.enq-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.enq-contact a { color: var(--paper-ink); font-weight: 600; word-break: break-all; }
.enq-msg { white-space: pre-line; color: #3D392F; background: #F7F3EA; border-radius: 10px; padding: 10px 12px; }
.enq-details { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.enq-details dt { color: var(--paper-muted); }
.enq-details dd { margin: 0; font-weight: 600; }

/* reviews tab */
.rev-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rev-item { background: var(--card); border: 1px solid var(--paper-line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.rev-item > div:first-child { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rev-item .stars { font-size: 16px; color: #8A6A0E; letter-spacing: 2px; }

/* settings + users */
.hours-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: end; }
.role-key { margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.role-key > div { background: var(--card); border: 1px solid var(--paper-line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.role-key dd { margin: 0; font-size: 14px; color: var(--paper-muted); }
.role-cell { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.role-confirm { display: inline-flex; gap: 6px; }
.dash .empty { background: var(--card); }
.car-media:has(img)::after { display: none; }
.auth-card .btn--ghost, .notice .btn--ghost { border-color: #B9B09C; color: var(--paper-ink); }
.auth-card .btn--ghost:hover, .notice .btn--ghost:hover { border-color: var(--paper-ink); color: var(--paper-ink); }
.field .check input, .check input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; }
.brand-name { white-space: nowrap; }
@media (max-width: 1280px) { .hide-md { display: none !important; } }
@media (max-width: 560px) { .brand-name { font-size: 17px; } .brand-tag { font-size: 9px; letter-spacing: .24em; } }
@media (max-width: 420px) { .header-actions [data-shortlist-label] { display: none; } .brand svg { width: 36px; height: 32px; } }

/* showroom stand: real cut-out photo on the turntable */
.stage-cut { position: absolute; left: 5%; right: 5%; top: 12%; bottom: 20%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; z-index: 1; }
.stage-cut img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.65)); }
.stage-cut-reflect { position: absolute; left: 5%; right: 5%; top: 80%; height: 16%; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; opacity: .15; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.stage-cut-reflect img { transform: scaleY(-1); object-fit: contain; }
/* dashboard: stand editor */
.stand-preview { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse 60% 60% at 50% 70%, #3A3020 0%, #0B0B0C 75%); display: flex; align-items: flex-end; justify-content: center; padding: 18px 18px 28px; }
.stand-preview::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(243,215,122,.55), rgba(201,164,76,0) 70%); }
.stand-preview img { position: relative; z-index: 1; max-width: 92%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,.6)); }
.stand-preview p { color: #C9C3B6; align-self: center; text-align: center; margin: auto; font-size: 14px; }
.stand-chip { display: inline-flex; align-self: flex-start; margin-top: 2px; background: #F5EBCD; color: #5A440A; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
