/* ------------------------------------------------------------------
   WordPress layer on top of the static design system (site.css).
   Only rules the static pages never needed: dynamic archives, series
   detail, used-unit detail, compare table, pagination, WP chrome.
   ------------------------------------------------------------------ */

body.admin-bar .site-header { top: 32px; }
body.admin-bar .filters { top: 124px; }

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

.muted { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section__head h2 { margin-top: 12px; }
.section--soft { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.link-arrow { font-size: 13px; font-weight: 650; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--accent); }

.btn--block { width: 100%; justify-content: center; }

/* ---------------- breadcrumb ---------------- */
.breadcrumb {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	padding-top: 20px; padding-bottom: 4px;
	font-size: 12.5px; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line-strong); }
.breadcrumb b { color: var(--ink); font-weight: 600; }

/* ---------------- page head variants ---------------- */
.page-head__brand { display: flex; align-items: center; gap: 22px; }
.page-head__logo {
	flex: none; width: 92px; height: 92px; border: 1px solid var(--line);
	border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 14px;
}
.page-head__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------------- catalog filter rail (same structure as the static build) ---------------- */
/* The rail itself is styled by site.css (.catalog / .filters / .filter-block); only the
   form controls WordPress needs on top are declared here. */
.filters .filter-block h4 {
	font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 10px;
}
.filters .filter-search,
.filters .field-select {
	width: 100%; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px;
	padding: 0 10px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); outline: none;
}
.filters .filter-search:focus, .filters .field-select:focus { border-color: var(--ink); }
.filters .price-row .filter-search,
.filters .price-row .field-select { min-width: 0; }
.filters .checklist input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--accent); flex: none; }
.filters .btn--block { justify-content: center; }

/* Facet pills are <label><input type=checkbox>… so the whole chip is clickable. */
.pill { display: inline-flex; align-items: center; cursor: pointer; font-family: inherit; text-decoration: none; }
.pill input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.active-filters .pill { font-size: 11.5px; padding: 4px 9px; }
.active-filters .pill:hover { border-color: var(--accent); color: var(--accent); }

.filters__count { margin-left: auto; padding-bottom: 10px; font-size: 13px; color: var(--muted); }
.filters__reset { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.filters__reset:hover { color: var(--ink); }

/* The rail collapses into a drawer below 1080px (see site.css); give it a way out. */
.filters-head { display: none; }
.filters-close {
	width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%;
	background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.filters-close:hover { border-color: var(--ink); }
@media (max-width: 1080px) {
	.filters-head {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 2; margin: -22px -22px 4px;
		padding: 12px 22px; background: var(--paper); border-bottom: 1px solid var(--line);
	}
	.filters-head b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
	.filters .filter-block:last-child .btn { margin-bottom: 12px; }
}

.inq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- home hero media ---------------- */
.hero__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.hero__media img.hero__photo { width: 100%; height: auto; display: block; }
.hero__badge {
	position: absolute; left: 14px; bottom: 14px;
	display: flex; flex-direction: column; gap: 2px;
	padding: 10px 14px; border-radius: 10px;
	background: rgba(11, 12, 14, .8); color: #fff;
	backdrop-filter: blur(6px);
}
.hero__badge span { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #B9BAB4; }
.hero__badge b { font-size: 14px; letter-spacing: -.01em; }
.hero__badge small { font-size: 11.5px; color: #D8D6CE; }

/* ---------------- series hero ---------------- */
.veh-hero { padding: 18px 0 10px; }
.veh-hero__inner {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
	align-items: center; padding-top: 18px;
}
.veh-hero__brand { display: flex; align-items: center; gap: 10px; height: 26px; margin-bottom: 14px; }
.veh-hero__brand img { max-height: 22px; max-width: 64px; object-fit: contain; }
.veh-hero__brand span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.veh-hero h1 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.03em; line-height: 1.02; }
.veh-hero__meta { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.veh-hero .chiprow { margin-top: 12px; }
.veh-price {
	margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line);
	border-radius: 12px; background: var(--paper-2);
	display: flex; flex-direction: column; gap: 3px;
}
.veh-price small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.veh-price b { font-size: 24px; letter-spacing: -.02em; }
.veh-price span { font-size: 12px; color: var(--muted); }
.veh-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.veh-hero__media {
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	background: #fff; aspect-ratio: 3 / 2; display: grid; place-items: center;
}
.veh-hero__media img.veh-hero__photo { width: 100%; height: 100%; object-fit: contain; }
.veh-hero__media .ph { width: 100%; height: 100%; }

/* ---------------- series gallery ---------------- */
.veh-gallery { padding-top: 34px; }
.gal-head { align-items: flex-end; margin-bottom: 14px; }
.galtabs {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.galtab {
	display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent;
	padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
	transition: background .18s, color .18s;
}
.galtab:hover { color: var(--ink); }
.galtab.is-on { background: var(--ink); color: #fff; }
.galtab__n {
	font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px;
	background: rgba(11, 12, 14, .08); line-height: 1.5;
}
.galtab.is-on .galtab__n { background: rgba(255, 255, 255, .2); }

.gal { display: grid; grid-template-columns: 60% minmax(0, 1fr); gap: 14px; }
.gal[data-count="0"] { grid-template-columns: minmax(0, 1fr); }
.gal__stage {
	position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
	border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in;
}
.gal__stageimg { display: block; width: 100%; height: auto; min-height: 220px; object-fit: contain; }
.gal__stage:hover::after, .gal__stage:focus-visible::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: inset 0 0 0 2px var(--ink); transition: box-shadow .2s;
}
.gal__thumbs { position: relative; min-width: 0; min-height: 0; }
.gal__thumbs-in {
	position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: min-content; align-content: start; gap: 10px; overflow-y: auto; padding-right: 2px;
}
.gal[data-count="1"] .gal__thumbs { display: none; }
.gal__thumb {
	position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: 10px;
	overflow: hidden; background: #fff; aspect-ratio: 4 / 3; opacity: .6;
	transition: opacity .18s, box-shadow .18s;
}
.gal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gal__thumb:hover { opacity: .92; }
.gal__thumb.is-on { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.gal__empty {
	grid-column: 1 / -1; padding: 26px; border: 1px dashed var(--line-strong);
	border-radius: 12px; background: #fff; color: var(--muted); font-size: 13.5px;
}

.lightbox {
	position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
	padding: 64px 76px; background: rgba(8, 9, 11, .95);
}
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; object-fit: contain; border-radius: 6px; }
.lightbox__cap { color: #C9C7BE; font-size: 12.5px; }
.lightbox__count {
	position: absolute; top: 22px; left: 26px; color: #C9C7BE;
	font-size: 12px; letter-spacing: .08em;
}
.lightbox__close {
	position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0;
	border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; line-height: 1;
	display: grid; place-items: center; transition: background .18s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
	font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .18s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox.is-single .lightbox__nav { display: none; }
body.is-lb-open { overflow: hidden; }

/* ---------------- series body ---------------- */
.veh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 40px; align-items: start; }
.veh-h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 6px; }
.veh-main > .veh-h2:not(:first-child) { margin-top: 34px; }
.veh-main > .block-head:not(:first-child) { margin-top: 34px; }
.veh-main .block-head { margin-bottom: 4px; }
.veh-main .block-head h2 { margin-bottom: 0; }
.veh-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.side-card {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff; padding: 22px;
}
.side-card h3 { font-size: 19px; margin: 10px 0 8px; }
.side-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
.side-list { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.side-list li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-3); }
.side-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------------- trims ---------------- */
.trim-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.trim { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.trim:hover { border-color: var(--line-strong); }
.trim.is-open { border-color: var(--ink); box-shadow: var(--shadow); }
.trim__head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 16px; }
.trim__name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trim__name b { font-size: 14.5px; letter-spacing: -.01em; }
.trim__name span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trim__price { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trim__actions { display: flex; gap: 8px; }
.trim__panel { display: none; border-top: 1px solid var(--line); background: var(--paper-2); padding: 18px 16px; }
.trim.is-open .trim__panel { display: block; }
.spec-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.spec-legend {
	display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
	margin: 0 0 12px; font-size: 11.5px; color: var(--muted); letter-spacing: .01em;
}
.spec-legend span { display: inline-flex; align-items: center; gap: 5px; }
.spec-legend b { font-size: 13px; color: var(--ink); font-weight: 700; line-height: 1; }
.spec-group h4 {
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 6px; font-weight: 700;
}
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line); }
.spec-table th {
	width: 52%; text-align: left; font-weight: 500; font-size: 12px;
	color: var(--muted); padding: 7px 10px; vertical-align: top;
}
.spec-table td { font-size: 12px; color: var(--ink); padding: 7px 10px; vertical-align: top; }

/* ---------------- used unit detail ---------------- */
.unit { padding: 14px 0 10px; }
.unit__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: start; padding-top: 16px; }
.unit__stage {
	position: relative; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.unit__stage img { width: 100%; height: 100%; object-fit: contain; }
.unit__stage .ph { width: 100%; height: 100%; }
.unit__badge {
	position: absolute; left: 14px; top: 14px; background: var(--accent); color: #fff;
	font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 999px;
}
.unit__code {
	position: absolute; right: 14px; bottom: 14px; background: rgba(11, 12, 14, .75);
	color: #fff; font-size: 11px; letter-spacing: .05em; padding: 5px 9px; border-radius: 6px;
}
.unit__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.unit__thumb { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; padding: 0; aspect-ratio: 4 / 3; }
.unit__thumb img { width: 100%; height: 100%; object-fit: cover; }
.unit__thumb.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.unit h1 { font-size: clamp(26px, 3.1vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin-top: 10px; }
.unit__meta { margin-top: 10px; color: var(--muted); font-size: 13px; }
.unit__price {
	margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line);
	border-radius: 12px; background: var(--paper-2); display: flex; flex-wrap: wrap;
	align-items: baseline; justify-content: space-between; gap: 12px;
}
.unit__price small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.unit__price b { font-size: 30px; letter-spacing: -.03em; }
.unit__price-rmb { text-align: right; }
.unit__price-rmb span { font-size: 13px; font-weight: 600; }
.unit__specs { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.unit__specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.unit__specs dt { font-size: 12px; color: var(--muted); }
.unit__specs dd { font-size: 12.5px; font-weight: 600; text-align: right; }
.unit__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.unit__fine { margin-top: 14px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }

.feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 22px; margin-top: 16px; list-style: none; }
.feat-list li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 2px; transform: rotate(45deg); }

/* ---------------- brands page ---------------- */
.brand-grid--wide { grid-template-columns: repeat(8, 1fr); }
.brand-grid--wide .brand-tile { padding: 12px 8px; }
.brand-grid--wide .brand-tile span:last-child { font-size: 10.5px; }

/* ---------------- pagination ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager__item a, .pager__item span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 10px;
	border: 1px solid var(--line-strong); border-radius: 8px;
	font-size: 13px; color: var(--ink); background: #fff;
}
.pager__item a:hover { border-color: var(--ink); }
.pager__item .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__item .dots { border: 0; background: none; color: var(--muted); }

/* ---------------- compare table ---------------- */
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: top; }
.cmp-table thead th { background: var(--paper-2); border-bottom: 1px solid var(--line-strong); width: 200px; }
.cmp-table thead th:first-child { width: 150px; }
.cmp-table thead th img { width: 100%; height: 92px; object-fit: contain; margin-bottom: 8px; }
.cmp-table thead th a { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.cmp-table thead th small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.cmp-table tbody th { font-weight: 500; color: var(--muted); font-size: 12px; width: 150px; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-remove {
	margin-top: 8px; border: 0; background: none; padding: 0;
	font-size: 11px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}

/* Trim picker above the table */
.compare-picker { margin-bottom: 22px; }
.cmp-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cmp-pick {
	position: relative; display: flex; gap: 12px; align-items: center;
	padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.cmp-pick img { width: 72px; height: 48px; object-fit: contain; flex: 0 0 72px; }
.cmp-pick__body { min-width: 0; flex: 1; }
.cmp-pick__body b { display: block; font-size: 13px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-pick__body small { display: block; font-size: 11px; color: var(--muted); margin: 2px 0 7px; }
.cmp-pick select {
	width: 100%; max-width: 100%; height: 32px; padding: 0 8px; font-size: 12px;
	border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink);
}
.cmp-pick .cmp-remove {
	position: absolute; top: 6px; right: 8px; margin: 0; font-size: 15px; text-decoration: none;
}
.cmp-hint { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .cmp-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cmp-picks { grid-template-columns: 1fr; } }

/* ---------------- bulk quote list ---------------- */
.used-card__acts { display: flex; align-items: center; gap: 12px; }
.quote-btn {
	height: 30px; padding: 0 12px; cursor: pointer;
	border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
	font-size: 11.5px; font-weight: 650; color: var(--ink); white-space: nowrap;
	transition: background .18s, color .18s, border-color .18s;
}
.quote-btn:hover { border-color: var(--ink); }
.quote-btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.quote-fab {
	position: fixed; right: 22px; bottom: 96px; z-index: 91;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--accent); color: #fff; font-size: 13px; font-weight: 650;
	box-shadow: 0 14px 30px -12px rgba(216, 56, 31, .8);
}
.quote-fab[hidden] { display: none; }
.quote-fab__count {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--accent); font-size: 11px; font-weight: 700;
}
.quote-list { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; overflow-x: hidden; margin: 14px 0 18px; }
.quote-row {
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
	padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px;
}
.quote-row__code { font-family: monospace; font-size: 11px; color: var(--muted); flex: 0 0 auto; }
.quote-row__title { flex: 1 1 55%; min-width: 0; overflow-wrap: anywhere; }
.quote-row__price { font-weight: 650; }
.quote-row .cmp-remove { margin: 0; flex: 0 0 auto; }
@media (max-width: 680px) {
	.quote-fab { right: 14px; bottom: 76px; padding: 11px 16px; }
}

/* ---------------- prose (WP content) ---------------- */
.prose { font-size: 14.5px; line-height: 1.7; color: var(--ink-3); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 22px; margin-top: 28px; }
.prose h3 { font-size: 17px; margin-top: 22px; }
.prose ul, .prose ol { padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; font-size: 13px; text-align: left; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--ink-3); }

/* ---------------- insights (blog) ---------------- */
.wrap--narrow { max-width: 840px; }

.topic-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.topic-bar .pill { font-size: 13px; padding: 9px 15px; }
.pill__count { margin-left: 7px; font-size: 11px; color: var(--muted-2); }
.pill.is-on .pill__count { color: rgba(255, 255, 255, .66); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
	display: flex; flex-direction: column; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__mono {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 46px; font-weight: 800; color: var(--line-strong); text-transform: uppercase;
}
.post-card__tag {
	position: absolute; left: 12px; top: 12px; z-index: 2;
	font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink-3); background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
	border-radius: 999px; padding: 4px 9px; backdrop-filter: blur(4px);
}
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 17px 18px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: var(--muted); }
.post-card h3 { font-size: 17px; line-height: 1.34; }
.post-card h3 a:hover { color: var(--accent); }
.post-card__ex { font-size: 13px; line-height: 1.55; color: var(--muted); }

.article__head { padding: 44px 0 28px; border-bottom: 1px solid var(--line); }
.article__head h1 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.article__meta a:hover { color: var(--accent); }
.article__lead { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.article__cover { margin: 34px 0 0; }
.article__cover img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.article .prose { margin-top: 34px; font-size: 15.5px; line-height: 1.78; }
.article .prose h2 { font-size: 24px; }
.article .prose h3 { font-size: 18.5px; }
.article .prose img { border-radius: var(--radius-sm); }

.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__cta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 34px; padding: 26px 28px; background: var(--paper-2);
	border: 1px solid var(--line); border-radius: var(--radius);
}
.article__cta h3 { font-size: 19px; }
.article__cta p { margin-top: 6px; max-width: 520px; font-size: 13.5px; color: var(--muted); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.article__nav-item { display: block; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.article__nav-item span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article__nav-item b { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.article__nav-item:hover { border-color: var(--ink); }
.article__nav-item--next { text-align: right; }

/* ---------------- WP chrome ---------------- */
.edit-link { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--muted); text-decoration: underline; }

/* ---------------- breakpoints ---------------- */
@media (max-width: 1240px) {
	.veh-hero__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
	.veh-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
	.brand-grid--wide { grid-template-columns: repeat(6, 1fr); }
	.filters__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters__actions { height: auto; }
	.feat-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
	.veh-hero__inner { grid-template-columns: 1fr; }
	.veh-hero__media { order: -1; max-width: 640px; }
	.veh-layout { grid-template-columns: 1fr; }
	.veh-side { position: static; }
	.unit__grid { grid-template-columns: 1fr; gap: 26px; }
	.spec-groups { grid-template-columns: 1fr; }
	.brand-grid--wide { grid-template-columns: repeat(4, 1fr); }
	.cmp-table thead th { width: 160px; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
	body.admin-bar .site-header { top: 46px; }
	.breadcrumb { font-size: 11.5px; }
	.page-head__brand { gap: 14px; align-items: flex-start; }
	.page-head__logo { width: 64px; height: 64px; padding: 8px; border-radius: 10px; }
	.filters__row { grid-template-columns: 1fr 1fr; }
	.field--search, .field--price, .filters__actions { grid-column: 1 / -1; }
	.veh-hero h1 { font-size: 30px; }
	.veh-price b { font-size: 21px; }
	.gal-head { flex-direction: column; align-items: stretch; gap: 12px; }
	.galtabs { width: 100%; }
	.galtab { flex: 1; justify-content: center; padding: 8px 10px; font-size: 12.5px; }
	.gal { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.gal__thumbs { min-height: 0; }
	.gal__thumbs-in { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; }
	.galtab { padding: 7px 12px; font-size: 12.5px; }
	.lightbox { padding: 56px 12px 88px; }
	.lightbox__nav { top: auto; bottom: 20px; transform: none; width: 44px; height: 44px; }
	.lightbox__nav--prev { left: calc(50% - 56px); }
	.lightbox__nav--next { right: calc(50% - 56px); }
	.lightbox__img { max-height: calc(100vh - 200px); }
	.trim__head { grid-template-columns: 1fr; gap: 10px; }
	.trim__price { order: 3; }
	.trim__actions { justify-content: flex-start; }
	.unit__thumbs { grid-template-columns: repeat(4, 1fr); }
	.unit__specs { grid-template-columns: 1fr; }
	.unit__price b { font-size: 26px; }
	.feat-list { grid-template-columns: 1fr; }
	.brand-grid--wide { grid-template-columns: repeat(2, 1fr); }
	.section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.post-grid { grid-template-columns: 1fr; gap: 16px; }
	.article__head { padding: 30px 0 22px; }
	.article__cta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
	.article__nav { grid-template-columns: 1fr; }
	.article__nav-item--next { text-align: left; }
	.article .prose { font-size: 15px; }
}

/* ---------- Accounts (sign in / sign up / my account) ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 340px); gap: 56px; align-items: start; }
.auth-wrap--single { grid-template-columns: minmax(0, 720px); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 28px; }
.auth-card--wide { max-width: 720px; }
.auth-form { display: grid; gap: 16px; margin-top: 4px; }
.auth-legend { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6B6A63; font-weight: 600; }
.auth-field { display: grid; gap: 6px; font-size: 13px; color: #4A4943; }
.auth-field > span { font-weight: 600; color: var(--ink); }
.auth-field input {
	width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink);
	background: #fff; border: 1px solid var(--line); border-radius: 10px; outline: none;
}
.auth-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 12, 14, .06); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auth-help { font-size: 12px; color: #77756C; line-height: 1.5; }
.auth-field--file input[type=file] {
	height: auto; padding: 10px 12px; font-size: 12.5px; background: var(--paper-2, #EFEEE7);
	border-style: dashed; cursor: pointer;
}
.auth-form--inline { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 0; }
.auth-form--inline .auth-field { flex: 1 1 260px; }
.auth-panel + .auth-panel, .acct-panel + .acct-panel { margin-top: 18px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: #4A4943; }
.auth-link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(216, 56, 31, .3); }
.auth-link:hover { border-bottom-color: var(--accent); }
.auth-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; border: 1px solid; }
.auth-notice--err { background: #FDF1EE; border-color: #F3C7BD; color: #8A2413; }
.auth-notice--ok { background: #F1F7F0; border-color: #CBE0C6; color: #2C5B2B; }
.auth-foot { margin: 18px 0 0; font-size: 13.5px; color: #4A4943; }
.auth-terms { margin: 0; font-size: 12px; color: #77756C; line-height: 1.5; }
.auth-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.auth-role { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--paper-2, #EFEEE7); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #4A4943; }

.role-cards { display: grid; gap: 10px; }
.role-card { display: block; cursor: pointer; }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card__body {
	display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
	background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.role-card input:checked + .role-card__body { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 12, 14, .06); }
.role-card__body b { font-size: 14px; color: var(--ink); }
.role-card__note { font-size: 12.5px; line-height: 1.45; color: #6B6A63; }
.auth-extra { display: grid; gap: 16px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: #FAF9F5; }
.auth-extra[hidden] { display: none; }

.auth-side h2 { margin: 0 0 12px; font-size: 15px; letter-spacing: .02em; }
.auth-roles { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 13.5px; line-height: 1.55; color: #4A4943; }
.auth-roles b { color: var(--ink); }

.acct-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; max-width: 780px; }
.acct-panel h2 { margin: 0 0 8px; font-size: 18px; }
.acct-panel p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #4A4943; }
.acct-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.acct-links--foot { margin-top: 22px; gap: 22px; font-size: 13.5px; }

@media (max-width: 980px) {
	.auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.auth-grid--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.auth-grid { grid-template-columns: 1fr; }
	.auth-grid--three { grid-template-columns: 1fr; }
	.auth-card { padding: 24px 20px; }
	.acct-panel { padding: 22px 20px; }
}



