/* ============================================================================
 * 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 {
	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 {
	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;
}

/* Trust row: 2×2 muted items with blue icons (like the model). */
body.xxs-auction-page .auc-v2-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 12px;
	margin-top: 12px;
}
body.xxs-auction-page .auc-v2-trust-i {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 10.5px;
	color: var(--aucv2-muted);
	font-weight: 600;
}
body.xxs-auction-page .auc-v2-trust-i i {
	color: var(--aucv2-blue);
	font-size: 12px;
	width: 13px;
	text-align: center;
}

/* ── 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;
	}

	/* ── "Pretty but shorter" — keep the model look, trim a little so (almost)
	   everything fits a 14" without scroll. Trust badges hidden on desktop;
	   prices a touch smaller; CARFAX + Transport stacked full-width as the
	   biggest, most obvious buttons. ─────────────────────────────────────── */
	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; }

	/* Trust badges hidden on desktop to save height (still shown on mobile). */
	body.xxs-auction-page .auc-v2-trust { display: none; }

	/* 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;
	}
	/* Grab handle */
	body.xxs-auction-page #auc_sheet_features .auc-sheet__panel::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		transform: translateX(-50%);
		width: 42px;
		height: 4px;
		border-radius: 99px;
		background: rgba(15, 23, 42, 0.18);
		z-index: 6;
		pointer-events: none;
	}
	body.xxs-auction-page #auc_sheet_features .auc-sheet__top {
		padding-top: 12px !important;
	}
	body.xxs-auction-page #auc_sheet_features .auc-sheet__scroll {
		max-height: none !important;
	}
	body.xxs-auction-page #auc_sheet_features .auctions-modal-nested {
		max-height: none !important;
	}
}
