/*
 * Wheels and tyres catalog — styles for this page only.
 *
 * Every rule is scoped to .wt or uses a wt-* class, so this file only
 * reaches the Wheels and Tyres template. The font comes from main.css.
 *
 * The base rules below come from the earlier price-sheet look; the last
 * section ("porsche.com design language") restyles them to match
 * porsche.com (Porsche Design System): grey surface, white rounded cards,
 * regular-weight headings, pill tags, 12px-radius buttons.
 */

.wt {
	--wt-ink: #010205;
	--wt-muted: #6b6d70;
	--wt-line: #d8d8da;
	--wt-surface: #f2f2f2;
	--wt-head: #d5d6d8;
	--wt-offer: #d5001c;
	--wt-radius: 2px;
	color: var(--wt-ink);
	padding-bottom: 80px;
}

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

/* Cards and chips set display, which would beat the hidden attribute. */
.wt [hidden] {
	display: none !important;
}

.wt-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Hero (full screen) ---------- */
.wt-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	max-height: 960px;
	background-color: #1d1f21;
	background-position: center 60%;
	background-size: cover;
	color: #fff;
}
.wt-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(1, 2, 5, 0.72) 0%, rgba(1, 2, 5, 0.35) 38%, rgba(1, 2, 5, 0) 65%);
}
.wt-hero__inner {
	position: relative;
	width: 100%;
	padding-top: 120px;
	padding-bottom: 64px;
	overflow: visible;
}
.wt-intro__eyebrow {
	margin: 0 0 12px;
	font-size: 14px;
	letter-spacing: 0.02em;
	opacity: 0.85;
}
.wt-intro__title {
	max-width: 760px;
	margin: 0 0 16px;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 600;
	color: #fff;
}
.wt-intro__text {
	max-width: 640px;
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.55;
}
.wt-hero .wt-hero__cta {
	width: auto;
	border-color: #fff;
	background: #fff;
	color: var(--wt-ink);
}
.wt-hero .wt-hero__cta:hover {
	background: var(--wt-surface);
	border-color: var(--wt-surface);
	color: var(--wt-ink);
}
@media (min-width: 1024px) {
	.wt-intro__title {
		font-size: 60px;
	}
	.wt-hero__inner {
		padding-bottom: 88px;
	}
}
@media (max-width: 767px) {
	.wt-hero {
		height: 86vh;
		height: 86svh;
		min-height: 560px;
		background-position: 58% top;
	}
	/* Phones: the text sits over the car, so the lower half goes darker. */
	.wt-hero__shade {
		background: linear-gradient(to top, rgba(1, 2, 5, 0.9) 0%, rgba(1, 2, 5, 0.75) 40%, rgba(1, 2, 5, 0.15) 70%, rgba(1, 2, 5, 0) 85%);
	}
	.wt-intro__text {
		font-size: 16px;
	}
	.wt-hero .wt-hero__cta {
		width: 100%;
	}
}

/* ---------- Section heads and steps ---------- */
.wt-catalog {
	padding-top: 56px;
	scroll-margin-top: 0;
}
.wt-step-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 600;
	color: var(--wt-ink);
}
.wt-step-label span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--wt-ink);
	color: #fff;
	font-size: 13px;
}
.wt-section-title {
	margin: 40px 0 0;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--wt-ink);
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
}

/* ---------- Model picker: photo tabs ---------- */
.wt-models {
	display: grid;
	grid-template-columns: repeat(6, minmax(150px, 1fr));
	border-top: 1px solid var(--wt-line);
	border-left: 1px solid var(--wt-line);
	margin-bottom: 32px;
	overflow-x: auto;
	scrollbar-width: none;
}
.wt-models::-webkit-scrollbar {
	display: none;
}
.wt-models__tab {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--wt-line);
	border-bottom: 1px solid var(--wt-line);
	background: #fff;
	color: var(--wt-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.wt-models__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.85);
	transition: filter 0.3s;
}
.wt-models__tab:hover .wt-models__img,
.wt-models__tab[aria-selected="true"] .wt-models__img {
	filter: none;
}
.wt-models__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	font-size: 16px;
}
.wt-models__count {
	min-width: 26px;
	padding: 2px 7px;
	border-radius: 12px;
	background: var(--wt-surface);
	color: var(--wt-muted);
	font-size: 12px;
	text-align: center;
}
.wt-models__tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 4px;
	background: transparent;
	transition: background-color 0.2s;
}
.wt-models__tab:hover::after {
	background: #c9cacb;
}
.wt-models__tab[aria-selected="true"]::after {
	background: var(--wt-ink);
}
.wt-models__tab[aria-selected="true"] .wt-models__name {
	font-weight: 600;
}
.wt-models__tab[aria-selected="true"] .wt-models__count {
	background: var(--wt-ink);
	color: #fff;
}
@media (max-width: 1023px) {
	.wt-models {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 42%;
		scroll-snap-type: x mandatory;
	}
	.wt-models__tab {
		scroll-snap-align: start;
	}
}
@media (max-width: 600px) {
	.wt-models {
		grid-auto-columns: 46%;
		margin-left: -30px;
		margin-right: -30px;
		border-left: 0;
	}
	.wt-models__label {
		padding: 10px 12px;
		font-size: 14px;
	}
}

/* ---------- Version select and sticky toolbar ---------- */
.wt-toolbar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 16px;
	padding: 14px 0;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--wt-line);
}
.wt-toolbar__version {
	flex: 1 1 320px;
	max-width: 460px;
}
.wt-toolbar__version .wt-step-label {
	margin-bottom: 10px;
}

/* Native select with a custom chevron, so it matches the page in every browser. */
.wt-select {
	-webkit-appearance: none;
	appearance: none;
	padding: 8px 38px 8px 12px;
	border: 1px solid #b4b6b8;
	border-radius: var(--wt-radius);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23010205' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--wt-ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.wt-select:hover {
	border-color: var(--wt-ink);
}
.wt-select:focus-visible {
	outline: none;
	border-color: var(--wt-ink);
	box-shadow: 0 0 0 1px var(--wt-ink);
}
.wt-variant {
	width: 100%;
	min-height: 52px;
	padding: 12px 44px 12px 16px;
	background-position: right 16px center;
	font-size: 17px;
}
.wt-variant.is-set {
	border-color: var(--wt-ink);
	font-weight: 600;
}
.wt-toolbar__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
}
.wt-filters__result {
	margin: 0;
	font-size: 14px;
	color: var(--wt-muted);
	white-space: nowrap;
}
.wt-toolbar__filters {
	display: none;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--wt-ink);
	border-radius: 22px;
	background: #fff;
	color: var(--wt-ink);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}
.wt-toolbar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--wt-ink);
	color: #fff;
	font-size: 12px;
}
.wt-hint {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-left: 3px solid var(--wt-ink);
	background: var(--wt-surface);
	font-size: 14px;
}
@media (max-width: 767px) {
	.wt-toolbar {
		margin: 0 -30px 12px;
		padding: 10px 30px;
	}
	.wt-toolbar__version {
		flex-basis: 100%;
		max-width: none;
	}
	.wt-toolbar__version .wt-step-label {
		display: none;
	}
	.wt-toolbar__meta {
		width: 100%;
		justify-content: space-between;
		min-height: 0;
	}
	.wt-toolbar__filters {
		display: inline-flex;
	}
}

/* ---------- Secondary filters ---------- */
.wt-filters {
	display: grid;
	gap: 12px;
	padding: 4px 0 0;
}
.wt-filters__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.wt-filters__label {
	flex: 0 0 140px;
	font-size: 14px;
	color: var(--wt-muted);
}
.wt-chip {
	min-height: 36px;
	padding: 7px 14px;
	border: 1px solid #b4b6b8;
	border-radius: 18px;
	background: #fff;
	color: var(--wt-ink);
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.wt-chip:hover {
	border-color: var(--wt-ink);
}
.wt-chip[aria-pressed="true"] {
	background: var(--wt-ink);
	border-color: var(--wt-ink);
	color: #fff;
}
.wt-chip--offer[aria-pressed="true"] {
	background: var(--wt-offer);
	border-color: var(--wt-offer);
}
.wt-filters__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}
.wt-sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--wt-muted);
}
@media (max-width: 767px) {
	.wt-filters {
		display: none;
		padding: 16px;
		margin: 0 0 16px;
		background: var(--wt-surface);
	}
	.wt-filters.is-open {
		display: grid;
	}
	.wt-filters__label {
		flex-basis: 100%;
	}
	.wt-chip {
		min-height: 40px;
	}
}

/* ---------- Hairline product grid (shared by accessories and wheels) ---------- */
.wt-grid,
.wt-acc__track {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--wt-line);
}
.wt-grid {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.wt-card,
.wt-acc__item {
	border-right: 1px solid var(--wt-line);
	border-bottom: 1px solid var(--wt-line);
	background: #fff;
	transition: background-color 0.2s;
}

/* Clickable photos open the viewer. */
.wt-zoom {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: var(--wt-surface);
	cursor: zoom-in;
	overflow: hidden;
}
.wt-zoom img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.wt-zoom:hover img {
	transform: scale(1.04);
}
.wt-zoom::after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23010205' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-5-5M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center;
	opacity: 0;
	transition: opacity 0.2s;
}
.wt-zoom:hover::after,
.wt-zoom:focus-visible::after {
	opacity: 1;
}

/* ---------- Wheel cards ---------- */
.wt-card {
	display: flex;
	flex-direction: column;
}
.wt-card:hover {
	background: #fafafa;
}
.wt-card__media {
	position: relative;
	aspect-ratio: 183 / 117;
	background: var(--wt-surface);
}
.wt-card__media .wt-zoom {
	height: 100%;
}
.wt-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 10px;
	background: var(--wt-offer);
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.02em;
	pointer-events: none;
}
.wt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 18px;
}
.wt-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
}
.wt-card__body-type {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border: 1px solid var(--wt-line);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.02em;
	vertical-align: middle;
	color: var(--wt-muted);
}
.wt-card__finish {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--wt-muted);
}
.wt-card__sizes {
	margin: 10px 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--wt-line);
	font-size: 14px;
}

.wt-card__tyres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.wt-tyre {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid #b4b6b8;
	border-radius: 20px;
	font-size: 13px;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.wt-tyre:hover {
	border-color: var(--wt-ink);
}
.wt-tyre:has(input:checked) {
	border-color: var(--wt-ink);
	background: var(--wt-ink);
	color: #fff;
}
.wt-tyre input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.wt-card__buy {
	margin-top: auto;
	padding-top: 18px;
}
.wt-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin: 0 0 12px;
}
.wt-card__now {
	font-size: 24px;
	font-weight: 600;
}
.wt-card__price:has(.wt-card__was:not([hidden])) .wt-card__now {
	color: var(--wt-offer);
}
.wt-card__was {
	font-size: 14px;
	color: var(--wt-muted);
}
.wt-card__price-label {
	flex-basis: 100%;
	font-size: 12px;
	color: var(--wt-muted);
}

.wt-card__details {
	margin-top: 14px;
	border-top: 1px solid var(--wt-line);
	padding-top: 8px;
	font-size: 14px;
}
.wt-card__details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 32px;
	cursor: pointer;
	list-style: none;
	color: var(--wt-muted);
}
.wt-card__details summary::-webkit-details-marker {
	display: none;
}
.wt-card__details summary::after {
	content: "+";
	font-size: 18px;
	line-height: 1;
}
.wt-card__details[open] summary::after {
	content: "−";
}
.wt-card__specs {
	display: grid;
	gap: 8px;
	margin: 8px 0 0;
	font-size: 13px;
}
.wt-card__specs > div {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 8px;
}
.wt-card__specs dt {
	color: var(--wt-muted);
}
.wt-card__specs dd {
	display: flex;
	flex-direction: column;
	margin: 0;
}

/* ---------- Accessories: compact add-on row below the wheels ---------- */
.wt-acc {
	margin: 56px 0 8px;
}
.wt-acc__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wt-line);
}
.wt-acc__title {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
}
.wt-acc__text {
	max-width: 640px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--wt-muted);
}
.wt-acc__status {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13px;
}
.wt-acc__selected {
	margin: 0;
	font-weight: 600;
}
.wt-acc__track {
	grid-template-columns: repeat(6, 1fr);
	border-left: 0;
}
.wt-acc__track.is-four {
	grid-template-columns: repeat(6, 1fr);
}
.wt-acc__item {
	position: relative;
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--wt-line);
	border-bottom: 0;
}
.wt-acc__item:not([hidden]) ~ .wt-acc__item:not([hidden]):last-child,
.wt-acc__item:last-child {
	border-right: 0;
}
.wt-acc__zoom {
	aspect-ratio: 4 / 3;
}
.wt-acc__zoom::after {
	display: none;
}
.wt-acc__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px 12px;
}
.wt-acc__name {
	margin: 0;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 400;
}
.wt-acc__price {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
/* Small round "+" on the photo; turns into a black tick when added. */
.wt-acc__add {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	color: var(--wt-ink);
	font: inherit;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.wt-acc__add:hover {
	transform: scale(1.08);
}
.wt-acc__add::before {
	content: "+";
	font-size: 20px;
	line-height: 1;
}
.wt-acc__add[aria-pressed="true"] {
	background: var(--wt-ink);
	color: #fff;
}
.wt-acc__add[aria-pressed="true"]::before {
	content: "✓";
	font-size: 14px;
}
.wt-acc__item.is-picked .wt-acc__name {
	font-weight: 600;
}
.wt-acc__note {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--wt-muted);
}
@media (max-width: 1023px) {
	.wt-acc__track,
	.wt-acc__track.is-four {
		grid-template-columns: repeat(3, 1fr);
	}
	.wt-acc__item {
		border-bottom: 1px solid var(--wt-line);
	}
}
/* Phones: one swipeable row of small tiles. */
@media (max-width: 767px) {
	.wt-acc {
		margin-top: 40px;
	}
	.wt-acc__text {
		display: none;
	}
	.wt-acc__track,
	.wt-acc__track.is-four {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 40%;
		margin: 0 -30px;
		padding: 0 30px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.wt-acc__track::-webkit-scrollbar {
		display: none;
	}
	.wt-acc__item {
		scroll-snap-align: start;
		border-bottom: 0;
	}
}

/* ---------- Buttons and links ---------- */
.wt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid var(--wt-ink);
	border-radius: var(--wt-radius);
	background: var(--wt-ink);
	color: #fff;
	font: inherit;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.wt-button:hover {
	background: #323639;
	border-color: #323639;
	color: #fff;
}
.wt-button--ghost {
	background: #fff;
	color: var(--wt-ink);
}
.wt-button--ghost:hover {
	background: var(--wt-surface);
	border-color: var(--wt-ink);
	color: var(--wt-ink);
}
.wt-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wt-ink);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.wt-button:focus-visible,
.wt-chip:focus-visible,
.wt-models__tab:focus-visible,
.wt-link:focus-visible,
.wt-zoom:focus-visible,
.wt-acc__add:focus-visible,
.wt-tyre:has(input:focus-visible) {
	outline: 2px solid var(--wt-ink);
	outline-offset: 2px;
}

/* ---------- Empty state and footnote ---------- */
.wt-empty {
	padding: 48px 24px;
	text-align: center;
	background: var(--wt-surface);
}
.wt-empty p {
	margin: 0 0 12px;
}
.wt-footnote {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 24px;
	font-size: 13px;
	color: var(--wt-muted);
}
.wt-footnote p {
	margin: 0;
}
.wt-pdf {
	color: var(--wt-ink);
	text-decoration: underline;
}

/* ---------- Dialogs (enquiry and viewer) ---------- */
.wt-dialog,
.wt-viewer {
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 32px;
	border: 0;
	border-radius: 4px;
	color: var(--wt-ink);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}
.wt-dialog {
	width: min(640px, calc(100vw - 32px));
}
.wt-dialog::backdrop,
.wt-viewer::backdrop {
	background: rgba(1, 2, 5, 0.65);
	backdrop-filter: blur(2px);
}
.wt-dialog__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--wt-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.wt-dialog__close:hover {
	background: var(--wt-surface);
}
.wt-dialog__title {
	margin: 0 0 16px;
	padding-right: 40px;
	font-size: 24px;
	font-weight: 600;
}
.wt-dialog__set {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 20px;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wt-line);
}
.wt-dialog__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1400 / 896;
	object-fit: cover;
}
.wt-dialog__lines p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--wt-muted);
}
.wt-dialog__lines .wt-dialog__set-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--wt-ink);
}
.wt-dialog__price {
	margin-top: 6px !important;
}
.wt-dialog__price strong {
	font-size: 18px;
	color: var(--wt-ink);
}
.wt-dialog__price:has(s:not([hidden])) strong {
	color: var(--wt-offer);
}
.wt-dialog__lead {
	margin: 20px 0 16px;
	font-size: 16px;
	line-height: 1.5;
}

/* ---------- Enquiry form ---------- */
.wt-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.wt-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
.wt-field {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.wt-field > label:not(.wt-check),
.wt-field > legend {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-size: 14px;
	color: var(--wt-muted);
}
.wt-field abbr {
	color: var(--wt-offer);
	text-decoration: none;
}
.wt-field input[type="text"],
.wt-field input[type="tel"],
.wt-field input[type="email"],
.wt-field select,
.wt-field textarea {
	display: block;
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #b4b6b8;
	border-radius: var(--wt-radius);
	background-color: #fff;
	color: var(--wt-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s;
}
.wt-field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23010205' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.wt-field input:focus,
.wt-field select:focus,
.wt-field textarea:focus {
	border-color: var(--wt-ink);
	outline: none;
}
.wt-field textarea {
	resize: vertical;
	min-height: 84px;
}
.wt-field.is-invalid input,
.wt-field.is-invalid select,
.wt-field.is-invalid textarea {
	border-color: var(--wt-offer);
}
.wt-field__error,
.wt-form__error {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--wt-offer);
}
.wt-form__error {
	margin: 0 0 12px;
	font-size: 14px;
}
.wt-form__acc,
.wt-field--checks {
	display: grid;
	gap: 8px;
}
.wt-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--wt-ink);
	cursor: pointer;
}
.wt-check--acc,
.wt-field--checks .wt-check {
	align-items: center;
	min-height: 28px;
}
.wt-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wt-ink);
}
.wt-check a {
	color: var(--wt-ink);
	text-decoration: underline;
}
.wt-check__price {
	margin-left: auto;
	padding-left: 12px;
	white-space: nowrap;
	color: var(--wt-muted);
}
.wt-field.is-invalid .wt-check {
	color: var(--wt-offer);
}
.wt-form__submit {
	margin-top: 4px;
}
.wt-form__submit:disabled {
	opacity: 0.6;
	cursor: progress;
}
.wt-form__phone {
	margin: 14px 0 0;
	font-size: 14px;
	text-align: center;
	color: var(--wt-muted);
}
.wt-form__phone a {
	color: var(--wt-ink);
	white-space: nowrap;
}
.wt-dialog__success {
	padding: 24px 0 8px;
	text-align: center;
}
.wt-dialog__success-icon {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wt-ink);
}
.wt-dialog__success-icon::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 12px;
	width: 12px;
	height: 20px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

/* ---------- Viewer ---------- */
.wt-viewer {
	width: min(1120px, calc(100vw - 32px));
	padding: 0;
}
.wt-viewer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
.wt-viewer__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	background: var(--wt-surface);
}
.wt-viewer__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 78vh;
	object-fit: cover;
}
.wt-viewer__body {
	display: flex;
	flex-direction: column;
	padding: 36px 32px 28px;
}
.wt-viewer__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--wt-muted);
}
.wt-viewer__title {
	margin: 0 0 4px;
	padding-right: 32px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
}
.wt-viewer__meta {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--wt-muted);
}
.wt-viewer__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
}
/* Sizes table styled like the price sheet: grey header band, hairline rows. */
.wt-viewer__table {
	width: 100%;
	margin: 8px 0 18px;
	border-collapse: collapse;
	font-size: 13px;
}
.wt-viewer__table th,
.wt-viewer__table td {
	padding: 9px 10px;
	border-bottom: 1px solid var(--wt-line);
	text-align: left;
	vertical-align: top;
}
.wt-viewer__table thead th {
	background: var(--wt-head);
	font-weight: 600;
}
.wt-viewer__table tbody th {
	font-weight: 600;
	white-space: nowrap;
}
.wt-viewer__label {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--wt-muted);
}
.wt-viewer__options {
	margin-bottom: 16px;
	border-top: 1px solid var(--wt-line);
}
.wt-viewer__option {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 2px;
	border-bottom: 1px solid var(--wt-line);
	font-size: 14px;
	cursor: pointer;
}
.wt-viewer__option input {
	margin: 0;
	accent-color: var(--wt-ink);
}
.wt-viewer__option-price {
	margin-left: auto;
	font-weight: 600;
	white-space: nowrap;
}
.wt-viewer__option-price.is-offer {
	color: var(--wt-offer);
}
.wt-viewer__fits {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.55;
}
.wt-viewer__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin: auto 0 14px;
	padding-top: 12px;
}
.wt-viewer__price strong {
	font-size: 28px;
	font-weight: 600;
}
.wt-viewer__price:has(s:not([hidden])) strong {
	color: var(--wt-offer);
}
.wt-viewer__price s {
	color: var(--wt-muted);
}
.wt-viewer__price span {
	flex-basis: 100%;
	font-size: 12px;
	color: var(--wt-muted);
}
.wt-viewer__actions {
	display: grid;
	gap: 8px;
}
.wt-viewer__note {
	margin: 14px 0 0;
	font-size: 12px;
	color: var(--wt-muted);
}
@media (max-width: 860px) {
	.wt-viewer__grid {
		grid-template-columns: 1fr;
	}
	.wt-viewer__media {
		min-height: 0;
	}
	.wt-viewer__media img {
		max-height: 50vh;
	}
	.wt-viewer__body {
		padding: 24px 20px 20px;
	}
}
@media (max-width: 600px) {
	.wt-dialog {
		padding: 24px 20px;
	}
	.wt-dialog__set,
	.wt-form__row {
		grid-template-columns: 1fr;
	}
	.wt-dialog__media {
		max-width: 200px;
	}
}

/* =====================================================================
 * porsche.com design language (Porsche Design System tokens, read from
 * porsche.com/lv-LV/models/ in 11/2026): surface #f1f1f4, white cards,
 * contrast text as translucent ink, headings at regular weight, pill tags,
 * primary buttons black with 12px radius, secondary "frosted" grey.
 * ===================================================================== */
.wt {
	--wt-ink: #010205;
	--wt-muted: rgba(26, 26, 30, 0.7);          /* contrast-high */
	--wt-faint: rgba(17, 17, 19, 0.6);          /* contrast-medium */
	--wt-line: rgba(79, 80, 89, 0.325);         /* contrast-lower */
	--wt-surface: #f1f1f4;
	--wt-frosted: rgba(100, 101, 114, 0.235);   /* frosted-strong */
	--wt-frosted-soft: rgba(175, 175, 182, 0.15);
	--wt-head: #eeeff2;
	--wt-offer: #ba171f;                        /* PDS error/red */
	--wt-focus: #1a44ea;
	--wt-radius: 12px;
	--wt-radius-card: 24px;
	background: var(--wt-surface);
}

/* Type: Porsche Next, regular weight for headings. */
.wt-section-title,
.wt-acc__title {
	padding-bottom: 0;
	border-bottom: 0;
	font-weight: 400;
}
.wt-section-title {
	margin: 48px 0 20px;
	font-size: 26px;
	line-height: 1.35;
}
.wt-intro__title {
	font-weight: 400;
}
.wt-step-label {
	font-size: 20px;
	font-weight: 600;
}
.wt-step-label span {
	width: 24px;
	height: 24px;
	font-size: 14px;
	font-weight: 400;
}

/* Model picker: white rounded tiles with the car, black pill on the active one. */
.wt-models {
	gap: 12px;
	border: 0;
	padding: 2px;
}
.wt-models__tab {
	border: 0;
	border-radius: var(--wt-radius-card);
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s, transform 0.2s;
}
.wt-models__tab::after {
	display: none;
}
.wt-models__tab:hover {
	transform: translateY(-2px);
}
.wt-models__tab[aria-selected="true"] {
	box-shadow: 0 0 0 2px var(--wt-ink);
}
.wt-models__img {
	filter: none;
}
.wt-models__label {
	padding: 14px 16px 16px;
}
.wt-models__count {
	padding: 1px 8px;
	border-radius: 12px;
	background: var(--wt-frosted);
	color: var(--wt-ink);
	font-size: 14px;
}
.wt-models__tab[aria-selected="true"] .wt-models__name {
	font-weight: 400;
}

/* Toolbar sits on the grey surface. */
.wt-toolbar {
	background: rgba(241, 241, 244, 0.92);
	border-bottom: 0;
}
.wt-select,
.wt-field input[type="text"],
.wt-field input[type="tel"],
.wt-field input[type="email"],
.wt-field select,
.wt-field textarea {
	border: 1px solid var(--wt-line);
	border-radius: var(--wt-radius);
	background-color: var(--wt-frosted-soft);
}
.wt-select:hover {
	border-color: var(--wt-ink);
}
.wt-variant {
	min-height: 56px;
	background-color: #fff;
}
.wt-variant.is-set {
	font-weight: 400;
}
.wt-hint {
	border-left: 0;
	border-radius: var(--wt-radius);
	background: rgba(204, 229, 255, 0.55);      /* info-frosted */
}

/* Filter chips = PDS pills. */
.wt-chip {
	min-height: 36px;
	border: 0;
	background: var(--wt-frosted);
	color: var(--wt-ink);
}
.wt-chip:hover {
	background: rgba(100, 101, 114, 0.34);
}
.wt-chip[aria-pressed="true"],
.wt-chip--offer[aria-pressed="true"] {
	background: var(--wt-ink);
	color: #fff;
}

/* Card grid: separate white cards with gaps instead of hairlines. */
.wt-grid,
.wt-acc__track {
	gap: 20px;
	border-left: 0;
}
.wt-grid {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.wt-card,
.wt-acc__item {
	border: 0;
	border-radius: var(--wt-radius-card);
	overflow: hidden;
	background: #fff;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wt-card:hover {
	background: #fff;
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(1, 2, 5, 0.08);
}
.wt-card__media {
	margin: 12px 12px 0;
	border-radius: 16px;
	overflow: hidden;
}
.wt-card__body {
	padding: 20px 24px 24px;
}
.wt-card__title {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 400;
}
.wt-card__finish,
.wt-card__price-label,
.wt-card__fits,
.wt-acc__text {
	color: var(--wt-muted);
}
.wt-card__body-type {
	padding: 1px 8px;
	border: 0;
	border-radius: 12px;
	background: var(--wt-frosted);
	color: var(--wt-ink);
	font-size: 14px;
}
.wt-card__badge {
	top: 12px;
	left: 12px;
	padding: 1px 10px;
	border-radius: 12px;
	background: var(--wt-ink);
	font-size: 14px;
	letter-spacing: 0;
}
.wt-card__sizes {
	padding-top: 0;
	border-top: 0;
	font-size: 16px;
}
.wt-tyre {
	min-height: 36px;
	border: 0;
	border-radius: 18px;
	background: var(--wt-frosted);
	font-size: 14px;
}
.wt-tyre:hover {
	background: rgba(100, 101, 114, 0.34);
}
.wt-tyre:has(input:checked) {
	background: var(--wt-ink);
	color: #fff;
}
.wt-card__now {
	font-size: 26px;
	font-weight: 400;
}
.wt-card__details {
	border-top: 1px solid var(--wt-line);
}
.wt-card__details summary {
	color: var(--wt-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.wt-card__details summary::after {
	text-decoration: none;
}

/* Buttons: primary black, 12px radius, 56px tall; ghost = frosted grey. */
.wt-button {
	min-height: 56px;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--wt-radius);
	background: var(--wt-ink);
	font-weight: 400;
}
.wt-button:hover {
	background: #323639;
}
.wt-button--ghost,
.wt-button--ghost:hover {
	background: var(--wt-frosted);
	color: var(--wt-ink);
}
.wt-button--ghost:hover {
	background: rgba(100, 101, 114, 0.34);
}
.wt-link,
.wt-pdf {
	text-underline-offset: 3px;
}
.wt .wt-button:focus-visible,
.wt .wt-chip:focus-visible,
.wt .wt-models__tab:focus-visible,
.wt .wt-link:focus-visible,
.wt .wt-zoom:focus-visible,
.wt .wt-acc__add:focus-visible,
.wt .wt-tyre:has(input:focus-visible) {
	outline: 2px solid var(--wt-focus);
	outline-offset: 2px;
}

/* Accessories: white rounded tiles, same as the wheels. */
.wt-acc__head {
	border-bottom: 0;
	padding-bottom: 16px;
}
.wt-acc__title {
	font-size: 26px;
}
.wt-acc__item {
	border-right: 0;
}
.wt-acc__item.is-picked {
	box-shadow: 0 0 0 2px var(--wt-ink);
}
.wt-acc__zoom {
	border-radius: 0;
}

/* Empty state and dialogs. */
.wt-empty {
	border-radius: var(--wt-radius-card);
	background: #fff;
}
.wt-dialog,
.wt-viewer {
	border-radius: var(--wt-radius-card);
}
.wt-dialog::backdrop,
.wt-viewer::backdrop {
	background: rgba(36, 36, 40, 0.5);
	backdrop-filter: blur(8px);
}
.wt-dialog__title,
.wt-viewer__title {
	font-weight: 400;
}
.wt-viewer__table thead th {
	background: var(--wt-surface);
	font-weight: 600;
}
.wt-dialog__media img {
	border-radius: var(--wt-radius);
}
@media (max-width: 767px) {
	.wt-filters {
		border-radius: var(--wt-radius-card);
		background: #fff;
	}
	.wt-card__title {
		font-size: 22px;
	}
	.wt-grid,
	.wt-acc__track {
		gap: 12px;
	}
}

/* "No service chosen" step in the enquiry dialog. */
.wt-upsell {
	padding: 8px 0 4px;
}
.wt-upsell:focus {
	outline: none;
}
.wt-upsell__title {
	margin: 0 0 8px;
	padding-right: 40px;
	font-size: 24px;
	font-weight: 400;
}
.wt-upsell__text {
	margin: 0 0 20px;
	color: var(--wt-muted);
}
.wt-upsell__options {
	display: grid;
	gap: 8px;
	margin-bottom: 24px;
}
.wt-upsell__option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 12px 16px;
	border-radius: var(--wt-radius);
	background: var(--wt-frosted-soft);
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}
.wt-upsell__option:hover {
	background: var(--wt-frosted);
}
.wt-upsell__option:has(input:checked) {
	box-shadow: inset 0 0 0 2px var(--wt-ink);
	background: #fff;
}
.wt-upsell__option input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wt-ink);
}
.wt-upsell__actions {
	display: grid;
	gap: 8px;
}
.wt-upsell__add:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
