/**
 * ab-vehicles — 3.47.5 redesign layer ("global export" design system).
 *
 * A complete visual re-design of the vehicle detail page and the listings /
 * archive pages. This file loads AFTER frontend.css and re-skins every block
 * without touching the DOM, so all shortcodes, Elementor widgets and the
 * frontend.js behaviour (gallery, filters, tabs, params, pickers…) keep
 * working exactly as before.
 *
 * Design direction — international vehicle-export catalogue:
 *   deep navy ink, one electric-blue accent, generous whitespace, soft
 *   rounded cards, tabular figures, a white canvas capped at 1620px and a
 *   centred 1400px content column.
 *
 * Section order mirrors frontend.css: tokens → wide canvas → type → detail
 * page (gallery, title, specs, price, availability, logistics, media, CTA,
 * modules) → listings (filter, toolbar, cards, pagination) → finder → tabs
 * → carousel → archive hero → sticky bar → responsive rhythm.
 */

/* ============================================================= tokens */

.abv-page,
.abv-stickybar,
.abv-lightbox {
	--abv-ink: #0a1c38;
	--abv-ink-2: #1f3050;
	--abv-ink-3: #4c5d7d;
	--abv-ink-4: #677898;
	--abv-line: #e2e8f2;
	--abv-line-strong: #c5d1e4;
	--abv-surface: #ffffff;
	--abv-surface-2: #f3f6fb;
	--abv-surface-3: #e8eef6;
	--abv-accent: #1a56db;
	--abv-accent-deep: #1244b8;
	--abv-accent-ink: #ffffff;
	--abv-accent-soft: #ecf2fe;
	--abv-good: #0e9f5d;
	--abv-warn: #d93025;
	--abv-radius: 12px;
	--abv-radius-lg: 18px;
	--abv-shadow: 0 1px 2px rgba(10, 28, 56, .05), 0 16px 40px -24px rgba(10, 28, 56, .22);
	--abv-gap: 26px;
	/* keep ONE width: later layers (theme inline css) may try to redefine it */
	--abv-max: 1400px;
}

/* the wide canvas: width only — horizontal margins come from the theme
   container (32px) so there is exactly ONE source of side padding */
.abv-page .abv-wrap-inner,
.abv-archive-page .abv-wrap-inner,
.e-con.abv-wrap-inner {
	max-width: var(--abv-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

/* the Elementor boxed container on vehicle archive pages locks the filter +
   listing widgets at the template's own content width (e.g. 1140px) — open
   it to the same centred column the hero card uses */
body.post-type-archive-ab_car .e-con-boxed > .e-con-inner,
body[class*="tax-ab_"] .e-con-boxed > .e-con-inner {
	max-width: min(100%, var(--abv-max)) !important;
	width: 100% !important;
}

/* ============================================================= break the theme's narrow column
 *
 * The vehicle pages render inside the active theme's single-post template
 * (Astra: .ast-container 1240px + wide side padding on the article), so the
 * wide canvas never gets room to expand. Scoped to #content ONLY — the site
 * header (.ast-container inside #masthead) keeps its theme default width.
 */

/* the white page canvas is capped at 1620px; the content column inside it is
   a centred 1400px band, so every section keeps generous side margins */
:root { --abv-max: 1400px !important; --abv-canvas: 1620px !important; --abv-pad: 48px; }

/* the listing pages stay on the WIDE 1620px column (3.47.5 behaviour): a
   body-level declaration always beats the :root token above. NOTE: the
   .abv-page rule block near the top of this file re-declares --abv-max on
   the element itself, and an element's OWN declaration beats anything
   inherited from body — so the same override must be repeated AT the
   .abv-page level or the archive column silently falls back to 1400px. */
body.post-type-archive-ab_car,
body[class*="tax-ab_"],
body.post-type-archive-ab_car .abv-page,
body[class*="tax-ab_"] .abv-page,
body.post-type-archive-ab_car .abv-page .abv-wrap-inner,
body[class*="tax-ab_"] .abv-page .abv-wrap-inner { --abv-max: 1620px !important; }

/* canvas cap: only the vehicle DETAIL page — the archive stays full width */
body.single-ab_car #content .ast-container {
	max-width: var(--abv-canvas) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.post-type-archive-ab_car #content .ast-container,
body[class*="tax-ab_"] #content .ast-container {
	width: 100%;
	/* archive pages: the Astra default caps this container at 1240px —
	   without this the 1620px token is defined but never gets room to show */
	max-width: var(--abv-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--abv-pad) !important;
	padding-right: var(--abv-pad) !important;
	box-sizing: border-box;
}

body.single-ab_car #content .ast-container {
	width: 100%;
	padding-left: var(--abv-pad) !important;
	padding-right: var(--abv-pad) !important;
	box-sizing: border-box;
}

body.single-ab_car #content article.type-ab_car,
body.single-ab_car #content .ast-article-single {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}

body.single-ab_car #content .entry-content,
body.single-ab_car #content .entry-content > .elementor,
body.post-type-archive-ab_car #content .entry-content,
body[class*="tax-ab_"] #content .entry-content {
	max-width: none !important;
}

/* ============================================================= type */

.abv-eyebrow {
	margin: 0 0 8px;
	color: var(--abv-accent);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.abv-h1 {
	margin: 0 0 10px;
	color: var(--abv-ink);
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.12;
	text-decoration: none;
}

/* theme heading-link underlines must not leak into the vehicle title */
.abv-h1 a,
.abv-h1 u,
.abv-h1 span {
	text-decoration: none !important;
}

.abv-sec-title {
	margin: 0;
	color: var(--abv-ink);
	font-size: clamp(19px, 1.6vw, 24px);
	font-weight: 750;
	letter-spacing: -.015em;
}

.abv-lead {
	margin: 0;
	color: var(--abv-ink-3);
	font-size: 16.5px;
	line-height: 1.65;
}

/* section rule: blue accent bar melting into a hairline */
.abv-sec-head {
	padding-bottom: 14px;
}

.abv-sec-head::after {
	background: linear-gradient(90deg,
		var(--abv-accent) 0,
		rgba(26, 86, 219, .32) 18%,
		var(--abv-line) 46%,
		transparent 100%);
}

/* section title chip: solid blue bar before every block title */
.abv-sec-title::before,
.abv-avail-title::before {
	width: 5px;
	height: 20px;
	border-radius: 3px;
	background: linear-gradient(180deg, #4d7dff, var(--abv-accent));
}

/* ============================================================= detail: gallery */

/* hero keeps its top padding — the QUOTE CARD is pushed down by the same
   offset so its top edge aligns exactly with the product image top */
.abv-hero { padding: 26px 0 0; }
.abv-hero-grid { gap: 12px; }

.abv-gmain {
	border: 0;
	border-radius: var(--abv-radius-lg);
	background: var(--abv-surface-3);
	box-shadow: 0 30px 60px -36px rgba(10, 28, 56, .5);
}

.abv-gmain img {
	aspect-ratio: 16 / 9;
	border-radius: inherit;
}

.abv-gcount {
	background: rgba(10, 28, 56, .78);
	border: 1px solid rgba(255, 255, 255, .18);
	font-weight: 600;
}

.abv-gnav {
	border: 0;
	background: rgba(10, 28, 56, .62);
	box-shadow: 0 6px 18px rgba(10, 28, 56, .35);
}

.abv-gnav:hover { background: var(--abv-accent); }

.abv-grail button {
	border: 1px solid var(--abv-line);
	border-radius: 10px;
	overflow: hidden;
}

.abv-grail button[aria-current="true"] {
	border-color: var(--abv-accent);
	box-shadow: 0 0 0 1px var(--abv-accent);
}

.abv-grail-nav {
	border: 1px solid var(--abv-line);
	border-radius: 9px;
	background: var(--abv-surface);
	color: var(--abv-ink-3);
}

.abv-grail-nav:hover {
	color: var(--abv-accent);
	border-color: var(--abv-accent);
	background: var(--abv-accent-soft);
}

.abv-gmain-empty { border-radius: var(--abv-radius-lg); }

/* ============================================================= detail: title block */

.abv-head {
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--abv-line);
}

.abv-pill {
	border: 1px solid var(--abv-accent-soft);
	border-radius: 999px;
	background: var(--abv-accent-soft);
	color: var(--abv-accent-deep);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
}

.abv-pill-condition {
	background: var(--abv-ink);
	border-color: var(--abv-ink);
	color: #fff;
}

.abv-pill-featured {
	background: linear-gradient(135deg, #ffb020, #ff8a00);
	border-color: transparent;
	color: #fff;
}

.abv-facts {
	gap: 12px 30px;
	padding: 4px 0 0;
}

.abv-facts li { font-size: 14.5px; }
.abv-facts svg { color: var(--abv-accent); }
.abv-facts b { font-weight: 750; }
.abv-facts span { color: var(--abv-ink-4); font-size: 11.5px; letter-spacing: .1em; }

/* ============================================================= detail: layout
 *
 * The Elementor detail template renders: crumbs / head / gallery / params
 * button as full-width rows ABOVE a main+aside column pair, so the gallery
 * spans the whole canvas and the price card sits far below the fold. Rebuild
 * it as the classic export-catalogue layout:
 *
 *   [crumbs -------------------------------------------------------------]
 *   [pills + title ------------------------------------------------------]
 *   [gallery                          | price card + CTA (sticky)       ]
 *   [params button                    |   … continues beside the specs  ]
 *   [specs / features / description / shipping / faq / form -------------]
 *
 * Scope: only the Elementor template container (it is an .e-con element),
 * the plugin-rendered fallback keeps its own working layout.
 */

.e-con[class*="abv-layout-"] {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 20px 44px;
	grid-template-areas:
		"crumbs crumbs"
		"head   head"
		"gallery aside"
		"params aside"
		"main   aside";
	max-width: var(--abv-max) !important;
	margin: 0 auto !important;
	padding: 6px 0 0 !important;
}

/* flatten the wrapper chain so main/aside join the top grid */
.e-con[class*="abv-layout-"] .abv-wrap-inner,
.e-con[class*="abv-layout-"] .abv-cols { display: contents; }

.e-con[class*="abv-layout-"] .elementor-widget-abv_crumbs { grid-area: crumbs; }
.e-con[class*="abv-layout-"] .abv-head { grid-area: head; }
.e-con[class*="abv-layout-"] .elementor-widget-abv_gallery { grid-area: gallery; min-width: 0; }
.e-con[class*="abv-layout-"] .elementor-widget-abv_params_button { grid-area: params; }
.e-con[class*="abv-layout-"] .abv-main { grid-area: main; min-width: 0; gap: 30px; }

/* the quote column: a plain stretch grid item (its full height reaches the
   bottom of the main column — the inner .abv-aside-pin sticks inside it);
   the top margin matches .abv-hero's top padding so the price card's top
   edge is level with the product image top */
.e-con[class*="abv-layout-"] .abv-aside {
	grid-area: aside;
	min-width: 0;
	margin-top: 26px;
}

/* PIN (3.47.8): frontend.js wraps the quote column's children into one
   .abv-aside-pin element. The sticky then lives on that INNER wrapper — a
   plain block inside the grid item — so its constraint is the item's own
   content box (stretching down to the bottom of the main column) instead
   of the whole grid container. Result: the card is pinned natively by the
   compositor (perfectly smooth), releases exactly where the main column
   ends — right before the CTA band — and scrolls away with the page.
   No scroll listeners, no transforms, deterministic on every run. */
.e-con[class*="abv-layout-"] .abv-aside {
	display: block;
}

/* CRITICAL: frontend.css still pins the OUTER aside column itself
   (`.e-con.abv-aside { position: sticky; top: 24px; align-self: start }`),
   and a grid item's sticky is constrained to the whole grid container —
   whose bottom sits BELOW the CTA band. That outer sticky is the real
   reason the quote card kept riding over the CTA. Kill it for good:
   the column stays a stretched grid item and only the INNER pin sticks. */
.e-con[class*="abv-layout-"] .abv-aside,
.e-con.abv-aside {
	position: static !important;
	top: auto !important;
	align-self: stretch !important;
}

.e-con[class*="abv-layout-"] .abv-aside .abv-aside-pin {
	position: sticky;
	top: 24px;
	display: block;
}

/* the template gives the price-card container its own 26px top margin —
   inside the pin that offset would break the "price card top = image top"
   alignment, so the pin's first child starts flush */
.e-con[class*="abv-layout-"] .abv-aside-pin > .e-con:first-child {
	margin-top: 0 !important;
}

/* the pin replaces the aside's flex column — keep a sensible rhythm
   between the quote card and the cards below it */
.e-con[class*="abv-layout-"] .abv-aside-pin > * + * {
	margin-top: 22px;
}

.e-con[class*="abv-layout-"] .elementor-widget-abv_cta,
.e-con[class*="abv-layout-"] .elementor-widget-abv_related { grid-column: 1 / -1; }

/* gallery: big but not overwhelming — the image keeps its 16/9 inside the column */
.e-con[class*="abv-layout-"] .elementor-widget-abv_gallery [data-ab-gallery-main] {
	max-height: 620px;
}

/* legacy container-query rules no longer drive the Elementor layout */
@container abv (min-width: 820px) {
	.e-con.abv-cols { grid-template-columns: none; }
}
@container abv (min-width: 1180px) {
	.e-con.abv-cols { grid-template-columns: none; }
}

@media (max-width: 1024px) {
	.e-con[class*="abv-layout-"] {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		grid-template-areas:
			"crumbs"
			"head"
			"gallery"
			"params"
			"aside"
			"main";
	}
	.e-con[class*="abv-layout-"] .abv-aside,
	.e-con[class*="abv-layout-"] .abv-aside .abv-aside-pin { position: static; }

	/* mobile detail page: the white canvas runs edge-to-edge. The theme's
	   side inset left grey strips beside an already-white page and the
	   content looked glued to the canvas edge — the CONTENT keeps its own
	   inset instead of the canvas. */
	body.single-ab_car #content .ast-container {
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.single-ab_car #content article.type-ab_car,
	body.single-ab_car #content .ast-article-single {
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.single-ab_car .e-con[class*="abv-layout-"] {
		padding-left: var(--abv-pad) !important;
		padding-right: var(--abv-pad) !important;
	}
	/* a visible seam between the aside stack (price card, availability…)
	   and the FULL SPECIFICATION column below it */
	body.single-ab_car .e-con[class*="abv-layout-"] .abv-main {
		margin-top: 26px;
	}
}

/* ============================================================= detail: specs */

.abv-specs {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius-lg);
	background: var(--abv-surface);
	box-shadow: var(--abv-shadow);
}

.abv-specs > div {
	padding: 16px 18px;
	background: var(--abv-surface);
	box-shadow: 1px 0 0 var(--abv-line), 0 1px 0 var(--abv-line);
}

.abv-specs svg { color: var(--abv-accent); }

.abv-specs dt {
	color: var(--abv-ink-4);
	font-size: 11.5px;
	letter-spacing: .09em;
}

.abv-specs dd {
	color: var(--abv-ink);
	font-size: 15.5px;
	font-weight: 700;
}

.abv-specs tbody tr:nth-child(even) { background: var(--abv-surface-2); }
.abv-specs tbody tr:hover { background: var(--abv-accent-soft); }

/* key figures strip: navy band with electric figures */
.abv-metrics {
	border: 0;
	border-radius: var(--abv-radius-lg);
	background: linear-gradient(135deg, #0a1c38 0%, #122f5c 100%);
	overflow: hidden;
}

.abv-metrics > div { background: transparent; padding: 20px 22px; }

.abv-metrics dt { color: rgba(255, 255, 255, .62); font-size: 11.5px; }
.abv-metrics dt svg { color: #6ea8ff; }

.abv-metrics dd {
	color: #ffffff;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.abv-metrics dd span { color: rgba(255, 255, 255, .55); font-weight: 500; }

/* feature chips */
.abv-chips { gap: 10px; }

.abv-chips li {
	padding: 9px 14px;
	border: 1px solid var(--abv-line);
	border-radius: 999px;
	background: var(--abv-surface-2);
	color: var(--abv-ink-2);
	font-size: 13.5px;
	font-weight: 600;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.abv-chips li:hover {
	border-color: var(--abv-accent);
	background: var(--abv-accent-soft);
	color: var(--abv-accent-deep);
}

.abv-chips svg { color: var(--abv-good); }

/* logistics timeline */
.abv-steps li {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius);
	background: var(--abv-surface);
	box-shadow: 0 10px 26px -22px rgba(10, 28, 56, .4);
}

.abv-steps li::before {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	color: #fff;
	border: none;
	box-shadow: 0 6px 14px -6px rgba(26, 86, 219, .8);
}

@container maincol (min-width: 700px) {
	.abv-steps li::after { background: var(--abv-line); }
	/* the wide timeline strips horizontal padding in frontend.css — give the
	   cards their text padding back and keep badge + connector aligned */
	.abv-steps li { padding: 40px 20px 20px; }
	.abv-steps li::before { left: 20px; }
	.abv-steps li::after { left: 56px; }
}

/* certificates */
.abv-certs { gap: 14px; }

.abv-cert {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius);
	background: var(--abv-surface);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.abv-cert:hover {
	border-color: var(--abv-accent);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -20px rgba(10, 28, 56, .4);
}

.abv-cert-logo { border-radius: 10px; background: var(--abv-accent-soft); }

/* videos */
.abv-videos { gap: 14px; }

.abv-video {
	border: 0;
	border-radius: var(--abv-radius-lg);
	box-shadow: 0 18px 40px -28px rgba(10, 28, 56, .5);
}

.abv-video-badge { background: rgba(10, 28, 56, .78); font-weight: 600; }

/* description */
/* 3.47.31 - the description fills its column: the old 76ch cap left a wide
   empty band on the right of the text column (~600px of text in a ~990px
   column). The Elementor "Max width" control (abv_desc_width) still wins
   whenever a narrower measure is wanted on purpose. */
.abv-desc { max-width: none; font-size: 16px; line-height: 1.75; }

/* ============================================================= detail: price card */

/* from the old dark navy panel to a bright quote panel with an electric-blue top edge */
.abv-pricecard,
.e-con.abv-pricecard {
	background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
	border: 1px solid var(--abv-line);
	border-top: 0 !important;
	border-radius: var(--abv-radius-lg);
	box-shadow: 0 24px 50px -28px rgba(10, 28, 56, .35);
}

/* The Elementor archive/detail template sets its own dark background on the
   price-card container (printed inline AFTER our stylesheets), so plain
   overrides lose the cascade. Re-assert with weight. */
.elementor-element.abv-pricecard,
.e-con.abv-pricecard.elementor-element {
	background-color: #ffffff !important;
	background-image: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%) !important;
	border: 1px solid var(--abv-line) !important;
	border-top: 0 !important;
	box-shadow: 0 24px 50px -28px rgba(10, 28, 56, .35) !important;
}

/* inner text that the template painted for the dark panel */
.elementor-element.abv-pricecard .elementor-element,
.abv-pricecard .abv-pc-label,
.abv-pricecard .abv-pc-price,
.abv-pricecard .abv-pc-note {
	color: inherit;
}

.abv-pricecard .abv-pc-label { color: var(--abv-accent) !important; }
.abv-pricecard .abv-pc-price { color: var(--abv-ink) !important; font-weight: 800; }
.abv-pricecard .abv-pc-note { color: var(--abv-ink-3) !important; }

/* the price amount lives in its own Elementor widget that the template once
   painted for the dark panel — pin it so it can never wash out again */
.abv-pc-price,
.abv-pricecard .elementor-widget-abv_price_amount,
.abv-pricecard .elementor-widget-abv_price_amount * {
	color: #0a1c38 !important;
}
.abv-pc-label,
.abv-pricecard .elementor-widget-abv_price_label,
.abv-pricecard .elementor-widget-abv_price_label * {
	color: #1a56db !important;
}

.abv-pricecard::after { content: none; }

.abv-pricecard-edge {
	background: linear-gradient(90deg, var(--abv-accent) 0%, #4d7dff 42%, rgba(77, 125, 255, .25) 74%, transparent 100%);
}

:where(.abv-pricecard) .abv-pc-label { color: var(--abv-accent); }
.abv-pricecard .abv-pc-label { color: var(--abv-accent); font-size: 11.5px; }
.abv-pricecard .abv-pc-price { color: var(--abv-ink); font-weight: 800; }
.abv-pricecard .abv-pc-note { color: var(--abv-ink-3); }
.abv-pricecard .abv-terms { border-radius: 12px; overflow: hidden; }
.abv-pricecard .abv-terms > div { background: transparent; border-top: 1px solid var(--abv-line); }
.abv-pricecard .abv-terms > div:first-child { border-top: 0; }
.abv-pricecard .abv-terms dt { color: var(--abv-ink-4); font-size: 12.5px; }
.abv-pricecard .abv-terms dd { color: var(--abv-ink); font-weight: 700; }

/* panel buttons back on a light surface */
.abv-pricecard .abv-btn {
	background: var(--abv-ink);
	border-color: var(--abv-ink);
	color: #fff;
}

.abv-pricecard .abv-btn:hover {
	background: #14305c;
	border-color: #14305c;
	transform: translateY(-1px);
}

/* ── quote card buttons (3.47.8 redesign, no borders anywhere) ──
   WhatsApp: solid green pill, soft glow, hover lifts with a deeper glow.
   Email: solid brand-blue pill, hover deepens the blue and lifts — the
   accent lives in the BACKGROUND, never in the text colour. */
.abv-pricecard .abv-btn-wa,
.e-con.abv-pricecard .abv-btn-wa {
	background: linear-gradient(135deg, #16b364, #0b8a4b);
	border: 0 !important;
	box-shadow: 0 10px 22px -12px rgba(14, 159, 93, .75);
	transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.abv-pricecard .abv-btn-wa:hover,
.abv-pricecard .abv-btn-wa:focus {
	background: linear-gradient(135deg, #19c56e, #0c9752);
	border: 0 !important;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -12px rgba(14, 159, 93, .85);
}

.abv-pricecard .abv-btn-ghost,
.e-con.abv-pricecard .abv-btn-ghost {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	border: 0 !important;
	color: #fff;
	box-shadow: 0 10px 22px -12px rgba(26, 86, 219, .7);
	transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.abv-pricecard .abv-btn-ghost:hover,
.abv-pricecard .abv-btn-ghost:focus {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep));
	border: 0 !important;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -12px rgba(26, 86, 219, .8);
}

.abv-pricecard .abv-btn-accent,
.abv-pricecard .abv-btn-primary {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	border-color: transparent;
	color: #fff;
}

.abv-pricecard .abv-btn-accent:hover,
.abv-pricecard .abv-btn-primary:hover {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep));
}

/* ============================================================= buttons */

.abv-btn {
	border-radius: 12px;
	min-height: 48px;
	font-weight: 700;
	letter-spacing: .01em;
	--abv-btn-glow: rgba(26, 86, 219, .45);
}

.abv-btn-accent,
.abv-btn-primary {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	color: #fff;
}

.abv-btn-accent:hover,
.abv-btn-primary:hover {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep));
	color: #fff;
}

.abv-btn-wa,
.abv-btn-green {
	background: linear-gradient(135deg, #16b364, #0b8a4b);
	border-color: transparent;
	color: #fff;
}

.abv-btn-wa:hover,
.abv-btn-green:hover {
	background: linear-gradient(135deg, #19c56e, #0c9752);
	border-color: transparent;
	color: #fff;
}

/* the params trigger keeps the WA anatomy but wears the brand blue */
.abv-params-cta .abv-btn-green {
	background-image: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	border-color: transparent;
}

.abv-params-cta .abv-btn-green:hover {
	background-image: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep));
	border-color: transparent;
}

.abv-btn-ghost {
	border-color: var(--abv-line-strong);
	background: var(--abv-surface);
	color: var(--abv-ink);
}

.abv-btn-ghost:hover {
	border-color: var(--abv-accent);
	color: var(--abv-accent-deep);
	background: var(--abv-accent-soft);
}

.abv-page a:focus-visible,
.abv-page button:focus-visible {
	outline: 2px solid var(--abv-accent);
	outline-offset: 2px;
}

/* ============================================================= contact strip */

.abv-contact {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius-lg);
	background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 60%);
}

.abv-contact b { font-size: 15.5px; font-weight: 750; }

.abv-contact-link {
	color: var(--abv-accent);
	font-weight: 700;
	text-decoration: none;
}

.abv-contact-link:hover { color: var(--abv-accent-deep); text-decoration: underline; }

/* ============================================================= CTA band */

.abv-cta-band {
	background: linear-gradient(120deg, #081430 0%, #0d2c62 52%, #0a3fa0 100%);
	color: rgba(255, 255, 255, .78);
}

.abv-cta-band::before {
	background: linear-gradient(90deg, var(--abv-accent), rgba(77, 125, 255, .35) 34%, transparent 72%);
}

.abv-cta-band::after {
	background:
		radial-gradient(58% 90% at 92% 50%, rgba(63, 116, 255, .28), transparent 64%),
		radial-gradient(46% 70% at 0% 0%, rgba(255, 255, 255, .06), transparent 60%);
}

.abv-cta-band h2 { color: #fff; font-weight: 800; }

.abv-cta-band h2::before {
	background: linear-gradient(180deg, #6ea8ff, var(--abv-accent));
}

/* band buttons mirror the quote-card design (3.47.8): borderless green
   WhatsApp pill + solid brand-blue email button */
.abv-cta-band .abv-btn-wa {
	background: linear-gradient(135deg, #16b364, #0b8a4b);
	border: 0 !important;
	box-shadow: 0 10px 22px -12px rgba(14, 159, 93, .75);
	transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.abv-cta-band .abv-btn-wa:hover,
.abv-cta-band .abv-btn-wa:focus {
	background: linear-gradient(135deg, #19c56e, #0c9752);
	border: 0 !important;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -12px rgba(14, 159, 93, .85);
}

.abv-cta-band .abv-btn-ghost {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent)) !important;
	background-image: linear-gradient(135deg, #4d7dff, var(--abv-accent)) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 10px 22px -12px rgba(26, 86, 219, .7);
	transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.abv-cta-band .abv-btn-ghost:hover,
.abv-cta-band .abv-btn-ghost:focus {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep)) !important;
	background-image: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep)) !important;
	border: 0 !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -12px rgba(26, 86, 219, .8);
}

/* band interior: one padded row — copy on the left, the two action buttons
   stacked on the RIGHT. The generic ".abv-page .abv-wrap-inner" padding
   reset strips the band's own inset, so re-assert it here (the band is a
   rounded card: its content needs a real inner margin on every side). */
.abv-cta-band {
	overflow: hidden;
	border-radius: 22px;
}

.abv-cta-band .abv-wrap-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 26px 64px;
	max-width: none;
	padding: 42px 48px !important;
}

/* the layout "flatten" rule turns every wrap-inner inside the detail grid
   into display:contents — the CTA band needs a REAL inner grid (its copy
   and buttons must not join the outer page grid) */
.e-con[class*="abv-layout-"] .abv-cta-band .abv-wrap-inner { display: grid; }

.abv-cta-band .abv-btns {
	grid-template-columns: minmax(230px, max-content);
	justify-items: stretch;
}

.abv-cta-band .abv-btns .abv-btn { justify-self: stretch; }

@media (max-width: 767px) {
	.abv-cta-band .abv-wrap-inner {
		grid-template-columns: minmax(0, 1fr);
		padding: 28px 20px !important;
		gap: 20px;
	}
	.abv-cta-band .abv-btns { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================= availability card */

.abv-avail {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius-lg);
	background: var(--abv-surface);
	box-shadow: var(--abv-shadow);
}

.abv-avail::before {
	background: linear-gradient(90deg, var(--abv-good), #2fd67f);
}

.abv-avail-title { color: var(--abv-ink); font-size: 12px; }

.abv-swatch {
	border-radius: 999px;
	background: var(--abv-surface-2);
}

.abv-swatch.is-pick {
	border-radius: 12px;
	background: var(--abv-surface);
}

.abv-swatch.is-pick[aria-pressed="true"] {
	border-color: var(--abv-accent);
	box-shadow: 0 0 0 1px var(--abv-accent);
	background: var(--abv-accent-soft);
}

.abv-pick-result {
	border-radius: 12px;
	background: var(--abv-surface-2);
}

/* ============================================================= module cards: FAQ / related / trust / form */

.abv-faq-item {
	border-radius: var(--abv-radius);
	background: var(--abv-surface);
}

.abv-faq-item[open] {
	border-color: rgba(26, 86, 219, .4);
	box-shadow: 0 12px 28px -20px rgba(10, 28, 56, .45);
}

.abv-faq-item[open] summary::after { background: var(--abv-accent); }

.abv-related-grid { gap: 16px; }

.abv-related-card {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius);
	background: var(--abv-surface);
}

.abv-related-card:hover {
	border-color: rgba(26, 86, 219, .45);
	box-shadow: 0 20px 40px -24px rgba(10, 28, 56, .45);
}

.abv-related-price { color: var(--abv-accent); font-weight: 800; }

.abv-related-thumb { border-radius: 10px; }

.abv-trust { gap: 14px; }

.abv-trust-item {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius);
	background: var(--abv-surface);
}

.abv-trust-icon {
	border-radius: 12px;
	background: var(--abv-accent-soft);
	color: var(--abv-accent);
}

.abv-form,
.abv-cf7-form {
	border-radius: var(--abv-radius-lg);
}

/* the quotation form carried ~67px of dead space under the submit button
   (Elementor's default <p> margin 25.6px + grid margin-bottom 19.2px +
   the card's own 22px padding-bottom) — tighten to a normal breathing
   room on every screen size */
.abv-cf7-form .contact-form-grid { margin-bottom: 0; }
.abv-cf7-form .contact-us-submit p { margin-bottom: 8px; }
.abv-form.abv-cf7-form { padding-bottom: 14px; }

.abv-cf7-form .wpcf7 input:focus,
.abv-cf7-form .wpcf7 select:focus,
.abv-cf7-form .wpcf7 textarea:focus {
	border-color: var(--abv-accent);
	box-shadow: 0 0 0 3px rgba(26, 86, 219, .15);
}

.abv-cf7-form .wpcf7 input[type="submit"],
.abv-cf7-form .wpcf7 .wpcf7-submit {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	border-color: transparent;
	border-radius: 12px;
}

.abv-cf7-form .wpcf7 input[type="submit"]:hover,
.abv-cf7-form .wpcf7 .wpcf7-submit:hover {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep));
	border-color: transparent;
	color: #fff;
}

.abv-cf7-form .abv-cf7-custom-grid .contact-us-submit input[type="submit"],
.abv-cf7-form .abv-cf7-custom-grid .contact-us-submit .wpcf7-submit {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent)) !important;
	border-color: transparent !important;
	border-radius: 12px !important;
}

.abv-cf7-form .abv-cf7-custom-grid .contact-us-submit input[type="submit"]:hover,
.abv-cf7-form .abv-cf7-custom-grid .contact-us-submit .wpcf7-submit:hover {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep)) !important;
	border-color: transparent !important;
}

.abv-cf7-form .abv-cf7-custom-grid input[type="checkbox"],
.abv-cf7-form .abv-cf7-custom-grid .contact-us-checkbox input[type="checkbox"] {
	accent-color: var(--abv-accent) !important;
}

/* breadcrumbs: quiet capsule on a blue-tinted chip */
.abv-crumbs {
	background: var(--abv-accent-soft);
	border-color: transparent;
}

.abv-crumbs a { color: var(--abv-accent-deep); }
.abv-crumbs a:hover { color: var(--abv-accent); border-bottom-color: var(--abv-accent); }
.abv-crumbs-list li[aria-current="page"] { color: var(--abv-ink); }

/* ============================================================= stickybar (mobile action bar) */

@media (max-width: 767px) {
	.abv-stickybar {
		border-top: 1px solid rgba(255, 255, 255, .12);
		background: rgba(9, 22, 44, .96);
		backdrop-filter: blur(12px);
	}

	.abv-stickybar .abv-sb-price { color: #ffffff; font-weight: 800; }
	.abv-stickybar .abv-sb-note { color: rgba(255, 255, 255, .6); }
}

/* ============================================================= listings / archive */

.abv-archive-shell { padding-bottom: 64px; }

/* ---- filter bar ---- */

.abv-filter {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius-lg);
	background: var(--abv-surface);
	box-shadow: var(--abv-shadow);
	padding: 20px;
}

.abv-fi > span {
	color: var(--abv-ink-4);
	font-size: 11px;
	letter-spacing: .1em;
}

.abv-fi input,
.abv-fi select {
	border: 1px solid var(--abv-line-strong);
	border-radius: 10px;
	height: 46px;
	background: var(--abv-surface);
	color: var(--abv-ink);
	font-weight: 500;
}

.abv-fi input:focus,
.abv-fi select:focus {
	border-color: var(--abv-accent);
	outline: 2px solid rgba(26, 86, 219, .25);
	outline-offset: 1px;
}

.abv-fbtn {
	border: 1px solid var(--abv-accent);
	border-radius: 10px;
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	color: #fff;
	height: 46px;
	padding: 0 24px;
	font-weight: 700;
	transition: filter .16s ease, transform .16s ease;
}

.abv-fbtn:hover {
	filter: brightness(1.08);
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	border-color: transparent;
	transform: translateY(-1px);
}

.abv-freset { color: var(--abv-accent); font-weight: 600; }
.abv-freset:hover { color: var(--abv-accent-deep); }

/* range slider */
.abv-range-track { background: var(--abv-surface-3); }
.abv-range-fill { background: linear-gradient(90deg, #4d7dff, var(--abv-accent)); }

.abv-range input[type="range"]::-webkit-slider-thumb {
	border: 2px solid var(--abv-accent);
}

.abv-range input[type="range"]::-moz-range-thumb {
	border: 2px solid var(--abv-accent);
}

/* sidebar filter panel */
.abv-archive.is-side { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
.abv-archive.is-side .abv-filter { padding: 20px; border-radius: var(--abv-radius-lg); }

@media (max-width: 960px) {
	.abv-archive.is-side { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---- toolbar ---- */

.abv-view { font-size: 13.5px; font-weight: 600; }
.abv-view.is-active { color: var(--abv-accent); border-bottom-color: var(--abv-accent); }
.abv-view .count { color: var(--abv-ink-4); }
.abv-result-count { color: var(--abv-ink-3); font-weight: 600; }

.abv-sort select {
	border: 1px solid var(--abv-line-strong);
	border-radius: 10px;
	height: 42px;
	font-weight: 500;
}

.abv-sort select:focus { border-color: var(--abv-accent); outline: none; }

.abv-viewtoggle { border: 1px solid var(--abv-line); border-radius: 10px; }
.abv-viewtoggle button.is-active { background: var(--abv-accent); color: #fff; }

/* ---- cards ---- */

.abv-grid { gap: 26px; }

.abv-card {
	border: 1px solid var(--abv-line);
	border-radius: var(--abv-radius-lg);
	background: var(--abv-surface);
	box-shadow: 0 1px 2px rgba(10, 28, 56, .04);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.abv-card:hover {
	border-color: rgba(26, 86, 219, .5);
	transform: translateY(-4px);
	box-shadow: 0 26px 48px -26px rgba(10, 28, 56, .35);
}

.abv-card-img { background: var(--abv-surface-3); }

.abv-badge {
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 0 9px;
	height: 25px;
	background: var(--abv-status, var(--abv-accent));
	box-shadow: 0 4px 12px -4px rgba(10, 28, 56, .4);
}

.abv-badge-custom { background: linear-gradient(135deg, #ffb020, #ff8a00); }

.abv-card-body { padding: 18px; gap: 9px; }

.abv-card-kicker {
	color: var(--abv-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
}

.abv-card h3 {
	font-size: 17.5px;
	font-weight: 750;
	letter-spacing: -.012em;
}

.abv-card-specs { font-size: 13px; color: var(--abv-ink-3); }

.abv-card-foot {
	padding-top: 12px;
	border-top: 1px solid var(--abv-line);
}

.abv-card-foot b {
	font-size: 19px;
	font-weight: 800;
	color: var(--abv-accent);
	letter-spacing: -.01em;
}

.abv-card-foot span { color: var(--abv-ink-4); }

.abv-grid-empty {
	border: 1px dashed var(--abv-line-strong);
	border-radius: var(--abv-radius-lg);
}

/* ---- pagination ---- */

.abv-pagination a,
.abv-pagination span {
	border: 1px solid var(--abv-line-strong);
	border-radius: 10px;
	font-weight: 600;
}

.abv-pagination a:hover {
	border-color: var(--abv-accent);
	background: var(--abv-accent-soft);
	color: var(--abv-accent-deep);
}

.abv-pagination .current {
	background: var(--abv-accent);
	border-color: var(--abv-accent);
	color: #fff;
}

/* list view: modern horizontal inventory row (photo left, content right) */
.abv-list { gap: 18px; }

.abv-list .abv-card {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
}

.abv-list .abv-card:hover { transform: none; }

.abv-list .abv-card-img {
	height: 100%;
	min-height: 208px;
	border-right: 1px solid var(--abv-line);
}

.abv-list .abv-card-body {
	padding: 24px 28px;
	gap: 10px;
	justify-content: center;
}

.abv-list .abv-card h3 { font-size: 20px; }

.abv-list .abv-card-specs { font-size: 13.5px; }

.abv-list .abv-card-foot {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--abv-line);
}

@media (max-width: 700px) {
	.abv-list .abv-card { grid-template-columns: minmax(0, 1fr); }
	.abv-list .abv-card-img {
		min-height: 0;
		aspect-ratio: 16 / 10;
		border-right: 0;
		border-bottom: 1px solid var(--abv-line);
	}
	.abv-list .abv-card-body { padding: 18px; }
}

/* ============================================================= vehicle finder (redesigned) */

.abv-finder {
	position: relative;
	border: 0;
	border-radius: 20px;
	background: #ffffff;
	padding: 28px 28px 26px;
	box-shadow:
		0 2px 6px rgba(10, 28, 56, .05),
		0 34px 80px -34px rgba(10, 28, 56, .5);
	/* the custom dropdown popup is a real element inside the card — it must
	   be allowed to overflow the card's bottom edge on the last field */
	overflow: visible;
}

.abv-finder-title {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--abv-ink);
}

.abv-finder-help { color: var(--abv-accent); font-weight: 700; }

/* field labels */
.abv-finder-field > span {
	color: var(--abv-ink-3);
	font-size: 11px;
	letter-spacing: .12em;
}

/* Force clean light fields: themes and Elementor heroes often paint
   selects/inputs dark for their own dark sections — never let that happen. */
.abv-finder .abv-finder-field select,
.abv-finder .abv-finder-field input,
.abv-finder select,
.abv-finder input {
	background-color: #ffffff !important;
	background-image: none;
	color: var(--abv-ink) !important;
	border: 1px solid #d6deec !important;
	border-radius: 12px !important;
	height: 52px;
	box-shadow: none !important;
	opacity: 1 !important;
	font-weight: 600;
	font-size: 14.5px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

/* caret (only for the selects, drawn with gradients like frontend.css does) */
.abv-finder .abv-finder-field select {
	-webkit-appearance: none;
	appearance: none;
	padding: 0 38px 0 16px;
	text-align: center;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--abv-ink-3) 50%),
		linear-gradient(135deg, var(--abv-ink-3) 50%, transparent 50%) !important;
	background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px !important;
	background-size: 5px 5px, 5px 5px !important;
	background-repeat: no-repeat !important;
}

.abv-finder .abv-finder-field select option {
	background: #fff;
	color: var(--abv-ink);
}

.abv-finder .abv-finder-field input::placeholder { color: var(--abv-ink-4); }

.abv-finder .abv-finder-field input:focus,
.abv-finder .abv-finder-field select:focus {
	border-color: var(--abv-accent) !important;
	box-shadow: 0 0 0 4px var(--abv-accent-soft) !important;
	outline: none !important;
}

/* search button: big, centered, glowing accent */
.abv-finder-submit,
.abv-finder.abv-finder .abv-finder-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent)) !important;
	border: 0 !important;
	border-radius: 14px !important;
	height: 56px;
	color: #fff !important;
	font-weight: 750;
	letter-spacing: .02em;
	box-shadow: 0 16px 32px -14px rgba(26, 86, 219, .65);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.abv-finder-submit:hover,
.abv-finder.abv-finder .abv-finder-submit:hover {
	background: linear-gradient(135deg, #2f63f0, var(--abv-accent-deep)) !important;
	border-color: transparent !important;
	color: #fff !important;
	transform: translateY(-1px);
	filter: brightness(1.04);
	box-shadow: 0 20px 38px -14px rgba(26, 86, 219, .7);
}

/* popular makes */
.abv-finder-pop { padding-top: 18px; }

.abv-finder-pop-head {
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--abv-ink-3);
}

.abv-finder-pop-head a { color: var(--abv-accent); }

.abv-finder-chips { gap: 12px; }

.abv-finder-chip {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid #dfe6f2;
	border-radius: 14px;
	background: #f6f8fc;
	padding: 13px 16px;
	transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.abv-finder-chip:hover {
	border-color: rgba(26, 86, 219, .55);
	background: var(--abv-accent-soft);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -16px rgba(26, 86, 219, .5);
}

.abv-finder-chip b { color: var(--abv-ink); font-weight: 750; }
.abv-finder-chip span { color: var(--abv-ink-4); }

/* ============================================================= tabs */

.abv-tab { border-radius: 12px; }

.abv-tab.is-active {
	background: var(--abv-accent);
	border-color: var(--abv-accent);
	color: #fff;
}

.abv-tabs-title em { color: var(--abv-tb-c, var(--abv-tb-accent, var(--abv-accent))); }
.abv-tabs.is-seg .abv-tab.is-active {
	background: var(--abv-tb-c, var(--abv-tb-active-bg, var(--abv-tb-accent, var(--abv-accent))));
}

.abv-tabs-empty {
	border: 1px dashed var(--abv-line-strong);
	border-radius: var(--abv-radius);
}

/* ============================================================= showcase carousel */

.abv-cbtn {
	border: 1px solid var(--abv-line);
	background: var(--abv-surface);
	color: var(--abv-ink);
}

.abv-cbtn:hover {
	background: var(--abv-accent);
	color: #fff;
	border-color: var(--abv-accent);
}

.abv-cbtn[disabled]:hover {
	background: var(--abv-surface);
	color: var(--abv-ink);
	border-color: var(--abv-line);
}

.abv-dot.is-active::before { background: var(--abv-accent); }

/* ============================================================= archive hero (listings page header band) */

.abv-archive-hero {
	position: relative;
	overflow: hidden;
	padding: 46px 0 44px;
	background: linear-gradient(120deg, #081430 0%, #0d2c62 55%, #0a3fa0 100%);
	color: rgba(255, 255, 255, .75);
}

.abv-archive-hero::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--abv-accent), rgba(77, 125, 255, .35) 36%, transparent 74%);
	pointer-events: none;
}

.abv-archive-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(52% 90% at 88% 40%, rgba(77, 125, 255, .3), transparent 62%),
		radial-gradient(40% 70% at 2% 110%, rgba(255, 255, 255, .07), transparent 60%);
}

.abv-archive-hero .abv-wrap-inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 12px;
	max-width: none;
	margin: 0;
	padding: 0 40px;
}

.abv-archive-hero .abv-crumbs {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .68);
	width: fit-content;
	max-width: 100%;
}

.abv-archive-hero .abv-crumbs a { color: #fff; }
.abv-archive-hero .abv-crumbs a:hover { color: #8fb3ff; border-bottom-color: #8fb3ff; }
.abv-archive-hero .abv-crumbs-list li + li::before { color: rgba(255, 255, 255, .4); }
.abv-archive-hero .abv-crumbs-list li[aria-current="page"] { color: #fff; }

.abv-hero-eyebrow {
	margin: 0;
	color: #8db4ff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.abv-hero-title {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 800;
	letter-spacing: -.028em;
	line-height: 1.06;
}

.abv-hero-lede {
	margin: 0;
	max-width: 72ch;
	color: rgba(255, 255, 255, .72);
	font-size: 16px;
	line-height: 1.65;
}

.abv-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .82);
}

.abv-hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.abv-hero-meta i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2fd67f;
	box-shadow: 0 0 0 4px rgba(47, 214, 127, .22);
	flex: none;
}

/* the archive page no longer needs extra top padding below the hero */
.abv-archive-page .abv-wrap-inner { padding-top: 8px; }

/* hero band is a rounded card on the SAME centred column as the content
   below it — one consistent page width, no half-full-bleed mix */
.abv-archive-hero {
	max-width: var(--abv-max);
	margin-left: auto;
	margin-right: auto;
	border-radius: 22px;
}

/* the pinned quote column is released by frontend.js before the CTA band —
   no z-index stacking tricks: the CTA / related sections are never overlaid */

.abv-cta-band { border-radius: 22px; }

/* ============================================================= responsive rhythm */

@media (max-width: 782px) {
	:root { --abv-pad: 20px; }
	.abv-filter { padding: 14px; }
	.abv-grid { gap: 16px; }
	.abv-card-body { padding: 15px; }
}

@media (max-width: 767px) {
	.abv-cols,
	.e-con.abv-cols { padding: 14px 0 32px; }
	.abv-main,
	.e-con.abv-main { gap: 24px; }
	.abv-hero { padding: 14px 0 0; }
	.abv-gmain img { border-radius: 14px; }
	.abv-metrics dd { font-size: 24px; }
	.abv-archive-hero { padding: 34px 0 32px; }
	.abv-hero-title { font-size: clamp(26px, 7vw, 34px); }
	.abv-h1 { font-size: clamp(24px, 6.4vw, 32px); }
}

@media (max-width: 480px) {
	:root { --abv-pad: 16px; }
	.abv-grid { gap: 14px; }
	.abv-card-foot { flex-wrap: wrap; row-gap: 6px; }
}

/* finder: keep the fields inside the card on mobile so the native dropdown
   popup opens at the field width instead of stretching past the card */
.abv-finder .abv-finder-field { min-width: 0; max-width: 100%; }

.abv-finder .abv-finder-field select,
.abv-finder .abv-finder-field input {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.abv-finder .abv-finder-field select { text-overflow: ellipsis; }

/* ---- custom dropdown (frontend.js enhances every finder <select>) ----
 * The native popup cannot be styled or width-constrained (and browsers with
 * no base-select support let it stretch past the card), so JS replaces the
 * select with a real button + listbox pair: the popup is a normal element
 * anchored to the field, width: 100% — it can NEVER be wider than the
 * field, on desktop or mobile. The native select stays in the DOM, hidden,
 * and keeps carrying the form value (graceful no-JS fallback). */
.abv-finder .abv-finder-field { position: relative; }

.abv-finder .abv-select-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	padding: 0 40px;
	border: 1px solid #d6deec;
	border-radius: 12px;
	background: #fff;
	color: var(--abv-ink);
	font-weight: 600;
	font-size: 14.5px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.abv-finder .abv-select-btn:hover,
.abv-finder .abv-select-btn.is-open {
	border-color: var(--abv-accent);
	box-shadow: 0 0 0 4px var(--abv-accent-soft);
}

.abv-finder .abv-select-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.abv-finder .abv-select-caret {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--abv-ink-3);
	border-bottom: 2px solid var(--abv-ink-3);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s ease;
	pointer-events: none;
}

.abv-finder .abv-select-btn.is-open .abv-select-caret {
	transform: translateY(-20%) rotate(225deg);
}

.abv-finder .abv-select-list {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	width: 100%;
	min-width: 0;
	max-height: 264px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--abv-line-strong);
	border-radius: 12px;
	box-shadow: 0 18px 44px -18px rgba(10, 28, 56, .35);
	z-index: 60;
	display: none;
}

.abv-finder .abv-select-list.is-open { display: block; }

.abv-finder .abv-select-list li {
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff;
	color: var(--abv-ink);
	font-weight: 500;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.abv-finder .abv-select-list li:hover,
.abv-finder .abv-select-list li:focus {
	background: var(--abv-accent-soft);
	color: var(--abv-accent);
	outline: none;
}

/* PC: the dropdown value reads left-aligned like the number inputs next to
   it (Year from / Year to); mobile keeps the centred look */
@media (min-width: 561px) {
	.abv-finder .abv-select-btn { justify-content: flex-start; padding: 0 40px 0 16px; }
	.abv-finder .abv-select-label { text-align: left; }
	.abv-finder .abv-select-list li { text-align: left; padding: 10px 16px; }
}

.abv-finder .abv-select-list li[aria-selected="true"] {
	background: linear-gradient(135deg, #4d7dff, var(--abv-accent));
	color: #fff;
	font-weight: 700;
}

/* hidden native select keeps carrying the submitted value */
.abv-finder select.abv-select-hidden { display: none !important; }

@media (max-width: 560px) {
	.abv-finder { padding: 22px 18px 20px; }
	.abv-finder-grid { grid-template-columns: minmax(0, 1fr); }
	.abv-finder .abv-finder-title { display: block; width: 100%; text-align: center; }
	.abv-finder .abv-finder-head { display: block; }
}

@media (prefers-reduced-motion: reduce) {
	.abv-card,
	.abv-cert,
	.abv-related-card,
	.abv-btn,
	.abv-fbtn { transition: none !important; }
}

/* ============================================================= 3.47.21 params modal */
/* Root cause of the "first column / section titles scroll away + ghosting" bug:
   the pasted extension tables are div grids whose own CSS pins [role="rowheader"]
   sticky INSIDE .wp-ev-table (overflow-x: auto). But .abv-params-content
   { min-width: min-content } stretches .wp-ev-table to the full content width, so
   that inner scroller never actually scrolls — the sticky cells are pinned to a
   frozen scrollport and simply travel with the content. Release the inner scroller
   so the horizontal scroll happens on .abv-params-body (the same element the
   synced top scrollbar and PDF export stage already use). */
.abv-params-content .wp-ev-table { overflow: visible !important; }

/* 3.47.27 — ghosting fix, take three: strip EVERY compositing hint and let
   Chromium scroll this box natively.

   Measured on the pasted grid: 265 rows x ~19 fixed columns = 4,573 cells,
   3,017 x 16,242 px of content inside a 367 px viewport. A trace of a fast
   scrollbar drag shows raster work of ~0.06 ms per frame — the tiles are not
   being repainted at all, so this was never a "too slow to draw" problem.
   Every artifact we chased came from splitting the motion in two: a composited
   scroller moves the table by transform, while `position: sticky` re-offsets
   the frozen first column / black title cells by main-thread paint. Whenever
   the two halves land in different frames you see the frozen column drawn at
   its previous offset — the doubled "ghost" while dragging.

   With no layers at all, the scroll offset and the sticky offsets are produced
   inside the same paint pass, so they can never disagree. Keep it that way:
   no translateZ, no will-change, no contain on this scroller or its cells. */
.abv-params-body,
.abv-params-content .wp-ev-table [role="rowheader"],
.abv-params-content .wp-ev-table .header-placeholder,
.abv-params-content .wp-ev-table [class*="style_table_title_col"] {
	transform: none;
	will-change: auto;
}

/* 3.47.29 — the top bar is the primary scrollbar for this grid (it scrolls on
   the main thread, in lockstep with the paint, so it never shows the stale-tile
   ghost the GPU-driven bottom bar can). Make it look like a real control
   instead of a blank strip: comfortable 14px lane, high-contrast thumb that is
   unmistakably grabbable, and never let the flex column stretch or shrink it. */
.abv-params-topbar {
	flex: 0 0 auto;
	height: 14px;
	border: 1px solid var(--abv-line, #dfe4ec);
	background: #f4f6f9;
}
.abv-params-body::-webkit-scrollbar,
.abv-params-topbar::-webkit-scrollbar { height: 14px; width: 12px; }
.abv-params-body::-webkit-scrollbar-thumb,
.abv-params-topbar::-webkit-scrollbar-thumb {
	background: #8d9aab;
	border: 4px solid transparent;
	background-clip: padding-box;
	border-radius: 999px;
	min-width: 48px;
}
.abv-params-body::-webkit-scrollbar-thumb:hover,
.abv-params-topbar::-webkit-scrollbar-thumb:hover { background: #6f7f94; background-clip: padding-box; }
.abv-params-body::-webkit-scrollbar-thumb:active,
.abv-params-topbar::-webkit-scrollbar-thumb:active { background: #5b6b81; background-clip: padding-box; }
.abv-params-body::-webkit-scrollbar-track,
.abv-params-topbar::-webkit-scrollbar-track { background: transparent; }

/* PDF picker: the ghost Cancel button must stay readable on hover — themes and
   Elementor global button colours paint the label light-on-light */
.abv-params-btn-ghost,
.abv-params-btn-ghost:hover {
	color: #101418 !important;
	background: #ffffff !important;
	border: 1px solid var(--abv-line-strong, #c8cfda) !important;
}
.abv-params-btn-ghost:hover {
	background: #eef1f5 !important;
	border-color: #aab4c4 !important;
}

/* ---- 3.47.25: single scrollport inside the specs modal ----
   The modal body used to scroll vertically while .abv-params-body scrolled
   horizontally — an 18,000px-tall dual-scrollport stack that buries the GPU
   in raster work (stutter + stale-tile trails on every drag). Fold the whole
   thing into ONE scrollport: the table area gets the modal's remaining height
   and owns both axes; head/toolbar stay pinned above it. */
.abv-params-modal-body {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.abv-params-modal-body > .abv-params {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.abv-params-modal-body .abv-params-body {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none !important;
}

/* 3.47.27 — the sticky promo card stays on the main thread too. Promoting a
   stickily-positioned element made the same compositor/main-thread split, and
   the card trailed its own shadow while the page scrolled. */
.e-con[class*="abv-layout-"] .abv-aside-pin {
	will-change: auto;
}

/* ---- 3.47.30: bottom bar gone, dead strip above the header gone ---- */
/* The top synced bar is now the horizontal control, so the body's own bottom
   scrollbar is redundant — hide only the horizontal one and keep the vertical
   scrollbar for the tall table. */
.abv-params-body::-webkit-scrollbar:horizontal { display: none; height: 0; }

/* The pasted grid always ships an (empty) image placeholder row between its
   blue top rule and the header row; its padding + margin burned ~35px of blank
   space there. Collapse it while empty; if images are ever present it reappears. */
.abv-params-content .wp-ev-table .image-row-container:empty,
.abv-params-content .wp-ev-table #image-placeholder:empty { display: none !important; }

/* ============================================================= 3.47.35 - gallery background + specs grid
 *
 * The hero photo frame used --abv-surface-3 (#e8eef6, a pale blue). The
 * vehicle photos themselves are white-backed, so the frame just added an
 * odd blue band around them. Make every car-photo frame plain white.
 */
.abv-gmain,
.abv-gmain-empty,
.abv-grail button,
.abv-card-img { background: #fff !important; }

/* Specs grid: a global odd-last-child rule pushed the 10th item (DRIVE) into
   its own row and stretched the 11th (SEATS) across the whole row, leaving an
   ugly empty block. Switch the 3-column layout to a 6-column grid so a
   leftover row of two cells keeps a normal first cell and stretches the last
   cell across two columns, while a lone last cell spans the full width. */
@container maincol (min-width: 900px) {
	.abv-specs { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
	.abv-specs > div { grid-column: span 2; }
	.abv-specs > div:last-child:nth-child(3n + 1) { grid-column: span 6; }
	/* last row with two leftover cells: keep the first at a normal one-column
	   width and stretch only the very last cell across two columns, so the row
	   still reads as the same three-column grid (2 + 4 = 6 columns). */
	.abv-specs > div:nth-last-child(2):nth-child(3n + 1) { grid-column: span 2; }
	.abv-specs > div:last-child:nth-child(3n + 2) { grid-column: span 4; }
	.abv-specs > div:last-child:nth-child(3n) { grid-column: span 2; }
}

/* Single-column phones: a lone last cell spanning everything is just a tall
   empty box — let it keep the normal one-column width. */
@container maincol (max-width: 420px) {
	.abv-specs > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* ============================================================= 3.47.38 - "Email quotation" CF7 form layout
 *
 * The new form (id 48cdb8e) ships a different markup tree than the old one:
 *   .contact-form > .contact-fields > .form-group * 4 (name/country/email/phone)
 *                 > .form-group.message-group
 *                 > .contact-us-checkbox
 *                 > .contact-us-submit
 * The old two-column CSS targeted .contact-form-grid/.form-two-columns, so the
 * new form fell back to single-column with a broken name field. Reproduce the
 * exact original two-column quotation-card layout against the new markup:
 * four fields in a 2x2 grid, message / checkbox / submit spanning full width.
 */
.abv-cf7-form .wpcf7 form .contact-form {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 12px !important;
	row-gap: 12px !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
/* flatten the wrapper so its four .form-group become direct grid items */
.abv-cf7-form .wpcf7 form .contact-form > .contact-fields { display: contents !important; }
.abv-cf7-form .wpcf7 form .contact-form .form-group {
	display: block !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* the four contact fields naturally occupy the 2x2 grid; keep their source order */
.abv-cf7-form .wpcf7 form .contact-form > .contact-fields > .form-group { grid-column: auto !important; }
/* message, opt-in checkbox and submit each span the full row */
.abv-cf7-form .wpcf7 form .contact-form > .form-group.message-group,
.abv-cf7-form .wpcf7 form .contact-form > .contact-us-checkbox,
.abv-cf7-form .wpcf7 form .contact-form > .contact-us-submit {
	grid-column: 1 / -1 !important;
}
/* labels: the new form wraps them in .contact-us-label > p — flatten the <p> */
.abv-cf7-form .wpcf7 form .contact-form .contact-us-label {
	display: block !important;
	margin: 0 0 5px !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-label p {
	margin: 0 !important;
	color: var(--abv-ink-2, #172033) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}
.abv-cf7-form .wpcf7 form .contact-form .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
.abv-cf7-form .wpcf7 form .contact-form .form-group > p { margin: 0 !important; }
/* inputs / textarea: identical to the original quotation card */
.abv-cf7-form .wpcf7 form .contact-form input[type="text"],
.abv-cf7-form .wpcf7 form .contact-form input[type="email"],
.abv-cf7-form .wpcf7 form .contact-form input[type="tel"],
.abv-cf7-form .wpcf7 form .contact-form input[type="url"],
.abv-cf7-form .wpcf7 form .contact-form select,
.abv-cf7-form .wpcf7 form .contact-form textarea {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid var(--abv-line-strong, #cbd5e1) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--abv-ink, #172033) !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}
.abv-cf7-form .wpcf7 form .contact-form textarea { min-height: 112px !important; resize: vertical !important; }
/* checkbox row */
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox {
	box-sizing: border-box !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--abv-ink-2, #172033) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox .wpcf7-list-item,
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	margin: 0 !important;
	padding: 0 !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox input[type="checkbox"] {
	box-sizing: border-box !important;
	width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
	accent-color: var(--abv-accent, #b45309) !important;
}
/* submit stays full width with the existing blue gradient from redesign.css */
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit p { margin: 0 !important; }
@media (max-width: 600px) {
	.abv-cf7-form .wpcf7 form .contact-form { grid-template-columns: minmax(0, 1fr) !important; }
	.abv-cf7-form .wpcf7 form .contact-form .form-group,
	.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox,
	.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit { grid-column: 1 / -1 !important; }
}

/* ============================================================= 3.47.40 - full-width quotation form + tighter bottom
 *
 * The CF7 <form> itself is a 2-column grid. Its FIRST grid child is CF7's
 * <fieldset class="hidden-fields-container"> (all hidden inputs). That fieldset
 * silently occupied the entire left column, so the real .contact-form was
 * squeezed into the right column only (half the card width) — leaving the big
 * empty area on the right. Take the fieldset out of layout and let the form
 * body span both columns so the fields fill the card.
 */
.abv-cf7-form .wpcf7 form > fieldset.hidden-fields-container {
	display: none !important;
}
.abv-cf7-form .wpcf7 form > .contact-form {
	grid-column: 1 / -1 !important;
}
/* Empty status message still reserved a padded 20px block + grid row-gap under
   the Submit button. Hide it while empty; CF7 inserts text on submit, at which
   point :empty stops matching and the message shows normally. */
.abv-cf7-form .wpcf7 .wpcf7-response-output:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
/* The fields now fill the whole card, so nudge type + control sizes up one
   notch to keep the proportions comfortable on a wide canvas. */
.abv-cf7-form .wpcf7 form .contact-form .contact-us-label p {
	font-size: 13.5px !important;
}
.abv-cf7-form .wpcf7 form .contact-form input[type="text"],
.abv-cf7-form .wpcf7 form .contact-form input[type="email"],
.abv-cf7-form .wpcf7 form .contact-form input[type="tel"],
.abv-cf7-form .wpcf7 form .contact-form input[type="url"],
.abv-cf7-form .wpcf7 form .contact-form select,
.abv-cf7-form .wpcf7 form .contact-form textarea {
	min-height: 50px !important;
	padding: 12px 14px !important;
	font-size: 15px !important;
}
.abv-cf7-form .wpcf7 form .contact-form textarea {
	min-height: 132px !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox {
	font-size: 14.5px !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox input[type="checkbox"] {
	width: 15px !important;
	height: 15px !important;
}
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit input[type="submit"],
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit .wpcf7-submit {
	min-height: 52px !important;
	font-size: 15px !important;
}
/* Trim the last bit of dead space under Submit: the card's bottom padding and
   the submit wrapper's inner <p> margin. The empty status message is already
   hidden above; these two shave the remaining gap down to a hairline. */
.abv-form.abv-cf7-form { padding-bottom: 8px !important; }
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit p { margin: 0 !important; }

/* ============================================================= 3.47.42 - related thumb white background
 * The "You may also like" cards use .abv-related-thumb (surface-2, a pale grey),
 * not .abv-card-img which was whitened earlier. Make the thumbnail frame plain
 * white so the vehicle photos sit on the default white page background. */
.abv-related-thumb { background: #fff !important; }

/* ============================================================= 3.47.46 - mobile polish pass */

/* ---- 1. Inquiry form: single-column must follow the CANVAS width, not the viewport.
   In the Elementor editor the browser viewport is a wide desktop window while the
   preview canvas is phone-width. A plain @media(max-width:600px) never fires there,
   so the four contact fields stayed in two columns (Name looked half-width). Make the
   form its own inline-size container and stack the fields when the FORM is narrow.
   The real phone and the editor preview now render identically. */
.abv-cf7-form { container: abvcf7 / inline-size; }
@container abvcf7 (max-width: 600px) {
	.abv-cf7-form .wpcf7 form .contact-form { grid-template-columns: minmax(0, 1fr) !important; }
	.abv-cf7-form .wpcf7 form .contact-form .form-group,
	.abv-cf7-form .wpcf7 form .contact-form .contact-fields > .form-group,
	.abv-cf7-form .wpcf7 form .contact-form .contact-us-checkbox,
	.abv-cf7-form .wpcf7 form .contact-form .contact-us-submit { grid-column: 1 / -1 !important; }
	.abv-cf7-form .wpcf7 form .contact-form textarea { min-height: 132px !important; }
}

/* ---- 2. Carousel hover: the card lifts 4px on hover, but .abv-carousel-track has
   overflow-x:auto (which computes overflow-y to auto) and only 2px of top padding,
   so the lifted card's top border was clipped by 2px. Add internal padding for the
   lift + shadow and pull the box back with a matching negative margin so the visible
   card position and arrow alignment stay exactly where they were. */
.abv-carousel-track { padding: 12px 2px 12px !important; margin: -10px 0 -6px !important; }
@media (max-width: 640px) {
	.abv-showcase-carousel > .abv-carousel-track { padding: 12px 0 !important; margin: -10px 0 -6px !important; }
}

/* ---- 3. Detail page mobile head: collapse the empty band between the site header
   and the breadcrumb, give the breadcrumb a clean two-line wrap (no orphan slash),
   and add a small left inset to the pills + title so they don't hug the screen edge. */
@media (max-width: 767px) {
	body.single-ab_car .entry-content { padding-top: 0 !important; }
	/* the crumbs widget may be separated from the header by a theme section gap */
	.e-con.abv-page > .elementor-element:first-child { margin-top: 0 !important; }
	.abv-crumbs { margin-top: 0 !important; }
	/* current (long) vehicle name wraps to its own line without a leading slash */
	.abv-crumbs-list li[aria-current="page"] { flex-basis: 100%; }
	.abv-crumbs-list li[aria-current="page"]::before { display: none !important; }
	.abv-crumbs-list { row-gap: 2px; }
	/* pills + title block: small, even left/right inset on phones */
	.e-con.abv-head,
	.abv-head { padding-left: 12px !important; padding-right: 12px !important; }
}

/* ============================================================= 3.47.47 - second-pass mobile fixes */

/* ---- 1. Breadcrumb: replace the pill/capsule with a clean full-width bar.
   The rounded chip with its hairline border looked out of place on phones. A
   full-bleed tinted strip with a soft bottom rule reads calmer and uses the
   row space properly. Links stay accent-colored; the current page stays ink.
   Scoped to singular vehicle pages so archive hero crumbs are untouched. */
body.single-ab_car .abv-crumbs {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	background: var(--abv-accent-soft) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--abv-line) !important;
	border-radius: 0 !important;
	padding: 11px 14px !important;
}
body.single-ab_car .abv-crumbs-list {
	flex-wrap: wrap;
	row-gap: 3px;
	column-gap: 0;
}

/* ---- 2. Kill the empty grey band above the breadcrumb on phones.
   3.47.46 tried padding-top:0 here but lost to title_cleanup()'s !important.
   That source rule is now fixed in PHP; these are belt-and-braces overrides
   with !important + body scope so any theme/Elementor top spacing collapses too. */
@media (max-width: 768px) {
	body.single-ab_car .entry-content,
	body.single-ab_car #content,
	body.single-ab_car .site-main,
	body.single-ab_car .ast-container,
	body.single-ab_car article,
	body.single-ab_car .ast-article-single,
	body.single-ab_car .entry-content > .elementor,
	body.single-ab_car .entry-content > .elementor > .e-con:first-child {
		padding-top: 0 !important;
	}
	/* an empty first Elementor widget/section (no text, no media) with only padding */
	body.single-ab_car .elementor > .e-con:first-child:not(:has(.abv-crumbs)):empty { display: none !important; }
}

/* ---- 3. Form single-column insurance. The inline grid injected by the OLD
   JS is removed in frontend.js (3.47.47); these selectors make sure the CSS
   result is single-column even if a stale inline `width` survived. Duplicate
   class raises specificity above the 3.47.38 `grid-column:auto !important` rule. */
@container abvcf7 (max-width: 600px) {
	.abv-cf7-form.abv-cf7-form .wpcf7 form .contact-form .contact-fields > .form-group {
		grid-column: 1 / -1 !important;
	}
}
@media (max-width: 600px) {
	.abv-cf7-form.abv-cf7-form .wpcf7 form .contact-form .contact-fields > .form-group {
		grid-column: 1 / -1 !important;
	}
}

/* ============================================================= 3.47.48 - CSS-only fallbacks
   Root cause confirmed from the live site: the deployed frontend.js is an OLD build that
   still runs the generic binder, which injects INLINE `display:grid; grid-template-columns:
   1fr 1fr` into the Name .form-group (it gets .abv-cf7-grid-parent). Inline !important cannot
   be undone from CSS, BUT the damage is only visual: the group's two <p> children (label +
   input) sit in the two grid columns. Force every direct child to span the full grid row,
   so the Name label and input stack at full width regardless of the stale inline grid.
   This makes the mobile form correct even before a fresh JS file is deployed. */
.abv-cf7-form .wpcf7 form .contact-form .form-group[style*="grid"],
.abv-cf7-form .wpcf7 form .contact-form .form-group.abv-cf7-grid-parent {
	grid-template-columns: minmax(0, 1fr) !important;
}
.abv-cf7-form .wpcf7 form .contact-form .form-group > p,
.abv-cf7-form .wpcf7 form .contact-form .form-group > .contact-us-label {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Mobile empty band above the breadcrumb — maximal belt-and-braces. Collapse every
   plausible theme/Elementor spacer between the site header and the first content block. */
@media (max-width: 768px) {
	body.single-ab_car #content,
	body.single-ab_car .site-content,
	body.single-ab_car .ast-container,
	body.single-ab_car #primary,
	body.single-ab_car .content-area,
	body.single-ab_car main,
	body.single-ab_car .site-main,
	body.single-ab_car article,
	body.single-ab_car .ast-article-single,
	body.single-ab_car .entry-content,
	body.single-ab_car .entry-content > .elementor,
	body.single-ab_car .entry-content > .elementor > .e-con:first-child {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	/* Astra prints a theme page-title block when its own title option is on. */
	body.single-ab_car .ast-page-title,
	body.single-ab_car .entry-header,
	body.single-ab_car .page-header,
	body.single-ab_car .wp-block-post-title { display: none !important; }
}

/* ============================================================ 3.47.52 hero VIDEO button + player modal
 * A refined glass pill pinned to the top-right of the main photo, with a solid
 * play badge. Clicking opens an iframe player in a pop-up — no redirect, no local
 * video file. Only rendered when the listing has a video button link configured. */
.abv-hero-video {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 5px 15px 5px 5px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(28, 33, 40, .86), rgba(12, 15, 20, .9));
	backdrop-filter: blur(10px) saturate(1.2);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.abv-hero-video-play {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: linear-gradient(135deg, #ff5b5b, #e02e2e);
	box-shadow: 0 2px 8px rgba(224, 46, 46, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.abv-hero-video-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 1px; }
.abv-hero-video-label { white-space: nowrap; }
.abv-hero-video:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, .55);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.abv-hero-video:hover .abv-hero-video-play { background: linear-gradient(135deg, #ff6b6b, #ef3a3a); }
.abv-hero-video:active { transform: translateY(0); }
.abv-hero-video:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.abv-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: none;
	background: rgba(8, 10, 13, .94);
}
.abv-video-modal[data-open="true"] { display: grid; place-items: center; padding: 4vw; }
.abv-video-modal-stage { width: min(1100px, 94vw); max-height: 92vh; }
.abv-video-modal-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 80vh;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.abv-video-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* 3.47.55 — share bar restored UNDER the player. Copy link is intentionally
   omitted (YouTube's native copy chip already exists), so no abv-vm-copy rule. */
/* Share bar under the player */
.abv-vm-share {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 16px;
	background: #171b21;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.abv-vm-share-label {
	color: #aeb7c4;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-right: 4px;
}
.abv-vm-share-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: #e8edf5;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.abv-vm-share-btn svg { width: 17px; height: 17px; fill: currentColor; }
.abv-vm-share-btn:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.abv-vm-fb:hover { background: #1877f2; }
.abv-vm-x:hover { background: #000; }
.abv-vm-wa:hover { background: #25d366; }
.abv-vm-li:hover { background: #0a66c2; }
.abv-vm-mail:hover { background: #e0483c; }

/* Close button — identical to the big-photo lightbox (.abv-lightbox-close):
   58px solid #087fc5 circle, white 32px glyph, perfectly centred via flex. */
.abv-video-modal-close,
.abv-video-modal button.abv-video-modal-close {
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	text-align: center !important;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 58px;
	height: 58px;
	border: 0 !important;
	border-radius: 50% !important;
	background: #087fc5 !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 32px !important;
	font-weight: 400 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
	cursor: pointer !important;
	z-index: 2;
}
.abv-video-modal-close:hover { filter: brightness(1.12); }
.abv-video-modal-close:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px !important; }

/* Toast for the "Link copied" confirmation */
.abv-vm-toast {
	position: fixed;
	left: 50%;
	bottom: 34px;
	transform: translate(-50%, 12px);
	z-index: 100002;
	padding: 11px 20px;
	border-radius: 999px;
	background: rgba(18, 22, 28, .96);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.abv-vm-toast-show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) {
	.abv-video-modal-close,
	.abv-video-modal button.abv-video-modal-close {
		top: 10px;
		right: 10px;
		width: 46px;
		height: 46px;
		font-size: 27px !important;
	}
	/* share bar: label on its own centred row, buttons centered below */
	.abv-vm-share { border-radius: 0 0 8px 8px; gap: 8px; padding: 12px 10px; }
	.abv-vm-share-btn { width: 34px; height: 34px; }
	.abv-vm-share-label { width: 100%; text-align: center; margin: 0 0 2px; }
}
@media (max-width: 600px) {
	.abv-video-modal[data-open="true"] { padding: 3vw; }
	.abv-video-modal-stage { width: 96vw; }
	.abv-video-modal-frame { border-radius: 8px; }
	.abv-hero-video { top: 10px; right: 10px; gap: 7px; padding: 4px 12px 4px 4px; font-size: 11px; }
	.abv-hero-video-play { width: 26px; height: 26px; }
	.abv-hero-video-play svg { width: 14px; height: 14px; }
}
