/*
Theme Name: Car Cooling Consultants
Theme URI: https://carcooling.co.za/
Author: Car Cooling Consultants
Description: Quote-only parts catalogue theme for Car Cooling Consultants CC. Fast part search (part, OEM, make, model), list/tile product finder, multi-item quote requests with branded emails, PDF catalogue library and article landing pages. Requires WooCommerce.
Version: 1.5.2
Requires at least: 6.4
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: carcooling
Tags: e-commerce, custom-menu, featured-images
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--brand: #43c6e9;
	--brand-dark: #1aa3cb;
	--brand-ink: #0a6f8c;          /* brand blue dark enough for text on white */
	--brand-tint: #e6f7fc;
	--navy: #0c1320;
	--navy-2: #121c2d;
	--navy-3: #1c2a41;
	--grey: #666666;
	--ink: #1b2430;
	--muted: #5b6673;
	--line: #dfe5ea;
	--line-soft: #edf1f4;
	--tint: #f3f6f8;
	--white: #ffffff;
	--danger: #c0392b;
	--ok: #1f9d55;

	--font-display: 'Social Gothic', 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--font-body: 'Myriad Pro', 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-code: 'Barlow Condensed', 'Arial Narrow', sans-serif;

	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgba(12, 19, 32, .06), 0 4px 16px rgba(12, 19, 32, .06);
	--shadow-lg: 0 10px 40px rgba(12, 19, 32, .18);
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .01em;
	color: var(--navy);
	margin: 0 0 .5em;
	text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
::selection { background: var(--brand); color: var(--navy); }
mark { background: rgba(67, 198, 233, .3); color: inherit; padding: 0 1px; border-radius: 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 {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--brand); color: var(--navy); padding: 10px 16px; font-weight: 700;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

/* Louvre stripes from the logo */
.stripes { pointer-events: none; }
.stripes span { display: block; height: 5px; background: var(--brand); }
.stripes span + span { margin-top: 4px; }
.stripes--header { position: absolute; left: 0; right: 0; bottom: -13px; opacity: 1; }
.stripes--header span { height: 3px; }
.stripes--header span:nth-child(2) { width: 70%; }
.stripes--header span:nth-child(3) { width: 40%; }
.stripes--head { position: absolute; right: 0; bottom: 28px; width: min(42vw, 520px); }
.stripes--head span:nth-child(2) { margin-left: 14%; }
.stripes--head span:nth-child(3) { margin-left: 34%; }
.stripes--footer { position: absolute; top: 0; left: 0; width: 100%; }
.stripes--footer span { height: 4px; }
.stripes--footer span:nth-child(2) { width: 82%; }
.stripes--footer span:nth-child(3) { width: 58%; }
.stripes--section { position: absolute; left: 0; top: 48px; width: min(30vw, 360px); }
.stripes--section span:nth-child(2) { width: 80%; }
.stripes--section span:nth-child(3) { width: 55%; }

/* ==========================================================================
   Buttons & controls
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
	line-height: 1; text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--navy); border-color: var(--brand); }
.btn-primary:hover { background: #6fd5f0; border-color: #6fd5f0; color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-3); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: var(--tint); color: var(--navy); }
.btn-ghost:hover { background: var(--line); color: var(--navy); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.2rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-ink); cursor: pointer; text-decoration: underline; font-size: .95rem; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	background: transparent; border: 0; border-radius: var(--radius); color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(127, 140, 160, .15); }
.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	color: var(--navy); text-decoration: none; font-size: 1.05rem;
}
.link-arrow .icon { transition: transform .15s; color: var(--brand-dark); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--brand); }
.eyebrow {
	display: inline-block; margin: 0 0 .6em;
	font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--brand-ink);
}
.eyebrow--light { color: var(--brand); }
.pill { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--brand); color: var(--navy); font-size: 1rem; vertical-align: middle; }

.select { position: relative; display: block; }
.select select, .field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea, .finder-search input {
	width: 100%; min-height: 48px; padding: 10px 14px;
	background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
	font-size: 1rem; color: var(--ink); appearance: none; -webkit-appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.select::after {
	content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 40px; cursor: pointer; }
.select select:disabled { background: var(--tint); color: #9aa4ae; cursor: not-allowed; }
.select select:focus, .field input:focus, .field textarea:focus, .finder-search input:focus {
	outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(67, 198, 233, .25);
}

/* Quantity stepper */
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); height: 40px; }
.qty input {
	width: 42px; border: 0; text-align: center; font-weight: 700; background: transparent; padding: 0;
	-moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty-btn { width: 34px; border: 0; background: transparent; cursor: pointer; color: var(--grey); display: grid; place-items: center; }
.qty-btn:hover { color: var(--navy); background: var(--tint); }
.qty--lg { height: 54px; }
.qty--lg input { width: 54px; font-size: 1.15rem; }
.qty--lg .qty-btn { width: 44px; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: #070c15; color: #b9c4d1; font-size: .88rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-note .icon { color: var(--brand); }
.topbar-contact { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar-contact a { color: #dbe3ec; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: var(--brand); }
.topbar-contact .icon { color: var(--brand); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); margin-bottom: 13px; }
.admin-bar .site-header { top: 32px; }
.header-inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions" "nav nav nav";
	align-items: center; column-gap: 28px;
}
.brand { grid-area: brand; display: block; padding: 12px 0; }
.site-logo { height: 58px; width: auto; transition: height .2s; }
.is-scrolled .site-logo { height: 46px; }

.header-search { grid-area: search; position: relative; display: flex; align-items: center; max-width: 640px; width: 100%; justify-self: center; }
.header-search > .icon { position: absolute; left: 14px; color: #8996a8; pointer-events: none; }
.header-search input {
	width: 100%; height: 48px; padding: 0 116px 0 44px;
	background: var(--navy-3); border: 1.5px solid #2b3b56; border-radius: var(--radius); color: var(--white); font-size: 1rem;
}
.header-search input::placeholder { color: #8f9bb0; }
.header-search input:focus { outline: none; border-color: var(--brand); background: #22324d; }
.header-search .btn { position: absolute; right: 4px; min-height: 40px; }

.header-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.quote-link {
	position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px;
	border: 1.5px solid #2b3b56; border-radius: var(--radius); color: var(--white); text-decoration: none;
	font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.quote-link:hover { border-color: var(--brand); color: var(--white); }
.quote-link .icon { color: var(--brand); }
.quote-count {
	display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
	background: #2b3b56; color: #c5d0de; font-size: .9rem;
}
.quote-count.has-items { background: var(--brand); color: var(--navy); }
.search-toggle, .nav-toggle { display: none; color: var(--white); }

.main-nav { grid-area: nav; position: relative; }
.main-nav::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; background: var(--navy-2); border-top: 1px solid #1d2a40; z-index: -1; }
.main-nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a {
	display: block; padding: 13px 16px; color: #dfe6ef; text-decoration: none;
	font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
}
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--brand); }
.main-nav .menu > li:first-child > a { padding-left: 0; }
.sub-toggle { background: none; border: 0; color: #8996a8; padding: 4px; margin-left: -10px; cursor: pointer; }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: -12px; z-index: 50; min-width: 240px; margin: 0; padding: 12px; list-style: none;
	background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
	border-top: 3px solid var(--brand);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav .sub-menu.mega { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 0 8px; width: 680px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; border-radius: 4px; font-size: .98rem; }
.main-nav .sub-menu a:hover { background: var(--brand-tint); color: var(--navy); }

.mobile-search { background: var(--navy-2); padding: 10px 0; }
.mobile-search form { position: relative; display: flex; align-items: center; }
.mobile-search form > .icon { position: absolute; left: calc(var(--gutter) + 12px); color: #8996a8; }
.mobile-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; background: var(--navy-3); border: 1.5px solid #2b3b56; border-radius: var(--radius); color: var(--white); }

/* ==========================================================================
   Live search dropdown
   ========================================================================== */
[data-live-search] { position: relative; }
.ls-panel {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200; min-width: min(560px, 92vw);
	max-height: min(70vh, 560px); overflow-y: auto;
	background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	border: 1px solid var(--line); text-align: left;
}
.ls-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 12px 4px; }
.ls-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 20px; background: var(--brand-tint); color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; }
.ls-chip:hover { background: var(--brand); color: var(--navy); }
.ls-item { display: flex; align-items: center; border-bottom: 1px solid var(--line-soft); }
.ls-link { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; color: inherit; min-width: 0; }
.ls-link:hover, .ls-link.is-active { background: var(--tint); color: inherit; }
.ls-img { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--tint); border-radius: 4px; overflow: hidden; color: var(--brand-dark); }
.ls-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ls-text { min-width: 0; display: flex; flex-direction: column; }
.ls-name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.ls-meta { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-meta b { font-family: var(--font-code); font-size: .95rem; color: var(--brand-ink); margin-right: 8px; letter-spacing: .03em; }
.ls-add { flex: none; width: 40px; height: 40px; margin-right: 10px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.ls-add:hover { background: var(--brand); border-color: var(--brand); }
.ls-add.is-in-quote { background: var(--navy); border-color: var(--navy); color: var(--brand); }
.ls-add span:not(.screen-reader-text) { display: none; }
.ls-empty { margin: 0; padding: 18px 16px; color: var(--muted); }
.ls-all { justify-content: center; gap: 8px; padding: 14px; font-weight: 700; color: var(--brand-ink); }
.is-loading > .icon { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ==========================================================================
   Page heads
   ========================================================================== */
.page-head { position: relative; background: var(--navy); color: #cdd6e1; padding: 34px 0 64px; overflow: hidden; }
.page-head h1 { color: var(--white); max-width: 900px; }
.page-head--slim { padding-bottom: 56px; }
.page-head--product { padding: 18px 0 18px; }
.page-head--product .stripes { display: none; }
.page-intro { max-width: 760px; font-size: 1.12rem; color: #c6d0dc; }
.page-intro a { color: var(--brand); }
.page-intro p:last-child { margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .9rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: #8f9bb0; }
.breadcrumbs li + li::before { content: '/'; color: #4a5a74; }
.breadcrumbs a { color: #c6d0dc; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: #8f9bb0; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Finder bars */
.finder--inline { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; margin-top: 22px; max-width: 1080px; position: relative; z-index: 2; }
.finder-search { position: relative; }
.finder-search > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--grey); pointer-events: none; z-index: 1; }
.finder-search input { padding-left: 44px; }
.finder--inline .btn { min-height: 48px; }
.finder-search--lg input { min-height: 58px; font-size: 1.1rem; padding-left: 50px; }
.finder-search--lg > .icon { left: 16px; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; background: var(--navy); color: #cdd6e1; overflow: hidden; margin-top: -13px; }
.hero-bg { position: absolute; inset: 0; background:
	radial-gradient(1000px 520px at 85% 15%, rgba(67, 198, 233, .18), transparent 60%),
	linear-gradient(180deg, var(--navy) 0%, #0e182a 100%); }
.stripes--hero { position: absolute; right: -1%; top: 56%; width: 24%; opacity: .9; }
.stripes--hero span { height: 14px; }
.stripes--hero span + span { margin-top: 10px; }
.stripes--hero span:nth-child(2) { margin-left: 18%; }
.stripes--hero span:nth-child(3) { margin-left: 38%; }
.hero-inner { position: relative; padding: clamp(48px, 7vw, 96px) var(--gutter) 40px; display: grid; gap: 32px; }
.hero-copy { max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c6d0dc; max-width: 620px; }

.finder-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 980px; position: relative; z-index: 3; }
.finder-tabs { display: flex; border-bottom: 1px solid var(--line); }
.finder-tabs button {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px;
	background: var(--tint); border: 0; cursor: pointer; color: var(--muted);
	font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase;
}
.finder-tabs button:first-child { border-top-left-radius: var(--radius-lg); }
.finder-tabs button:last-child { border-top-right-radius: var(--radius-lg); }
.finder-tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: inset 0 3px 0 var(--brand); }
.finder-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 22px; }
.finder-panel--vehicle { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.finder-panel--vehicle select { min-height: 58px; font-size: 1.05rem; }
.finder-hint { grid-column: 1 / -1; margin: -2px 0 0; font-size: .9rem; color: var(--muted); }

.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 12px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #22314a; max-width: 980px; }
.hero-facts li { display: flex; flex-direction: column; padding-right: 16px; }
.hero-facts strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--brand); }
.hero-facts span { font-size: .92rem; color: #9fadbf; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(48px, 6vw, 88px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c6d0dc; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card {
	display: grid; grid-template-rows: auto auto 1fr; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--white); text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.cat-img { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 12px; background: var(--tint); border-radius: var(--radius); overflow: hidden; color: var(--brand-dark); }
.cat-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.cat-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.cat-count { font-size: .88rem; color: var(--muted); align-self: end; margin-top: 4px; }

/* Make grid */
.make-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.make-grid a {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px;
	background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius);
	text-decoration: none; color: var(--navy);
}
.make-grid a:hover { border-color: var(--navy); border-left-color: var(--brand); box-shadow: var(--shadow); }
.make-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.make-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 36px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); counter-increment: step; }
.steps li::before { content: '0' counter(step); position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--line); line-height: 1; }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); }
.steps p { margin: 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-media > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-panel { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }
.about-logo { width: 60%; height: auto; }
.about-panel .stripes { position: absolute; bottom: 30px; left: 0; width: 70%; }
.ticks { margin: 0 0 24px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; }
.ticks .icon { color: var(--brand-dark); }

/* CTA band */
.cta-band { background: var(--brand); color: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--navy); color: #a9b5c4; font-size: .96rem; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 18px; }
.footer-title { color: var(--white); font-size: 1.15rem; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links, .footer-contact, .social { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 4px 0; }
.site-footer a { color: #d6dee8; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: 10px; padding: 6px 0; }
.footer-contact .icon { color: var(--brand); margin-top: 3px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #2b3b56; border-radius: 50%; }
.social a:hover { border-color: var(--brand); }
.footer-bottom { border-top: 1px solid #1d2a40; font-size: .86rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--shadow-lg); }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* Toast */
.toast {
	position: fixed; left: 50%; bottom: 22px; z-index: 300; display: flex; align-items: center; gap: 12px;
	max-width: min(560px, calc(100vw - 32px)); padding: 12px 14px 12px 16px;
	background: var(--navy); color: #dfe6ef; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	transform: translate(-50%, 20px); opacity: 0; transition: transform .25s, opacity .25s; font-size: .95rem;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: var(--brand); }
.toast span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast strong { color: var(--white); }
.toast a { flex: none; padding: 7px 12px; border-radius: var(--radius); background: var(--brand); color: var(--navy); text-decoration: none; font-weight: 700; font-size: .9rem; }

/* ==========================================================================
   Product finder / listing
   ========================================================================== */
.page-head--shop { padding-bottom: 40px; }
.page-head--shop .stripes--head { bottom: 18px; opacity: .55; }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 64px; }
.shop-filters { align-self: start; }
.filter-block { margin-bottom: 26px; }
.filter-title { font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.filter-list { margin: 0; padding: 0; list-style: none; }
.filter-list a {
	display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; margin: 0 -10px;
	color: var(--ink); text-decoration: none; border-radius: 4px; font-size: .96rem; line-height: 1.3;
}
.filter-list a:hover { background: var(--tint); color: var(--navy); }
.filter-list a.is-active { background: var(--navy); color: var(--white); }
.filter-list a.is-active .count { color: var(--brand); }
.filter-list .count { color: #8b96a3; font-size: .85rem; }
.filter-list--makes:not(.show-all) .is-extra { display: none; }
.filter-help { padding: 16px; background: var(--tint); border-radius: var(--radius-lg); font-size: .93rem; }
.filter-help p { margin-bottom: 12px; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 16px; }
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--navy); font-size: 1.1rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 18px; background: var(--brand-tint); color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip:hover { background: var(--navy); color: var(--white); }
.results-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort select { min-height: 40px; padding: 6px 36px 6px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; font-size: .95rem; cursor: pointer; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 37px; padding: 0 12px; border: 0; background: var(--white); color: var(--muted); cursor: pointer; font-weight: 600; font-size: .92rem; }
.view-toggle button + button { border-left: 1.5px solid var(--line); }
.view-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.filters-toggle { display: none; }
.notice-inline { padding: 12px 16px; background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 4px; }

/* Shared product block */
.prod { position: relative; background: var(--white); }
.prod-media { display: grid; place-items: center; background: var(--tint); border-radius: var(--radius); overflow: hidden; color: var(--brand-dark); }
.prod-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.no-image { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand-dark); }
.prod-cat { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 2px; }
.prod-title { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.prod-title a { color: var(--navy); text-decoration: none; }
.prod-title a:hover { color: var(--brand-ink); text-decoration: underline; }
.prod-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.prod-fits { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.prod-fits .icon { margin-top: 1px; color: var(--brand-dark); }
.prod-desc { margin: 2px 0 0; font-size: .85rem; color: #7a8591; }
.prod-codes { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.prod-codes .sku { font-family: var(--font-code); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; color: var(--navy); }
.prod-codes .oem { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-codes .lbl { display: inline-block; min-width: 0; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b96a3; margin-right: 4px; }
.prod-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.btn-quote { min-height: 40px; padding: 8px 14px; font-size: 1rem; background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-quote:hover { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.btn-quote.is-in-quote { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.btn-quote.just-added { animation: pop .4s; }
@keyframes pop { 40% { transform: scale(1.06); } }
.btn-primary.btn-quote { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.btn-primary.btn-quote:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-primary.btn-quote.is-in-quote { background: var(--navy); border-color: var(--navy); color: var(--brand); }

/* List view (default) */
.products-head { display: none; }
.view-list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.view-list .products-head, .view-list .prod { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(150px, 210px) auto; gap: 18px; align-items: center; padding: 12px 16px; }
.view-list .products-head { padding-top: 10px; padding-bottom: 10px; background: var(--navy); color: #c6d0dc; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.view-list .products-head span:last-child { text-align: right; padding-right: 4px; }
.view-list .prod { border-top: 1px solid var(--line-soft); transition: background .12s; }
.view-list .prod:nth-child(odd) { background: #fbfcfd; }
.view-list .prod:hover { background: var(--brand-tint); }
.view-list .prod-media { width: 76px; height: 76px; background: var(--white); border: 1px solid var(--line-soft); }
.view-list .prod-cat { display: none; }
.view-list .prod-desc { display: none; }

/* Tile view */
.view-tile { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.view-tile .prod { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .15s, box-shadow .15s; }
.view-tile .prod:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.view-tile .prod-media { aspect-ratio: 1; margin-bottom: 12px; }
.view-tile .prod-main { flex: 1; }
.view-tile .prod-fits span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.view-tile .prod-desc { display: none; }
.view-tile .prod-codes { margin: 10px 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.view-tile .prod-codes .oem { display: none; }
.view-tile .prod-actions .qty { display: none; }
.view-tile .btn-quote { width: 100%; }

.empty-state { text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state .icon { color: var(--brand-dark); margin-bottom: 8px; }
.empty-state p { max-width: 560px; margin-left: auto; margin-right: auto; }
.empty-state .btn { margin: 4px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination .page, .pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 700; }
.pagination a:hover { border-color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .gap, .pagination .dots { border: 0; }
.term-content { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Single product
   ========================================================================== */
.section--product { padding-top: 32px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.gallery { position: sticky; top: 150px; }
.gallery-main { display: grid; place-items: center; aspect-ratio: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.no-image--lg { aspect-ratio: 1; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 4px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.key-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.key-codes div { padding: 12px 16px; border-right: 1px solid var(--line); }
.key-codes div:last-child { border-right: 0; }
.key-codes dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.key-codes dd { margin: 2px 0 0; font-weight: 600; }
.key-codes dd.code { font-family: var(--font-code); font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; line-height: 1.1; }
.fits-box { padding: 16px 18px; background: var(--tint); border-radius: var(--radius-lg); margin-bottom: 20px; }
.fits-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.fits-title .icon { color: var(--brand-dark); }
.fits-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.fits-list li { padding: 4px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-size: .92rem; font-weight: 600; }
.fits-note { margin: 0; font-size: .86rem; color: var(--muted); }
.buy-box { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-box .btn-quote { flex: 1; min-width: 220px; min-height: 54px; font-size: 1.25rem; }
.buy-note { display: block; margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.buy-note .icon { margin: -3px 4px 0 0; color: var(--brand-dark); }
.help-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.help-line a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.help-line a:hover { color: var(--brand-ink); }
.help-line .icon { color: var(--brand-dark); }
.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.detail-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.detail-block h2 { font-size: 1.4rem; }
.detail-block--wide { grid-column: 1 / -1; }
.code-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.code-chips a { display: inline-block; padding: 6px 12px; background: var(--tint); border-radius: 4px; color: var(--navy); text-decoration: none; font-family: var(--font-code); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; }
.code-chips a:hover { background: var(--brand); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: .96rem; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; padding-right: 12px; }
.products--static.view-tile { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ==========================================================================
   Quote page & forms
   ========================================================================== */
.section--quote { background: var(--tint); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.quote-form-wrap { position: sticky; top: 150px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; font-size: 1.6rem; }
.qrow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.qrow:first-child { border-top: 0; }
.qrow-img { width: 56px; height: 56px; display: grid; place-items: center; background: var(--tint); border-radius: var(--radius); overflow: hidden; color: var(--brand-dark); }
.qrow-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.qrow-main { min-width: 0; display: flex; flex-direction: column; }
.qrow-name { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3; }
a.qrow-name:hover { text-decoration: underline; }
.qrow-sku { font-family: var(--font-code); font-weight: 700; color: var(--brand-ink); letter-spacing: .04em; }
.qrow-remove { color: var(--muted); }
.qrow-remove:hover { color: var(--danger); background: #fdeceb; }
.quote-empty { text-align: center; padding: 24px 12px; color: var(--muted); }
.quote-empty .icon { color: var(--brand-dark); margin-bottom: 6px; }
.quote-continue { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.manual-add { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 10px; align-items: end; }
.manual-add .btn { min-height: 48px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; margin-bottom: 5px; font-weight: 600; font-size: .94rem; color: var(--navy); }
.field em { color: var(--danger); font-style: normal; }
.field textarea { min-height: 110px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fff8f7; }
.field--radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.field--radios legend { width: 100%; }
.field--radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.field--radios input, .check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--navy); }
.vehicle-details { margin: 4px 0 14px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 0 14px; }
.vehicle-details summary { padding: 12px 0; cursor: pointer; font-weight: 600; color: var(--brand-ink); }
.vehicle-details[open] summary { margin-bottom: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; flex: none; }
.check.has-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 10px 14px; background: #fdeceb; color: var(--danger); border-radius: var(--radius); font-weight: 600; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: .88rem; color: var(--muted); text-align: center; flex-wrap: wrap; }
.quote-success { text-align: center; padding: 40px 28px; }
.quote-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: var(--navy); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.contact-cards li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-cards h2 { font-size: 1.1rem; letter-spacing: .08em; margin: 0 0 4px; }
.contact-cards a, .contact-cards p { color: var(--ink); text-decoration: none; font-weight: 600; margin: 0; word-break: break-word; }
.contact-cards a:hover { color: var(--brand-ink); }
.cc-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--tint); margin-bottom: 20px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Catalogues
   ========================================================================== */
.cat-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.book { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); }
.section--dark .book { border-color: transparent; }
.book-cover { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--navy-3); overflow: hidden; }
.book-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.book-cover:hover > img { transform: scale(1.03); }
.book-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 24px 24px 56px; background: linear-gradient(160deg, var(--navy-3), var(--navy)); text-align: center; }
.book-logo { width: 62%; height: auto; }
.book-ph-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--white); line-height: 1.05; }
.book-placeholder .stripes { position: absolute; left: 0; bottom: 18px; width: 75%; }
.book-badge { position: absolute; top: 12px; right: 12px; padding: 3px 8px; background: var(--brand); color: var(--navy); border-radius: 3px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; }
.book-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.book-body h3 { margin-bottom: 6px; color: var(--navy) !important; }
.book-body p { font-size: .94rem; color: var(--muted); }
.book-meta { font-size: .82rem !important; margin-top: auto; }
.book-actions { display: flex; gap: 8px; }
.book-actions .btn { flex: 1; }
.pdf-modal { width: min(1100px, 96vw); height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.pdf-modal::backdrop { background: rgba(7, 12, 21, .75); }
.pdf-modal[open] { display: flex; flex-direction: column; }
.pdf-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; background: var(--navy); color: var(--white); }
.pdf-modal-bar > div { display: flex; align-items: center; gap: 6px; }
.pdf-modal iframe { flex: 1; width: 100%; border: 0; background: #525659; }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Articles
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-media { display: block; aspect-ratio: 3 / 2; background: var(--navy); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { position: relative; display: grid; place-items: center; height: 100%; color: var(--brand); }
.post-card-ph .stripes { position: absolute; left: 0; bottom: 20px; width: 60%; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post-card-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.post-card-body h3 a { color: var(--navy); text-decoration: none; }
.post-card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card-body p { color: var(--muted); font-size: .96rem; }
.post-card-body .link-arrow { margin-top: auto; font-size: .98rem; }
.term-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.term-pills a { padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 20px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; }
.term-pills a.is-active, .term-pills a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.page-head--article { padding-bottom: 72px; }
.article-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.article-head > * { min-width: 0; }
.article-head-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-meta { display: flex; gap: 18px; font-size: .9rem; color: #8f9bb0; }
.article-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.article-aside { position: sticky; top: 150px; display: grid; gap: 18px; }
.aside-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.aside-card h2 { font-size: 1.35rem; }
.aside-finder { display: grid; gap: 10px; }
.aside-card--dark { background: var(--navy); border-color: var(--navy); color: #c6d0dc; }
.aside-card--dark h2 { color: var(--white); }
.aside-phone { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.section--parts { scroll-margin-top: 140px; }
.landing-products { margin: 0; }
.landing-more { text-align: center; margin: 28px 0 0; }

/* Article / page content */
.entry-content { font-size: 1.07rem; }
.entry-content > * { max-width: 760px; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.entry-content h3 { margin-top: 1.4em; font-size: 1.45rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--brand-dark); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); font-size: 1.15rem; color: var(--navy); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--navy); color: var(--white); font-weight: 600; }
.entry-content .alignwide, .entry-content .landing-products { max-width: none; }
.entry-content .wp-block-button__link { background: var(--brand); color: var(--navy); border-radius: var(--radius); font-weight: 700; }
.entry-content .has-brand-background-color { background-color: var(--brand); }
.entry-content .has-navy-background-color { background-color: var(--navy); }
.entry-content .has-brand-color { color: var(--brand-ink); }
.entry-content .has-navy-color { color: var(--navy); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.header-inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; }
	.nav-toggle { display: inline-grid; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(360px, 88vw); padding: 80px 20px 24px;
		background: var(--navy); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: var(--shadow-lg);
	}
	.main-nav::before { display: none; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open::after { content: ''; position: fixed; inset: 0; z-index: 140; background: rgba(7, 12, 21, .6); }
	.nav-open .site-header { z-index: 170; }
	.admin-bar.nav-open .nav-toggle { top: 48px; }
	.admin-bar .main-nav { padding-top: 112px; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle { position: fixed; top: 16px; right: 16px; z-index: 160; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid #1d2a40; }
	.main-nav .menu > li > a { flex: 1; padding: 14px 0; font-size: 1.25rem; }
	.sub-toggle { margin: 0; padding: 12px; }
	.main-nav .sub-menu, .main-nav .sub-menu.mega {
		position: static; display: none; width: 100%; min-width: 0; grid-template-columns: 1fr; padding: 0 0 12px;
		opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border: 0;
	}
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { color: #c6d0dc; padding: 8px 12px; }
	.main-nav .sub-menu a:hover { background: var(--navy-3); color: var(--white); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.admin-bar.nav-open .nav-toggle { top: 62px; }
	.admin-bar .main-nav { padding-top: 126px; }
}

@media (max-width: 1000px) {
	.shop-layout { grid-template-columns: 1fr; padding-top: 20px; }
	.shop-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 160; max-height: 80vh; padding: 20px var(--gutter); background: var(--white); border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); transform: translateY(105%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.shop-filters.is-open { transform: none; visibility: visible; }
	.filters-toggle { display: inline-flex; }
	.finder--inline { grid-template-columns: 1fr 1fr; }
	.finder--inline .finder-search { grid-column: 1 / -1; }
	.finder--inline .btn { grid-column: 1 / -1; }
	.product-layout, .quote-layout, .contact-layout, .about, .article-head, .article-layout { grid-template-columns: 1fr; }
	.gallery, .quote-form-wrap, .article-aside { position: static; }
	.product-details { grid-template-columns: 1fr; }
	.finder-panel--vehicle { grid-template-columns: 1fr 1fr; }
	.finder-panel--vehicle .btn { grid-column: 1 / -1; }
	.steps { grid-template-columns: 1fr; }
	.hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.stripes--hero { display: none; }
}

@media (max-width: 760px) {
	:root { --header-h: 64px; }
	body { font-size: 16px; }
	.topbar-note, .hide-sm { display: none; }
	.topbar-inner { justify-content: center; }
	.header-inner { grid-template-columns: auto 1fr; grid-template-areas: "brand actions"; column-gap: 8px; }
	.header-search { display: none; }
	.search-toggle { display: inline-grid; }
	.header-actions { justify-self: end; }
	.site-logo { height: 44px; }
	.quote-link { padding: 0 10px; height: 44px; }
	.quote-label { display: none; }
	.view-list .products-head { display: none; }
	.view-list .prod { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 14px; align-items: start; }
	.view-list .prod-media { width: 64px; height: 64px; grid-row: span 2; }
	.view-list .prod-codes { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
	.view-list .prod-actions { grid-column: 1 / -1; }
	.view-list .prod-actions .btn-quote { flex: 1; }
	.view-tile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.view-tile .prod { padding: 10px; }
	.view-tile .btn-quote span { font-size: .9rem; }
	.results-tools { width: 100%; margin: 0; }
	.results-tools .sort { flex: 1; }
	.results-tools .sort select { width: 100%; }
	.view-toggle span { display: none; }
	.finder-tabs button { font-size: .95rem; padding: 14px 8px; }
	.finder-panel { grid-template-columns: 1fr; padding: 16px; }
	.finder-panel--vehicle { grid-template-columns: 1fr; }
	.form-grid, .contact-cards { grid-template-columns: 1fr; }
	.qrow { grid-template-columns: 48px minmax(0, 1fr) auto; }
	.qrow-img { width: 48px; height: 48px; }
	.qrow .qty { grid-column: 2; justify-self: start; }
	.qrow-remove { grid-column: 3; grid-row: 1 / span 2; }
	.manual-add { grid-template-columns: 1fr 80px; }
	.manual-add .btn { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.key-codes div { border-right: 0; border-bottom: 1px solid var(--line); }
	.panel { padding: 18px; }
	.stripes--head { width: 60vw; bottom: 16px; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toast span { white-space: normal; }
}

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

@media print {
	.topbar, .site-header, .cta-band, .site-footer, .shop-filters, .results-tools, .prod-actions, .wa-float { display: none !important; }
}

/* ==========================================================================
   Part-type tiles (home)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

.section--parts-wall { background: var(--navy-2); color: #c6d0dc; overflow: hidden; border-top: 1px solid #1d2a40; }
.section--parts-wall h2 { color: var(--white); }
.part-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.part-tile {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 178px; padding: 20px;
	background: linear-gradient(155deg, #17253d 0%, #0f1a2b 70%); border: 1px solid #22314a; border-radius: 12px;
	color: var(--white); text-decoration: none; overflow: hidden; isolation: isolate;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s, opacity .5s;
}
.part-tile::before {
	content: ''; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
	background: radial-gradient(circle, rgba(67, 198, 233, .22), transparent 70%); transition: transform .5s, opacity .5s; opacity: .6;
}
.part-tile:hover, .part-tile:focus-visible { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); color: var(--white); }
.part-tile:hover::before { transform: scale(1.4); opacity: 1; }
.pt-art { color: var(--brand); }
.pt-icon { width: 58px; height: 58px; transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.part-tile--big .pt-icon { width: clamp(110px, 12vw, 170px); height: auto; aspect-ratio: 1; stroke-width: 1.4; }
.part-tile:hover .pt-icon { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 0 10px rgba(67, 198, 233, .55)); }
.pt-icon .spin { animation: spin 9s linear infinite; }
.part-tile:hover .pt-icon .spin { animation-duration: .9s; }
.pt-icon .needle { transform-origin: center; animation: needle 3s ease-in-out infinite; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { 50% { transform: rotate(25deg); } }
.pt-text { display: flex; flex-direction: column; min-width: 0; }
.pt-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.45vw, 1.35rem); overflow-wrap: normal; hyphens: manual; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.part-tile--big .pt-name { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.pt-count { font-size: .88rem; color: #8f9bb0; margin-top: 4px; }
.pt-go { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #2b3b56; color: var(--brand); transition: transform .3s, background .3s, color .3s; }
.part-tile:hover .pt-go { background: var(--brand); color: var(--navy); transform: translateX(4px); }
/* Cool-air lines drifting across each tile */
.pt-air { position: absolute; top: 22px; right: 0; width: 60%; z-index: -1; pointer-events: none; }
.pt-air i { display: block; height: 3px; margin-bottom: 7px; background: linear-gradient(90deg, transparent, rgba(67, 198, 233, .35)); border-radius: 2px; animation: air 4.5s linear infinite; }
.pt-air i:nth-child(2) { width: 70%; margin-left: auto; animation-delay: -1.5s; }
.pt-air i:nth-child(3) { width: 45%; margin-left: auto; animation-delay: -3s; }
.part-tile:hover .pt-air i { animation-duration: 1.2s; background: linear-gradient(90deg, transparent, rgba(67, 198, 233, .7)); }
@keyframes air { from { transform: translateX(60%); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(-120%); opacity: 0; } }
/* Staggered entrance when the grid scrolls into view (JS adds .in-view; without JS tiles simply show) */
.js .part-tiles:not(.in-view) .part-tile, .js .make-cards:not(.in-view) > li { opacity: 0; transform: translateY(18px); }
.part-tiles.in-view .part-tile { transition-delay: calc(min(var(--i), 12) * 45ms), 0s, 0s, calc(min(var(--i), 12) * 45ms); }
.part-tiles.in-view .part-tile:hover { transition-delay: 0s; }

/* ==========================================================================
   Vehicle chooser ("garage") on part-type pages
   ========================================================================== */
.garage { position: relative; background: var(--navy); color: #c6d0dc; padding: 34px 0 64px; overflow: hidden; }
.garage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(67, 198, 233, .06)); pointer-events: none; }
.garage-head { display: flex; align-items: center; gap: 22px; margin-bottom: 8px; }
.garage-head h1 { color: var(--white); margin-bottom: .15em; }
.garage-head .page-intro { margin: 0; }
.garage-icon { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(67, 198, 233, .22), rgba(67, 198, 233, .04)); border: 1px solid #2b3b56; color: var(--brand); }
.garage-icon .pt-icon { width: 54px; height: 54px; }
.garage-icon .spin { animation: spin 6s linear infinite; }
.garage-desc { margin-top: 12px; }
.make-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.make-cards > li { transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(min(var(--i), 12) * 50ms); }
.make-card { display: block; height: 100%; background: #111b2c; border: 1px solid #22314a; border-radius: 12px; overflow: hidden; color: var(--white); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s; }
.make-card:hover, .make-card:focus-visible { border-color: var(--brand); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); color: var(--white); transform: translateY(-3px); }
.make-stage { position: relative; display: block; height: 138px; overflow: hidden;
	background: radial-gradient(120% 90% at 50% 0%, #1c2c46 0%, #111b2c 70%); }
.make-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: repeating-linear-gradient(90deg, #2b3b56 0 18px, transparent 18px 34px); }
.make-card:hover .make-stage::after, .make-card.is-driving .make-stage::after { animation: road .5s linear infinite; }
@keyframes road { to { background-position: -34px 0; } }
.make-car { position: absolute; left: 50%; bottom: 10px; width: 84%; max-width: 230px; transform: translateX(-50%); transition: transform .35s; }
.make-card:hover .make-car { transform: translateX(-50%) translateY(-2px); }
.make-car img { width: 100%; height: 112px; object-fit: contain; }
.car { display: block; width: 100%; height: auto; overflow: visible; }
.car .body { fill: var(--car, #dfe6ef); }
.car .glass { fill: #0d1726; opacity: .88; }
.car .lamp { stroke: #ffd166; stroke-width: 5; stroke-linecap: round; }
.car .trim { stroke: rgba(12, 19, 32, .25); stroke-width: 2; }
.car .shadow { fill: rgba(0, 0, 0, .45); }
.car .tyre { fill: #05080e; }
.car .rim { fill: #9aa7b3; }
.car .spoke { stroke: #4a5a74; stroke-width: 3; stroke-linecap: round; }
.car .hub { fill: #1c2a41; }
.car .wheel { transform-box: view-box; }
.make-card:hover .car .wheel { animation: roll 1.6s linear infinite; }
@keyframes roll { to { transform: rotate(-360deg); } }
.make-cards > li:nth-child(5n+1) .make-card { --car: #43c6e9; }
.make-cards > li:nth-child(5n+2) .make-card { --car: #e6ecf2; }
.make-cards > li:nth-child(5n+3) .make-card { --car: #9fb0c3; }
.make-cards > li:nth-child(5n+4) .make-card { --car: #ffffff; }
.make-cards > li:nth-child(5n+5) .make-card { --car: #7fd9f1; }
.all-vehicles { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 14px; color: var(--brand); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.all-vehicles .icon { animation: spin 8s linear infinite; }
.speed-lines { position: absolute; top: 46px; right: -10%; width: 60%; opacity: 0; transition: opacity .2s; }
.speed-lines i { display: block; height: 4px; margin-bottom: 9px; background: var(--brand); border-radius: 2px; }
.speed-lines i:nth-child(2) { width: 75%; margin-left: 25%; }
.speed-lines i:nth-child(3) { width: 50%; margin-left: 50%; }
.make-card-label { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid #1d2a40; }
.make-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; }
.make-card-count { font-size: .88rem; color: #8f9bb0; white-space: nowrap; padding-top: 4px; }

/* Drive-off when a make is chosen */
.make-card.is-driving { border-color: var(--brand); }
.make-card.is-driving .make-car { animation: drive-off .8s cubic-bezier(.55, 0, .85, .35) forwards; }
.make-card.is-driving .car .wheel { animation: roll .28s linear infinite; }
.make-card.is-driving .speed-lines { opacity: 1; animation: speed .8s ease-in forwards; }
@keyframes drive-off {
	0% { transform: translateX(-50%); }
	14% { transform: translateX(-44%) translateY(-1px) rotate(1deg); }
	100% { transform: translateX(-340%) rotate(0); }
}
@keyframes speed { from { transform: translateX(40%); } to { transform: translateX(-160%); } }
.garage-all { margin: 32px 0 0; text-align: center; }
.all-parts { animation: rise .4s ease-out; }

/* Arriving on the filtered list after choosing a vehicle */
.change-vehicle { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 14px; border-radius: 22px; background: var(--brand-tint); color: var(--navy); font-weight: 700; text-decoration: none; font-size: .95rem; }
.change-vehicle:hover { background: var(--navy); color: var(--white); }
.arrive .shop-results, .arrive .page-head h1 { animation: arrive .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes arrive { from { transform: translateX(70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 760px) {
	.part-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.part-tile { min-height: 150px; padding: 16px; }
	.part-tile--big { grid-row: span 1; }
	.part-tile--big .pt-icon { width: 72px; height: 72px; }
	.pt-icon { width: 46px; height: 46px; }
	.pt-name { font-size: 1.05rem; letter-spacing: .01em; }
	.pt-text { padding-right: 0; }
	.pt-go { display: none; }
	.garage-head { align-items: flex-start; gap: 14px; }
	.garage-icon { width: 64px; height: 64px; }
	.garage-icon .pt-icon { width: 38px; height: 38px; }
	.make-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.make-stage { height: 100px; }
	.make-car img { height: 80px; }
	.make-card-label { flex-direction: column; gap: 0; padding: 10px 12px 12px; }
	.make-card-name { font-size: 1.15rem; }
}

/* Product blocks placed inside article content keep their own type styles */
.entry-content .prod-title { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.entry-content .landing-products { margin: 2em 0; }
.entry-content .landing-products .section-head h2 { margin: 0; }

/* OEM numbers sit directly under the part number on the product page */
.key-codes { margin-bottom: 0; }
.oem-refs { margin: 0 0 18px; padding: 12px 16px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.key-codes:has(+ .oem-refs) { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.oem-refs-title { margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.oem-refs .code-chips a { font-size: 1rem; padding: 4px 10px; }
.key-codes + :not(.oem-refs) { margin-top: 18px; }

/* ==========================================================================
   About us
   ========================================================================== */
.ab-hero { position: relative; background: var(--navy); color: #c6d0dc; padding: 34px 0 88px; overflow: hidden; }
.ab-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ab-giant {
	position: absolute; right: -2vw; bottom: -6vw; font-family: var(--font-display); font-weight: 700; line-height: .8;
	font-size: clamp(9rem, 30vw, 30rem); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px rgba(67, 198, 233, .16);
	animation: ab-drift 14s ease-in-out infinite alternate;
}
@keyframes ab-drift { to { transform: translateX(-4vw); } }
.ab-hero-inner { position: relative; }
.ab-title { display: flex; flex-direction: column; margin: .1em 0 .4em; color: var(--white); font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: .9; }
.ab-title span { display: block; animation: ab-in .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.ab-title span:nth-child(2) { animation-delay: .12s; }
.ab-title span:nth-child(3) { animation-delay: .24s; }
.ab-accent { color: var(--brand); }
@keyframes ab-in { from { opacity: 0; transform: translateY(24px); } }
.ab-lead { max-width: 640px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #c6d0dc; }
.ab-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stripes--ab { position: absolute; left: 0; bottom: 26px; width: min(46vw, 560px); }
.stripes--ab span { height: 8px; }
.stripes--ab span + span { margin-top: 6px; }
.stripes--ab span:nth-child(2) { width: 78%; }
.stripes--ab span:nth-child(3) { width: 52%; }

.ab-marquee { background: var(--brand); color: var(--navy); overflow: hidden; border-block: 3px solid var(--navy); }
.ab-marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ab-marquee-set { display: flex; align-items: center; }
.ab-marquee span { padding: 14px 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ab-marquee i { width: 10px; height: 10px; background: var(--navy); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.ab-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.ab-story-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); position: sticky; top: 150px; }
.ab-big { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; color: var(--navy); font-weight: 600; }

.ab-numbers { background: var(--navy); }
.ab-numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ab-numbers-grid > div { display: flex; flex-direction: column; padding: 34px 24px; border-left: 1px solid #22314a; }
.ab-numbers-grid > div:first-child { border-left: 0; padding-left: 0; }
.ab-numbers strong { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; color: var(--brand); }
.ab-numbers span { color: #9fadbf; margin-top: 6px; }

.ab-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-value { position: relative; padding: 30px 26px; border: 2px solid var(--navy); border-radius: var(--radius-lg); background: var(--white); transition: transform .25s, box-shadow .25s; }
.ab-value::after { content: ''; position: absolute; left: 26px; right: 26px; bottom: -2px; height: 4px; background: var(--brand); transform: scaleX(.25); transform-origin: left; transition: transform .35s; }
.ab-value:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--brand); }
.ab-value:hover::after { transform: scaleX(1); }
.ab-value-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: var(--brand); }
.ab-value h3 { font-size: 1.6rem; }
.ab-value p { margin: 0; color: var(--muted); }

.ab-who { background: var(--navy-2); color: #c6d0dc; }
.ab-who h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); }
.ab-who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ab-who-list { margin: 0; padding: 0; list-style: none; }
.ab-who-list li { padding: 20px 0; border-bottom: 1px solid #22314a; }
.ab-who-list li:first-child { border-top: 1px solid #22314a; }
.ab-who-list span { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--white); letter-spacing: .03em; }

.ab-visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ab-address { font-size: 1.15rem; }
.ab-visit-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-quote { margin: 0; padding: 36px; background: var(--brand); border-radius: var(--radius-lg); color: var(--navy); }
.ab-quote p { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.ab-quote cite { font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }

@media (max-width: 1000px) {
	.ab-story-grid, .ab-who-grid, .ab-visit-grid { grid-template-columns: 1fr; }
	.ab-story-head h2 { position: static; }
	.ab-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.ab-numbers-grid { grid-template-columns: 1fr 1fr; }
	.ab-numbers-grid > div { padding: 22px 12px; border-left: 0; border-top: 1px solid #22314a; }
	.ab-numbers-grid > div:first-child { padding-left: 12px; }
	.ab-marquee span { font-size: 1.15rem; padding: 10px 14px; }
}
.car .arm { stroke: var(--car, #dfe6ef); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }

/* WhatsApp contact */
.help-line .help-wa .icon, .aside-wa .icon { color: #25d366; }
.aside-wa { margin-top: -6px; }

/* Contact page: WhatsApp team and trading hours */
.wa-team, .hours-card { margin: 0 0 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.wa-team h2, .hours-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.35rem; letter-spacing: .04em; }
.wa-team h2 .icon { color: #25d366; }
.hours-card h2 .icon { color: var(--brand-dark); }
.wa-team ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wa-team a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--radius); background: var(--tint); color: var(--ink); text-decoration: none; border-left: 4px solid #25d366; transition: background .15s; }
.wa-team a:hover { background: #e3f8eb; color: var(--navy); }
.wa-who { font-weight: 700; color: var(--navy); }
.wa-branch { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 10px; background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.wa-num { font-variant-numeric: tabular-nums; color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: .98rem; }
.hours-table th { font-weight: 600; color: var(--navy); }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-closed td { color: var(--muted); }
.hours-table .is-today th, .hours-table .is-today td { color: var(--brand-ink); font-weight: 700; }
.today-pill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: var(--brand); color: var(--navy); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 760px) { .wa-team ul { grid-template-columns: 1fr; } }
.contact-cards li:nth-child(3):last-child { grid-column: 1 / -1; }
.contact-cards a, .contact-cards p { font-size: .95rem; word-break: normal; overflow-wrap: normal; }
.contact-cards li { padding: 18px 16px; gap: 12px; }
.contact-cards li > div { min-width: 0; }

/* Product page: image + collapsible description on the left, all details on the right */
.product-media-col { position: sticky; top: 150px; display: grid; gap: 16px; align-self: start; }
.product-media-col .gallery { position: static; }
.desc-box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.desc-box summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.desc-box summary::-webkit-details-marker { display: none; }
.desc-box summary:hover { background: var(--tint); }
.desc-box summary .icon { color: var(--brand-dark); transition: transform .25s; }
.desc-box[open] summary { border-bottom: 1px solid var(--line); }
.desc-box[open] summary .icon { transform: rotate(180deg); }
.desc-body { padding: 16px 20px 4px; font-size: 1rem; }
.info-block { margin: 0 0 18px; padding: 16px 18px 6px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-title { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: .04em; }
.specs-block .spec-table th, .specs-block .spec-table td { padding: 8px 0; font-size: .94rem; }
.specs-block .spec-table tr:last-child th, .specs-block .spec-table tr:last-child td { border-bottom: 0; }
@media (max-width: 1000px) { .product-media-col { position: static; } }
@media (max-width: 1000px) {
	.product-media-col { display: contents; }
	.product-layout .gallery { order: 1; }
	.product-layout .product-info { order: 2; }
	.product-layout .desc-box { order: 3; }
}

/* Home make grid: keep every tile on one line and the same height */
.make-grid a { flex-wrap: nowrap; align-items: center; }
.make-grid .make-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.make-grid .make-count { flex: none; }
.make-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.make-grid a { gap: 10px; padding: 14px 14px 14px 16px; }
.make-grid .make-name { font-size: 1.15rem; }
@media (max-width: 760px) {
	.make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.make-grid a { flex-direction: column; align-items: flex-start; gap: 2px; }
	.make-grid .make-name { max-width: 100%; }
}
.make-grid li { container-type: inline-size; }
.make-grid .make-name { font-size: clamp(.9rem, 7.4cqi, 1.15rem); }
@media (max-width: 760px) { .make-grid .make-name { font-size: 1.1rem; } }

/* VIN lookup */
.vin-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--navy); color: #c6d0dc; }
.vin-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(67, 198, 233, .15); color: var(--brand); }
.vin-text p { margin: 0; }
.vin-code { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8f9bb0; }
.vin-code span { font-family: var(--font-code); font-size: 1rem; letter-spacing: .08em; color: var(--brand); margin-left: 6px; }
.vin-vehicle { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; color: var(--white); margin: 2px 0 4px !important; }
.vin-note { font-size: .92rem; }
.vin-banner--unknown .vin-icon { background: rgba(255, 209, 102, .15); color: #ffd166; }
.vin-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.vin-models-label { font-weight: 700; color: var(--navy); margin-right: 4px; }
.vin-models .chip.is-active { background: var(--navy); color: var(--white); }
.ls-vin { gap: 12px; background: var(--navy); color: var(--white) !important; }
.ls-vin:hover, .ls-vin.is-active { background: var(--navy-3) !important; }
.ls-vin .ls-name { color: var(--white); }
.ls-vin .ls-meta { color: var(--brand); }
.ls-vin .icon { margin-left: auto; color: var(--brand); }
.ls-vin-tag { flex: none; padding: 4px 8px; border-radius: 4px; background: var(--brand); color: var(--navy); font-weight: 700; font-size: .78rem; letter-spacing: .08em; }
@media (max-width: 760px) {
	.vin-banner { grid-template-columns: auto minmax(0, 1fr); }
	.vin-cta { grid-column: 1 / -1; }
	.vin-code span { display: block; margin: 2px 0 0; overflow-wrap: anywhere; }
}

/* Contact page: building photo (Contact page featured image) */
.building-photo { position: relative; margin: 0 0 20px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.building-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.building-photo figcaption {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
	padding: 12px 18px; color: var(--white); font-size: .95rem; background: var(--navy);
}
.building-photo .bp-text { display: inline-flex; align-items: center; gap: 6px; }
.building-photo .bp-text .icon { color: var(--brand); flex: none; }
.building-photo .bp-link { color: var(--brand); font-weight: 700; text-decoration: none; white-space: nowrap; }
.building-photo .bp-link:hover { text-decoration: underline; }

/* VIN results: compressor / condenser / evaporator sections */
.vin-results { padding-top: 24px; padding-bottom: 48px; }
.vin-group { margin-top: 28px; }
.vin-group-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); font-size: 1.6rem; color: var(--navy); }
.vin-group-title svg { width: 40px; height: 40px; flex: none; color: var(--brand-dark); }
.vin-group-sub { margin: 14px 0 8px; font-size: .92rem; font-weight: 700; color: var(--muted); }
.vin-none { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--tint); }
.vin-none p { margin: 0; color: var(--muted); }

/* Linked parts ("Parts that go with this compressor") */
.linked-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.linked-note { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.linked-group { margin-top: 22px; }
.linked-type { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.3rem; color: var(--navy); }
.linked-type svg { width: 32px; height: 32px; flex: none; color: var(--brand-dark); }
