/*
Theme Name: Fabiz Auto
Theme URI: https://fabizauto.com/
Author: Fabiz Auto
Description: Car dealership theme for Fabiz Auto, Kampala. Car listings with search and filters, vehicle pages with enquiry and test-drive forms, a sell-your-car submission form, service booking, and buyer/seller accounts.
Version: 1.0.0
Requires at least: 6.2
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: fabiz-auto
Tags: custom-menu, custom-logo, featured-images, e-commerce, two-columns
*/

/* ---------- Tokens ---------- */
:root {
	--fa-red: #D01818;
	--fa-red-dark: #B01212;
	--fa-red-soft: #FF6B6B;
	--fa-black: #000000;
	--fa-ink: #0A0A0A;
	--fa-heading: #0D1637;
	--fa-text: #3A3A3C;
	--fa-muted: #5F6066;
	--fa-line: #E6E8EE;
	--fa-field: #F5F5F5;
	--fa-tint: #F1F4FC;
	--fa-panel: #F7F8FC;
	--fa-placeholder: #D9E0EC;
	--fa-on-dark: #C9C9C9;
	--fa-on-dark-muted: #A6A6A6;
	--fa-dark-line: #333333;
	--fa-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--fa-gutter: 80px;
	--fa-section: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fa-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fa-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fa-red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--fa-heading); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
button, input, select, textarea { font-family: inherit; font-size: 15px; }
:focus-visible { outline: 3px solid var(--fa-red); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: #fff; color: var(--fa-ink); padding: 12px 18px; font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

.fa-container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--fa-gutter); padding-right: var(--fa-gutter); }
.fa-section { padding-top: var(--fa-section); padding-bottom: var(--fa-section); }
.fa-section--tint { background: var(--fa-tint); }
.fa-section--dark { background: var(--fa-black); color: var(--fa-on-dark); }
.fa-section--dark h2, .fa-section--dark h3 { color: #fff; }

/* ---------- Type helpers ---------- */
.fa-eyebrow {
	display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--fa-red); margin-bottom: 16px;
}
.fa-eyebrow--light { color: var(--fa-red-soft); }
.fa-h2 { font-size: 44px; }
.fa-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.fa-section-head--center { flex-direction: column; align-items: center; text-align: center; }
.fa-lead { font-size: 17px; line-height: 1.75; }

/* ---------- Buttons ---------- */
.fa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 0;
	font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.fa-btn svg { flex-shrink: 0; }
.fa-btn--red { background: var(--fa-red); color: #fff; }
.fa-btn--red:hover { background: var(--fa-red-dark); color: #fff; }
.fa-btn--black { background: var(--fa-ink); color: #fff; }
.fa-btn--black:hover { background: #262626; color: #fff; }
.fa-btn--outline { border-color: var(--fa-ink); color: var(--fa-ink); background: transparent; }
.fa-btn--outline:hover { background: var(--fa-ink); color: #fff; }
.fa-btn--outline-light { border-color: #555; color: #fff; background: transparent; }
.fa-btn--outline-light:hover { border-color: #fff; color: #fff; }
.fa-btn--caps { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }
.fa-btn--block { width: 100%; }
.fa-btn--rounded { border-radius: 10px; }
.fa-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fa-red); }

/* ---------- Forms ---------- */
.fa-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fa-field > label, .fa-field .fa-label { font-size: 13px; font-weight: 700; color: var(--fa-ink); }
.fa-field .fa-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fa-input, .fa-form input[type="text"], .fa-form input[type="email"], .fa-form input[type="tel"],
.fa-form input[type="password"], .fa-form input[type="number"], .fa-form input[type="date"],
.fa-form select, .fa-form textarea {
	width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--fa-line);
	background: var(--fa-field); color: var(--fa-text); border-radius: 0; font-size: 15px;
}
.fa-form textarea { padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.6; }
.fa-form select { appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%233A3A3C' stroke-width='1.8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fa-form--white input[type="text"], .fa-form--white input[type="email"], .fa-form--white input[type="tel"],
.fa-form--white input[type="password"], .fa-form--white input[type="number"], .fa-form--white input[type="date"],
.fa-form--white select, .fa-form--white textarea { background-color: #fff; }
.fa-form input:focus, .fa-form select:focus, .fa-form textarea:focus { border-color: var(--fa-ink); outline: none; box-shadow: 0 0 0 2px rgba(208,24,24,.25); }
.fa-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fa-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fa-stack { display: flex; flex-direction: column; gap: 20px; }
.fa-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.fa-check input { margin-top: 3px; accent-color: var(--fa-red); width: 16px; height: 16px; flex-shrink: 0; }
.fa-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--fa-line); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fa-chip input { accent-color: var(--fa-red); }
.fa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fa-form-note { font-size: 13px; color: var(--fa-muted); margin: 0; }

.fa-notice { padding: 16px 20px; margin-bottom: 24px; font-size: 15px; font-weight: 600; border-left: 4px solid; }
.fa-notice--success { background: #EAF7EE; border-color: #1F7A3E; color: #14532D; }
.fa-notice--error { background: #FDECEC; border-color: var(--fa-red); color: #7A1010; }

/* ---------- Top bar & header ---------- */
.fa-topbar { background: var(--fa-red); color: #fff; font-size: 14px; font-weight: 500; }
.fa-topbar .fa-container { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 16px; }
.fa-topbar a:hover { color: #fff; text-decoration: underline; }
.fa-topbar__contacts { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.fa-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.fa-topbar__social { display: flex; gap: 20px; font-weight: 600; }

.fa-header { background: #fff; border-bottom: 1px solid var(--fa-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .fa-header { top: 32px; }
.fa-header .fa-container { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.fa-logo img, .fa-logo .custom-logo { height: 64px; width: auto; }
.fa-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.fa-nav li { position: relative; }
.fa-nav a { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--fa-ink); border-bottom: 2px solid transparent; }
.fa-nav a:hover { color: var(--fa-red); }
.fa-nav .current-menu-item > a, .fa-nav .current_page_item > a, .fa-nav .current-menu-ancestor > a, .fa-nav a[aria-current="page"] { color: var(--fa-red); font-weight: 700; border-bottom-color: var(--fa-red); }
.fa-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: #fff; border: 1px solid var(--fa-line); padding: 8px 16px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.fa-nav li:hover > .sub-menu, .fa-nav li:focus-within > .sub-menu { display: flex; }
.fa-nav .fa-nav__account { display: none; }
.fa-header__actions { display: flex; align-items: center; gap: 20px; }
.fa-account-links { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--fa-ink); }
.fa-account-links span { color: var(--fa-muted); }
.fa-header .fa-btn { min-height: 48px; padding: 0 22px; }
.fa-menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; background: var(--fa-ink); color: #fff; cursor: pointer; }

/* ---------- Page banner ---------- */
.fa-banner { background: var(--fa-black); color: var(--fa-on-dark); }
.fa-banner .fa-container { min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-top: 48px; padding-bottom: 48px; }
.fa-banner--overlap .fa-container { padding-bottom: 104px; }
.fa-banner h1 { color: #fff; font-size: 60px; letter-spacing: -0.03em; line-height: 1.05; }
.fa-banner p { margin: 0; font-size: 17px; max-width: 720px; line-height: 1.7; }
.fa-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fa-on-dark-muted); }
.fa-crumbs a:hover { color: #fff; }
.fa-crumbs [aria-current] { color: #fff; }
.fa-crumbs--light { color: var(--fa-muted); }
.fa-crumbs--light [aria-current] { color: var(--fa-heading); }
.fa-crumbbar { background: var(--fa-tint); }
.fa-crumbbar .fa-container { min-height: 72px; display: flex; align-items: center; }

/* ---------- Hero ---------- */
.fa-hero { background: var(--fa-black); }
.fa-hero .fa-container { min-height: 620px; display: flex; align-items: center; gap: 72px; padding-top: 64px; padding-bottom: 140px; }
.fa-hero__copy { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.fa-hero__copy .fa-eyebrow { margin: 0; }
.fa-hero h1 { color: #fff; font-size: 72px; line-height: 1.02; letter-spacing: -0.035em; }
.fa-hero__copy p { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--fa-on-dark); }
.fa-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.fa-hero__media { position: relative; flex: 0 0 560px; height: 400px; }
.fa-hero__photo { width: 100%; height: 100%; border-radius: 20px; background: #1A1A1A; display: flex; align-items: center; justify-content: center; padding: 0 28px 24px; overflow: hidden; }
.fa-hero__photo img { width: 100%; height: auto; }
.fa-hero__tag { position: absolute; bottom: -28px; left: 32px; display: flex; align-items: center; gap: 28px; background: var(--fa-ink); padding: 22px 28px; color: #fff; }
.fa-hero__tag strong { display: block; font-size: 17px; font-weight: 800; color: #fff; }
.fa-hero__tag small { font-size: 14px; color: #B4B8C0; }
.fa-hero__tag .fa-price { font-size: 28px; font-weight: 800; color: #FF4D4D; white-space: nowrap; }

/* ---------- Search panel ---------- */
.fa-search { position: relative; margin-top: -72px; z-index: 5; margin-bottom: 0; }
.fa-search__tabs { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; width: min(576px, 100%); background: var(--fa-field); border-radius: 16px 16px 0 0; overflow: hidden; }
.fa-search__tabs label { flex: 1 1 0; min-height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 12px; font-size: 15px; font-weight: 700; color: var(--fa-ink); cursor: pointer; text-align: center; }
.fa-search__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.fa-search__tabs input:checked + span { color: #fff; }
.fa-search__tabs label:has(input:checked) { background: var(--fa-black); color: #fff; }
.fa-search__tabs input:focus-visible + span { outline: 3px solid var(--fa-red); outline-offset: 4px; }
.fa-search__panel { background: #fff; border-radius: 0 20px 20px 20px; box-shadow: 0 24px 48px rgba(0,0,0,.14); padding: 32px; display: flex; align-items: flex-end; gap: 20px; }
.fa-search__panel .fa-field { flex: 1 1 0; }
.fa-search__panel select, .fa-search__panel input { border-radius: 10px; }
.fa-search__more { width: 56px; min-height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--fa-black); color: #fff; border-radius: 10px; }
.fa-search__more:hover { color: #fff; background: #262626; }
.fa-search__panel .fa-btn { min-height: 56px; border-radius: 10px; flex-shrink: 0; }
.fa-search__submit { display: flex; gap: 20px; flex-shrink: 0; }

/* ---------- Brand grid ---------- */
.fa-brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.fa-brands--compact { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.fa-brand { background: #fff; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 16px; border: 1px solid transparent; transition: border-color .15s ease; }
.fa-brand:hover { border-color: var(--fa-red); color: var(--fa-ink); }
.fa-brand__logo { width: 128px; height: 76px; display: flex; align-items: center; justify-content: center; }
.fa-brand__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fa-brand__mono { width: 76px; height: 76px; border-radius: 50%; background: var(--fa-tint); color: var(--fa-heading); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.fa-brand__name { font-size: 17px; font-weight: 700; color: var(--fa-ink); text-align: center; }
.fa-brands--compact .fa-brand { min-height: 132px; gap: 12px; padding: 12px 6px; }
.fa-brands--compact .fa-brand__logo { width: 80px; height: 48px; }
.fa-brands--compact .fa-brand__name { font-size: 13px; }
.fa-brands-section { padding-top: 72px; }
.fa-center { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Filter pills ---------- */
.fa-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.fa-pill { min-height: 52px; padding: 0 28px; display: inline-flex; align-items: center; border: 1px solid var(--fa-line); background: #fff; color: var(--fa-ink); font-size: 15px; font-weight: 700; }
.fa-pill.is-active { background: var(--fa-red); border-color: var(--fa-red); color: #fff; }

/* ---------- Car card ---------- */
.fa-cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fa-cars--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fa-card { background: #fff; border: 1px solid #EDEFF4; display: flex; flex-direction: column; position: relative; transition: border-color .15s ease; }
.fa-card:hover { border-color: #C9CDD6; }
.fa-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--fa-placeholder); overflow: hidden; }
.fa-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fa-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.fa-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--fa-ink); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; line-height: 1.2; }
.fa-badge--light { background: #fff; color: var(--fa-ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 800; }
.fa-badge--year { position: absolute; top: 14px; right: 14px; background: var(--fa-red); font-size: 14px; padding: 7px 14px; }
.fa-card__body { padding: 22px 24px 0; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.fa-card__type { font-size: 13px; font-weight: 700; color: var(--fa-red); }
.fa-card__title { font-size: 21px; line-height: 1.25; }
.fa-card__title a::after { content: ""; position: absolute; inset: 0; }
.fa-card__title a:hover { color: var(--fa-heading); }
.fa-card__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fa-card__price strong { font-size: 17px; font-weight: 800; color: var(--fa-red); }
.fa-card__price del { font-size: 14px; color: var(--fa-muted); }
.fa-card__specs { margin: 18px 24px 0; padding: 18px 0 22px; border-top: 1px solid var(--fa-line); display: flex; justify-content: space-between; gap: 12px; }
.fa-spec { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fa-spec svg { flex-shrink: 0; color: var(--fa-heading); }
.fa-spec span { display: flex; flex-direction: column; font-size: 12px; color: var(--fa-muted); line-height: 1.35; }
.fa-spec b { font-size: 14px; color: var(--fa-ink); font-weight: 700; white-space: nowrap; }
.fa-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #46536A; font-size: 13px; font-weight: 600; background: var(--fa-placeholder); }
.fa-placeholder svg { width: 64px; height: 64px; opacity: .5; }

/* ---------- Body types ---------- */
.fa-bodies { display: flex; align-items: center; gap: 80px; }
.fa-bodies__intro { flex: 0 0 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.fa-bodies__intro .fa-eyebrow { margin: 0; }
.fa-bodies__grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fa-body-link { min-height: 120px; padding: 0 28px; border: 1px solid var(--fa-dark-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-size: 20px; font-weight: 700; }
.fa-body-link:hover { border-color: var(--fa-red-soft); color: #fff; }
.fa-body-link svg { color: var(--fa-red-soft); flex-shrink: 0; }

/* ---------- CTA split ---------- */
.fa-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.fa-split__panel { min-height: 320px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; color: #fff; }
.fa-split__panel h2 { color: #fff; font-size: 40px; max-width: 460px; }
.fa-split__panel--red { background: var(--fa-red); }
.fa-split__panel--black { background: var(--fa-ink); }

/* ---------- Listings ---------- */
.fa-listing { display: flex; align-items: flex-start; gap: 32px; }
.fa-filter { flex: 0 0 312px; background: var(--fa-panel); padding: 28px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 112px; }
.fa-filter__head { display: flex; justify-content: space-between; align-items: center; }
.fa-filter__head h2 { font-size: 22px; }
.fa-filter__head a { font-size: 14px; font-weight: 700; color: var(--fa-red); }
.fa-filter .fa-chip { min-height: 40px; }
.fa-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fa-fieldset > legend { padding: 0; margin-bottom: 10px; }
.fa-stack--tight { gap: 12px; }
.fa-range { display: flex; gap: 10px; }
.fa-range input { min-width: 0; }
.fa-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.fa-swatch { position: relative; cursor: pointer; }
.fa-swatch input { position: absolute; opacity: 0; }
.fa-swatch span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #C9CDD6; }
.fa-swatch input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fa-red); }
.fa-swatch input:focus-visible + span { outline: 3px solid var(--fa-red); outline-offset: 3px; }
.fa-results { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.fa-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fa-toolbar__count { font-size: 17px; font-weight: 700; color: var(--fa-heading); }
.fa-toolbar form { display: flex; align-items: center; gap: 12px; }
.fa-toolbar label { font-size: 14px; font-weight: 600; }
.fa-toolbar select { min-height: 48px; background-color: #fff; width: auto; }
.fa-empty { padding: 64px 32px; text-align: center; background: var(--fa-panel); }
.fa-empty h2 { font-size: 26px; margin-bottom: 10px; }
.fa-pagination { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.fa-pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fa-line); font-weight: 700; color: var(--fa-ink); }
.fa-pagination .page-numbers.current { background: var(--fa-red); border-color: var(--fa-red); color: #fff; }
.fa-pagination .page-numbers.dots { border: 0; }

/* ---------- Vehicle detail ---------- */
.fa-vehicle-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.fa-vehicle-head h1 { font-size: 44px; margin: 10px 0; }
.fa-vehicle-head__meta { font-size: 14px; font-weight: 700; color: var(--fa-red); }
.fa-vehicle-head__price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fa-vehicle-head__price small { font-size: 14px; font-weight: 600; color: var(--fa-muted); }
.fa-vehicle-head__price strong { font-size: 40px; font-weight: 800; color: var(--fa-red); letter-spacing: -0.02em; line-height: 1.1; }
.fa-vehicle-head__price del { color: var(--fa-muted); font-size: 16px; }
.fa-vehicle { display: flex; align-items: flex-start; gap: 40px; }
.fa-vehicle__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.fa-vehicle__aside { flex: 0 0 400px; display: flex; flex-direction: column; gap: 24px; }
.fa-gallery__main { position: relative; aspect-ratio: 16 / 10; background: var(--fa-placeholder); overflow: hidden; }
.fa-gallery__main img { width: 100%; height: 100%; object-fit: contain; background: var(--fa-tint); }
.fa-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.fa-gallery__thumbs button { padding: 0; border: 2px solid transparent; background: var(--fa-placeholder); aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; }
.fa-gallery__thumbs button[aria-current="true"] { border-color: var(--fa-red); }
.fa-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fa-panel { background: var(--fa-panel); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.fa-panel h2 { font-size: 24px; }
.fa-panel--card { background: #fff; border: 1px solid var(--fa-line); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.fa-panel--dark { background: var(--fa-black); color: var(--fa-on-dark); gap: 12px; }
.fa-panel--dark img { height: 72px; width: auto; }
.fa-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fa-specs div { min-height: 76px; padding: 12px 20px; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.fa-specs dt { font-size: 13px; color: var(--fa-muted); }
.fa-specs dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--fa-ink); }
.fa-features { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fa-features li { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; font-size: 14px; font-weight: 600; }
.fa-features svg { color: var(--fa-red); }
.fa-entry { font-size: 16px; line-height: 1.75; color: var(--fa-text); }
.fa-entry > *:last-child { margin-bottom: 0; }
.fa-entry h2, .fa-entry h3 { margin: 1.4em 0 .6em; }
.fa-entry a { color: var(--fa-red); text-decoration: underline; }
.fa-entry img { margin: 1.2em 0; }

/* ---------- Services ---------- */
.fa-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fa-service { min-height: 260px; padding: 32px; background: var(--fa-panel); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.fa-service:hover { color: inherit; background: var(--fa-tint); }
.fa-service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.fa-service__num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--fa-red); line-height: 1; }
.fa-service__icon img { width: 64px; height: 64px; object-fit: cover; }
.fa-service h3 { font-size: 22px; margin-bottom: 8px; }
.fa-service p { margin: 0; font-size: 15px; color: var(--fa-muted); }

/* ---------- Two-column form sections ---------- */
.fa-formsplit { display: flex; gap: 32px; align-items: stretch; }
.fa-formsplit__main { flex: 1 1 auto; min-width: 0; background: #fff; padding: 40px; }
.fa-formsplit__main h2 { font-size: 30px; margin-bottom: 24px; }
.fa-formsplit__side { flex: 0 0 400px; background: var(--fa-black); color: var(--fa-on-dark); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.fa-formsplit__side--red { background: var(--fa-red); color: #fff; }
.fa-formsplit__side h2, .fa-formsplit__side h3 { color: #fff; font-size: 32px; line-height: 1.2; }
.fa-formsplit__side .fa-eyebrow { color: var(--fa-red-soft); }
.fa-formsplit__side--red .fa-eyebrow { color: #fff; opacity: .85; }
.fa-contact-list { display: flex; flex-direction: column; gap: 20px; font-size: 16px; font-weight: 700; color: #fff; }
.fa-contact-list a, .fa-contact-list span { display: inline-flex; align-items: center; gap: 12px; }
.fa-contact-list svg { color: var(--fa-red-soft); }
.fa-formsplit__side--red .fa-contact-list svg { color: #fff; }

/* ---------- Contact ---------- */
.fa-contact { display: flex; gap: 32px; align-items: flex-start; }
.fa-contact__info { flex: 0 0 420px; display: flex; flex-direction: column; gap: 20px; }
.fa-contact__info h2 { font-size: 40px; margin-bottom: 8px; }
.fa-info { min-height: 108px; padding: 20px 28px; background: var(--fa-tint); display: flex; align-items: center; gap: 20px; }
.fa-info__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--fa-red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fa-info small { display: block; font-size: 13px; font-weight: 600; color: var(--fa-muted); }
.fa-info strong, .fa-info a { font-size: 17px; font-weight: 800; color: var(--fa-heading); }
.fa-contact__form { flex: 1 1 auto; min-width: 0; }
.fa-map { margin-top: 48px; height: 380px; background: var(--fa-placeholder); }
.fa-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }

/* ---------- About ---------- */
.fa-intro { display: flex; align-items: center; gap: 80px; }
.fa-intro__media { flex: 0 0 600px; aspect-ratio: 600 / 520; background: var(--fa-placeholder); overflow: hidden; }
.fa-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.fa-intro__copy { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; }
.fa-intro__copy h2 { font-size: 44px; margin-bottom: 22px; }
.fa-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fa-offer { min-height: 220px; background: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.fa-offer__num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--fa-red); line-height: 1; }
.fa-offer h3 { font-size: 20px; margin-bottom: 8px; }
.fa-offer p { margin: 0; font-size: 14px; color: var(--fa-muted); }
.fa-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fa-team__photo { aspect-ratio: 1 / 1.1; background: var(--fa-placeholder); overflow: hidden; margin-bottom: 16px; }
.fa-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.fa-team h3 { font-size: 18px; }
.fa-team p { margin: 4px 0 0; font-size: 14px; color: var(--fa-muted); }
.fa-band { background: var(--fa-red); color: #fff; }
.fa-band .fa-container { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 48px; padding-bottom: 48px; }
.fa-band h2 { color: #fff; font-size: 40px; max-width: 720px; }
.fa-band .fa-btn--black { background: var(--fa-black); }

/* ---------- Sell / account ---------- */
.fa-sell { display: flex; gap: 40px; align-items: flex-start; }
.fa-sell__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.fa-sell__aside { flex: 0 0 400px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 112px; }
.fa-sell fieldset { border: 0; margin: 0; background: var(--fa-panel); padding: 36px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fa-sell legend { float: left; width: 100%; padding: 0; font-size: 24px; font-weight: 800; color: var(--fa-heading); letter-spacing: -0.02em; }
.fa-sell legend + * { clear: both; }
.fa-features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.fa-drop { position: relative; min-height: 180px; border: 2px dashed #B9C2D3; background: var(--fa-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; cursor: pointer; }
.fa-drop.is-over { border-color: var(--fa-red); }
.fa-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fa-drop strong { font-size: 16px; color: var(--fa-heading); }
.fa-drop small { font-size: 13px; color: var(--fa-muted); }
.fa-preview-label { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fa-red); }
.fa-account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.fa-account .fa-panel { padding: 44px; gap: 22px; }
.fa-account .fa-panel--outline { background: #fff; border: 1px solid var(--fa-line); }
.fa-account h2 { font-size: 30px; }
.fa-radio-cards { display: flex; gap: 10px; }
.fa-radio-cards label { flex: 1 1 0; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1px solid var(--fa-line); font-size: 14px; font-weight: 600; cursor: pointer; }
.fa-radio-cards input { accent-color: var(--fa-red); }
.fa-dash { display: flex; flex-direction: column; gap: 32px; }
.fa-dash__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.fa-dash__head h2 { font-size: 32px; }
.fa-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.fa-table th, .fa-table td { text-align: left; padding: 16px; border-bottom: 1px solid var(--fa-line); }
.fa-table th { font-size: 13px; color: var(--fa-muted); font-weight: 700; }
.fa-status { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700; background: var(--fa-tint); color: var(--fa-heading); }
.fa-status--publish { background: #EAF7EE; color: #14532D; }
.fa-status--pending { background: #FFF6E0; color: #7A4B00; }

/* ---------- Blog ---------- */
.fa-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fa-post { display: flex; flex-direction: column; background: #fff; border: 1px solid #EDEFF4; }
.fa-post__media { aspect-ratio: 16 / 10; background: var(--fa-placeholder); overflow: hidden; }
.fa-post__media img { width: 100%; height: 100%; object-fit: cover; }
.fa-post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.fa-post__body time { font-size: 13px; font-weight: 700; color: var(--fa-red); }
.fa-post__body h2 { font-size: 21px; line-height: 1.3; }
.fa-post__body p { margin: 0; font-size: 15px; color: var(--fa-muted); }
.fa-article { max-width: 780px; margin: 0 auto; }
.fa-article__media { margin-bottom: 40px; }

/* ---------- Footer ---------- */
.fa-footer { background: var(--fa-black); color: #B4B8C0; }
.fa-footer a:hover { color: #fff; }
.fa-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 64px; padding-top: 80px; padding-bottom: 64px; }
.fa-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.fa-footer__brand img { height: 96px; width: auto; }
.fa-footer__brand p { margin: 0; font-size: 15px; line-height: 1.7; }
.fa-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #fff; }
.fa-footer h2 { font-size: 17px; color: #fff; letter-spacing: 0; margin-bottom: 20px; }
.fa-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.fa-footer__news p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.fa-footer__news .fa-inline { display: flex; gap: 8px; }
.fa-footer__news input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; background: #1A1A1A; border: 1px solid var(--fa-dark-line); color: #fff; }
.fa-footer__news .fa-btn { min-height: 52px; padding: 0 22px; }
.fa-footer__news .fa-notice { margin: 12px 0 0; }
.fa-footer__bottom { border-top: 1px solid #262626; }
.fa-footer__bottom .fa-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; flex-wrap: wrap; }
.fa-footer__legal { display: flex; gap: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	:root { --fa-gutter: 48px; }
	.fa-nav ul { gap: 20px; }
	.fa-account-links { display: none; }
	.fa-hero__media { flex-basis: 460px; height: 340px; }
	.fa-brands--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.fa-bodies { gap: 48px; }
	.fa-bodies__intro { flex-basis: 300px; }
	.fa-intro { gap: 48px; }
	.fa-intro__media { flex-basis: 480px; }
	.fa-footer__grid { gap: 40px; }
}

@media (max-width: 1080px) {
	:root { --fa-section: 72px; }
	.fa-menu-toggle { display: inline-flex; }
	.fa-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--fa-line); box-shadow: 0 24px 40px rgba(0,0,0,.08); }
	.fa-nav.is-open { display: block; }
	.fa-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--fa-gutter) 24px; }
	.fa-nav a { padding: 14px 0; border-bottom: 1px solid var(--fa-line); }
	.fa-nav .current-menu-item > a, .fa-nav .current_page_item > a { border-bottom-color: var(--fa-line); }
	.fa-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.fa-nav .fa-nav__account { display: flex; padding-top: 0; }
	.fa-header .fa-container { position: relative; }
	.fa-hero .fa-container { flex-direction: column; align-items: stretch; gap: 56px; }
	.fa-hero__media { flex-basis: auto; height: auto; aspect-ratio: 560 / 400; }
	.fa-search__panel { flex-wrap: wrap; }
	.fa-search__panel .fa-field { flex: 1 1 calc(33% - 20px); min-width: 180px; }
	.fa-cars, .fa-posts, .fa-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fa-bodies { flex-direction: column; align-items: stretch; }
	.fa-bodies__intro { flex-basis: auto; }
	.fa-listing, .fa-vehicle, .fa-sell, .fa-contact, .fa-formsplit, .fa-intro { flex-direction: column; align-items: stretch; }
	.fa-filter, .fa-sell__aside { position: static; flex-basis: auto; }
	.fa-vehicle__aside, .fa-contact__info, .fa-formsplit__side, .fa-intro__media { flex-basis: auto; }
	.fa-offers, .fa-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 720px) {
	:root { --fa-gutter: 20px; --fa-section: 56px; }
	body { font-size: 15px; }
	.fa-topbar__item--location, .fa-topbar__social { display: none; }
	.fa-topbar__contacts { gap: 16px; justify-content: space-between; width: 100%; font-size: 13px; }
	.fa-header .fa-container { min-height: 68px; }
	.fa-logo img, .fa-logo .custom-logo { height: 46px; }
	.fa-header__actions .fa-btn { display: none; }
	.fa-hero .fa-container { padding-top: 44px; padding-bottom: 104px; gap: 48px; }
	.fa-hero h1 { font-size: 44px; }
	.fa-hero__copy p { font-size: 16px; }
	.fa-hero__tag { left: 14px; right: 14px; bottom: -22px; padding: 14px 16px; justify-content: space-between; gap: 12px; }
	.fa-hero__tag strong { font-size: 15px; }
	.fa-hero__tag .fa-price { font-size: 16px; }
	.fa-search { margin-top: -40px; }
	.fa-search__tabs { width: 100%; overflow-x: auto; }
	.fa-search__tabs label { flex: 0 0 auto; font-size: 14px; padding: 0 14px; }
	.fa-search__panel { flex-direction: column; align-items: stretch; padding: 22px 18px 20px; gap: 14px; border-radius: 0 0 16px 16px; }
	.fa-search__panel .fa-field { flex-basis: auto; min-width: 0; }
	.fa-search__submit { display: flex; gap: 10px; }
	.fa-search__submit .fa-btn { flex: 1 1 auto; }
	.fa-h2, .fa-intro__copy h2, .fa-contact__info h2 { font-size: 30px; }
	.fa-banner h1 { font-size: 40px; }
	.fa-banner .fa-container { min-height: 200px; }
	.fa-section-head { margin-bottom: 28px; }
	.fa-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fa-brands--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fa-brand { min-height: 120px; gap: 10px; }
	.fa-brand__logo { width: 96px; height: 46px; }
	.fa-brand__name { font-size: 14px; }
	.fa-pill { min-height: 44px; padding: 0 18px; font-size: 14px; }
	.fa-cars, .fa-cars--2, .fa-posts, .fa-services, .fa-offers, .fa-team, .fa-split, .fa-account { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.fa-bodies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fa-body-link { min-height: 64px; padding: 0 18px; font-size: 16px; }
	.fa-split__panel { min-height: 0; padding: 28px 24px; gap: 20px; }
	.fa-split__panel h2, .fa-band h2 { font-size: 26px; }
	.fa-band .fa-container { flex-direction: column; align-items: flex-start; gap: 24px; min-height: 0; }
	.fa-grid-2, .fa-grid-3, .fa-specs, .fa-features-grid { grid-template-columns: minmax(0, 1fr); }
	.fa-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fa-card__specs { flex-wrap: wrap; }
	.fa-vehicle-head h1 { font-size: 30px; }
	.fa-vehicle-head__price { align-items: flex-start; }
	.fa-vehicle-head__price strong { font-size: 30px; }
	.fa-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.fa-panel, .fa-sell fieldset, .fa-account .fa-panel, .fa-formsplit__main, .fa-formsplit__side { padding: 24px 20px; }
	.fa-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; }
	.fa-footer__brand img { height: 80px; }
	.fa-map { height: 280px; }
	.fa-table thead { display: none; }
	.fa-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--fa-line); }
	.fa-table td { border: 0; padding: 4px 12px; }
}
