/*
 * CheckMyMOT Marketplace — design system + components.
 * No build step: edit this file directly. Mobile-first; breakpoints 480 / 768 / 1024 / 1280.
 *
 * 1. Tokens  2. Base  3. Layout  4. Buttons  5. Forms  6. Cards & badges  7. Alerts
 * 8. Header & footer  9. Home  10. Search  11. Vehicle card  12. Vehicle page  13. Account
 * 14. Messages  15. Dialogs  16. Utilities
 */

/* 1. Tokens ------------------------------------------------------------ */
:root {
	--c-ink: #0f172a;
	--c-ink-2: #334155;
	--c-muted: #5b6b82;
	--c-line: #e2e8f0;
	--c-line-2: #cbd5e1;
	--c-bg: #f4f6fa;
	--c-surface: #ffffff;
	--c-navy: #0b1b33;
	--c-navy-2: #13294b;
	--c-primary: #1747c9;
	--c-primary-hover: #0f37a3;
	--c-primary-tint: #eaf0fd;
	--c-accent: #ffc629;
	--c-accent-hover: #f2b705;
	--c-success: #0f7a4a;
	--c-success-tint: #e7f6ee;
	--c-warning: #9a4a00;
	--c-warning-tint: #fff4df;
	--c-danger: #b42318;
	--c-danger-tint: #fdecea;
	--c-focus: #ffbf47;

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: clamp(1.625rem, 1.2rem + 1.6vw, 2rem);
	--fs-3xl: clamp(2rem, 1.3rem + 2.8vw, 2.875rem);

	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.25rem;
	--s-6: 1.5rem;
	--s-8: 2rem;
	--s-10: 2.5rem;
	--s-12: 3rem;
	--s-16: 4rem;

	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;
	--r-full: 999px;

	--sh-1: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.07);
	--sh-2: 0 4px 14px rgba(15, 23, 42, 0.08);
	--sh-3: 0 16px 40px rgba(15, 23, 42, 0.16);

	--container: 1240px;
	--gutter: 16px;
	--header-h: 64px;
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.55;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s-3); letter-spacing: -0.012em; font-weight: 700; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 var(--s-4); }
a { color: var(--c-primary); text-underline-offset: 0.15em; }
a:hover { color: var(--c-primary-hover); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 2px; }
button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; box-shadow: 0 0 0 1px var(--c-ink); }
::selection { background: #cfdcfb; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-6) 0; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 1000; background: var(--c-focus); color: var(--c-ink); padding: var(--s-3) var(--s-4); font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s-3); }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 760px; }
.container-form { max-width: 480px; }
.site-main { min-height: 60vh; padding-block: var(--s-6) var(--s-12); }
.site-main.flush { padding-top: 0; }
.stack > * + * { margin-top: var(--s-4); }
.section { padding-block: var(--s-10); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.grid { display: grid; gap: var(--s-4); }
.grid-cards { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); } }
@media (min-width: 1280px) { .grid-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-title { margin-bottom: var(--s-2); }
.lede { font-size: var(--fs-md); color: var(--c-ink-2); max-width: 60ch; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
	--btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bd: var(--c-line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
	min-height: 44px; padding: 0.625rem 1.125rem;
	font: 600 var(--fs-base)/1.2 var(--font);
	color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn:hover { --btn-bg: #f1f5f9; color: var(--btn-fg); }
.btn svg { width: 1.125em; height: 1.125em; flex: none; }
.btn-primary { --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: var(--c-primary); }
.btn-primary:hover { --btn-bg: var(--c-primary-hover); --btn-bd: var(--c-primary-hover); }
.btn-accent { --btn-bg: var(--c-accent); --btn-fg: var(--c-ink); --btn-bd: var(--c-accent); }
.btn-accent:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); }
.btn-danger { --btn-bg: var(--c-surface); --btn-fg: var(--c-danger); --btn-bd: #f3b8b2; }
.btn-danger:hover { --btn-bg: var(--c-danger-tint); }
.btn-danger-solid { --btn-bg: var(--c-danger); --btn-fg: #fff; --btn-bd: var(--c-danger); }
.btn-danger-solid:hover { --btn-bg: #8f1c13; }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--c-primary); }
.btn-ghost:hover { --btn-bg: var(--c-primary-tint); }
.btn-on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.4); }
.btn-on-dark:hover { --btn-bg: rgba(255, 255, 255, 0.1); }
.btn-sm { min-height: 36px; padding: 0.375rem 0.75rem; font-size: var(--fs-sm); }
.btn-lg { min-height: 52px; padding: 0.875rem 1.5rem; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-color: var(--btn-fg) transparent var(--btn-fg) transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--c-primary); text-decoration: underline; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* 5. Forms -------------------------------------------------------------- */
.field { margin-bottom: var(--s-5); }
.field > label, .field > .label, fieldset > legend { display: block; font-weight: 600; margin-bottom: var(--s-1); }
.field .hint { display: block; color: var(--c-muted); font-size: var(--fs-sm); margin: 0 0 var(--s-2); font-weight: 400; }
.optional { font-weight: 400; color: var(--c-muted); }
.input, .select, .textarea,
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field input[type="url"], .field select, .field textarea {
	width: 100%; min-height: 44px; padding: 0.625rem 0.75rem;
	font: 400 var(--fs-base)/1.4 var(--font); color: var(--c-ink);
	background: var(--c-surface); border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field select, .select { appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23334155' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; }
.field textarea, .textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94a3b8; }
.field [aria-invalid="true"] { border-color: var(--c-danger); border-width: 2px; }
.field-error { color: var(--c-danger); font-weight: 600; font-size: var(--fs-sm); margin: var(--s-1) 0 0; }
.field-error::before { content: "! "; }
.field-row { display: grid; gap: 0 var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row.two { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: repeat(3, 1fr); } }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.input-prefix > input { padding-left: 1.75rem !important; }
.check { display: flex; gap: var(--s-2); align-items: flex-start; margin-bottom: var(--s-3); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-primary); }
.choice-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; min-height: 40px; align-items: center; padding: 0.5rem 0.875rem; border: 1px solid var(--c-line-2); border-radius: var(--r-full); background: var(--c-surface); cursor: pointer; font-weight: 500; }
.choice input:checked + span { background: var(--c-primary-tint); border-color: var(--c-primary); color: var(--c-primary-hover); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.cmm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-1); }
@media (min-width: 768px) { .form-card { padding: var(--s-8); } }
.form-section { border-top: 1px solid var(--c-line); padding-top: var(--s-6); margin-top: var(--s-6); }
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-footer { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-6); }
.password-wrap { position: relative; }
.password-wrap .toggle-pw { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 36px; }
.password-wrap input { padding-right: 4.5rem !important; }

/* 6. Cards & badges ----------------------------------------------------- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-body { padding: var(--s-5); }
.card-title { font-size: var(--fs-md); margin-bottom: var(--s-3); }
.badge { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.15rem 0.55rem; font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; border-radius: var(--r-full); background: #eef2f7; color: var(--c-ink-2); white-space: nowrap; }
.badge-live { background: var(--c-success-tint); color: var(--c-success); }
.badge-pending { background: var(--c-warning-tint); color: var(--c-warning); }
.badge-draft { background: #eef2f7; color: var(--c-ink-2); }
.badge-paused { background: #eef2f7; color: var(--c-muted); }
.badge-sold { background: var(--c-primary-tint); color: var(--c-primary-hover); }
.badge-danger { background: var(--c-danger-tint); color: var(--c-danger); }
.badge-trade { background: var(--c-navy); color: #fff; }
.badge-demo { background: var(--c-accent); color: var(--c-ink); }
.dot-unread { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); flex: none; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; font-weight: 700; border-radius: var(--r-full); background: var(--c-accent); color: var(--c-ink); line-height: 1; }
.stat-tile { display: block; padding: var(--s-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); text-decoration: none; color: var(--c-ink); box-shadow: var(--sh-1); transition: border-color 0.15s, box-shadow 0.15s; }
.stat-tile:hover { border-color: var(--c-primary); box-shadow: var(--sh-2); color: var(--c-ink); }
.stat-tile strong { display: block; font-size: var(--fs-2xl); line-height: 1.1; }
.stat-tile span { color: var(--c-muted); font-size: var(--fs-sm); }
.stats { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); } }

/* 7. Alerts ------------------------------------------------------------- */
.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--r); border: 1px solid; margin-bottom: var(--s-5); background: var(--c-surface); }
.alert > svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert-success { background: var(--c-success-tint); border-color: #a7dfc2; color: #0b5535; }
.alert-info { background: var(--c-primary-tint); border-color: #bfd0f8; color: #122f7c; }
.alert-warning { background: var(--c-warning-tint); border-color: #f5cf8f; color: #6e3500; }
.alert-error { background: var(--c-danger-tint); border-color: #f3b8b2; color: #7d1810; }
.alert a { color: inherit; font-weight: 600; }
.alert ul { margin: var(--s-2) 0 0; padding-left: 1.2em; }

/* 8. Header & footer ---------------------------------------------------- */
.site-header { background: var(--c-navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); color: #fff; text-decoration: none; font-weight: 800; font-size: var(--fs-md); letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--c-accent); color: var(--c-navy); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand img { max-height: 40px; width: auto; }
.nav-primary { display: none; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-1); }
.nav-primary a, .nav-icon { color: #dbe4f3; text-decoration: none; font-weight: 600; padding: 0.5rem 0.75rem; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; }
.nav-primary a:hover, .nav-primary a[aria-current="page"], .nav-icon:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-icon svg { width: 22px; height: 22px; }
.nav-actions { display: flex; align-items: center; gap: var(--s-1); }
.nav-actions .btn-sell { display: none; }
@media (min-width: 1024px) {
	.nav-primary { display: block; }
	.nav-actions .btn-sell { display: inline-flex; }
	.menu-toggle { display: none !important; }
}
.nav-label { display: none; }
@media (min-width: 1280px) { .nav-label { display: inline; } }
.menu-toggle { list-style: none; cursor: pointer; }
.menu-toggle::-webkit-details-marker { display: none; }
.mobile-menu { position: relative; }
.mobile-menu[open] .mobile-panel { display: block; }
.mobile-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: min(88vw, 320px); background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: var(--s-2); }
.mobile-panel a, .mobile-panel button { display: flex; width: 100%; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; font-weight: 600; background: none; border: 0; font: 600 var(--fs-base) var(--font); cursor: pointer; }
.mobile-panel a:hover, .mobile-panel button:hover { background: var(--c-bg); }
.mobile-panel hr { margin: var(--s-2) 0; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }

.site-footer { background: var(--c-navy); color: #c7d2e5; padding: var(--s-12) 0 var(--s-8); font-size: var(--fs-sm); }
.site-footer a { color: #e6ecf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: var(--s-10); padding-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; }

.breadcrumbs { font-size: var(--fs-sm); margin-bottom: var(--s-4); color: var(--c-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: var(--s-1); color: var(--c-line-2); }
.breadcrumbs a { color: var(--c-ink-2); }
.breadcrumbs [aria-current] { color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; display: inline-block; vertical-align: bottom; }

/* 9. Home --------------------------------------------------------------- */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #1c3a6e 0%, transparent 60%), var(--c-navy); color: #fff; padding: var(--s-10) 0 var(--s-12); }
@media (min-width: 768px) { .hero { padding: var(--s-16) 0; } }
.hero h1 { font-size: var(--fs-3xl); margin-bottom: var(--s-3); max-width: 24ch; }
.hero .lede { color: #c9d5ea; margin-bottom: var(--s-6); }
.hero-search { background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--sh-3); max-width: 980px; }
@media (min-width: 768px) { .hero-search { padding: var(--s-5); } }
.hero-search .fields { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.hero-search .fields .field { margin: 0; }
.hero-search .fields .field:first-child, .hero-search .fields .field:nth-child(2) { grid-column: span 1; }
.hero-search .submit { grid-column: 1 / -1; }
@media (min-width: 1024px) {
	.hero-search .fields { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
	.hero-search .submit { grid-column: auto; }
}
.hero-search label { font-size: var(--fs-sm); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-top: var(--s-4); font-size: var(--fs-sm); }
.hero-meta a { color: var(--c-primary); font-weight: 600; }
.hero-stock { margin-top: var(--s-5); color: #c9d5ea; font-size: var(--fs-sm); }
.hero-stock strong { color: #fff; }
.tiles { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles.six { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); color: var(--c-ink); text-decoration: none; font-weight: 600; transition: border-color 0.15s, transform 0.15s; }
.tile:hover { border-color: var(--c-primary); color: var(--c-primary-hover); }
.tile small { color: var(--c-muted); font-weight: 400; }
.steps { display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-primary-tint); color: var(--c-primary-hover); font-weight: 800; margin-bottom: var(--s-3); }
.step h3 { margin-bottom: var(--s-2); }
.step p { margin: 0; color: var(--c-ink-2); }
.split { display: grid; gap: var(--s-8); }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.trust-list li { display: flex; gap: var(--s-3); }
.trust-list svg { width: 24px; height: 24px; flex: none; color: var(--c-success); margin-top: 2px; }
.band { background: var(--c-navy-2); color: #fff; border-radius: var(--r-lg); padding: var(--s-8); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.band h2 { margin-bottom: var(--s-2); }
.band p { margin: 0; color: #c9d5ea; }

/* 10. Search ------------------------------------------------------------ */
.search-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .search-layout { grid-template-columns: 290px minmax(0, 1fr); } }
.filters-toggle > summary { list-style: none; margin-bottom: var(--s-3); }
.filters-toggle > summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) {
	.filters-panel { position: sticky; top: calc(var(--header-h) + var(--s-4)); max-height: calc(100vh - var(--header-h) - var(--s-8)); overflow: auto; }
	.filters-toggle.is-desktop > summary { display: none; }
}
.filters { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); }
.filters .field { margin-bottom: var(--s-4); }
.filters h2 { font-size: var(--fs-md); }
.filters .range { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.filters details { border-top: 1px solid var(--c-line); padding-top: var(--s-3); margin-top: var(--s-3); }
.filters summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.results-count { font-weight: 600; margin: 0; }
.results-bar .sort { display: flex; align-items: center; gap: var(--s-2); }
.results-bar .sort select { min-height: 40px; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chip { display: inline-flex; align-items: center; gap: var(--s-1); padding: 0.3rem 0.4rem 0.3rem 0.75rem; background: var(--c-primary-tint); color: var(--c-primary-hover); border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.chip:hover { background: #d7e2fb; }
.chip svg { width: 16px; height: 16px; }
.results[aria-busy="true"] { opacity: 0.55; transition: opacity 0.2s; pointer-events: none; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-8); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm); border: 1px solid var(--c-line); background: var(--c-surface); text-decoration: none; font-weight: 600; color: var(--c-ink); }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination [aria-current="page"] { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.pagination .gap { border: 0; background: none; min-width: 20px; }

.empty-state { text-align: center; padding: var(--s-10) var(--s-5); background: var(--c-surface); border: 1px dashed var(--c-line-2); border-radius: var(--r-lg); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto var(--s-4); color: var(--c-line-2); }
.empty-state h2, .empty-state h3 { font-size: var(--fs-lg); }
.empty-state p { color: var(--c-muted); max-width: 46ch; margin-inline: auto; }
.empty-state .btn-row { justify-content: center; margin-top: var(--s-4); }

/* 11. Vehicle card ------------------------------------------------------ */
.vcard { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow 0.2s, border-color 0.2s; }
.vcard:hover { box-shadow: var(--sh-2); border-color: var(--c-line-2); }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: #e7ebf1; }
.vcard-media img, .vcard-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.vcard-count { position: absolute; left: var(--s-2); bottom: var(--s-2); display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-full); background: rgba(11, 27, 51, 0.78); color: #fff; font-size: var(--fs-xs); font-weight: 600; }
.vcard-count svg { width: 14px; height: 14px; }
.vcard-flags { position: absolute; left: var(--s-2); top: var(--s-2); display: flex; gap: var(--s-1); flex-wrap: wrap; }
.vcard-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); flex: 1; }
.vcard-title { font-size: var(--fs-md); margin: 0; line-height: 1.3; }
.vcard-title a { color: var(--c-ink); text-decoration: none; }
.vcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vcard-title a:hover { color: var(--c-primary); }
.vcard-title a:focus-visible { outline: none; }
.vcard:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.vcard-variant { color: var(--c-muted); font-size: var(--fs-sm); margin: -4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-price { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.vcard-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vcard-specs li { padding: 2px 8px; background: var(--c-bg); border-radius: var(--r-sm); font-size: var(--fs-xs); color: var(--c-ink-2); font-weight: 500; }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2); border-top: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-muted); }
.vcard-foot .loc { display: inline-flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-foot svg { width: 16px; height: 16px; flex: none; }
.fav-form { position: absolute; top: var(--s-2); right: var(--s-2); z-index: 2; margin: 0; }
.fav-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.95); color: var(--c-ink); box-shadow: var(--sh-1); cursor: pointer; }
.fav-btn svg { width: 22px; height: 22px; }
.fav-btn[aria-pressed="true"] { color: #d92d20; }
.fav-btn[aria-pressed="true"] { --fill: currentColor; }
.fav-btn:hover { transform: scale(1.05); }
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, #e9eef5, #dfe6f0); color: #8a99b0; font-size: var(--fs-sm); font-weight: 600; }
.img-placeholder svg { width: 64px; }
.vcard.is-unavailable .vcard-media { filter: grayscale(1); opacity: 0.7; }

/* Skeleton loading */
.skeleton { background: linear-gradient(90deg, #eef1f5 25%, #f6f8fb 50%, #eef1f5 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* 12. Vehicle page ------------------------------------------------------ */
.vehicle-layout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
.vehicle-layout > *, .search-layout > *, .account-layout > * { min-width: 0; }
@media (min-width: 1024px) { .vehicle-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-8); align-items: start; } }
.vehicle-aside { display: grid; gap: var(--s-4); }
@media (min-width: 1024px) { .vehicle-aside { position: sticky; top: calc(var(--header-h) + var(--s-4)); } }
.gallery { background: var(--c-navy); border-radius: var(--r-lg); overflow: hidden; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #0d1f3b; }
.gallery-main img, .gallery-main .img-placeholder { width: 100%; height: 100%; object-fit: contain; }
.gallery-main button.gallery-open { position: absolute; inset: 0; background: none; border: 0; cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: var(--sh-2); }
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-nav.prev { left: var(--s-3); }
.gallery-nav.next { right: var(--s-3); }
.gallery-counter { position: absolute; right: var(--s-3); bottom: var(--s-3); padding: 2px 10px; border-radius: var(--r-full); background: rgba(11, 27, 51, 0.8); color: #fff; font-size: var(--fs-sm); font-weight: 600; z-index: 2; }
.gallery-thumbs { display: flex; gap: var(--s-2); padding: var(--s-2); overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs a { display: block; flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: #1a2d4d; cursor: pointer; opacity: 0.7; }
.gallery-thumbs a[aria-current="true"], .gallery-thumbs a:hover { opacity: 1; border-color: var(--c-accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-head h1 { font-size: var(--fs-2xl); margin-bottom: var(--s-1); }
.vehicle-head .variant { color: var(--c-muted); font-size: var(--fs-md); margin-bottom: var(--s-3); }
.key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .key-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.key-specs li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); }
.key-specs svg { width: 24px; height: 24px; color: var(--c-primary); flex: none; }
.key-specs span { display: block; font-size: var(--fs-xs); color: var(--c-muted); }
.key-specs strong { display: block; font-size: var(--fs-sm); }
.price-card .price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 var(--s-1); }
.price-card .btn { margin-top: var(--s-2); }
.seller-card { display: flex; gap: var(--s-3); align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary-tint); color: var(--c-primary-hover); display: grid; place-items: center; font-weight: 800; font-size: var(--fs-md); flex: none; }
.seller-card p { margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { text-align: left; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.spec-table th { color: var(--c-muted); font-weight: 500; width: 45%; padding-right: var(--s-3); }
.spec-cols { display: grid; gap: 0 var(--s-8); }
@media (min-width: 768px) { .spec-cols { grid-template-columns: 1fr 1fr; } }
.description { white-space: normal; overflow-wrap: anywhere; }
.plate { display: inline-block; padding: 0.2rem 0.6rem; background: var(--c-accent); color: #111; border-radius: 4px; font-weight: 800; letter-spacing: 0.08em; font-family: "Arial Narrow", Arial, sans-serif; border: 1px solid #c79a00; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--c-surface); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08); padding: var(--s-3) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom)); }
.sticky-cta .price { font-size: var(--fs-lg); font-weight: 800; margin: 0; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (max-width: 1023px) { .hide-mobile-price .price, .hide-mobile-price .price + p { display: none; } }
body.has-sticky-cta .site-footer { padding-bottom: 96px; }
@media (min-width: 1024px) { body.has-sticky-cta .site-footer { padding-bottom: var(--s-8); } }
.preview-banner { background: var(--c-accent); color: var(--c-ink); padding: var(--s-3) 0; font-weight: 600; }
.preview-banner .container { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.report-box summary { cursor: pointer; color: var(--c-muted); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; }

/* 13. Account ----------------------------------------------------------- */
.account-layout { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .account-layout { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.account-nav { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-2); }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-1); overflow-x: auto; }
@media (min-width: 1024px) { .account-nav ul { flex-direction: column; } .account-nav { position: sticky; top: calc(var(--header-h) + var(--s-4)); } }
.account-nav a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-sm); text-decoration: none; color: var(--c-ink-2); font-weight: 600; white-space: nowrap; }
.account-nav a:hover { background: var(--c-bg); color: var(--c-ink); }
.account-nav a[aria-current="page"] { background: var(--c-primary-tint); color: var(--c-primary-hover); }
.account-nav svg { width: 20px; height: 20px; flex: none; }
.account-nav .count-pill { margin-left: auto; }
.listing-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
@media (min-width: 768px) { .listing-row { grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; } }
.listing-row + .listing-row { margin-top: var(--s-3); }
.listing-row .thumb { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: #e7ebf1; }
.listing-row .thumb img, .listing-row .thumb .img-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.listing-row .thumb .img-placeholder span { display: none; }
.listing-row h3 { margin: 0 0 var(--s-1); font-size: var(--fs-base); }
.listing-row h3 a { color: var(--c-ink); }
.listing-row .meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); align-items: center; }
.listing-row .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 768px) { .listing-row .actions { grid-column: auto; justify-content: flex-end; max-width: 340px; } }
.listing-row .actions form { margin: 0; }
.steps-nav { display: flex; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-6); overflow-x: auto; counter-reset: s; }
.steps-nav li { flex: 1; min-width: 120px; }
.steps-nav a, .steps-nav span { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink-2); font-weight: 600; font-size: var(--fs-sm); }
.steps-nav a::before, .steps-nav span::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-bg); font-size: var(--fs-xs); flex: none; }
.steps-nav .done a::before { content: "✓"; background: var(--c-success-tint); color: var(--c-success); }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.checklist li { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--fs-sm); }
.checklist svg { width: 20px; height: 20px; flex: none; }
.checklist .ok svg { color: var(--c-success); }
.checklist .todo svg { color: var(--c-warning); }
.photo-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0 0 var(--s-4); }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; }
.photo-item .ph { position: relative; aspect-ratio: 4 / 3; background: #e7ebf1; }
.photo-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .main-flag { position: absolute; left: 6px; top: 6px; }
.photo-item .tools { display: flex; justify-content: space-between; gap: 2px; padding: 4px; }
.photo-item .tools form { margin: 0; }
.photo-item .tools button { min-height: 36px; min-width: 36px; padding: 0 8px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; color: var(--c-ink-2); font: 600 var(--fs-xs) var(--font); display: inline-flex; align-items: center; gap: 4px; }
.photo-item .tools button:hover { background: var(--c-bg); }
.photo-item .tools button.del { color: var(--c-danger); }
.photo-item .tools svg { width: 18px; height: 18px; }
.dropzone { display: block; border: 2px dashed var(--c-line-2); border-radius: var(--r-lg); padding: var(--s-6); text-align: center; background: var(--c-surface); transition: border-color 0.15s, background 0.15s; }
.dropzone.is-over { border-color: var(--c-primary); background: var(--c-primary-tint); }
.dropzone svg { width: 40px; height: 40px; margin: 0 auto var(--s-2); color: var(--c-primary); }
.upload-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.upload-list li { display: flex; gap: var(--s-2); align-items: center; }
.upload-list .ok { color: var(--c-success); }
.upload-list .bad { color: var(--c-danger); }

/* 14. Messages ---------------------------------------------------------- */
.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--c-line); margin-bottom: var(--s-5); overflow-x: auto; }
.tabs a { padding: var(--s-3) var(--s-4); text-decoration: none; color: var(--c-ink-2); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: var(--s-2); align-items: center; }
.tabs a[aria-current="page"] { color: var(--c-primary-hover); border-bottom-color: var(--c-primary); }
.inbox { list-style: none; margin: 0; padding: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.inbox li + li { border-top: 1px solid var(--c-line); }
.inbox a { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: var(--s-3); padding: var(--s-4); text-decoration: none; color: var(--c-ink); align-items: start; }
.inbox a:hover { background: var(--c-bg); }
.inbox .who { font-weight: 700; }
.inbox .about { font-size: var(--fs-sm); color: var(--c-ink-2); }
.inbox .snippet { font-size: var(--fs-sm); color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox .when { font-size: var(--fs-xs); color: var(--c-muted); white-space: nowrap; text-align: right; }
.inbox .is-unread .who::after { content: " •"; color: var(--c-primary); }
.thread { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.bubble { max-width: 85%; padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); }
.bubble.mine { justify-self: end; background: var(--c-primary-tint); border-color: #cddbfa; }
.bubble .by { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: var(--s-1); font-weight: 600; }
.bubble p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.thread-head { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); margin-bottom: var(--s-5); }
.thread-head .thumb { width: 96px; flex: none; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: #e7ebf1; }
.thread-head .thumb img, .thread-head .thumb .img-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.thread-head .thumb .img-placeholder span, .thread-head .thumb .img-placeholder svg { display: none; }

/* 15. Dialogs ----------------------------------------------------------- */
dialog { border: 0; padding: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); max-width: min(560px, calc(100vw - 32px)); width: 100%; color: var(--c-ink); }
dialog::backdrop { background: rgba(11, 27, 51, 0.6); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-line); }
.dialog-head h2 { margin: 0; font-size: var(--fs-lg); }
.dialog-body { padding: var(--s-5); }
.dialog-foot { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--c-line); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--c-ink-2); }
.icon-btn:hover { background: var(--c-bg); }
.icon-btn svg { width: 22px; height: 22px; }
dialog.sheet { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: 420px; border-radius: 0; display: none; flex-direction: column; }
dialog.sheet[open] { display: flex; }
dialog.sheet .dialog-body { overflow: auto; flex: 1; }
dialog.sheet .filters { border: 0; padding: 0; }
dialog.lightbox { max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; border-radius: 0; background: #050d1a; color: #fff; }
dialog.lightbox .lb-img { position: absolute; inset: 56px 0 56px; display: grid; place-items: center; }
dialog.lightbox .lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
dialog.lightbox .icon-btn { color: #fff; }
dialog.lightbox .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
dialog.lightbox .lb-close { position: absolute; top: 6px; right: 6px; }
dialog.lightbox .gallery-nav { background: rgba(255, 255, 255, 0.9); }
dialog.lightbox .lb-count { position: absolute; top: 16px; left: 16px; font-weight: 600; }

.cookie-banner { position: fixed; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 60; max-width: 560px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: var(--s-5); }
.cookie-banner p { font-size: var(--fs-sm); }

/* 16. Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); } .mb-6 { margin-bottom: var(--s-6); }
.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
@media (min-width: 1024px) { .lt-lg { display: none !important; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-8); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-2); }
.entry-content > * + * { margin-top: var(--s-4); }
.icon { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

@media print {
	.site-header, .site-footer, .sticky-cta, .fav-form, .vehicle-aside form, .report-box, .gallery-thumbs, .gallery-nav { display: none !important; }
	body { background: #fff; }
}
.icon-line { display: flex; align-items: center; gap: var(--s-2); }
.brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header .container { gap: var(--s-2); }
@media (max-width: 479px) {
	.nav-label-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.brand { font-size: var(--fs-base); min-width: 0; }
	.nav-primary a, .nav-icon { padding: 0.5rem; }
}
.field > label.check { display: flex; font-weight: 400; }

/* 17. Round 2 components ------------------------------------------------ */
.badge-featured { background: var(--c-accent); color: var(--c-ink); }
.vcard.is-featured { border-color: #f2c94c; box-shadow: 0 0 0 2px rgba(255, 198, 41, 0.45), var(--sh-1); }
.price-drop { display: inline-block; margin-left: var(--s-2); font-size: var(--fs-xs); font-weight: 700; color: var(--c-success); background: var(--c-success-tint); padding: 1px 8px; border-radius: var(--r-full); vertical-align: middle; letter-spacing: 0; }
.compare-toggle { position: relative; z-index: 2; background: none; border: 1px solid var(--c-line-2); border-radius: var(--r-full); padding: 2px 10px; font: 600 var(--fs-xs) var(--font); color: var(--c-ink-2); cursor: pointer; min-height: 28px; }
.compare-toggle[aria-pressed="true"] { background: var(--c-primary-tint); border-color: var(--c-primary); color: var(--c-primary-hover); }
.compare-toggle[aria-pressed="true"]::before { content: "✓ "; }
.compare-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: var(--s-4); z-index: 45; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); background: var(--c-navy); color: #fff; border-radius: var(--r-full); box-shadow: var(--sh-3); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.compare-tray .link-btn { color: #c9d5ea; }
.compare-tray.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-52%); } 75% { transform: translateX(-48%); } }
body.has-sticky-cta .compare-tray { bottom: 84px; }
@media (min-width: 1024px) { body.has-sticky-cta .compare-tray { bottom: var(--s-4); } }
.compare-wrap { overflow-x: auto; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.compare-table thead th { font-weight: 700; width: 22%; }
.compare-table thead th a { color: var(--c-ink); display: block; }
.compare-table tbody th { color: var(--c-muted); font-weight: 500; white-space: nowrap; }
.compare-table .is-best { background: var(--c-success-tint); color: #0b5535; font-weight: 700; }
.compare-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; margin-bottom: var(--s-2); background: #e7ebf1; }
.compare-img img, .compare-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.featured-strip { margin-bottom: var(--s-6); padding: var(--s-4); background: #fffaeb; border: 1px solid #f7e2a3; border-radius: var(--r-lg); }
.featured-title { font-size: var(--fs-md); margin-bottom: var(--s-3); }
.mot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.mot-item { padding: var(--s-3) var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r); }
.mot-item summary { cursor: pointer; color: var(--c-primary); margin-top: var(--s-2); }
.defect-list { margin: var(--s-1) 0 0; padding-left: 1.2em; color: var(--c-ink-2); }
.mileage-chart { margin: 0 0 var(--s-4); color: var(--c-ink); }
.mileage-chart svg { width: 100%; height: auto; max-height: 200px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }
.fin-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-4); }
@media (min-width: 768px) { .fin-result { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fin-result div { background: var(--c-bg); border-radius: var(--r); padding: var(--s-3); }
.fin-result dt { font-size: var(--fs-xs); color: var(--c-muted); }
.fin-result dd { margin: 0; font-weight: 700; }
.fin-result .fin-monthly { font-size: var(--fs-lg); color: var(--c-primary-hover); }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.input-suffix > input { padding-right: 2rem !important; }
.pg-bar { position: relative; height: 8px; border-radius: var(--r-full); background: linear-gradient(90deg, #cde9d9, #eef1f5 50%, #f7d9d5); margin: var(--s-3) 0; }
.pg-bar span { position: absolute; top: 50%; width: 16px; height: 16px; margin-left: -8px; transform: translateY(-50%); border-radius: 50%; background: var(--c-navy); border: 2px solid #fff; box-shadow: var(--sh-1); }
.reg-row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.reg-row .plate-input { flex: 1 1 180px; max-width: 260px; background: var(--c-accent) !important; border-color: #c79a00 !important; font: 800 var(--fs-lg) "Arial Narrow", Arial, sans-serif !important; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: #111 !important; }
.reg-row .plate-input::placeholder { color: rgba(0, 0, 0, 0.35); }
.was-filled { background-color: #f0f7ff !important; }
.dealer-logo img { max-height: 90px; width: auto; border-radius: var(--r-sm); }
.dealer-card { position: relative; }
.dealer-card:hover { box-shadow: var(--sh-2); border-color: var(--c-line-2); }
.dealer-logo-sm { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.dealer-logo-sm img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dealer-info { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .dealer-info { grid-template-columns: 1fr 1fr 2fr; } }
.dealer-search { display: grid; gap: var(--s-3); align-items: end; }
.dealer-search .field { margin: 0; }
@media (min-width: 768px) { .dealer-search { grid-template-columns: 2fr 1fr auto; } }
.packages { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
@media (min-width: 768px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { position: relative; cursor: pointer; }
.package input { position: absolute; opacity: 0; }
.package > span { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-5); border: 2px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); height: 100%; }
.package-price { font-size: var(--fs-xl); font-weight: 800; }
.package input:checked + span { border-color: var(--c-primary); background: var(--c-primary-tint); }
.package input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.saved-search { grid-template-columns: 1fr; }
@media (min-width: 768px) { .saved-search { grid-template-columns: minmax(0, 1fr) auto; } }
.filters input::placeholder, .hero-search input::placeholder { text-transform: none; }

/* 18. Contact page ------------------------------------------------------ */
.lead { font-size: 1.125rem; color: var(--c-muted); max-width: 46rem; }
.contact-layout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.contact-aside .h4 { font-size: 1.05rem; margin: 0 0 var(--s-3); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
