/* =============================================================================
 * CarParts — Car → Part picker (replaces the shop banner)
 * ========================================================================== */

/* Hide the shop's theme cover. The compact homepage garage shares this file. */
body:not(.carparts-home-has-hero) .page_cover { display: none !important; }

.cp-cf {
	--cp-cf-red: #eb2500;
	margin: 0 0 28px;
	padding: clamp(16px, 2vw, 26px);
	background: radial-gradient(ellipse at 100% 0, #292322 0, transparent 60%),
		linear-gradient(135deg, #111 0%, #1b1b1d 100%);
	border: 1px solid #2f2d2d;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

.cp-cf:empty { display: none; }

.cp-cf--garage {
	padding: clamp(14px, 2.4vw, 34px);
	background: #1b1b1b;
	border-color: #272727;
	border-radius: 25px;
}

.cp-cf__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
	align-items: center;
	gap: clamp(12px, 2vw, 30px);
	min-height: clamp(280px, 23.6vw, 360px);
}
.cp-cf__garage--text .cp-cf__main {
	grid-template-columns: minmax(0, 680px);
	min-height: 0;
}
.cp-cf__controls {
	position: relative;
	z-index: 1;
	padding-block: 12px;
	min-width: 0;
}
.cp-cf__garage-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: clamp(22px, 2.5vw, 36px);
}
.cp-cf .cp-cf__garage-title {
	margin: 0;
	color: #fff;
	font-size: clamp(27px, 3.1vw, 50px);
	font-weight: 900;
	line-height: 1.24;
}
.cp-cf__garage-title::after {
	content: "";
	display: block;
	width: 62px;
	height: 4px;
	margin-top: 14px;
	border-radius: 9px;
	background: var(--cp-cf-red);
}
.cp-cf .cp-cf__skip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: #e2dddd;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.cp-cf .cp-cf__skip:hover { color: #ffb4a4; }
#cp-shop-products { scroll-margin-block-start: 80px; }
.cp-cf__finder {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.4vw, 21px);
}
.cp-cf__search {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding-inline: 16px 8px;
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	background: #f8f8f8;
	color: #555;
	cursor: text;
}
.cp-cf__search[hidden],
.cp-cf__results [hidden] { display: none !important; }
.cp-cf__search:focus-within { outline: 2px solid #ff8066; outline-offset: 3px; }
.cp-cf .cp-cf__search input {
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	color: #191919;
	font: inherit;
	font-size: 16px;
}
.cp-cf .cp-cf__search input::placeholder { color: #626262; }
.cp-cf__directory summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding-inline-start: clamp(12px, 1.3vw, 20px);
	border-inline-start: 1px solid #565656;
	color: #f7f7f7;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	list-style: none;
	white-space: nowrap;
	cursor: pointer;
}
.cp-cf__directory summary::-webkit-details-marker { display: none; }
.cp-cf__directory[open] summary,
.cp-cf__directory summary:hover { color: #ffb4a4; }
.cp-cf__directory[open] summary i { transform: rotate(-90deg); }
.cp-cf__results {
	position: absolute;
	inset: calc(100% + 8px) 0 auto;
	z-index: 3;
	max-height: min(310px, 47vh);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 5px;
	border: 1px solid #4d4d4d;
	border-radius: 12px;
	background: #262626;
	color: #f7f7f7;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .42);
}
.cp-cf .cp-cf__results ul { margin: 0; padding: 0; list-style: none; }
.cp-cf .cp-cf__results li { margin: 0; }
.cp-cf__results li + li { border-top: 1px solid #383838; }
.cp-cf .cp-cf__results a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 7px 12px;
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}
.cp-cf .cp-cf__results a:hover,
.cp-cf .cp-cf__results a:focus-visible { background: #3b2b28; }
.cp-cf__result-count { color: #d0c9c8; white-space: nowrap; font-size: 12px; }
.cp-cf__result-count i { margin-inline-start: 7px; color: #ffab9b; }
.cp-cf .cp-cf__no-match { margin: 0; padding: 13px; color: #ece5e4; }

.cp-cf.cp-cf--compact {
	margin: 12px 0 0;
	padding: 10px 12px 12px;
	border-color: #373032;
	border-radius: 16px;
	background: #221e20;
	box-shadow: none;
}
.cp-cf--compact .cp-cf__garage {
	display: grid;
	gap: 8px;
	align-items: center;
}
.cp-cf--compact .cp-cf__garage-head { margin: 0; }
.cp-cf.cp-cf--compact .cp-cf__garage-title {
	color: #fff6f0;
	font-size: clamp(17px, 2.2vw, 24px);
	line-height: 1.3;
}
.cp-cf--compact .cp-cf__garage-title::after { content: none; }
.cp-cf.cp-cf--compact .cp-cf__skip {
	background: none;
	color: #f4d9d2;
	font-size: 12px;
	min-height: 44px;
	padding: 0 3px;
	text-decoration: none;
}
.cp-cf--compact .cp-cf__finder {
	z-index: 2;
	gap: 0;
	min-width: 0;
	border: 1px solid #e3ded9;
	border-radius: 9px;
	background: #faf7f4;
}
.cp-cf--compact .cp-cf__search {
	align-self: stretch;
	gap: 8px;
	margin: 0;
	padding-inline: 10px 6px;
	border: 0;
	background: transparent;
}
.cp-cf--compact .cp-cf__search:focus-within { outline-offset: -2px; }
.cp-cf.cp-cf--compact .cp-cf__search input { height: 44px; font-size: 13px; }
.cp-cf.cp-cf--compact .cp-cf__directory summary {
	gap: 5px;
	padding-inline: 9px;
	border-color: #e4dcd7;
	color: #372c2e;
	font-size: 12px;
}
.cp-cf.cp-cf--compact .cp-cf__directory[open] summary,
.cp-cf.cp-cf--compact .cp-cf__directory summary:hover { color: #a52412; }
.cp-cf__compact-links {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 6px;
}
.cp-cf .cp-cf__compact-links a {
	display: flex;
	box-sizing: border-box;
	min-height: 59px;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 4px;
	border: 1px solid #514448;
	border-radius: 8px;
	background: #332b2e;
	color: #fff4ee;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}
.cp-cf .cp-cf__compact-links a:hover { border-color: #d08577; color: #fff; }
.cp-cf__compact-links img { width: 68px; height: 27px; object-fit: contain; }

@media (max-width: 600px) {
	body.carparts-home-has-hero .cp-cf.cp-cf--compact {
		padding: 8px 11px 10px !important;
		margin-block: 9px 0 !important;
	}
	.cp-cf--compact .cp-cf__garage { gap: 6px; }
}

@media (min-width: 960px) {
	.cp-cf.cp-cf--compact { padding: 11px 15px; }
	.cp-cf--compact .cp-cf__garage {
		grid-template-columns: minmax(184px, .72fr) minmax(235px, 1fr) minmax(280px, 1fr);
		gap: 14px;
	}
	.cp-cf--compact .cp-cf__garage-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	.cp-cf.cp-cf--compact .cp-cf__skip { min-height: 32px; }
}

.cp-cf__spotlight {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px clamp(14px, 2.3vw, 32px);
	margin-top: clamp(20px, 2.5vw, 36px);
}
.cp-cf .cp-cf__model {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 2.7vw, 41px);
	font-weight: 900;
	line-height: 1.18;
}
.cp-cf .cp-cf__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 49px;
	padding: 8px clamp(14px, 1.8vw, 24px);
	border-radius: 10px;
	background: #d72408;
	color: #fff;
	font-size: clamp(14px, 1.35vw, 18px);
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}
.cp-cf .cp-cf__cta:hover { background: #b8200a; color: #fff; }
.cp-cf__cta i { font-size: 1.35em; }
.cp-cf__controls .cp-cf__clear { margin-top: 14px; }

.cp-cf__scene {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: end center;
	align-self: stretch;
	min-width: 0;
}
.cp-cf__scene::before {
	content: "";
	position: absolute;
	inset: -5% -5% 0;
	z-index: -1;
	background: url("images/garage-floor.webp") center bottom / cover no-repeat;
	mask-image: linear-gradient(to right, transparent, #000 11%, #000 76%, transparent),
		linear-gradient(to bottom, transparent, #000 20%, #000 88%, transparent);
	mask-composite: intersect;
}
.cp-cf .cp-cf__scene .cp-cf__image {
	width: 86%;
	max-height: 310px;
	margin-block-end: 6.5%;
	object-fit: contain;
	filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .55));
}
.cp-cf__rail {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding-top: 14px;
	border-top: 1px solid #484848;
}
.cp-cf .cp-cf__preview {
	position: relative;
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 3px;
	min-height: 74px;
	padding: 3px 3px 9px;
	color: #d9d9d9;
	font-size: clamp(12px, 1.22vw, 16px);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.cp-cf__preview + .cp-cf__preview::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 30%;
	height: 43%;
	border-inline-start: 1px solid #4f4f4f;
}
.cp-cf .cp-cf__preview .cp-cf__image {
	width: min(100%, 82px);
	height: 41px;
	object-fit: contain;
	filter: grayscale(1) brightness(1.14);
	opacity: .68;
}
.cp-cf .cp-cf__preview:hover,
.cp-cf .cp-cf__preview[aria-current] { color: #fff; }
.cp-cf__preview:hover .cp-cf__image,
.cp-cf__preview[aria-current] .cp-cf__image { opacity: 1; }
.cp-cf__preview[aria-current]::after {
	content: "";
	position: absolute;
	inset: auto 23% 0;
	height: 3px;
	border-radius: 8px;
	background: var(--cp-cf-red);
}

.cp-cf__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.cp-cf .cp-cf__title { margin: 0; color: #fff; font-size: clamp(18px, 1.7vw, 24px); font-weight: 800; line-height: 1.35; }
.cp-cf .cp-cf__hint { margin: 4px 0 0; color: #c5c0c0; font-size: 13px; line-height: 1.6; }

.cp-cf__actions, .cp-cf__selection {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.cp-cf__actions { flex-wrap: wrap; }
.cp-cf .cp-cf__back,
.cp-cf .cp-cf__clear {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid #514747;
	border-radius: 999px;
	color: #e3dddd;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.cp-cf .cp-cf__back:hover,
.cp-cf .cp-cf__clear:hover { color: #fff; border-color: var(--cp-cf-red); background: #39231f; }
.cp-cf__back::after {
	content: "";
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 0 1.5px 1.5px;
	transform: translateX(1px) rotate(45deg);
}
.cp-cf a:focus-visible,
.cp-cf summary:focus-visible { outline: 2px solid #ff8066; outline-offset: 3px; }

.cp-cf .cp-cf__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}
.cp-cf .cp-cf__selected-car { display: flex; align-items: center; justify-content: center; width: 110px; height: 74px; padding: 5px; box-sizing: border-box; flex: 0 0 auto; background: none !important; border: 0; box-shadow: none; }
.cp-cf .cp-cf__selected-car .cp-cf__image { background: none !important; border: 0; box-shadow: none; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; object-fit: contain; object-position: 50% 50%; transform: none; filter: drop-shadow(0 3px 3px #0003); }

.cp-cf__row { display: flex; flex-wrap: wrap; gap: 10px; }

.cp-cf__chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px;
	background: #fff; color: #1a1a1a;
	border: 1px solid transparent; border-radius: 999px;
	font-size: 15px; font-weight: 700; text-decoration: none;
	transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cp-cf__chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); color: #bf240b; }
.cp-cf__chip.is-active { background: #c92509; color: #fff; }

.cp-cf__chip-i {
	display: inline-flex;
	font-size: 23px;           /* icon size */
	color: #eb2500;            /* brand-red icon on the white pill */
	margin-left: -1px;
}
.cp-cf__chip.is-active .cp-cf__chip-i,
.cp-cf__chip:hover .cp-cf__chip-i { color: inherit; }

.cp-cf__chip-c {
	min-width: 20px; text-align: center;
	font-size: 11px; font-weight: 700;
	padding: 2px 7px; border-radius: 999px;
	background: rgba(0, 0, 0, .08); color: inherit;
}
.cp-cf__chip.is-active .cp-cf__chip-c { background: rgba(255, 255, 255, .25); }

@media (max-width: 760px) {
	.cp-cf__main { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 2px; }
	.cp-cf__controls { padding-block: 5px; }
	.cp-cf__garage-head { margin-bottom: 14px; }
	.cp-cf__garage-title::after { width: 44px; height: 3px; margin-top: 8px; }
	.cp-cf__spotlight { margin-top: 13px; }
	.cp-cf__scene { min-height: 128px; }
	.cp-cf__scene::before { inset: 0; }
	.cp-cf .cp-cf__scene .cp-cf__image { max-height: 205px; width: min(86%, 370px); margin-block-end: 4%; }
	.cp-cf__rail { padding-top: 4px; }
	#cp-shop-products { scroll-margin-block-start: 136px; }
}

@media (max-width: 480px) {
	.cp-cf { padding: 16px; border-radius: 14px; }
	.cp-cf__chip { padding: 8px 14px; font-size: 14px; }
	.cp-cf .cp-cf__selected-car { width: 82px; height: 56px; padding: 4px; }
}

@media (max-width: 600px) {
	.cp-cf__main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: 10px;
	}
	.cp-cf__controls { display: contents; }
	.cp-cf__garage-head, .cp-cf__finder, .cp-cf__controls .cp-cf__clear { grid-column: 1 / -1; }
	.cp-cf__garage-head { margin-bottom: 0; }
	.cp-cf .cp-cf__garage-title { font-size: clamp(18px, 5.1vw, 23px); }
	.cp-cf__garage-title::after { content: none; }
	.cp-cf .cp-cf__skip {
		gap: 5px;
		min-height: 34px;
		padding-inline: 8px;
		border-radius: 8px;
		background: #2c2c2c;
		color: #f1eded;
		font-size: 11px;
		line-height: 1.3;
		text-decoration: none;
	}
	.cp-cf .cp-cf__skip:hover { background: #3a3534; color: #fff; }
	.cp-cf__controls .cp-cf__clear { grid-row: 4; justify-self: start; margin-top: 0; }
	.cp-cf__finder {
		z-index: 2;
		gap: 0;
		border: 1px solid #dfdcda;
		border-radius: 10px;
		background: #f8f7f6;
	}
	.cp-cf__search {
		align-self: stretch;
		gap: 8px;
		margin: 0;
		padding-inline: 10px 6px;
		border: 0;
		background: transparent;
	}
	.cp-cf__search:focus-within { outline-offset: -2px; }
	.cp-cf .cp-cf__search input { height: 44px; font-size: 14px; }
	.cp-cf__directory summary {
		gap: 5px;
		padding-inline: 9px;
		border-color: #dedbd9;
		color: #332c2a;
		font-size: 12px;
	}
	.cp-cf__directory summary:hover,
	.cp-cf__directory[open] summary { color: #a52412; }
	.cp-cf__directory summary i { transform: rotate(-90deg); }
	.cp-cf__directory[open] summary i { transform: rotate(90deg); }
	.cp-cf__spotlight {
		grid-area: 3 / 1;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 7px;
		margin-top: 0;
	}
	.cp-cf__garage--text .cp-cf__spotlight { grid-column: 1 / -1; }
	.cp-cf .cp-cf__model { font-size: clamp(18px, 4.9vw, 24px); font-weight: 800; }
	.cp-cf .cp-cf__cta { box-sizing: border-box; min-height: 40px; gap: 6px; padding-inline: 10px; font-size: 12px; white-space: nowrap; }
	.cp-cf__scene { grid-area: 3 / 2; place-items: center; min-height: clamp(90px, 24vw, 132px); }
	.cp-cf .cp-cf__scene .cp-cf__image { width: 100%; max-height: 124px; margin: 0; }
	.cp-cf__rail {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin-top: 4px;
		padding-top: 9px;
		border-color: #3b3837;
	}
	.cp-cf__preview + .cp-cf__preview::before,
	.cp-cf__preview[aria-current]::after { content: none; }
	.cp-cf .cp-cf__preview {
		box-sizing: border-box;
		min-height: 40px;
		padding: 4px;
		border: 1px solid #3a3736;
		border-radius: 8px;
		background: #252323;
		font-size: 13px;
		line-height: 1.3;
	}
	.cp-cf .cp-cf__preview:hover { background: #332c2a; }
	.cp-cf .cp-cf__preview[aria-current] { border-color: #b34735; background: #422b26; }
	.cp-cf .cp-cf__preview .cp-cf__image { display: none; }
}

@media (max-width: 360px) {
	.cp-cf__directory summary { padding-inline: 7px; }
	.cp-cf .cp-cf__cta { gap: 4px; padding-inline: 7px; font-size: 11px; }
}

/* Garage finish: restrained lighting, consistent surfaces and tactile controls. */
.cp-cf--garage {
	background: radial-gradient(ellipse at 12% 45%, #36302d 0, transparent 52%), linear-gradient(125deg, #202022, #151516);
	border: 1px solid #393738;
	box-shadow: 0 18px 38px -22px #16131380, inset 0 1px 0 #ffffff0c;
}
.cp-cf__eyebrow { display: block; margin-bottom: 8px; color: #bcb7b4; font-size: 12px; line-height: 1.6; }
.cp-cf__scene::after {
	content: "";
	position: absolute;
	inset: 22% 8% 16%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(ellipse, #cf795524, transparent 70%);
	pointer-events: none;
}
.cp-cf .cp-cf__cta {
	border: 1px solid #ff654249;
	background: linear-gradient(140deg, #ed3a16, #c52209);
	box-shadow: 0 5px 16px #d32c081c, inset 0 1px 0 #ffffff18;
}
.cp-cf .cp-cf__cta:hover { background: linear-gradient(140deg, #fa4620, #d1280d); box-shadow: 0 8px 22px #d32c0830; }
.cp-cf__cta i, .cp-cf__directory summary i { transition: transform .2s ease; }
.cp-cf__cta:hover i { transform: translateX(-3px); }
.cp-cf .cp-cf__cta, .cp-cf .cp-cf__preview, .cp-cf .cp-cf__skip {
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.cp-cf .cp-cf__cta:active, .cp-cf .cp-cf__preview:active { transform: scale(.97); }
.cp-cf__results { background: #242324; border-color: #4a4340; scrollbar-width: thin; scrollbar-color: #75625b transparent; }
.cp-cf .cp-cf__results a:focus-visible { outline-offset: -2px; }
.cp-cf__rail { gap: 8px; border-color: #ffffff12; }
.cp-cf .cp-cf__preview { border: 1px solid transparent; border-radius: 10px; }
.cp-cf__preview + .cp-cf__preview::before { content: none; }
.cp-cf .cp-cf__preview:hover { background: #ffffff07; }
.cp-cf .cp-cf__preview[aria-current] { background: #d94b2010; border-color: #d476574d; }
@media (max-width: 600px) {
	.cp-cf--garage { padding: 14px; border-radius: 20px; }
	.cp-cf__main { gap: 10px 8px; }
	.cp-cf .cp-cf__garage-title { font-size: clamp(17px, 4.7vw, 22px); }
	.cp-cf .cp-cf__skip { background: transparent; color: #bab6b3; padding-inline: 0; }
	.cp-cf__finder { border-color: #ffffff20; background: #f4f2ef; box-shadow: 0 3px 12px #00000010; border-radius: 11px; }
	.cp-cf__eyebrow { font-size: 10px; margin-bottom: 5px; white-space: nowrap; }
	.cp-cf__spotlight { gap: 12px; }
	.cp-cf__scene { min-height: 100px; }
	.cp-cf .cp-cf__scene .cp-cf__image { max-height: 116px; }
	.cp-cf__rail { gap: 6px; margin-top: 6px; padding-top: 10px; }
	.cp-cf .cp-cf__preview { min-height: 44px; background: #ffffff04; border-color: #ffffff0c; color: #c4c1bf; font-size: 12px; }
	.cp-cf .cp-cf__preview[aria-current] { background: linear-gradient(125deg, #9c381e40, #652d2030); border-color: #d4765770; color: #fff4ee; box-shadow: inset 0 1px 0 #ffffff08; }
	.cp-cf__preview[aria-current] span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 6px; border-radius: 50%; background: #ff7754; vertical-align: middle; }
}
/* One native RTL scroller for the complete, inventory-backed vehicle list. */
.cp-cf__rail-wrap { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #ffffff12; min-width: 0; }
.cp-cf .cp-cf__rail {
	display: flex; flex: 1; min-width: 0; gap: 8px; margin: 0; padding: 4px 2px 8px;
	border: 0; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #715044 transparent;
}
.cp-cf .cp-cf__rail .cp-cf__preview {
	flex: 0 0 auto; min-width: 104px; min-height: 44px; padding: 9px 16px;
	box-sizing: border-box; white-space: nowrap; font-size: 13px; line-height: 1.5;
	border: 1px solid #ffffff12; background: #ffffff04; scroll-snap-align: start;
}
.cp-cf .cp-cf__rail .cp-cf__preview[aria-current] { border-color: #d4765770; background: #9c381e30; color: #fff4ee; }
.cp-cf__rail .cp-cf__preview[aria-current]::after { content: none; }
.cp-cf__rail .cp-cf__preview[aria-current] span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 6px; border-radius: 50%; background: #ff7754; vertical-align: middle; }
.cp-cf .cp-cf__rail-arrow { flex: 0 0 36px; width: 36px; min-height: 44px; margin: 0; padding: 0; border: 1px solid #ffffff18; border-radius: 10px; background: #ffffff08; color: #fff; font-size: 21px; cursor: pointer; }
.cp-cf .cp-cf__rail-arrow:disabled { opacity: .3; cursor: default; }
.cp-cf .cp-cf__rail-arrow:focus-visible { outline: 2px solid #ff8066; outline-offset: 2px; }
.cp-cf__vehicle-placeholder { display: grid; place-content: center; width: 100%; height: 100%; min-height: 100px; color: #827c78; font-size: clamp(60px, 9vw, 130px); }
.cp-cf .cp-cf__scene [hidden], .cp-cf__rail-arrow[hidden] { display: none !important; }
.cp-cf__model-group { min-width: 0; max-width: 100%; }
.cp-cf .cp-cf__model { overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.cp-cf__rail-wrap { gap: 0; margin-top: 6px; padding-top: 8px; }
	.cp-cf .cp-cf__rail-arrow { display: none; }
	.cp-cf .cp-cf__rail .cp-cf__preview { min-width: 92px; padding-inline: 14px; font-size: 12px; }
}
/* Quiet edges indicate continuation without a permanent scrollbar. */
.cp-cf .cp-cf__rail {
	scrollbar-width: none;
	--rail-start: 0; --rail-end: 0;
	mask-image: linear-gradient(to left, rgba(0,0,0,var(--rail-start)), #000 18px, #000 calc(100% - 18px), rgba(0,0,0,var(--rail-end)));
}
.cp-cf .cp-cf__rail::-webkit-scrollbar { display: none; }
.cp-cf .cp-cf__rail[data-start="true"] { --rail-start: 1; }
.cp-cf .cp-cf__rail[data-end="true"] { --rail-end: 1; }
.cp-cf .cp-cf__scene .cp-cf__image { aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
@media (max-width: 600px) {
	.cp-cf__controls .cp-cf__clear { grid-row: 5; }
}
.cp-cf--garage { padding: clamp(14px, 2vw, 24px); }
.cp-cf__toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 44%);
	align-items: center;
	gap: clamp(12px, 2.5vw, 36px);
	position: relative;
	z-index: 2;
}
.cp-cf__toolbar .cp-cf__garage-head { margin: 0; }
.cp-cf .cp-cf__toolbar .cp-cf__garage-title { font-size: clamp(19px, 2.1vw, 31px); }
.cp-cf__toolbar .cp-cf__garage-title::after { content: none; }
.cp-cf .cp-cf__toolbar .cp-cf__skip { text-decoration: none; }
.cp-cf--garage .cp-cf__clear { margin-top: 8px; }
.cp-cf .cp-cf__rail .cp-cf__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.cp-cf__all svg { width: 16px; height: 16px; color: #f6b39e; }
.cp-cf__rail .cp-cf__all[aria-current] span::before { content: none; }
.cp-cf__garage .cp-cf__main {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 0;
	margin-top: 10px;
	padding: clamp(12px, 1.8vw, 22px);
	border: 1px solid #ffffff15;
	border-radius: 14px;
	background: linear-gradient(110deg, #3a2a252b, #ffffff04);
}
.cp-cf__main .cp-cf__spotlight {
	grid-area: auto;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	margin: 0;
	gap: 10px;
}
.cp-cf__main .cp-cf__scene { grid-area: auto; place-items: center; }
.cp-cf .cp-cf__main .cp-cf__scene .cp-cf__image { max-height: 190px; margin: 0; }
@media (max-width: 760px) {
	.cp-cf__toolbar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
	.cp-cf .cp-cf__toolbar .cp-cf__garage-title { font-size: clamp(17px, 4.7vw, 21px); }
	.cp-cf__garage .cp-cf__main { padding: 10px; }
	.cp-cf .cp-cf__main .cp-cf__scene .cp-cf__image { max-height: 108px; width: 100%; }
}
/* Shared showroom: neutral introduction and selected vehicle occupy one stage. */
.cp-cf--garage { background: radial-gradient(ellipse at 15% 45%, #343335 0, transparent 55%), linear-gradient(115deg, #171719, #202022); border-color: #363436; box-shadow: 0 12px 32px #15151516; }
.cp-cf__garage { display: flex; flex-direction: column; }
.cp-cf__toolbar { order: 0; }
.cp-cf__welcome, .cp-cf__garage .cp-cf__main { order: 1; }
.cp-cf__rail-wrap { order: 2; }
.cp-cf--garage > .cp-cf__row { margin-block-start: 12px; }

.cp-cf .cp-cf__toolbar .cp-cf__garage-title { font-size: clamp(19px, 2vw, 28px); }
.cp-cf__welcome { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 182px; position: relative; }
.cp-cf__welcome-copy { position: relative; z-index: 1; padding-block: 18px; }
.cp-cf__status { display: inline-flex; align-items: center; gap: 7px; color: #bfbabd; font-size: 11px; }
.cp-cf__status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #f25b3d; box-shadow: 0 0 0 4px #f25b3d12; }
.cp-cf .cp-cf__welcome-title { margin: 10px 0; color: #fff; font-size: clamp(23px, 2.8vw, 39px); line-height: 1.5; font-weight: 900; }
.cp-cf .cp-cf__welcome-title br { display: none; }
.cp-cf .cp-cf__welcome-hint { margin: 0; color: #bdb8ba; font-size: 13px; line-height: 1.8; }
.cp-cf__fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 6px; height: 182px; position: relative; isolation: isolate; direction: ltr; }
.cp-cf__fleet::before { content: ''; position: absolute; inset: 20% 0 5%; background: radial-gradient(ellipse, #e9e4e414, transparent 65%); border-bottom: 1px solid #ffffff12; border-radius: 50%; }
.cp-cf__fleet img { position: relative; width: 100%; height: auto; max-width: 100%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 10px 8px #0004); }
.cp-cf__garage .cp-cf__main { border: 0; background: none; padding: 8px 0; margin: 0; min-height: 182px; }
.cp-cf__garage .cp-cf__rail-wrap { margin-top: 0; padding-top: 12px; }
.cp-cf .cp-cf__rail .cp-cf__preview { border-radius: 8px; color: #d1cdd0; background: #ffffff04; }
.cp-cf .cp-cf__rail .cp-cf__preview[aria-current] { background: #fff; border-color: #fff; color: #252124; box-shadow: 0 3px 8px #0002; }
.cp-cf__all svg { color: currentColor; }
.cp-cf .cp-cf__rail .cp-cf__preview:hover { border-color: #ffffff60; }
@media (max-width: 760px) {
 .cp-cf__welcome { min-height: 160px; grid-template-columns: minmax(0, 1fr); }
 .cp-cf__fleet { height: 85px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
 .cp-cf__welcome-copy { padding-block: 12px; }
 .cp-cf .cp-cf__welcome-title { font-size: 20px; line-height: 1.55; margin: 7px 0; }
 .cp-cf .cp-cf__welcome-title br { display: none; }
 .cp-cf .cp-cf__welcome-hint { font-size: 11px; }
 .cp-cf__fleet img { max-height: 85px; }
 
 
 .cp-cf__status { font-size: 9px; gap: 6px; }
 .cp-cf__garage .cp-cf__main { min-height: 160px; }
 .cp-cf__garage .cp-cf__rail-wrap { padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.cp-cf *, .cp-cf *::before, .cp-cf *::after { transition: none !important; animation: none !important; }
	.cp-cf__chip { transition: none; }
	.cp-cf__chip:hover { transform: none; }
}

