/* Wrap Attack v3 wizard. Scoped under .wa3-configurator.
   Identity ported from the v2.4.4 configurator and elevated.
   Dark-first; explicit [data-theme] wins, system preference is the fallback. */

.wa3-configurator,
.wa3-configurator *,
.wa3-configurator *::before,
.wa3-configurator *::after { box-sizing: border-box; }

.wa3-configurator {
	/* Brand accent. Overridden by inline style from settings. */
	--wa3-brand: #ff0090;
	--wa3-brand-soft: rgba(255, 0, 144, 0.12);

	/* Light mode structural vars (default) */
	--wa3-bg: #f2f2f4;
	--wa3-surface: #ffffff;
	--wa3-surface-2: #f7f7f9;
	--wa3-border: #e0e0e6;
	--wa3-text: #131316;
	--wa3-text-muted: #63636e;
	--wa3-card-bg: #ffffff;
	--wa3-card-hover: #f9f9fb;
	--wa3-card-selected-bg: #fff0f8;
	--wa3-track: #e0e0e6;
	--wa3-error-bg: #fff2f2;
	--wa3-error-text: #b32000;
	--wa3-error-border: #ffcccc;
	--wa3-discount: #0e7a3d;
	--wa3-tier-good: #4a9e6b;
	--wa3-tier-better: #2e7abf;
	--wa3-tier-best: #9b3fc8;
	--wa3-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	--wa3-shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08);
	--wa3-shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
	--wa3-glow: 0 4px 20px rgba(255, 0, 144, 0.18);

	/* Fixed in both modes */
	--wa3-header-bg: #0d0d0d;
	--wa3-radius: 16px;
	--wa3-radius-sm: 10px;
	--wa3-radius-xs: 6px;
	--wa3-ease: 0.18s ease;
	--wa3-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--wa3-font-body: 'Barlow', -apple-system, 'Segoe UI', sans-serif;

	font-family: var(--wa3-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--wa3-text);
	background: var(--wa3-bg);
	width: 100%; /* fixed frame: never shrink-to-fit the current step (page-builder columns) */
	max-width: 1060px;
	margin: 0 auto;
	border-radius: var(--wa3-radius);
	box-shadow: var(--wa3-shadow);
	overflow: hidden;
	position: relative;
}

.wa3-configurator[data-theme="dark"] {
	--wa3-bg: #0d0d0d;
	--wa3-surface: #17171a;
	--wa3-surface-2: #202024;
	--wa3-border: #2c2c31;
	--wa3-text: #f2f2f2;
	--wa3-text-muted: #8f8f99;
	--wa3-card-bg: #1c1c20;
	--wa3-card-hover: #242429;
	--wa3-card-selected-bg: #23101c;
	--wa3-track: #2c2c31;
	--wa3-error-bg: #1d0a0a;
	--wa3-error-text: #ff8873;
	--wa3-error-border: #4c1010;
	--wa3-discount: #4ed58a;
	--wa3-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	--wa3-shadow-card: 0 1px 4px rgba(0, 0, 0, 0.4);
	--wa3-shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.5);
	--wa3-glow: 0 4px 24px rgba(255, 0, 144, 0.22);
}

@media (prefers-color-scheme: dark) {
	.wa3-configurator:not([data-theme="light"]) {
		--wa3-bg: #0d0d0d;
		--wa3-surface: #17171a;
		--wa3-surface-2: #202024;
		--wa3-border: #2c2c31;
		--wa3-text: #f2f2f2;
		--wa3-text-muted: #8f8f99;
		--wa3-card-bg: #1c1c20;
		--wa3-card-hover: #242429;
		--wa3-card-selected-bg: #23101c;
		--wa3-track: #2c2c31;
		--wa3-error-bg: #1d0a0a;
		--wa3-error-text: #ff8873;
		--wa3-error-border: #4c1010;
		--wa3-discount: #4ed58a;
		--wa3-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
		--wa3-shadow-card: 0 1px 4px rgba(0, 0, 0, 0.4);
		--wa3-shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.5);
		--wa3-glow: 0 4px 24px rgba(255, 0, 144, 0.22);
	}
}

/* ============ HEADER: always dark, carbon texture, brand edge ============ */

.wa3-header {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25)),
		repeating-conic-gradient(#111114 0% 25%, #17171b 0% 50%) 0 0 / 12px 12px,
		var(--wa3-header-bg);
	color: #ffffff;
	padding: 34px 32px 30px;
	text-align: center;
	position: relative;
	border-bottom: 2px solid var(--wa3-brand);
}

.wa3-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(255, 0, 144, 0.9), transparent);
	filter: blur(3px);
}

.wa3-header h2 {
	margin: 0 0 6px;
	font-family: var(--wa3-font-display);
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.05;
	color: #ffffff;
}

.wa3-header p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 14px;
}

.wa3-theme-toggle {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 20px;
	padding: 5px 11px;
	cursor: pointer;
	color: #ffffff;
	font-size: 15px;
	line-height: 1;
	transition: background var(--wa3-ease), transform var(--wa3-ease);
}

.wa3-theme-toggle:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.06); }

.wa3-theme-icon::before { content: "\2600"; }
.wa3-configurator[data-theme="dark"] .wa3-theme-icon::before { content: "\263E"; }
@media (prefers-color-scheme: dark) {
	.wa3-configurator:not([data-theme="light"]) .wa3-theme-icon::before { content: "\263E"; }
}

/* ============ STAGE, PROGRESS, STEPS ============ */

.wa3-stage { background: var(--wa3-bg); min-height: 340px; }
@media (min-width: 760px) { .wa3-stage { min-height: 520px; } }

.wa3-boot, .wa3-noscript { color: var(--wa3-text-muted); text-align: center; padding: 48px 16px; }

.wa3-progress {
	padding: 18px 32px 14px;
	background: var(--wa3-surface);
	border-bottom: 1px solid var(--wa3-border);
}

.wa3-progress-bar {
	height: 4px;
	background: var(--wa3-track);
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 14px;
}

.wa3-progress-fill {
	height: 100%;
	background: var(--wa3-brand);
	border-radius: 2px;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa3-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }

.wa3-step {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wa3-text-muted);
	transition: color var(--wa3-ease);
}

.wa3-step-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--wa3-track);
	flex-shrink: 0;
	transition: background var(--wa3-ease), transform var(--wa3-ease);
}

.wa3-step.is-active { color: var(--wa3-brand); }
.wa3-step.is-active .wa3-step-dot { background: var(--wa3-brand); transform: scale(1.4); }
.wa3-step.is-done .wa3-step-dot { background: var(--wa3-brand); opacity: 0.55; }

/* ============ PANELS ============ */

.wa3-panel { padding: 30px 32px 36px; animation: wa3PanelIn 0.22s ease; }

@keyframes wa3PanelIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.wa3-title {
	margin: 0 0 4px;
	font-family: var(--wa3-font-display);
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--wa3-text);
}

.wa3-sub { margin: 0 0 22px; color: var(--wa3-text-muted); font-size: 14px; }

.wa3-h3 {
	margin: 24px 0 12px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wa3-text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.wa3-h3[data-tier]::before {
	content: "";
	width: 10px; height: 10px;
	border-radius: 3px;
	display: inline-block;
}
.wa3-h3[data-tier="best"]::before { background: var(--wa3-tier-best); }
.wa3-h3[data-tier="better"]::before { background: var(--wa3-tier-better); }
.wa3-h3[data-tier="good"]::before { background: var(--wa3-tier-good); }

/* ============ CARDS ============ */

.wa3-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wa3-grid > * { flex: 1 1 210px; max-width: 280px; }
.wa3-grid.wa3-grid-wide > * { flex-basis: 240px; max-width: 340px; }

.wa3-grid > .wa3-card { animation: wa3CardIn 0.34s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.wa3-grid > .wa3-card:nth-child(1) { animation-delay: 0.02s; }
.wa3-grid > .wa3-card:nth-child(2) { animation-delay: 0.06s; }
.wa3-grid > .wa3-card:nth-child(3) { animation-delay: 0.10s; }
.wa3-grid > .wa3-card:nth-child(4) { animation-delay: 0.14s; }
.wa3-grid > .wa3-card:nth-child(5) { animation-delay: 0.18s; }
.wa3-grid > .wa3-card:nth-child(6) { animation-delay: 0.22s; }
.wa3-grid > .wa3-card:nth-child(7) { animation-delay: 0.26s; }
.wa3-grid > .wa3-card:nth-child(n+8) { animation-delay: 0.3s; }

@keyframes wa3CardIn {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa3-card {
	background: var(--wa3-card-bg);
	border: 2px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	padding: 18px 16px;
	cursor: pointer;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	position: relative;
	box-shadow: var(--wa3-shadow-card);
	transition: border-color var(--wa3-ease), background var(--wa3-ease), box-shadow var(--wa3-ease), transform var(--wa3-ease);
}

.wa3-card:hover { background: var(--wa3-card-hover); box-shadow: var(--wa3-shadow-card-hover); transform: translateY(-2px); }
.wa3-card:focus-visible { outline: 2px solid var(--wa3-brand); outline-offset: 2px; }

.wa3-card.is-selected {
	border-color: var(--wa3-brand);
	background: var(--wa3-card-selected-bg);
	box-shadow: 0 0 0 1px var(--wa3-brand), var(--wa3-glow);
}

.wa3-card.is-selected::after {
	content: "\2713";
	position: absolute;
	top: 8px; right: 10px;
	width: 20px; height: 20px;
	background: var(--wa3-brand);
	color: #ffffff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wa3-card h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--wa3-text); line-height: 1.2; }
.wa3-card p { margin: 0; font-size: 12.5px; color: var(--wa3-text-muted); line-height: 1.4; }

.wa3-card.is-disabled { opacity: 0.55; cursor: not-allowed; }
.wa3-badge {
	position: absolute;
	top: 8px; right: 8px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #ffffff;
	background: var(--wa3-text-muted);
	border-radius: 999px;
	padding: 3px 9px;
}

/* Vehicle silhouettes: spec-sheet line art, brand ink when selected */
.wa3-veh {
	width: 100%;
	max-width: 132px;
	height: 52px;
	color: var(--wa3-text-muted);
	transition: color var(--wa3-ease);
}
.wa3-veh svg { width: 100%; height: 100%; display: block; }
.wa3-card:hover .wa3-veh, .wa3-card.is-selected .wa3-veh { color: var(--wa3-brand); }

/* Class card image (admin-uploaded, replaces the SVG silhouette). Masked and
   painted with currentColor so one upload themes itself: muted in both modes,
   brand ink on hover/selected, exactly like .wa3-veh. */
.wa3-class-img {
	width: 100%;
	max-width: 132px;
	height: 52px;
	margin: 0 auto;
	display: block;
	background-color: currentColor;
	color: var(--wa3-text-muted);
	transition: color var(--wa3-ease);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}
.wa3-card:hover .wa3-class-img, .wa3-card.is-selected .wa3-class-img { color: var(--wa3-brand); }

/* Coverage cards get a fill gauge */
.wa3-cov-bar { width: 100%; height: 8px; background: var(--wa3-track); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.wa3-cov-fill { height: 100%; background: var(--wa3-brand); border-radius: 4px; }

/* ============ FINISH SWATCH ROW ============ */

.wa3-finish-label {
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wa3-text-muted);
	margin: 0 0 14px;
}

.wa3-finish-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.wa3-finish-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: transform var(--wa3-ease);
	font-family: inherit;
}

.wa3-finish-swatch:hover { transform: translateY(-2px); }

.wa3-finish-tile {
	display: block;
	width: 110px; height: 72px;
	border-radius: var(--wa3-radius-xs);
	border: 2px solid transparent;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	position: relative;
	overflow: hidden;
	transition: border-color var(--wa3-ease), box-shadow var(--wa3-ease);
}

/* Light sweep across the vinyl on hover */
.wa3-finish-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
	transform: translateX(-130%);
	transition: transform 0.55s ease;
}
.wa3-finish-swatch:hover .wa3-finish-tile::after { transform: translateX(130%); }

.wa3-finish-swatch.is-selected .wa3-finish-tile {
	border-color: var(--wa3-brand);
	box-shadow: 0 0 0 2px var(--wa3-brand), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.wa3-finish-name {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wa3-text-muted);
}
.wa3-finish-swatch.is-selected .wa3-finish-name { color: var(--wa3-brand); }

/* Mini swatch strip on material cards */
.wa3-mini-swatch { display: block; width: 100%; height: 34px; border-radius: var(--wa3-radius-xs); }

.wa3-edu-link {
	background: none;
	border: none;
	padding: 4px 0 0;
	color: var(--wa3-brand);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	font-family: inherit;
}

/* ============ EDUCATION MODAL (ported from 2.6) ============ */

.wa3-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
	z-index: 99990;
	animation: wa3PanelIn 0.15s ease;
}

.wa3-modal {
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: min(480px, calc(100vw - 32px));
	background: var(--wa3-surface);
	color: var(--wa3-text);
	border-radius: var(--wa3-radius-sm);
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
	z-index: 99991;
	padding: 26px 24px 24px;
	animation: wa3ModalIn 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes wa3ModalIn {
	from { opacity: 0; transform: translate(-50%, -48%) scale(0.97); }
	to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.wa3-modal-close {
	position: absolute;
	top: 10px; right: 10px;
	width: 30px; height: 30px;
	border: none;
	border-radius: 50%;
	background: var(--wa3-surface-2);
	color: var(--wa3-text-muted);
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
	transition: background var(--wa3-ease), color var(--wa3-ease);
}
.wa3-modal-close:hover { background: var(--wa3-brand); color: #ffffff; }

.wa3-modal-title {
	margin: 0 0 4px;
	font-family: var(--wa3-font-display);
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wa3-modal-tier { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.wa3-modal-tier.tier-best { color: var(--wa3-tier-best); }
.wa3-modal-tier.tier-better { color: var(--wa3-tier-better); }
.wa3-modal-tier.tier-good { color: var(--wa3-tier-good); }

.wa3-modal-swatch { display: block; width: 100%; height: 64px; border-radius: var(--wa3-radius-xs); margin-bottom: 16px; }

.wa3-modal-points { margin: 0; padding: 0 0 0 18px; }
.wa3-modal-points li { margin-bottom: 8px; font-size: 14px; line-height: 1.5; }

.wa3-modal-note {
	margin: 16px 0 0;
	padding: 12px 14px;
	background: var(--wa3-brand-soft);
	border-left: 3px solid var(--wa3-brand);
	border-radius: var(--wa3-radius-xs);
	font-size: 13px;
	color: var(--wa3-text);
}

/* ============ QTY, CHECKS, FORMS ============ */

.wa3-qty { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 12px 0 4px; }
.wa3-qty input {
	width: 92px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	font-family: var(--wa3-font-display);
	padding: 10px;
	border: 2px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	background: var(--wa3-card-bg);
	color: var(--wa3-text);
}

.wa3-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 14px; cursor: pointer; color: var(--wa3-text); }
.wa3-check input { margin-top: 3px; flex-shrink: 0; accent-color: var(--wa3-brand); }

.wa3-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 0 auto; }
.wa3-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--wa3-text); }
.wa3-form input, .wa3-form textarea {
	padding: 11px 12px;
	border: 2px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	font-size: 16px;
	font-family: inherit;
	background: var(--wa3-card-bg);
	color: var(--wa3-text);
	transition: border-color var(--wa3-ease);
}
.wa3-form input:focus, .wa3-form textarea:focus { outline: none; border-color: var(--wa3-brand); }

.wa3-hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }

/* ============ BUTTONS / NAV ============ */

/* Back rides the left edge, the primary action rides the right, spanning the
   panel. A lone primary (first step) still goes right; a lone ghost Back
   (upsell/timeline steps) stays left. */
.wa3-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 26px; }
.wa3-nav > .wa3-btn:only-child:not(.wa3-btn-ghost) { margin-left: auto; }

.wa3-btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 13px 30px;
	background: var(--wa3-brand);
	color: #ffffff;
	font-family: var(--wa3-font-display);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: transform var(--wa3-ease), box-shadow var(--wa3-ease), filter var(--wa3-ease);
	box-shadow: 0 2px 10px rgba(255, 0, 144, 0.25);
}
.wa3-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--wa3-glow); }
.wa3-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.wa3-btn-ghost { background: transparent; color: var(--wa3-text); border: 2px solid var(--wa3-border); box-shadow: none; }
.wa3-btn-ghost:hover { border-color: var(--wa3-text-muted); box-shadow: none; }

/* ============ SUMMARY ============ */

.wa3-summary {
	background: var(--wa3-surface);
	border: 1px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	padding: 20px;
	margin-top: 4px;
}

.wa3-lines { display: flex; flex-direction: column; gap: 9px; }
.wa3-line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--wa3-text); }
.wa3-line.is-discount { color: var(--wa3-discount); font-weight: 700; }

.wa3-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wa3-border); font-size: 14px; color: var(--wa3-text-muted); }
.wa3-total.is-grand strong {
	font-family: var(--wa3-font-display);
	font-size: 32px;
	font-weight: 800;
	color: var(--wa3-text);
	letter-spacing: 0.01em;
}
.wa3-quote-note { margin: 12px 0 0; color: var(--wa3-text-muted); font-size: 14px; }
.wa3-disclaimer { margin-top: 14px; font-size: 12.5px; color: var(--wa3-text-muted); text-align: center; }

/* ============ ERROR / DONE ============ */

.wa3-error {
	background: var(--wa3-error-bg);
	border: 1px solid var(--wa3-error-border);
	color: var(--wa3-error-text);
	border-radius: var(--wa3-radius-sm);
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 14px;
}

.wa3-done { text-align: center; padding: 26px 0 10px; }
.wa3-done .wa3-title { font-size: 30px; }
.wa3-code { font-size: 14px; color: var(--wa3-text-muted); }
.wa3-code strong { color: var(--wa3-brand); letter-spacing: 0.08em; }
.wa3-done-range {
	font-family: var(--wa3-font-display);
	font-size: 40px;
	font-weight: 800;
	color: var(--wa3-text);
	margin: 10px 0;
}

/* ============ RESPONSIVE / MOTION PREF ============ */

@media (max-width: 700px) {
	.wa3-panel { padding: 22px 18px 30px; }
	.wa3-progress { padding: 14px 18px 12px; }
	.wa3-step span.wa3-step-label { display: none; } /* dots only on small screens */
	.wa3-finish-tile { width: 84px; height: 56px; }
	.wa3-grid > * { flex-basis: 42%; max-width: none; }
	.wa3-total.is-grand strong { font-size: 26px; }
	/* Stack the nav full width, primary action on top. */
	.wa3-nav { flex-direction: column-reverse; }
	.wa3-nav .wa3-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.wa3-configurator *, .wa3-configurator *::before, .wa3-configurator *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ============ PHASE CV: VALUE STACK, RISK LINE, NEXT-STEP ============ */

.wa3-stack {
	background: var(--wa3-surface);
	border: 1px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	padding: 16px 18px;
	margin: 0 0 14px;
}
.wa3-stack .wa3-h3 { margin: 0 0 10px; }
.wa3-stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.wa3-stack li { position: relative; padding-left: 24px; font-size: 14px; color: var(--wa3-text); }
.wa3-stack li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--wa3-brand); font-weight: 700; }

.wa3-risk { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--wa3-text-muted); }

.wa3-next-step { font-size: 15px; color: var(--wa3-text); }

/* ============ EXACT-VEHICLE FINDER ============ */

.wa3-finder {
	background: var(--wa3-surface-2);
	border: 1px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	padding: 16px 18px;
	margin: 0 0 16px;
}
.wa3-finder .wa3-h3 { margin: 0 0 2px; }
.wa3-finder .wa3-sub { margin: 0 0 12px; }
.wa3-finder-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wa3-finder-row select {
	flex: 1 1 140px;
	min-width: 0;
	padding: 11px 12px;
	border: 2px solid var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	font-size: 15px;
	font-family: inherit;
	background: var(--wa3-card-bg);
	color: var(--wa3-text);
	transition: border-color var(--wa3-ease);
}
.wa3-finder-row select:focus { outline: none; border-color: var(--wa3-brand); }
.wa3-finder-row select:disabled { opacity: 0.5; cursor: not-allowed; }
.wa3-wireframe {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 14px auto 0;
	border-radius: var(--wa3-radius-xs);
}
.wa3-finder-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0 0;
	padding: 6px 14px;
	background: var(--wa3-brand-soft);
	border: 1px solid var(--wa3-brand);
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wa3-text);
}
.wa3-finder-chip .wa3-edu-link { padding: 0; }
.wa3-finder-active .wa3-grid { opacity: 0.45; transition: opacity var(--wa3-ease); }

/* ---------- photo step ---------- */
.wa3-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 32px 20px;
	border: 2px dashed var(--wa3-border);
	border-radius: var(--wa3-radius-sm);
	background: var(--wa3-surface);
	cursor: pointer;
	transition: border-color var(--wa3-ease), background var(--wa3-ease);
	margin-bottom: 16px;
}
.wa3-dropzone:hover,
.wa3-dropzone:focus-within {
	border-color: var(--wa3-brand);
	background: var(--wa3-brand-soft);
}
.wa3-dropzone input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.wa3-dropzone-icon {
	font-size: 32px;
	line-height: 1;
	color: var(--wa3-brand);
}
.wa3-dropzone-text {
	font-size: 14px;
	color: var(--wa3-text-muted);
}
.wa3-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}
.wa3-photo {
	position: relative;
	border-radius: var(--wa3-radius-xs);
	overflow: hidden;
	aspect-ratio: 1 / 1;
}
.wa3-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wa3-photo-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.wa3-photo-remove:hover { background: rgba(0, 0, 0, 0.85); }
.wa3-photo-status {
	font-size: 13px;
	color: var(--wa3-text-muted);
	min-height: 18px;
	margin-bottom: 8px;
}

/* Coverage example image (real photo/diagram, plain img, never masked). */
.wa3-cov-img { width: 100%; height: auto; max-height: 120px; object-fit: contain; border-radius: 6px; margin-bottom: 8px; display: block; }

/* Clickable completed step chips (jump back, selections preserved). */
.wa3-step.is-clickable { cursor: pointer; }
.wa3-step.is-clickable:hover .wa3-step-label { color: var(--wa3-brand); }
.wa3-step.is-clickable:hover .wa3-step-dot { box-shadow: 0 0 0 3px rgba(255, 0, 144, 0.18); }

/* ---------- Upfit vendor catalog (van flow) ---------- */
.wa3-make-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.wa3-make-row .wa3-finish-swatch { padding: 10px 16px; }
.wa3-pk-card { text-align: left; }
.wa3-pk-card h3 { margin-top: 4px; }
.wa3-pk-img { display: block; width: 100%; max-height: 160px; object-fit: contain; margin: 0 0 10px; border-radius: 6px; }
.wa3-card.wa3-pk-card .wa3-pk-meta { font-size: 12px; text-align: left; opacity: 0.75; margin: 2px 0 8px; }
.wa3-card.wa3-pk-card .wa3-pk-price { font-size: 20px; text-align: left; font-weight: 700; color: var(--wa3-brand); margin: 0 0 8px; }
.wa3-card.wa3-pk-card .wa3-pk-price span { font-size: 12px; font-weight: 400; opacity: 0.8; }
.wa3-card.wa3-pk-card .wa3-pk-list { margin: 0; padding-left: 18px; font-size: 0.85em; line-height: 1.45; }
.wa3-pk-list li { margin: 0 0 2px; }
.wa3-pk-more { list-style: none; margin-left: -18px; opacity: 0.7; }
.wa3-grid.wa3-pk-grid > * { flex-basis: 260px; max-width: 360px; }
@media (max-width: 560px) {
	.wa3-grid.wa3-pk-grid > * { flex-basis: 100%; max-width: none; }
}
.wa3-grid.wa3-make-grid > * { flex-basis: 220px; max-width: 300px; }
.wa3-make-card { text-align: center; }
.wa3-make-img { display: block; width: 100%; height: 130px; object-fit: contain; margin: 0 0 10px; }
.wa3-make-svg { display: flex; align-items: center; justify-content: center; color: var(--wa3-text-muted); }
.wa3-make-svg .wa3-veh, .wa3-make-svg svg { width: 70%; height: auto; }
.wa3-grid.wa3-upsell-grid > * { flex-basis: 300px; max-width: 420px; }
.wa3-upsell-card { text-align: left; position: relative; }
.wa3-upsell-img { display: block; width: 100%; height: 170px; object-fit: contain; margin: 4px 0 12px; border-radius: 8px; }
.wa3-upsell-img-plain { filter: saturate(0.6); opacity: 0.9; }
.wa3-upsell-yes { border-color: var(--wa3-brand); box-shadow: 0 0 0 1px var(--wa3-brand), 0 10px 30px -10px var(--wa3-brand); }
.wa3-upsell-yes .wa3-badge { background: var(--wa3-brand); color: #111; }
.wa3-card.wa3-upsell-card h3 { font-size: 20px; text-align: left; }
.wa3-upsell-list { margin: 8px 0 14px; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--wa3-text); }
.wa3-upsell-list li { margin: 0 0 4px; }
.wa3-upsell-cta { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--wa3-brand); color: #111; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 560px) { .wa3-grid.wa3-upsell-grid > * { flex-basis: 100%; max-width: none; } }
.wa3-cov-roof .wa3-badge { background: var(--wa3-brand); color: #111; }
.wa3-cov-roof { border-color: var(--wa3-brand); }
.wa3-grid.wa3-film-grid > * { flex-basis: 220px; max-width: 260px; }
.wa3-film-card .wa3-badge { background: var(--wa3-brand); color: #111; }
.wa3-card.wa3-film-card .wa3-film-fee { font-size: 12px; color: var(--wa3-text); margin-top: 6px; }
.wa3-panel .wa3-disclaimer { font-size: 14px; color: var(--wa3-text); background: var(--wa3-brand-soft); border-left: 3px solid var(--wa3-brand); padding: 10px 14px; border-radius: 6px; text-align: left; }
/* Film cards: printed example photo or a tinted van per finish */
.wa3-film-media { position: relative; display: block; width: 100%; height: 120px; margin: 0 0 10px; }
.wa3-film-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wa3-film-van .wa3-film-tint, .wa3-film-van .wa3-film-sheen {
	position: absolute; inset: 0;
	-webkit-mask-image: var(--wa3-van); mask-image: var(--wa3-van);
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.wa3-film-van .wa3-film-tint { mix-blend-mode: multiply; }
.wa3-fin-gloss .wa3-film-sheen { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.75) 42%, transparent 50%, transparent 62%, rgba(255,255,255,0.35) 68%, transparent 74%); mix-blend-mode: screen; }
.wa3-fin-satin .wa3-film-sheen { background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.22) 45%, transparent 65%); mix-blend-mode: screen; }
.wa3-fin-matte img { filter: contrast(0.85) brightness(1.05); }
.wa3-fin-matte .wa3-film-sheen { background: rgba(255,255,255,0.06); }
.wa3-card .wa3-badge.wa3-badge-left { left: 10px; right: auto; }
.wa3-cool-icon { display: block; font-size: 56px; line-height: 1; text-align: center; margin: 10px 0 12px; color: #5ec8f2; }
.wa3-card .wa3-cool-src { font-size: 11px; opacity: 0.7; margin: -6px 0 12px; }
.wa3-cool-no { position: relative; width: 64px; height: 64px; margin: 6px auto 12px; }
.wa3-cool-no .wa3-cool-flake { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #8aa7b4; opacity: 0.7; }
.wa3-cool-no .wa3-no-sign { position: absolute; inset: 0; width: 64px; height: 64px; color: #e0393e; }
.wa3-btn.wa3-all-vehicles { padding: 8px 16px; font-size: 13px; }
.wa3-pk-grid .wa3-pk-img[src*='RANGER-7499'], .wa3-pk-grid .wa3-pk-img[src*='June-2-Trazer'], .wa3-pk-grid .wa3-pk-img[src*='PJV_9159'] { object-fit: cover; height: 160px; width: 100% !important; max-width: none !important; }
