/* ============================================================================
 * Auction page v2 — design-only overlay.
 * Modeled 1:1 on the reference product page (bidliquidators) but recolored to
 * cordiw's palette: theme blue #6c98e1 accents, GREEN bid CTA, BLUE buy CTA,
 * RED countdown. Loaded AFTER the inline <style> in auction.php so it wins.
 * Scoped to body.xxs-auction-page. No JS hooks / ids / logic touched.
 * ========================================================================== */

body.xxs-auction-page {
	--aucv2-blue: #6c98e1;
	--aucv2-blue-dark: #4a7bc4;
	--aucv2-ink: #0a0a0a;
	--aucv2-muted: #6b6b6b;
	--aucv2-line: rgba(0, 0, 0, 0.09);
	--aucv2-surf2: #f5f5f3;       /* light gray sub-box, like the model  */
	--aucv2-green: #1f9d55;
	--aucv2-green-dark: #178048;
	--aucv2-red: #d64545;
	--aucv2-radius: 16px;
}

/* ── Outer pricing card ─────────────────────────────────────────────────── */
body.xxs-auction-page .auctions-pricing-card {
	background: #ffffff !important;
	border: 1px solid var(--aucv2-line) !important;
	border-radius: var(--aucv2-radius) !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 18px 40px -20px rgba(16, 24, 40, 0.18) !important;
}
body.xxs-auction-page .auctions-pricing-head { padding: 20px 22px 0 !important; }
body.xxs-auction-page .auctions-pricing-body { padding: 4px 22px 22px !important; }

/* Header: badge + heart on top, then strong near-black title, muted trim. */
body.xxs-auction-page .auctions-pricing-head .auctions-badge {
	border-radius: 999px;
	padding: 4px 11px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
body.xxs-auction-page .auctions-icon-heart {
	border: 1px solid var(--aucv2-line) !important;
	background: #fff !important;
	color: #9a9a9a !important;
	transition: color .16s, border-color .16s, background .16s !important;
}
body.xxs-auction-page .auctions-icon-heart:hover,
body.xxs-auction-page .auctions-icon-heart.is-on {
	border-color: var(--aucv2-blue) !important;
	color: var(--aucv2-blue) !important;
	background: #f6faff !important;
}
body.xxs-auction-page .auctions-vehicle-title {
	color: var(--aucv2-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
body.xxs-auction-page .auctions-vehicle-trim {
	color: var(--aucv2-muted);
	font-weight: 500;
}

/* ── Two stacked sub-boxes (Live Auction / Buy It Now) ──────────────────── */
body.xxs-auction-page .auc-v2-blocks {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 12px;
}
body.xxs-auction-page .auc-v2-box {
	background: var(--aucv2-surf2) !important;
	border: 1px solid var(--aucv2-line) !important;
	border-radius: 14px !important;
	padding: 16px 20px !important;
	box-shadow: none !important;
}
/* Live box gets a whisper of green so BID reads as the live action. */
body.xxs-auction-page .auc-v2-box--bid {
	background: linear-gradient(180deg, #f1faf4 0%, #f6f7f4 60%) !important;
	border-color: rgba(31, 157, 85, 0.22) !important;
}

/* ── Live box top: dot + label + "Ends in" + red countdown ──────────────── */
body.xxs-auction-page .auc-v2-box-top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: nowrap;
}
body.xxs-auction-page .auc-v2-live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--aucv2-ink);
	white-space: nowrap;
}
body.xxs-auction-page .auc-v2-live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--aucv2-green);
	box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5);
	animation: aucv2Pulse 1.8s ease infinite;
}
@keyframes aucv2Pulse {
	0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5); }
	70% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); }
}
/* "Ends in" label pushed to the right, then the red countdown value. */
/* Countdown = full-width red bar (no wasted space). Clock + "Ends in" on the
   left, the time pushed to the RIGHT. Reads instantly. */
body.xxs-auction-page .auc-v2-box-top { display: block; }
/* ── Premium segmented countdown (Days / Hrs / Min / Sec tiles) ──────────── */
body.xxs-auction-page .auc-v2-countdown {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 13px;
	margin-bottom: 3px;
	border-bottom: 1px solid var(--aucv2-line);
}
body.xxs-auction-page .auc-v2-cd-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aucv2-muted);
}
body.xxs-auction-page .auc-v2-cd-label::before {
	content: "";
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.xxs-auction-page .auc-v2-cd-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 7px;
}
body.xxs-auction-page .auc-v2-cd-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 6px 3px 5px;
	background: #ffffff;
	border: 1px solid var(--aucv2-line);
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.xxs-auction-page .auc-v2-cd-tile b {
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	color: #dc2626;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	letter-spacing: -0.01em;
}
body.xxs-auction-page .auc-v2-cd-tile span {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aucv2-muted);
}
/* Urgent state (JS adds .is-ending when < 1h left): numbers go red + pulse. */
body.xxs-auction-page .auc-v2-countdown.is-ending .auc-v2-cd-label { color: #b91c1c; }
body.xxs-auction-page .auc-v2-countdown.is-ending .auc-v2-cd-tile {
	border-color: #fca5a5;
	background: #fef2f2;
}
body.xxs-auction-page .auc-v2-countdown.is-ending .auc-v2-cd-tile b { color: #dc2626; }
body.xxs-auction-page .auc-v2-countdown.is-ending .auc-v2-cd-tile:last-child {
	animation: aucv2EndPulse 1.4s ease-in-out infinite;
}
@keyframes aucv2EndPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(214, 69, 69, 0.32); }
	50% { box-shadow: 0 0 0 5px rgba(214, 69, 69, 0); }
}

/* Hide the original 4-cell segmented timer — JS still updates its spans. */
body.xxs-auction-page .auc-v2-timer-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ── Figures: Current Bid + Min. next bid ──────────────────────────────── */
body.xxs-auction-page .auc-v2-figs {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
body.xxs-auction-page .auc-v2-fig {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	width: 100%;
	min-width: 0;
}
body.xxs-auction-page .auc-v2-fig--r { text-align: right; }
body.xxs-auction-page .auc-v2-fig-k {
	font-size: 11px;
	font-weight: 500;
	color: var(--aucv2-muted);
	text-transform: none;
	letter-spacing: 0;
}
body.xxs-auction-page .auc-v2-fig-v,
body.xxs-auction-page .auc-v2-fig .auctions-price-bid {
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	color: var(--aucv2-ink);
	letter-spacing: -0.02em;
}
body.xxs-auction-page .auc-v2-fig--r .auc-v2-fig-v {
	font-size: 14px;
	font-weight: 700;
	color: var(--aucv2-green);
}

/* ── Action area (holds the bid/buy buttons) ───────────────────────────── */
body.xxs-auction-page .auc-v2-action {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.xxs-auction-page .auc-v2-action:empty { display: none; }
body.xxs-auction-page .auc-v2-box .auctions-bid-status { margin: 0 0 12px; }
/* The theme sets .auctions-bid-status{display:flex}, which overrides the
   [hidden] attribute → an EMPTY status box reserves space for logged-in users
   who aren't winning/outbid. Force it truly hidden so there's no gap between
   the price and the Place Bid button. */
body.xxs-auction-page .auc-v2-box .auctions-bid-status[hidden] { display: none !important; margin: 0 !important; }

/* Primary buttons: full-width, rounded, bold. */
body.xxs-auction-page .auc-v2-action .auctions-btn {
	width: 100% !important;
	border-radius: 12px !important;
	padding: 14px 20px !important;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em !important;
	border: 0 !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: transform .14s, box-shadow .14s, filter .14s !important;
}
/* BID → green gradient. */
body.xxs-auction-page .auc-v2-box--bid .auctions-btn-primary {
	background: linear-gradient(180deg, #24c56a 0%, #159f57 100%) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 22px -8px rgba(21, 128, 61, 0.5) !important;
}
body.xxs-auction-page .auc-v2-box--bid .auctions-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 28px -8px rgba(21, 128, 61, 0.58) !important;
	color: #fff !important;
}
/* highest-bidder state stays informative, not a hot CTA */
body.xxs-auction-page .auc-v2-box--bid .auc-open-bid.is-highest-bidder {
	background: rgba(31, 157, 85, 0.14) !important;
	color: var(--aucv2-green-dark) !important;
	box-shadow: none !important;
}
/* BUY → blue gradient. */
body.xxs-auction-page .auc-v2-box--buy .auctions-btn-secondary,
body.xxs-auction-page .auc-v2-box--buy .auctions-btn-dark {
	background: linear-gradient(180deg, #7aa2e6 0%, #4a7bc4 100%) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 22px -8px rgba(74, 123, 196, 0.5) !important;
}
body.xxs-auction-page .auc-v2-box--buy .auctions-btn-secondary:hover,
body.xxs-auction-page .auc-v2-box--buy .auctions-btn-dark:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 16px 28px -8px rgba(74, 123, 196, 0.58) !important;
	color: #fff !important;
}

/* ── Box footer: bid history + views ───────────────────────────────────── */
body.xxs-auction-page .auc-v2-box-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--aucv2-line);
}
body.xxs-auction-page .auctions-linklike-btn { color: var(--aucv2-muted) !important; font-weight: 600 !important; }
body.xxs-auction-page .auctions-linklike-btn:hover { color: var(--aucv2-blue) !important; }
body.xxs-auction-page .auctions-price-meta-views { color: #9a9a9a !important; font-weight: 600 !important; }

/* ── Buy It Now box ────────────────────────────────────────────────────── */
body.xxs-auction-page .auc-v2-buy-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
}
body.xxs-auction-page .auc-v2-buy-k {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--aucv2-muted);
}
body.xxs-auction-page .auc-v2-nofees {
	font-size: 10px;
	font-weight: 700;
	color: var(--aucv2-green-dark);
	background: rgba(31, 157, 85, 0.13);
	padding: 3px 8px;
	border-radius: 6px;
	white-space: nowrap;
}
body.xxs-auction-page .auc-v2-box--buy .auc-v2-buy-v,
body.xxs-auction-page .auc-v2-box--buy .auctions-price-buy {
	display: block;
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	color: var(--aucv2-ink);
	letter-spacing: -0.025em;
	margin-bottom: 16px;
}

/* Buying protections — own card under Buy it Now, always visible. */
body.xxs-auction-page .auc-v2-perks {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 6px 0;
	background: linear-gradient(180deg, #f3faf5 0%, #f7f8f5 100%);
	border: 1px solid rgba(31, 157, 85, 0.2);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 22px -14px rgba(21, 128, 61, 0.35);
}
body.xxs-auction-page .auc-v2-perk {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}
body.xxs-auction-page .auc-v2-perk + .auc-v2-perk {
	border-top: 1px solid rgba(31, 157, 85, 0.12);
}
body.xxs-auction-page .auc-v2-perk__ico {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(31, 157, 85, 0.18);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 10px rgba(21, 128, 61, 0.08);
	color: #167a3f;
	display: flex;
	align-items: center;
	justify-content: center;
}
body.xxs-auction-page .auc-v2-perk__ico svg {
	width: 19px !important;
	height: 19px !important;
	stroke-width: 2.15;
}
body.xxs-auction-page .auc-v2-perk__copy {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: #1a1d1f;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

/* ── Secondary actions (CARFAX · Transport): quiet full-width buttons ───── */
body.xxs-auction-page .auc-v2-actions2 {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
}
body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline {
	width: 100%;
	margin: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 9px;
	/* SOLID filled button (steel-blue) → unmistakably a button, secondary to
	   the bright green/blue CTAs above. */
	background: linear-gradient(180deg, #5f7fb0 0%, #47618c 100%) !important;
	border: 0 !important;
	border-radius: 12px !important;
	color: #ffffff !important;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	letter-spacing: 0.01em !important;
	min-height: 52px !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -6px rgba(48, 66, 99, 0.5) !important;
	transition: filter .16s, box-shadow .16s, transform .16s !important;
}
body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline i { color: #ffffff; font-size: 16px; }
body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline:hover {
	filter: brightness(1.07);
	color: #ffffff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 22px -6px rgba(48, 66, 99, 0.6) !important;
	transform: translateY(-1px);
}
body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline:hover i { color: #ffffff; }
body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 12px -4px rgba(48, 66, 99, 0.5) !important; }

/* ── Contact rows (icon · label/value · Call/Email button) ─────────────── */
body.xxs-auction-page .auc-v2-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
}
body.xxs-auction-page .auc-v2-contact-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: 12px;
	background: var(--aucv2-surf2);
	border: 1px solid var(--aucv2-line);
}
body.xxs-auction-page .auc-v2-contact-ic {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--aucv2-blue) 0%, var(--aucv2-blue-dark) 100%);
	color: #fff;
	font-size: 13px;
}
/* Text block takes the remaining width so the number / email never gets
   clipped by the button next to it. */
body.xxs-auction-page .auc-v2-contact-txt {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
	flex: 1 1 auto;
}
body.xxs-auction-page .auc-v2-contact-k {
	font-size: 10.5px;
	color: var(--aucv2-muted);
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.xxs-auction-page .auc-v2-contact-v {
	font-size: 14px;
	font-weight: 700;
	color: var(--aucv2-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Call / Email action button — stays in the sidebar, compact so the value fits. */
body.xxs-auction-page .auc-v2-contact-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 13px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--aucv2-blue) 0%, var(--aucv2-blue-dark) 100%);
	color: #fff !important;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: filter .16s, transform .14s, box-shadow .14s;
	box-shadow: 0 6px 14px -8px rgba(74, 123, 196, 0.6);
}
body.xxs-auction-page .auc-v2-contact-btn i { font-size: 11px; }
body.xxs-auction-page .auc-v2-contact-btn:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	color: #fff !important;
}

/* ── Sticky bottom bar (mobile): green bid + blue buy ──────────────────── */
@media (max-width: 991.98px) {
	body.xxs-auction-page #auctions_sticky_cta .auctions-btn-primary.auc-open-bid {
		background: linear-gradient(135deg, #24c56a 0%, #159f57 100%) !important;
		border-color: transparent !important;
		color: #fff !important;
	}
	body.xxs-auction-page #auctions_sticky_cta .auc-open-bid.is-highest-bidder {
		background: rgba(31, 157, 85, 0.18) !important;
		color: var(--aucv2-green-dark) !important;
		border: 1.5px solid rgba(31, 157, 85, 0.4) !important;
	}
	body.xxs-auction-page #auctions_sticky_cta .auctions-btn-secondary.auc-open-buy {
		background: linear-gradient(135deg, var(--aucv2-blue) 0%, var(--aucv2-blue-dark) 100%) !important;
		border-color: transparent !important;
		color: #fff !important;
	}
	/* Slightly smaller headline prices on phones. */
	body.xxs-auction-page .auc-v2-fig-v,
	body.xxs-auction-page .auc-v2-fig .auctions-price-bid { font-size: 26px; }
	body.xxs-auction-page .auc-v2-box--buy .auc-v2-buy-v,
	body.xxs-auction-page .auc-v2-box--buy .auctions-price-buy { font-size: 30px; }
}

/* ── Mobile: breathing room between the pricing card and Specifications ──── */
@media (max-width: 991px) {
	body.xxs-auction-page .auctions-page > .auctions-pricing-card-wrap {
		margin-bottom: 24px;
	}
}

/* ── Desktop: true sticky right sidebar ────────────────────────────────── */
@media (min-width: 992px) {
	/* Theme's #wrapper overflow:hidden breaks position:sticky → clip x only. */
	body.xxs-auction-page #wrapper {
		overflow-x: clip !important;
		overflow-y: visible !important;
	}
	body.xxs-auction-page .auctions-page {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		column-gap: 32px;
		align-items: start;
	}
	body.xxs-auction-page .auctions-page > * { grid-column: 1; min-width: 0; }
	body.xxs-auction-page .auctions-hero {
		display: block !important;
		margin-bottom: 0 !important;
	}
	body.xxs-auction-page .auctions-page > .auctions-pricing-card-wrap {
		grid-column: 2;
		grid-row: 1 / span 100;
		align-self: start;
		position: sticky;
		top: 62px;
	}

	/* ── Compact sticky sidebar. Guarantees stay visible — they are a
	   selling point, not filler. Prices a touch smaller; CARFAX + Transport
	   stacked full-width. ─────────────────────────────────────────────────── */
	body.xxs-auction-page .auctions-pricing-head { padding: 14px 20px 0 !important; }
	body.xxs-auction-page .auctions-pricing-body { padding: 4px 20px 16px !important; }
	body.xxs-auction-page .auctions-vehicle-title { font-size: 20px; line-height: 1.18; }

	body.xxs-auction-page .auc-v2-blocks { gap: 10px; margin-top: 8px; }
	body.xxs-auction-page .auc-v2-box { padding: 13px 16px !important; }
	body.xxs-auction-page .auc-v2-box-top { margin-bottom: 8px; }
	body.xxs-auction-page .auc-v2-figs { margin-bottom: 12px; }
	body.xxs-auction-page .auc-v2-fig { gap: 2px; }
	body.xxs-auction-page .auc-v2-fig-v,
	body.xxs-auction-page .auc-v2-fig .auctions-price-bid { font-size: 30px; }
	body.xxs-auction-page .auc-v2-fig--r .auc-v2-fig-v { font-size: 14px; }
	body.xxs-auction-page .auc-v2-action .auctions-btn { padding: 12px 18px !important; font-size: 14.5px !important; }
	body.xxs-auction-page .auc-v2-box-foot { margin-top: 9px; padding-top: 9px; }

	body.xxs-auction-page .auc-v2-box--buy .auc-v2-buy-v,
	body.xxs-auction-page .auc-v2-box--buy .auctions-price-buy { font-size: 30px; margin-bottom: 12px; }

	body.xxs-auction-page .auc-v2-perk { padding: 10px 12px; gap: 10px; }
	body.xxs-auction-page .auc-v2-perk__ico { width: 38px; height: 38px; border-radius: 11px; }
	body.xxs-auction-page .auc-v2-perk__copy { font-size: 13.5px; }

	/* CARFAX + Transport → stacked, full-width, big obvious buttons. */
	body.xxs-auction-page .auc-v2-actions2 { flex-direction: column; gap: 9px; margin-top: 12px; }
	body.xxs-auction-page .auc-v2-actions2 .auctions-btn-outline { width: 100%; min-height: 50px !important; }

	/* Contact rows: keep the label (pretty), just a touch tighter. */
	body.xxs-auction-page .auc-v2-contact { margin-top: 12px; gap: 8px; }
	body.xxs-auction-page .auc-v2-contact-row { padding: 9px 12px; }
	body.xxs-auction-page .auc-v2-contact-ic { width: 36px; height: 36px; }
	body.xxs-auction-page .auc-v2-contact-v { font-size: 14px; }
}

/* ── Specifications: a touch more air ──────────────────────────────────── */
body.xxs-auction-page .auctions-specs-grid .auctions-spec-cell {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* ── Features tabs: keep all pills on a single row on desktop ───────────────
   The content column is narrower now (sticky sidebar), so the default
   auto-fit/minmax(140px) wrapped the 5th tab. Force one equal-width row. */
@media (min-width: 768px) {
	body.xxs-auction-page .auctions-features-tabs {
		display: grid !important;
		grid-auto-flow: column !important;
		grid-auto-columns: 1fr !important;
		grid-template-columns: none !important;
		gap: 10px !important;
	}
	body.xxs-auction-page .auctions-feat-tab {
		justify-content: center;
		padding-left: 8px !important;
		padding-right: 8px !important;
		min-width: 0;
		white-space: nowrap;
	}
}

/* ── Features / Full-specs sheet on mobile: a real bottom sheet ─────────────
   The theme turned this sheet into a jarring full-screen takeover on phones
   (100vh, square corners). Make it slide up from the bottom as a partial
   rounded drawer with a grab handle instead. */
@keyframes aucSheetSlideUp {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}
@media (max-width: 639.98px) {
	body.xxs-auction-page #auc_sheet_features.auc-sheet {
		align-items: flex-end !important;
		padding: 0 !important;
	}
	body.xxs-auction-page #auc_sheet_features .auc-sheet__panel {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 90vh !important;
		border-radius: 20px 20px 0 0 !important;
		border: 0 !important;
		box-shadow: 0 -14px 44px rgba(15, 23, 42, 0.24) !important;
		padding-top: 14px !important;
		animation: aucSheetSlideUp .28s cubic-bezier(0.22, 1, 0.36, 1) !important;
		overflow: hidden !important;
	}
}

/* ── Product details: Carwow/Cazoo catalog layout ─────────────────────── */
body.xxs-auction-page .cfs-pdp {
	min-width: 0;
}
body.xxs-auction-page .cfs-pdp > .auctions-section-h:first-child {
	margin-top: 28px;
}

body.xxs-auction-page .cfs-snap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
}
@keyframes cfsSnapIn {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
body.xxs-auction-page .cfs-snap__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 16px 10px 14px;
	text-align: center;
	background: #fff;
	min-width: 0;
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	animation: cfsSnapIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.xxs-auction-page .cfs-snap__cell:nth-child(1) { animation-delay: 0.04s; }
body.xxs-auction-page .cfs-snap__cell:nth-child(2) { animation-delay: 0.12s; }
body.xxs-auction-page .cfs-snap__cell:nth-child(3) { animation-delay: 0.2s; }
body.xxs-auction-page .cfs-snap__cell:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.18);
	border-color: rgba(15, 23, 42, 0.12);
}
body.xxs-auction-page .cfs-snap__icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #4a7bc4;
	background: rgba(74, 123, 196, 0.12);
}
body.xxs-auction-page .cfs-snap__cell--mileage .cfs-snap__icon {
	color: #159f57;
	background: rgba(36, 197, 106, 0.14);
}
body.xxs-auction-page .cfs-snap__cell--fuel .cfs-snap__icon {
	color: #d97706;
	background: rgba(245, 158, 11, 0.16);
}
body.xxs-auction-page .cfs-snap__cell--transmission .cfs-snap__icon {
	color: #4a7bc4;
	background: rgba(74, 123, 196, 0.14);
}
body.xxs-auction-page .cfs-snap__icon svg {
	width: 20px !important;
	height: 20px !important;
}
body.xxs-auction-page .cfs-snap__v {
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #232628;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.xxs-auction-page .cfs-snap__k {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8a8e93;
	line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
	body.xxs-auction-page .cfs-snap__cell {
		animation: none;
		transition: none;
	}
	body.xxs-auction-page .cfs-snap__cell:hover { transform: none; }
}

body.xxs-auction-page .cfs-facts {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 40px;
}
@media (min-width: 640px) {
	body.xxs-auction-page .cfs-facts {
		grid-template-columns: 1fr 1fr;
	}
}
body.xxs-auction-page .cfs-facts__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid #f0f0f2;
}
body.xxs-auction-page .cfs-facts__k {
	color: #6e6e73;
	font-size: 14px;
	font-weight: 500;
	flex: 0 1 auto;
}
body.xxs-auction-page .cfs-facts__v {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	color: #232628;
	font-size: 14px;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
	min-width: 0;
}
body.xxs-auction-page .cfs-facts__v.is-ok { color: #167a3f; }
body.xxs-auction-page .cfs-facts__v.is-no { color: #b53a36; }

body.xxs-auction-page .cfs-pdp .auctions-specs-vin {
	margin: 18px 0 0;
}
body.xxs-auction-page .cfs-pdp .auctions-premium-note {
	margin: 14px 0 0;
}

body.xxs-auction-page .cfs-co2 {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #f0f0f2;
}
body.xxs-auction-page .cfs-co2__bar {
	position: relative;
	height: 8px;
	border-radius: 99px;
	background: linear-gradient(90deg, #22c55e 0%, #eab308 42%, #f97316 70%, #dc2626 100%);
}
body.xxs-auction-page .cfs-co2__mark {
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	margin: 0;
	background: #fff;
	border: 2px solid #232628;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}
body.xxs-auction-page .cfs-co2__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 10px;
	font-size: 12px;
	color: #8a8e93;
	font-weight: 600;
}
body.xxs-auction-page .cfs-co2__meta strong {
	color: #232628;
	font-size: 13px;
	font-weight: 800;
}

body.xxs-auction-page .cfs-hl {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none !important;
}
body.xxs-auction-page .cfs-hl__chip::before { display: none !important; content: none !important; }
body.xxs-auction-page .cfs-hl__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 12px 8px 10px;
	background: #f4f6f8;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 650;
	color: #232628;
	line-height: 1.2;
}
body.xxs-auction-page .cfs-hl__chip svg {
	width: 13px !important;
	height: 13px !important;
	color: #1f9d55;
	stroke-width: 2.6;
	flex: 0 0 13px;
}

body.xxs-auction-page .cfs-eq {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
body.xxs-auction-page .cfs-eq__group + .cfs-eq__group {
	margin-top: 18px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f2;
}
body.xxs-auction-page .cfs-eq__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
}
body.xxs-auction-page .cfs-eq__icon {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f6f8;
	border-radius: 9px;
	color: #14323f;
}
body.xxs-auction-page .cfs-eq__icon svg {
	width: 16px !important;
	height: 16px !important;
}
body.xxs-auction-page .cfs-eq__title {
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: #232628;
}
body.xxs-auction-page .cfs-eq__count {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	color: #8a8e93;
	font-variant-numeric: tabular-nums;
}
body.xxs-auction-page .cfs-eq-list {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 0 28px;
	columns: unset !important;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) {
	body.xxs-auction-page .cfs-eq-list { grid-template-columns: 1fr 1fr; }
}
body.xxs-auction-page .cfs-eq-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0 !important;
	line-height: 1.4;
	font-size: 13.5px;
	color: #232628;
}
body.xxs-auction-page .cfs-eq-list li::before { display: none !important; }
body.xxs-auction-page .cfs-eq-list li svg {
	width: 14px !important;
	height: 14px !important;
	flex: 0 0 14px;
	margin-top: 2px;
	color: #1f9d55;
	stroke-width: 2.4;
}

body.xxs-auction-page .cfs-hist-mot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 14px;
	background: linear-gradient(180deg, #f3faf5 0%, #f7f8f5 100%);
	border: 1px solid rgba(31, 157, 85, 0.2);
}
body.xxs-auction-page .cfs-hist-mot.is-warn {
	background: linear-gradient(180deg, #fff9ee 0%, #fffdf8 100%);
	border-color: rgba(217, 145, 0, 0.28);
}
body.xxs-auction-page .cfs-hist-mot.is-no {
	background: linear-gradient(180deg, #fdf4f3 0%, #fff8f7 100%);
	border-color: rgba(181, 58, 54, 0.22);
}
body.xxs-auction-page .cfs-hist-mot__ico {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(31, 157, 85, 0.16);
	color: #167a3f;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
}
body.xxs-auction-page .cfs-hist-mot.is-warn .cfs-hist-mot__ico {
	border-color: rgba(217, 145, 0, 0.22);
	color: #b45309;
}
body.xxs-auction-page .cfs-hist-mot.is-no .cfs-hist-mot__ico {
	border-color: rgba(181, 58, 54, 0.18);
	color: #b53a36;
}
body.xxs-auction-page .cfs-hist-mot__ico svg {
	width: 19px !important;
	height: 19px !important;
}
body.xxs-auction-page .cfs-hist-mot__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.xxs-auction-page .cfs-hist-mot__k {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6e6e73;
}
body.xxs-auction-page .cfs-hist-mot strong {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1a1d1f;
	line-height: 1.25;
}
body.xxs-auction-page .cfs-hist-mot.is-ok strong { color: #167a3f; }
body.xxs-auction-page .cfs-hist-mot.is-warn strong { color: #9a6700; }
body.xxs-auction-page .cfs-hist-mot.is-no strong { color: #b53a36; }

body.xxs-auction-page .cfs-hist-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6e6e73;
}
body.xxs-auction-page .cfs-hist-table__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 0 0 8px;
	border-bottom: 1px solid #ececee;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a8e93;
}
body.xxs-auction-page .cfs-hist-table ol {
	list-style: none !important;
	margin: 0;
	padding: 0;
}
body.xxs-auction-page .cfs-hist-table li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 12px 0 !important;
	border-bottom: 1px solid #f0f0f2;
}
body.xxs-auction-page .cfs-hist-table li:last-child { border-bottom: 0; padding-bottom: 0 !important; }
body.xxs-auction-page .cfs-hist-table li::before { display: none !important; content: none !important; }
body.xxs-auction-page .cfs-hist-table__date {
	font-size: 14px;
	font-weight: 600;
	color: #232628;
}
body.xxs-auction-page .cfs-hist-table__miles {
	font-size: 14px;
	font-weight: 800;
	color: #232628;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
