/*
Theme Name: Auto Choice
Theme URI: https://autochoiceandautoparts.com/
Author: Auto Choice & Auto Parts
Description: A bold, mobile-first WordPress theme for UK used-car dealers and auto parts sellers. Includes a Car Stock manager (price, mileage, fuel, gearbox, MOT, ULEZ), stock search & sorting, car enquiry / part-exchange / parts-request forms, WhatsApp & click-to-call, and Customizer settings for dealer details.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autochoice
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options, e-commerce
*/

/* ---------- Tokens ---------- */
:root {
	--ac-accent: #FFC400;
	--ac-ink: #0E1116;
	--ac-ink-2: color-mix(in srgb, var(--ac-ink) 90%, #ffffff);
	--ac-ink-3: color-mix(in srgb, var(--ac-ink) 80%, #ffffff);
	--ac-text: #1C2027;
	--ac-muted: #5D6573;
	--ac-line: #E3E6EB;
	--ac-bg: #FFFFFF;
	--ac-tint: #F4F5F7;
	--ac-ok: #1E8E4E;
	--ac-warn: #D97706;
	--ac-danger: #C62828;
	--ac-wa: #1FA855;
	--ac-radius: 14px;
	--ac-radius-sm: 8px;
	--ac-shadow: 0 1px 2px rgba(14,17,22,.06), 0 8px 24px rgba(14,17,22,.08);
	--ac-shadow-lg: 0 20px 50px rgba(14,17,22,.18);
	--ac-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ac-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ac-wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
	margin: 0;
	font: 400 16px/1.6 var(--ac-body);
	color: var(--ac-text);
	background: var(--ac-bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
	font-family: var(--ac-head);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
	color: var(--ac-ink);
	text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ac-accent); outline-offset: 2px; }
.icon { flex: none; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--ac-accent); color: var(--ac-ink);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 2px solid transparent; border-radius: 999px;
	font: 700 15px/1.2 var(--ac-body); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--ac-accent); color: var(--ac-ink); }
.btn--accent:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--ac-accent) 45%, transparent); }
.btn--dark { background: var(--ac-ink); color: #fff; }
.btn--dark:hover { background: var(--ac-ink-3); }
.btn--ghost { background: var(--ac-tint); color: var(--ac-ink); }
.btn--ghost:hover { background: var(--ac-accent); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline-dark { border-color: var(--ac-ink); color: var(--ac-ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ac-ink); color: #fff; }
.btn--wa { background: var(--ac-wa); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font: 700 13px/1 var(--ac-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ac-accent);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--ac-ink); }
.eyebrow--dark::before { background: var(--ac-accent); }

/* UK number plate */
.plate {
	display: inline-block; padding: 6px 14px 6px 34px; position: relative;
	background: var(--ac-accent); color: var(--ac-ink); border-radius: 6px;
	font: 800 20px/1.1 var(--ac-head); letter-spacing: .08em; text-transform: uppercase;
	border: 2px solid var(--ac-ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.plate::before {
	content: "UK"; position: absolute; left: 0; top: 0; bottom: 0; width: 24px;
	display: grid; place-items: center; background: #003399; color: #fff;
	font: 700 10px/1 var(--ac-body); letter-spacing: 0; border-radius: 3px 0 0 3px;
}
.plate--sm { font-size: 16px; padding: 4px 10px 4px 30px; }
.plate--xl { font-size: clamp(36px, 8vw, 64px); padding: 10px 26px 10px 60px; margin-bottom: 28px; }
.plate--xl::before { width: 44px; font-size: 16px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ac-ink); color: #C8CDD6; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__msg .icon { color: var(--ac-accent); width: 16px; height: 16px; }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 15px; height: 15px; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--ac-line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14,17,22,.08); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { flex: 0 1 auto; min-width: 0; }
.brand .custom-logo { max-height: 56px; width: auto; }
.brand__text { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ac-ink); }
.brand__mark {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: var(--ac-ink); color: var(--ac-accent);
}
.brand__mark .icon { width: 26px; height: 26px; }
.brand__text strong { display: block; font: 800 24px/1 var(--ac-head); text-transform: uppercase; letter-spacing: .01em; }
.brand__text small { display: block; font-size: 12px; color: var(--ac-muted); margin-top: 3px; }
.brand__text--light { color: #fff; }
.brand__text--light .brand__mark { background: var(--ac-accent); color: var(--ac-ink); }
.brand__text--light small { color: #9AA2AF; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 12px; white-space: nowrap; border-radius: 999px; text-decoration: none;
	font-weight: 600; font-size: 15px; color: var(--ac-ink);
}
.main-nav .menu a:hover, .main-nav .current-menu-item > a { background: var(--ac-tint); }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-radius-sm); box-shadow: var(--ac-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 6px; }
.main-nav__call { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-call { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.header-call__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: var(--ac-accent); color: var(--ac-ink);
}
.header-call small { display: block; font-size: 12px; color: var(--ac-muted); }
.header-call strong { display: block; font: 800 20px/1.1 var(--ac-head); letter-spacing: .02em; }
.nav-toggle {
	display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
	background: var(--ac-ink); color: #fff; cursor: pointer; place-items: center;
}
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(ellipse 70% 60% at 85% 20%, color-mix(in srgb, var(--ac-accent) 22%, transparent), transparent 60%),
		linear-gradient(160deg, #161B24 0%, var(--ac-ink) 60%);
}
.hero--image {
	background:
		linear-gradient(90deg, rgba(14,17,22,.94) 0%, rgba(14,17,22,.8) 45%, rgba(14,17,22,.35) 100%),
		var(--hero-img) center/cover no-repeat;
}
.hero__road {
	position: absolute; left: 0; right: 0; bottom: 0; height: 10px; pointer-events: none;
	background: repeating-linear-gradient(90deg, var(--ac-accent) 0 60px, transparent 60px 100px);
	opacity: .9;
}
.hero__inner {
	display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center;
	padding-top: 90px; padding-bottom: 100px; position: relative;
}
.hero h1 { color: #fff; }
.hero__lead { font-size: 1.15rem; color: #C8CDD6; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #DDE1E7; font-weight: 600; font-size: 14px; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks .icon { color: var(--ac-accent); width: 18px; height: 18px; }

.hero__panel {
	background: #fff; color: var(--ac-text); border-radius: 20px; padding: 28px;
	box-shadow: var(--ac-shadow-lg); position: relative;
}
.hero__panel::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 20px 20px 0 0; background: var(--ac-accent);
}
.hero__panel-title { font-size: 1.9rem; margin-bottom: 18px; }
.hero__panel-plate {
	display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px;
	border-top: 1px dashed var(--ac-line); text-decoration: none; font-size: 14px; color: var(--ac-muted); font-weight: 600;
}
.hero__panel-plate .plate { font-size: 16px; padding: 4px 10px 4px 30px; flex: none; }
.hero__panel-plate:hover span:last-child { color: var(--ac-ink); }

/* ---------- Stock search ---------- */
.stock-search { display: grid; gap: 12px; }
.stock-search label span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ac-muted); margin-bottom: 6px; }
.stock-search--stacked { grid-template-columns: 1fr 1fr; }
.stock-search--stacked .btn { grid-column: 1 / -1; padding: 15px; margin-top: 4px; }
.stock-search--inline { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }

select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--ac-line); border-radius: var(--ac-radius-sm);
	font: 500 15px/1.4 var(--ac-body); color: var(--ac-text); background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
select {
	appearance: none; padding-right: 38px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E1116' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ac-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac-accent) 45%, transparent); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ac-ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 30px; height: 30px; color: var(--ac-accent); margin-top: 2px; }
.trust-item strong { display: block; font: 700 19px/1.2 var(--ac-head); text-transform: uppercase; letter-spacing: .02em; }
.trust-item span { display: block; font-size: 13px; color: #9AA2AF; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--ac-tint); }
.section--dark { background: var(--ac-ink); color: #C8CDD6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.car-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--ac-shadow-lg); border-color: transparent; }
.car-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--ac-tint); overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.car-card:hover .car-card__media img { transform: scale(1.04); }
.car-card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; color: #B9BFC9;
	background: repeating-linear-gradient(135deg, var(--ac-tint) 0 14px, #ECEEF1 14px 28px);
}
.car-card__placeholder .icon { width: 64px; height: 64px; }
.car-card__placeholder--lg { aspect-ratio: 16 / 10; }
.car-card--sold .car-card__media img { filter: grayscale(.8); opacity: .7; }

.badge {
	position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px;
	font: 700 12px/1.2 var(--ac-body); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--ac-ink);
}
.badge--reserved { background: var(--ac-warn); }
.badge--sold { background: var(--ac-danger); }
.badge--ulez { left: auto; right: 14px; background: var(--ac-ok); }

.car-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.car-card__make { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ac-muted); }
.car-card__title { font-size: 1.55rem; margin: 4px 0 14px; }
.car-card__title a { text-decoration: none; }
.car-card__title a:hover { text-decoration: underline; text-decoration-color: var(--ac-accent); text-decoration-thickness: 3px; }
.car-card__specs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; color: var(--ac-muted); }
.car-card__specs li { display: flex; align-items: center; gap: 7px; }
.car-card__specs .icon { width: 16px; height: 16px; color: var(--ac-ink); }
.car-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ac-line); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.car-card__price s { display: block; font-size: 13px; color: var(--ac-muted); }
.car-card__price strong { display: block; font: 800 30px/1 var(--ac-head); color: var(--ac-ink); }
.car-card__price small { display: block; font-size: 12px; color: var(--ac-muted); margin-top: 4px; }

.body-types { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; font-weight: 600; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
	border: 1.5px solid var(--ac-line); text-decoration: none; font-size: 14px; transition: .15s;
}
.chip em { font-style: normal; font-size: 12px; color: var(--ac-muted); }
.chip:hover { border-color: var(--ac-ink); background: var(--ac-ink); color: #fff; }
.chip:hover em { color: var(--ac-accent); }

.empty-state {
	text-align: center; padding: 60px 24px; border: 2px dashed var(--ac-line); border-radius: var(--ac-radius);
	color: var(--ac-muted); max-width: 640px; margin: 0 auto;
}
.empty-state > .icon { width: 48px; height: 48px; margin-bottom: 12px; color: var(--ac-ink); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
	display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--ac-radius);
	background: var(--ac-ink-2); border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: #AEB5C0;
	transition: transform .2s, border-color .2s, background .2s;
}
.service:hover { transform: translateY(-4px); border-color: var(--ac-accent); background: var(--ac-ink-3); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--ac-accent); color: var(--ac-ink); margin-bottom: 22px; }
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.6rem; margin-bottom: 10px; }
.service p { font-size: 15px; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ac-accent); font-size: 14px; }

/* ---------- Split sections & forms ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split__copy p { font-size: 1.08rem; color: var(--ac-muted); }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; color: var(--ac-muted); }
.steps li > span {
	flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--ac-ink); color: var(--ac-accent); font: 800 20px/1 var(--ac-head);
}
.steps strong { display: block; color: var(--ac-ink); font-size: 17px; }
.steps__text { display: block; font-style: normal; }

.tick-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-weight: 600; }
.tick-list li { display: flex; align-items: center; gap: 10px; }
.tick-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ac-accent); color: var(--ac-ink); }
.tick-list--sm { font-size: 14px; margin-top: 18px; }
.tick-list--sm .icon { width: 18px; height: 18px; }

.card { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--ac-shadow); border: 1px solid var(--ac-line); }
.card h3 { font-size: 1.8rem; }
.ac-form { display: grid; gap: 14px; }
.ac-form label > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ac-ink); }
.ac-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-plate-input { background: var(--ac-accent) !important; border-color: var(--ac-ink) !important; font: 800 20px/1 var(--ac-head) !important; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.ac-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ac-muted); }
.ac-check input { margin-top: 3px; accent-color: var(--ac-ink); width: 16px; height: 16px; }
.ac-check span { font-weight: 500 !important; color: var(--ac-muted) !important; margin: 0 !important; }
.ac-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ac-notice { padding: 14px 16px; border-radius: var(--ac-radius-sm); margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.ac-notice--ok { background: #E7F6EC; color: #145A33; border: 1px solid #B8E3C7; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__copy p { font-size: 1.1rem; color: var(--ac-muted); }
.about__points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about__points li { padding: 24px; border-radius: var(--ac-radius); background: var(--ac-tint); }
.about__points .icon { width: 30px; height: 30px; color: var(--ac-ink); margin-bottom: 12px; }
.about__points strong { display: block; font: 700 20px/1.2 var(--ac-head); text-transform: uppercase; color: var(--ac-ink); }
.about__points span { display: block; font-size: 14px; color: var(--ac-muted); margin-top: 4px; }
.reviews-link {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding: 12px 18px;
	border-radius: 12px; border: 1.5px solid var(--ac-line); text-decoration: none; font-weight: 700;
}
.reviews-link span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; color: #F5A623; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--ac-accent); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--big { font-size: 17px; margin-bottom: 24px; }
.contact-list--big .icon { width: 36px; height: 36px; padding: 8px; margin-top: -4px; border-radius: 10px; background: var(--ac-ink); }
.map { border-radius: var(--ac-radius); overflow: hidden; border: 1px solid var(--ac-line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Page hero & stock page ---------- */
.page-hero {
	background:
		radial-gradient(ellipse 50% 80% at 90% 0%, color-mix(in srgb, var(--ac-accent) 18%, transparent), transparent 60%),
		var(--ac-ink);
	color: #C8CDD6; padding: 64px 0 96px; position: relative;
}
.page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: repeating-linear-gradient(90deg, var(--ac-accent) 0 40px, transparent 40px 70px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 6px; }
.page-hero p { margin: 0; font-size: 1.05rem; }
.stock-bar { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--ac-shadow-lg); margin-top: -56px; position: relative; z-index: 2; }
.stock-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 36px 0 24px; }
.stock-toolbar p { margin: 0; font-weight: 700; }
.sort-form select { width: auto; min-width: 210px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px;
	border: 1.5px solid var(--ac-line); text-decoration: none; font-weight: 700;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ac-ink); color: #fff; border-color: var(--ac-ink); }

/* ---------- Single car ---------- */
.car-single { padding: 32px 0 80px; }
.breadcrumbs { font-size: 14px; color: var(--ac-muted); margin-bottom: 22px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ac-ink); text-decoration: underline; }
.car-single__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: 40px; align-items: start; }
.car-single__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--ac-tint); }
.car-single__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.spec-tiles { list-style: none; padding: 0; margin: 20px 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec-tiles li { padding: 16px; border-radius: 12px; background: var(--ac-tint); display: grid; gap: 2px; }
.spec-tiles .icon { color: var(--ac-ink); margin-bottom: 6px; }
.spec-tiles span { font-size: 12px; color: var(--ac-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.spec-tiles strong { font: 700 20px/1.2 var(--ac-head); color: var(--ac-ink); }
.car-single__content h2, .spec-table h2 { font-size: 1.9rem; }
.spec-table { margin-top: 36px; }
.spec-table dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ac-line); border-radius: 12px; overflow: hidden; }
.spec-table dl div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ac-line); }
.spec-table dl div:nth-child(odd) { border-right: 1px solid var(--ac-line); }
.spec-table dt { color: var(--ac-muted); }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }

.car-single__side { display: grid; gap: 24px; position: sticky; top: 100px; }
.price-card { padding: 28px; border-radius: 18px; background: var(--ac-ink); color: #C8CDD6; }
.price-card .plate { margin-bottom: 14px; }
.price-card__title { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.price-card__price s { display: block; color: #8B93A1; }
.price-card__price strong { display: block; font: 800 52px/1 var(--ac-head); color: var(--ac-accent); }
.price-card__monthly { margin: 8px 0 0; font-weight: 600; }
.price-card__sold { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(198,40,40,.18); color: #FFD6D6; font-weight: 600; font-size: 14px; }
.price-card__actions { display: grid; gap: 10px; margin-top: 22px; }
.price-card .btn--outline-dark { border-color: rgba(255,255,255,.3); color: #fff; }
.price-card .btn--outline-dark:hover { background: #fff; color: var(--ac-ink); }
.price-card .tick-list { color: #DDE1E7; }


/* ---------- Gallery ---------- */
.gallery__main { position: relative; border-radius: 18px; overflow: hidden; background: var(--ac-tint); }
.gallery__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.92); color: var(--ac-ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--ac-shadow);
}
.gallery__nav:hover { background: var(--ac-accent); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(14,17,22,.75); color: #fff; font-size: 13px; font-weight: 600; }
.gallery__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-active { border-color: var(--ac-accent); opacity: 1; }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Car / part detail extras ---------- */
.features, .video, .specs, .fitment { margin-top: 40px; }
.features h2, .video h2, .specs h2, .fitment h2 { font-size: 1.9rem; }
.features__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.features__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.features__list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ac-accent); color: var(--ac-ink); }
.fitment { padding: 26px; border-radius: 16px; background: var(--ac-tint); }
.fitment__years { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.fitment__note { margin: 16px 0 0; font-size: 14px; color: var(--ac-muted); }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.specs .spec-table { margin-top: 18px; }
.spec-table h3 { font-size: 1.2rem; letter-spacing: .03em; margin-bottom: 10px; color: var(--ac-muted); }
.spec-tiles { grid-template-columns: repeat(3, 1fr); }
.price-card__price small { display: block; margin-top: 6px; font-size: 13px; color: #9AA2AF; font-weight: 600; }
.stock-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 700; color: #7EE2A8; }
.stock-line__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
.stock-line--low-stock { color: #FFB547; }
.stock-line--out-of-stock, .stock-line--sold { color: #FF8A80; }

/* ---------- Parts ---------- */
.part-card__title { font-size: 1.35rem; }
.part-card__meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: 14px; color: var(--ac-muted); }
.part-card__meta li { display: flex; gap: 8px; align-items: flex-start; }
.part-card__meta .icon { width: 16px; height: 16px; color: var(--ac-ink); margin-top: 3px; }
.badge--cond { top: auto; bottom: 14px; left: 14px; background: #fff; color: var(--ac-ink); }
.badge--new { background: var(--ac-ok); color: #fff; }
.badge--reconditioned, .badge--remanufactured { background: #1E5FA8; color: #fff; }
.badge--coming-soon, .badge--low-stock { background: var(--ac-warn); }
.badge--out-of-stock { background: var(--ac-danger); }
.car-card--out-of-stock .car-card__media img { filter: grayscale(.8); opacity: .7; }
.stock-search--parts.stock-search--inline { grid-template-columns: 2fr 1fr 1fr .7fr .9fr auto; }
.stock-search select, .stock-search input { height: 48px; }
.body-types--top { margin: 28px 0 0; }
.chip.is-active { background: var(--ac-ink); border-color: var(--ac-ink); color: #fff; }
.split__cta { margin-top: 26px; }
.parts-strip { margin-top: 64px; }
.parts-strip .section-head { margin-bottom: 24px; }
.parts-strip h3 { font-size: 1.9rem; margin: 0; }

/* ---------- Posts & content ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { border: 1px solid var(--ac-line); border-radius: var(--ac-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 3 / 2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__body time { font-size: 13px; color: var(--ac-muted); font-weight: 600; }
.post-card__body h3 a { text-decoration: none; }
.post-card__body p { color: var(--ac-muted); font-size: 15px; }
.post-card__body .link-arrow { margin-top: auto; }

.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--ac-ink); text-decoration-color: var(--ac-accent); text-decoration-thickness: 2px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--ac-accent); font-size: 1.15rem; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { border-radius: 18px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.search-form { display: flex; gap: 10px; max-width: 480px; margin: 20px auto 0; }
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .hero__ctas { justify-content: center; }
.comments-area { margin-top: 48px; }

/* ---------- Page builder content (Elementor / blocks) ---------- */
.builder-content { margin: 0; font-size: 1rem; }
.builder-content > *:not(.alignfull):not(.elementor) { max-width: var(--ac-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.builder-content > .alignwide { max-width: calc(var(--ac-wrap) + 120px); }
.builder-content > :first-child:not(.elementor) { margin-top: 64px; }
.builder-content > :last-child:not(.elementor) { margin-bottom: 64px; }
.builder-content .alignfull { width: 100%; max-width: none; }
.builder-content .elementor h1, .builder-content .elementor h2, .builder-content .elementor h3 { margin-bottom: 0; }
.has-ac-accent-color { color: var(--ac-accent); }
.has-ac-accent-background-color { background-color: var(--ac-accent); }
.has-ac-dark-color { color: var(--ac-ink); }
.has-ac-dark-background-color { background-color: var(--ac-ink); }
.has-ac-tint-background-color { background-color: var(--ac-tint); }
.wp-block-button__link { border-radius: 999px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ac-ink); color: #9AA2AF; padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-col--brand p { margin-top: 18px; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 1.25rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-menu li, .site-footer .menu li { margin-bottom: 10px; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ac-accent); }
.hours li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.socials { display: flex; gap: 10px; margin-top: 20px !important; }
.socials a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); font-size: 13px; font-weight: 600; }
.socials a:hover { border-color: var(--ac-accent); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size: 13px; color: #737B88; }
.footer-legal p { margin: 0 0 6px; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.header-call { display: none; }
	.main-nav .menu a { padding: 10px 9px; font-size: 14px; }
}

@media (max-width: 1100px) {
	.header-call { display: none; }
	.stock-search--parts.stock-search--inline { grid-template-columns: 1fr 1fr 1fr; }
	.stock-search--parts .stock-search__kw { grid-column: 1 / -1; }
	.stock-search--inline { grid-template-columns: repeat(2, 1fr); }
	.stock-search--inline .btn { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.site-header__actions { margin-left: auto; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 60; margin: 0;
		background: var(--ac-ink); padding: 96px 24px 24px; transform: translateX(100%);
		transition: transform .25s ease, visibility .25s; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; visibility: hidden;
	}
	.nav-open .main-nav { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
	.nav-open .nav-toggle { position: relative; z-index: 70; background: var(--ac-accent); color: var(--ac-ink); }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav .menu { flex-direction: column; gap: 2px; }
	.main-nav .menu a { color: #fff; font-size: 18px; padding: 14px 16px; border-radius: 10px; }
	.main-nav .menu a:hover, .main-nav .current-menu-item > a { background: var(--ac-ink-3); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 12px; }
	.main-nav__call { display: inline-flex; }

	.hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; gap: 36px; }
	.service-grid { grid-template-columns: 1fr; }
	.car-grid, .post-grid { grid-template-columns: 1fr 1fr; }
	.split, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
	.split--reverse .split__copy { order: 0; }
	.car-single__grid { grid-template-columns: 1fr; }
	.car-single__side { position: static; }
	.section { padding: 72px 0; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { padding-bottom: 64px; }
	.topbar__msg { font-size: 12px; }
	.topbar__links { display: none; }
	.site-header__inner { min-height: 66px; }
	.brand__text small { display: none; }
	.brand__mark { width: 40px; height: 40px; }
	.brand__text strong { font-size: 19px; line-height: 1.05; }
	.site-header__inner { gap: 12px; }
	.hero__panel { padding: 22px; }
	.stock-search--stacked, .stock-search--inline, .ac-form__row { grid-template-columns: 1fr; }
	.trust-strip__grid { grid-template-columns: 1fr; }
	.trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 20px; }
	.car-grid, .post-grid, .about__points, .spec-table dl { grid-template-columns: 1fr; }
	.spec-table dl div:nth-child(odd) { border-right: 0; }
	.spec-tiles { grid-template-columns: 1fr 1fr; }
	.features__list { grid-template-columns: 1fr; }
	.stock-search--parts.stock-search--inline { grid-template-columns: 1fr; }
	.gallery__nav { width: 38px; height: 38px; font-size: 24px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.card { padding: 22px; }
	.stock-toolbar { flex-direction: column; align-items: stretch; }
	.sort-form select { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
	.btn--lg { padding: 14px 22px; }

	.mobile-bar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: var(--ac-ink); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
	.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.1); }
	.mobile-bar__accent { background: var(--ac-accent); color: var(--ac-ink) !important; }
}

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

.part-no { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 700 14px/1.2 var(--ac-body); letter-spacing: .04em; }
