/* ==========================================================================
   Car Drop USA
   Brand navy #102A43, red #E32636 and white. Prices are written like the
   grease-pen marker used on car-lot windshields.
   ========================================================================== */

:root {
	--navy: #102A43;
	--navy-2: #1C3B5C;
	--navy-3: #2A4D73;
	--red: #E32636;
	--red-dark: #C11B2A;
	--white: #FFFFFF;
	--paper: #F2F4F7;
	--line: #D7DDE4;
	--ink: #102A43;
	--muted: #57677A;
	--ok: #13804B;
	--wait: #B26B00;
	--wa: #1FAF55;
	--link: #1D5FC2;

	--font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Exo 2", "Arial Narrow", system-ui, sans-serif;
	--font-marker: "Permanent Marker", "Comic Sans MS", cursive;

	--radius: 10px;
	--radius-sm: 6px;
	--wrap: 1200px;
	--gutter: 16px;
}

@media (min-width: 720px) {
	:root { --gutter: 28px; }
}

/* Base -------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-style: italic;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
}
p { margin: 0 0 1em; }

.icon { width: 20px; height: 20px; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 8px; top: -60px;
	background: var(--red); color: var(--white);
	padding: 8px 14px; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* Prices written with the windshield marker */
.marker {
	font-family: var(--font-marker);
	font-weight: 400;
	font-style: normal;
	letter-spacing: .01em;
	line-height: 1;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font: 600 16px/1 var(--font);
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }

.btn--light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }

@media (max-width: 599px) { .btn--block-sm { width: 100%; } }

/* Header ------------------------------------------------------------------ */

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 16px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__img, .custom-logo { height: 64px; width: auto; }
@media (max-width: 600px) { .brand__img, .custom-logo { height: 52px; } }

/* Name in text, until the official logo file is added */
.brand__text {
	display: inline-flex;
	align-items: stretch;
	font: italic 800 22px/1 var(--font-display);
	text-transform: uppercase;
	letter-spacing: .01em;
}
.brand__car, .brand__drop { padding: 8px 10px 7px; color: var(--white); }
.brand__car { background: var(--navy); border-radius: 4px 0 0 4px; }
.brand__drop { background: var(--red); border-radius: 0 4px 4px 0; }
.brand__usa { align-self: center; margin-left: 8px; font-size: 14px; color: var(--navy); }
.brand--dark .brand__usa { color: var(--white); }
.brand--dark .brand__car { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }

.site-header__actions { display: flex; align-items: center; gap: 4px; order: 2; }
.header-call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
	min-height: 44px;
	padding: 0 10px;
	border-radius: var(--radius-sm);
}
.header-call .icon { color: var(--red); }
.header-call:hover { background: var(--paper); }

.nav { display: flex; align-items: center; gap: 24px; order: 1; margin-left: auto; }
.nav__list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list .current-menu-item > a { border-bottom-color: var(--red); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	cursor: pointer;
	color: var(--navy);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	margin: 0 auto;
	position: relative;
	transition: transform .2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) { .header-call__num { display: none; } }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 8px var(--gutter) 20px;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 24px rgba(16, 42, 67, .12);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--paper); }
}

/* Home: intro ------------------------------------------------------------- */

.intro {
	background: var(--navy);
	color: var(--white);
	padding: 40px 0 52px;
	position: relative;
	overflow: hidden;
}
/* A lane stripe along the bottom, like a parking-lot line */
.intro::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 16px;
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--red) 0 56px, transparent 56px 96px);
}
.intro__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) {
	.intro { padding: 72px 0 88px; }
	.intro__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}
.intro__title {
	font-size: clamp(38px, 6.4vw, 72px);
	text-transform: uppercase;
	line-height: .98;
	max-width: 15ch;
	margin-bottom: 18px;
}
.intro__lead { font-size: clamp(18px, 2vw, 22px); color: #C7D3E0; max-width: 36ch; margin-bottom: 26px; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
@media (max-width: 520px) { .intro__actions .btn { width: 100%; } }

/* Cash only / No financing / ... */
.terms-strip {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-weight: 600;
	font-size: 15px;
}
.terms-strip li { display: inline-flex; align-items: center; gap: 6px; }
.terms-strip .icon { width: 18px; height: 18px; color: var(--red); background: var(--white); border-radius: 50%; padding: 2px; }
.terms-strip--small { margin-top: 14px; font-size: 14px; color: #DCE4EE; }

/* Finder */
.finder {
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 22px;
	display: grid;
	gap: 14px;
	border-top: 5px solid var(--red);
}
.finder__title { font-size: 24px; margin: 0; display: flex; align-items: baseline; gap: 10px; }
.finder__title .marker { color: var(--red); font-size: 40px; }

.field { margin: 0; display: grid; gap: 6px; }
.field label, .cdu-field label { font-weight: 600; font-size: 15px; }
.field input, .field select,
.cdu-field input, .cdu-field textarea, .cdu-field select {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: 400 17px/1.3 var(--font);
}
.field select, .cdu-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 34px;
}
.field input:focus, .field select:focus,
.cdu-field input:focus, .cdu-field textarea:focus, .cdu-field select:focus {
	border-color: var(--navy);
	outline: none;
	box-shadow: 0 0 0 3px rgba(29, 95, 194, .25);
}

/* Shop by budget ---------------------------------------------------------- */

.budgets { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 0; }
.budgets__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.budgets__title { font-size: 20px; margin: 0; text-transform: uppercase; }
.budgets__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.budgets__list a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--paper);
	border: 1.5px solid var(--line);
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.budgets__list a:hover, .budgets__list a.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 700px) {
	.budgets__list { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.budgets__list::-webkit-scrollbar { display: none; }
}
.budgets__list--inline { margin-bottom: 14px; }
.budgets__list--inline a { background: var(--white); }

/* Sections ---------------------------------------------------------------- */

.section { padding: 48px 0; }
.section--plain { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
@media (min-width: 960px) { .section { padding: 72px 0; } }

.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__title { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 0 0 20px; }
.section__head .section__title { margin: 0; }
.section__more { font-weight: 600; white-space: nowrap; }

/* Car grid ---------------------------------------------------------------- */

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
	position: relative;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
}
.card__photo { position: relative; z-index: 2; display: block; aspect-ratio: 4 / 3; background: var(--navy-2); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__photo::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(to top, rgba(10, 26, 42, .85), rgba(10, 26, 42, 0));
	pointer-events: none;
}
.card__price {
	position: absolute;
	left: 14px;
	bottom: 10px;
	z-index: 1;
	color: var(--white);
	font-size: 34px;
	transform: rotate(-3deg);
	transform-origin: left bottom;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.card__nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: #9FB0C2; font-weight: 500; }
.card--sold .card__photo img { filter: grayscale(1); opacity: .7; }

/* Available / Pending / Sold */
.tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--white);
	color: var(--ink);
	font: 600 13px/1 var(--font);
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 4px;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.tag--pending::before { background: var(--wait); }
.tag--sold { background: var(--red); color: var(--white); }
.tag--sold::before { background: var(--white); }

.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 21px; margin: 0; line-height: 1.1; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { text-decoration: underline; }
.card__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 15px; }
.card__cta {
	position: relative;
	z-index: 2;
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-top: 6px;
	color: var(--red);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.card__cta .icon { width: 18px; height: 18px; }
.card__cta:hover { text-decoration: underline; }
.card--text .card__body { padding: 20px; }

/* Body style links */
.bodies { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bodies a {
	display: inline-block;
	padding: 10px 18px;
	border: 1.5px solid var(--navy);
	border-radius: 999px;
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
}
.bodies a:hover { background: var(--navy); color: var(--white); }

.empty { background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px 24px; max-width: 680px; }
.empty__title { font: italic 800 26px/1.1 var(--font-display); margin-bottom: 8px; }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 8px 0 0; display: grid; gap: 24px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps__item { counter-increment: step; }
.steps__item::before { content: counter(step); display: block; font: 400 48px/1 var(--font-marker); color: var(--red); margin-bottom: 8px; }
.steps__item h3 { font-size: 22px; margin-bottom: 6px; }
.steps__item p { color: var(--muted); max-width: 32ch; margin: 0; }
.steps__cta { margin: 32px 0 0; }

/* Questions */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 48px 16px 18px;
	font-weight: 600;
	font-size: 17px;
	position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 9px; height: 9px;
	border-right: 2.5px solid var(--red);
	border-bottom: 2.5px solid var(--red);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--muted); max-width: 70ch; }

/* Contact channels -------------------------------------------------------- */

.channels { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.channels--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .channels--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vehicle__side .channels--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.channel {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: var(--radius-sm);
	background: var(--white);
	border: 1.5px solid var(--line);
	color: var(--navy);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.channel:hover { border-color: var(--navy); }
.channel--call .icon, .channel--text .icon { color: var(--red); }
.channel--messenger .icon { color: #0A7CFF; }
.channel--instagram .icon { color: #D62976; }

.channels--on-dark .channel { background: var(--navy-2); border-color: var(--navy-3); color: var(--white); }
.channels--on-dark .channel:hover { background: var(--navy-3); border-color: #5C7FA6; }
.channels--on-dark .channel .icon { color: var(--white); }

.channels--footer .channel { background: transparent; border-color: var(--navy-3); color: var(--white); min-height: 40px; font-size: 14px; }
.channels--footer .channel .icon { color: var(--white); width: 18px; height: 18px; }

/* Contact block on the home page */
.contact-block { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-block { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact-block__lead { color: #C7D3E0; max-width: 44ch; }
.contact-block__facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: #DCE4EE; }
.contact-block__facts li, .site-footer__facts li { display: flex; align-items: center; gap: 8px; }
.contact-block__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px; }
.contact-block__form h3 { font-size: 22px; }
.contact-block__form .cdu-form { margin-top: 8px; }

/* Sell band */

/* Page head --------------------------------------------------------------- */

.page-head { background: var(--navy); color: var(--white); padding: 30px 0 26px; }
.page-head__title { font-size: clamp(30px, 5vw, 50px); text-transform: uppercase; margin: 0; }
.page-head__sub { color: #C7D3E0; margin: 8px 0 0; }
.page-body { padding: 36px var(--gutter) 64px; }
.page-body .channels { margin: 8px 0 28px; }

/* Inventory filters ------------------------------------------------------- */

.inventory { padding-top: 22px; padding-bottom: 64px; }

.filters-wrap { margin-bottom: 22px; }
.filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--navy);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--navy);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.filters-toggle::-webkit-details-marker { display: none; }
.filters-toggle::after {
	content: "";
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.filters-wrap[open] .filters-toggle { margin-bottom: 12px; }
.filters-wrap[open] .filters-toggle::after { transform: rotate(-135deg) translateY(-2px); }

.filters {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}
.filters .field--grow, .filters__actions, .filters__check { grid-column: 1 / -1; }
.filters__actions { margin: 0; display: flex; align-items: center; gap: 16px; }
.filters__check { margin: 0; font-weight: 500; }
.filters__check input { margin-right: 8px; transform: scale(1.2); }
.filters__clear { font-weight: 600; }
@media (min-width: 960px) {
	.filters-toggle { display: none; }
	.filters { grid-template-columns: 1.6fr repeat(6, 1fr); align-items: end; }
	.filters .field--grow { grid-column: auto; }
	.filters__check { grid-column: 1 / 4; }
	.filters__actions { grid-column: 4 / -1; justify-content: flex-end; }
}

.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
}
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Vehicle page ------------------------------------------------------------ */

.vehicle { padding-top: 16px; padding-bottom: 104px; }
@media (min-width: 960px) { .vehicle { padding-bottom: 64px; } }

.crumbs { font-size: 15px; display: flex; gap: 8px; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

.vehicle__grid { display: grid; gap: 24px; }
@media (min-width: 960px) {
	.vehicle__grid { grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr); gap: 36px; align-items: start; }
	.vehicle__side { position: sticky; top: 96px; }
}
/* Phones: price and contact right after the photos */
@media (max-width: 959px) {
	.vehicle__grid { display: flex; flex-direction: column; }
	.vehicle__media { display: contents; }
	.gallery, .gallery__empty { order: 1; }
	.vehicle__side { order: 2; }
	.cdu-video, .cdu-video-link { order: 3; }
	.vehicle__about { order: 4; }
	.vehicle__specs { order: 5; }
	.vehicle__terms { order: 6; }
	.vehicle__schedule { order: 7; }
}

.gallery__main { position: relative; background: var(--navy); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__img { width: 100%; height: 100%; object-fit: contain; }
.gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: var(--navy);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding-bottom: 4px;
}
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__counter {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(16, 42, 67, .85);
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
}
.gallery__thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	background: none;
	cursor: pointer;
	width: 84px;
	height: 63px;
	overflow: hidden;
	flex: none;
	opacity: .7;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--red); opacity: 1; }
.gallery__empty {
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	background: var(--white);
	border: 1.5px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}

.cdu-video { margin-top: 20px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.cdu-video iframe, .cdu-video video { width: 100%; height: 100%; border: 0; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.panel h2 { font-size: 24px; }
.prose > *:last-child { margin-bottom: 0; }

.features { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px 24px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { display: flex; align-items: center; gap: 8px; }
.features .icon { color: var(--ok); width: 18px; height: 18px; }

.specs { margin: 0; display: grid; }
@media (min-width: 640px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--paper); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.history-link { margin: 16px 0 0; font-weight: 600; }

.conditions { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.conditions li { padding-left: 16px; border-left: 3px solid var(--red); }

.vehicle__schedule { border-top: 5px solid var(--red); scroll-margin-top: 96px; }
.vehicle__schedule-lead { color: var(--muted); }

/* Buy box */
.buybox { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.buybox__title { font-size: clamp(26px, 3.2vw, 34px); margin: 0; }
.buybox__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: #C7D3E0; }
.buybox__price { margin: 6px 0 0; }
.buybox__price .marker { color: var(--white); font-size: clamp(48px, 6vw, 60px); display: inline-block; transform: rotate(-2deg); }
.buybox__note { font-size: 14px; color: #AFC0D2; margin: 0 0 6px; }
.buybox__alert { background: var(--navy-2); border-left: 4px solid var(--red); padding: 10px 12px; margin: 0; font-weight: 600; }
.buybox__or { margin: 6px 0 0; font-size: 14px; color: #AFC0D2; }
.buybox .channels { margin: 0; }

.seller { border-top: 1px solid var(--navy-3); padding-top: 14px; margin-top: 6px; }
.seller p { margin: 0; }
.seller__label { font-size: 13px; color: #AFC0D2; text-transform: uppercase; letter-spacing: .04em; }
.seller__name { font: italic 800 20px/1.2 var(--font-display); }
.seller__meta { font-size: 14px; color: #C7D3E0; margin-top: 2px !important; }

.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 6px;
	width: 12px;
	height: 7px;
	border-left: 2.5px solid var(--ok);
	border-bottom: 2.5px solid var(--ok);
	transform: rotate(-45deg);
}

.vehicle__disclaimer { font-size: 14px; color: var(--muted); margin-top: 28px; max-width: 80ch; }

/* Phones: price + call + text + test drive, always at hand */
.stickybar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 40;
	background: var(--navy);
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
	transition: transform .2s ease;
}
.stickybar.is-hidden { transform: translateY(110%); }
.stickybar__price { color: var(--white); font-size: 30px; }
.stickybar__actions { display: flex; align-items: center; gap: 8px; }
.stickybar__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-sm);
	background: var(--navy-2);
	color: var(--white);
}
.stickybar .btn { min-height: 46px; padding: 0 16px; }
@media (min-width: 960px) { .stickybar { display: none; } }

/* Forms ------------------------------------------------------------------- */

.cdu-form { margin-top: 16px; }
.cdu-form-grid { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .cdu-form-grid { grid-template-columns: 1fr 1fr; } }
.cdu-field { margin: 0 0 16px; display: grid; gap: 6px; }
.cdu-field textarea { min-height: 110px; resize: vertical; }
.cdu-req { color: var(--red); }
.cdu-consent { font-size: 15px; color: var(--muted); }
.cdu-consent input { margin-right: 8px; transform: scale(1.2); }
.cdu-form-note { font-size: 14px; color: var(--muted); }
.cdu-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cdu-notice { padding: 14px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; }
.cdu-notice--ok { background: #E4F5EC; color: #0E5F38; }
.cdu-notice--error { background: #FDECEC; color: var(--red-dark); font-weight: 600; }

/* Cookie notice ----------------------------------------------------------- */

.cdu-consent-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 60;
	max-width: 560px;
	background: var(--white);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(16, 42, 67, .2);
	padding: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	font-size: 15px;
}
.cdu-consent-bar[hidden] { display: none; }
.cdu-consent-bar p { margin: 0; flex: 1 1 260px; }
.cdu-consent-bar__actions { display: flex; gap: 8px; }
.cdu-consent-bar button { min-height: 42px; padding: 0 16px; border-radius: var(--radius-sm); font: 600 15px/1 var(--font); cursor: pointer; }
.cdu-consent-bar__no { background: var(--white); border: 1.5px solid var(--line); color: var(--ink); }
.cdu-consent-bar__yes { background: var(--navy); border: 1.5px solid var(--navy); color: var(--white); }
.single-cdu_vehicle .cdu-consent-bar { bottom: 12px; }
@media (min-width: 960px) { .single-cdu_vehicle .cdu-consent-bar { bottom: 12px; } }

/* Footer ------------------------------------------------------------------ */

.site-footer { background: var(--navy); color: #C7D3E0; padding: 48px 0 24px; font-size: 15px; }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer__facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.site-footer__links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__label { color: var(--white); font-weight: 600; margin: 0 0 10px; }
.site-footer__contact .channels { margin-bottom: 20px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--navy-3);
}
.social a:hover { background: var(--navy-2); }
.site-footer__legal { border-top: 1px solid var(--navy-2); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #98AABD; }
.site-footer__legal p { max-width: 90ch; }

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

/* Compact cookie notice on phones so it doesn't hide the car */
@media (max-width: 600px) {
	.cdu-consent-bar { padding: 10px 12px; gap: 8px 12px; font-size: 13px; left: 8px; right: 8px; bottom: 8px; }
	.cdu-consent-bar p { flex-basis: 100%; }
	.cdu-consent-bar__actions { width: 100%; }
	.cdu-consent-bar button { min-height: 38px; flex: 1; font-size: 14px; }
	.single-cdu_vehicle .cdu-consent-bar { bottom: 8px; }
}

/* Official logo on the navy footer: on a white plate so its colors stay true */
.site-footer .brand--dark { background: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.site-footer .brand--dark .brand__img { height: 72px; }

/* Price drop ---------------------------------------------------------------- */
.price { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.price__was { font: 600 15px/1 var(--font); color: #C7D3E0; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.card__price.price { position: absolute; left: 14px; bottom: 10px; z-index: 1; transform: rotate(-3deg); transform-origin: left bottom; font-size: inherit; }
.card__price .price__now { color: var(--white); font-size: 34px; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.card__price .price__was { color: #E4EAF1; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.tag--drop { left: auto; right: 12px; background: var(--red); color: var(--white); }
.tag--drop::before { background: var(--white); }
.tag--inline { position: static; }
.buybox__price .price__now { color: var(--white); font-size: clamp(48px, 6vw, 60px); display: inline-block; transform: rotate(-2deg); }
.buybox__price .price__was { font-size: 18px; margin-bottom: 6px; }
.buybox__drop { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: #FFD5D9; }

/* Same-day purchase */
.card__sameday, .buybox__sameday { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; font-size: 14px; color: var(--ok); }
.card__sameday .icon, .buybox__sameday .icon { width: 16px; height: 16px; }
.buybox__sameday { color: #7EE2A8; font-size: 15px; }

/* Trust numbers and reviews ---------------------------------------------- */
.section--trust { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 20px 56px; }
.stats li { display: flex; flex-direction: column; }
.stats__num { color: var(--red); font-size: 46px; }
.stats__label { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--muted); margin-top: 4px; }
.section--trust .stats:last-child { margin-bottom: 0; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--paper); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 17px; }
.review__who { margin: auto 0 0; font-size: 15px; color: var(--muted); }
.review__who strong { color: var(--ink); }
.review__src { display: block; font-size: 13px; }
.stars { color: #F2A900; font-size: 20px; letter-spacing: 2px; }
.stars__off { color: var(--line); }
.reviews-link { margin: 0; }

/* Contact: call and text are the main channels --------------------------- */
.channel--main { border-color: var(--red); }
.channels--on-dark .channel.channel--main,
.channels--intro .channel.channel--main {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}
.channels--on-dark .channel.channel--main:hover,
.channels--intro .channel.channel--main:hover { background: #C41E2D; border-color: #C41E2D; }
.channels--on-dark .channel.channel--main .icon,
.channels--intro .channel.channel--main .icon { color: var(--white); }
.channels--footer .channel--main { border-color: var(--red); }
/* Call and text side by side, the rest smaller below. */
.channels--grid .channel--main { font-size: 16px; min-height: 50px; }
.channels--intro { margin: -8px 0 22px; }
.channels--intro .channel { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: var(--white); min-height: 44px; }
.channels--intro .channel .icon { color: var(--white); }
.channels--intro li:nth-child(n+3) .channel { min-height: 40px; font-size: 14px; }

.intro__pay {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-weight: 700;
	font-size: 15px;
}
.intro__pay .icon { color: var(--red); width: 18px; height: 18px; }
.buybox__pay { display: flex; align-items: center; gap: 6px; margin: -4px 0 4px; font-weight: 600; font-size: 15px; }
.buybox__pay .icon { width: 18px; height: 18px; color: var(--white); }
.buybox__schedule { margin-top: 4px; }

/* Header: text + call buttons */
.header-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1.5px solid var(--red);
	color: var(--red);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.header-text .icon { width: 18px; height: 18px; }
.header-text:hover { background: #FDECEE; }
.header-call { background: var(--red); color: var(--white); border-radius: 999px; min-height: 40px; padding: 0 14px; }
.header-call .icon { color: var(--white); width: 18px; height: 18px; }
.header-call:hover { background: #C41E2D; }
.header-call__short { display: none; }
@media (max-width: 1080px) { .header-call__short { display: inline; } }
@media (max-width: 420px) { .header-text__label, .header-call__short { display: none; } .header-text, .header-call { padding: 0 11px; } }

/* EN | ES */
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin-right: 4px; }
.lang-switch__item { display: grid; place-items: center; min-width: 34px; min-height: 32px; padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; }
.lang-switch__item.is-active { background: var(--navy); color: var(--white); }
.site-footer .lang-switch { border-color: var(--navy-3); vertical-align: middle; margin-left: 4px; }
.site-footer .lang-switch__item { color: var(--white); min-height: 26px; }
.site-footer .lang-switch__item.is-active { background: var(--white); color: var(--navy); }

/* Sticky bar on phones: price, Call, Text, Test drive */
.stickybar__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 52px;
	height: 46px;
	border-radius: var(--radius-sm);
	background: var(--navy-2);
	color: var(--white);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}
.stickybar__btn .icon { width: 18px; height: 18px; }
.stickybar__price { font-size: 26px; }

.copy-toast {
	position: fixed;
	left: 50%;
	bottom: 96px;
	transform: translate(-50%, 20px);
	background: var(--navy);
	color: var(--white);
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	z-index: 70;
	max-width: calc(100% - 32px);
	text-align: center;
}
.copy-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Header items never break onto two lines */
.nav__list a, .nav__cta, .header-call, .header-text { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) { .nav__list { gap: 14px; } .nav { gap: 16px; } }

/* Chat first: Messenger and Instagram ------------------------------------- */
.channels--on-dark .channel.channel--messenger.channel--main,
.channels--intro .channel.channel--messenger.channel--main,
.channel--messenger.channel--main { background: #0A7CFF; border-color: #0A7CFF; color: var(--white); }
.channel--messenger.channel--main .icon { color: var(--white); }
.channels--on-dark .channel.channel--instagram.channel--main,
.channels--intro .channel.channel--instagram.channel--main,
.channel--instagram.channel--main { background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); border-color: transparent; color: var(--white); }
.channel--instagram.channel--main .icon { color: var(--white); }
.channel--messenger.channel--main:hover, .channel--instagram.channel--main:hover { filter: brightness(1.08); }
.channels--footer .channel--main { border-color: transparent; }

.btn--messenger, .btn--instagram { color: var(--white); border: 0; }
.btn--messenger { background: #0A7CFF; }
.btn--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); }
.btn--messenger:hover, .btn--instagram:hover { filter: brightness(1.08); color: var(--white); }
.btn--messenger .icon, .btn--instagram .icon { color: var(--white); }

.chat-cta { display: grid; gap: 10px; margin: 8px 0 4px; }
.chat-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.chat-cta__buttons .btn { flex: 1 1 220px; justify-content: center; }
.chat-cta__note { margin: 0; font-size: 15px; color: var(--muted); }
.chat-cta__backup { margin: 0; font-size: 14px; color: var(--muted); }
.chat-cta__backup a { color: inherit; font-weight: 600; }
.chat-steps { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }

.header-chat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	background: #0A7CFF;
	color: var(--white);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.header-chat .icon { width: 18px; height: 18px; }
.header-chat:hover { filter: brightness(1.08); }
.header-ig {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	color: var(--white);
	background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4);
}
.header-ig .icon { width: 18px; height: 18px; }
@media (max-width: 420px) { .header-chat__label { display: none; } .header-chat { padding: 0 11px; } }
