/* Vinnbilar tyre shop: /dekk/, /dekk/<slug>/, /kurv/.
   Wheel finder: ported from einfalt-vinnbilar-core/blocks/wheel-finder/style.css.
   Product, related products and store pages: the store section of the theme's site.css, rewritten for the
   markup in src/pages/tyres.ts (no WooCommerce block classes). Tokens (--vinn-*) and .screen-reader-text come
   from site.css. */

.einfalt-vinnbilar--wheel-hero {
	background: #0e0e12;
}

/* The Vinnbilar studio: the same light backdrop and floor as the car covers, so a tyre photo (cut out, or on white:
   multiply drops the white) stands on the floor instead of sitting in a box. */
.vinn-wheel-card__image,
.vinn-product__image,
.vinn-kurv__thumb {
	--vinn-studio-floor: 9%;
	background:
		radial-gradient(ellipse 72% 58% at 50% 40%, #fff 0%, rgb(255 255 255 / 0) 72%),
		linear-gradient(180deg, #f7f7f9 0%, #eeeff2 64%, #e4e5e9 100%);
	isolation: isolate;
	position: relative;
}

.vinn-wheel-card__image::after,
.vinn-product__image::after {
	background: radial-gradient(closest-side, rgb(14 14 18 / 0.22), rgb(14 14 18 / 0));
	bottom: calc(var(--vinn-studio-floor) - 1.5%);
	content: "";
	height: 5%;
	left: 22%;
	pointer-events: none;
	position: absolute;
	right: 22%;
	z-index: 0;
}

.vinn-wheel-card__image img,
.vinn-product__image img,
.vinn-kurv__thumb img {
	mix-blend-mode: multiply;
	object-fit: contain;
	object-position: 50% 100%;
	position: relative;
	z-index: 1;
}

/* Without JavaScript the finder needs a submit button; with it the selects submit themselves. */
.vinn-wheel-submit {
	background: #fff;
	border: 0;
	border-radius: 0.5rem;
	color: #0e0e12;
	cursor: pointer;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	min-height: 2.75rem;
	padding: 0.6rem 1rem;
}

.vinn-wheel-toolbar .vinn-wheel-submit {
	background: #0e0e12;
	color: #fff;
}

.vinn-wheel-shop.has-js .vinn-wheel-submit {
	display: none;
}

/* ------------------------------------------------------------------------------------------------------------
   Wheel finder (/dekk/)
   ------------------------------------------------------------------------------------------------------------ */

.vinn-wheel-shop {
	background: #fff;
	position: relative;
}

.vinn-wheel-shop.is-loading .vinn-wheel-results {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 180ms ease;
}

.vinn-wheel-finder {
	background-color: #0e0e12;
	color: #fff;
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	padding-top: 0;
	position: relative;
}

.vinn-wheel-finder::before {
	background: var(--vinn-wheel-tint, transparent);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	transition: background-color 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
	z-index: 0;
}

.vinn-wheel-finder[data-dekkslag="vetrardekk"] {
	--vinn-wheel-tint: rgba(100, 160, 220, 0.08);
}

.vinn-wheel-finder[data-dekkslag="summardekk"] {
	--vinn-wheel-tint: rgba(220, 180, 80, 0.07);
}

.vinn-wheel-finder[data-dekkslag="pikkdekk"] {
	--vinn-wheel-tint: rgba(160, 175, 195, 0.07);
}

.vinn-wheel-finder__glow {
	animation: vinn-hero-glow-pulse 4.8s ease-in-out 2;
	background: radial-gradient(circle, rgba(192, 57, 43, 0.28), transparent 66%);
	height: 28rem;
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 48rem;
	z-index: 0;
}

.vinn-wheel-finder__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	max-width: 58rem;
	padding: calc(var(--vinn-header-height, 5.5rem) + clamp(0.75rem, 2vw, 1.25rem)) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
	position: relative;
	text-align: center;
	z-index: 1;
}

.vinn-wheel-finder__head {
	margin: 0 0 1.25rem;
}

.vinn-wheel-finder__kicker {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 0.6rem;
	text-transform: uppercase;
}

.vinn-wheel-finder__title {
	color: #fff;
	font-size: clamp(2.5rem, 4.5vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0;
}

.vinn-wheel-finder__from {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	margin: 0.75rem 0 0;
}

.vinn-wheel-finder__types {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 0 0.5rem;
	max-width: 48.75rem;
	width: 100%;
}

.vinn-wheel-type {
	align-items: center;
	background: rgba(14, 14, 18, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.5rem;
	color: rgba(255, 255, 255, 0.82);
	display: flex;
	flex-direction: column;
	font-size: 0.75rem;
	font-weight: 600;
	gap: 0.4rem;
	justify-content: center;
	min-height: 4.25rem;
	padding: 0.7rem 0.45rem;
	text-decoration: none;
	transition:
		background 180ms ease,
		border-color 180ms ease,
		color 180ms ease;
}

.vinn-wheel-type__icon {
	display: block;
	height: 1.35rem;
	width: 1.35rem;
}

.vinn-wheel-type__icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

.vinn-wheel-type:hover,
.vinn-wheel-type.is-active {
	background: rgba(255, 255, 255, 0.06);
	border-color: #fff;
	color: #fff;
}

.vinn-wheel-finder__tyre {
	aspect-ratio: 1448 / 470;
	margin: 0.25rem auto 1rem;
	max-width: 44rem;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.vinn-wheel-finder__tyre img,
.vinn-wheel-finder__tyre svg {
	display: block;
	height: 100%;
	inset: 0;
	max-height: 100%;
	position: absolute;
	width: 100%;
}

/* The photo fades out at the bottom through a mask, not a #0e0e12 overlay, so a type page's tint shows through
   instead of a dark box. */
.vinn-wheel-finder__tyre img {
	-webkit-mask-image: linear-gradient(to top, transparent, #000 3.5rem);
	mask-image: linear-gradient(to top, transparent, #000 3.5rem);
	object-fit: cover;
	object-position: center top;
}

.vinn-wheel-finder__tyre svg {
	overflow: visible;
	pointer-events: none;
	z-index: 3;
}

.vinn-wheel-finder__size text {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

.vinn-tyre-char {
	alignment-baseline: middle;
	dominant-baseline: central;
	fill: rgba(251, 252, 255, 0.42);
	paint-order: stroke;
	stroke: rgba(8, 8, 10, 0.45);
	stroke-width: 4px;
}

.vinn-tyre-char.is-lit {
	fill: #fbfcff;
	stroke: rgba(8, 8, 10, 0.3);
}

.vinn-wheel-size-form {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-inline: auto;
	max-width: 45rem;
	width: 100%;
}

.vinn-wheel-size-form label {
	display: grid;
	font-size: 0.75rem;
	font-weight: 700;
	gap: 0.4rem;
	text-align: left;
}

/* WordPress gave every label a 0.7em bottom margin; the finder's spacing was tuned with it. */
.vinn-wheel-size-form label,
.vinn-wheel-toolbar label {
	margin: 0 0 0.7em;
}

.vinn-wheel-size-form select,
.vinn-wheel-toolbar select {
	appearance: none;
	background-color: #fff;
	background-image:
		linear-gradient(45deg, transparent 50%, #535457 50%),
		linear-gradient(135deg, #535457 50%, transparent 50%);
	background-position:
		calc(100% - 1rem) 50%,
		calc(100% - 0.7rem) 50%;
	background-repeat: no-repeat;
	background-size: 0.35rem 0.35rem;
	border: 1px solid #d8d8db;
	border-radius: 0.5rem;
	color: #0e0e12;
	font-size: 0.875rem;
	min-height: 3.25rem;
	padding: 0.7rem 2.25rem 0.7rem 0.8rem;
	width: 100%;
}

.vinn-wheel-size-form select {
	background-color: rgba(14, 14, 18, 0.72);
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
	color-scheme: dark;
}

.vinn-wheel-size-form select:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.vinn-wheel-size-form select:focus-visible {
	border-color: #fff;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.vinn-wheel-toolbar select:focus-visible,
.vinn-wheel-submit:focus-visible {
	outline: 2px solid #0e0e12;
	outline-offset: 2px;
}

.vinn-wheel-finder :where(a, button):focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.vinn-wheel-reset {
	align-items: center;
	color: #535457;
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 600;
	gap: 0.35rem;
	text-decoration: none;
}

.vinn-wheel-reset span {
	font-size: 1.05rem;
	line-height: 1;
}

.vinn-wheel-reset:hover {
	color: #c0392b;
}

.vinn-wheel-results {
	margin-inline: auto;
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem);
	width: var(--vinn-shell, min(100% - 3rem, 90rem));
}

/* Size shortcuts, under the size selects in the dark finder. */
.vinn-wheel-popular {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 0.85rem;
	justify-content: center;
	margin-top: 1.25rem;
	max-width: 45rem;
	width: 100%;
}

.vinn-wheel-popular p {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.8125rem;
	margin: 0;
}

.vinn-wheel-popular div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.vinn-wheel-popular__size {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	padding: 0.45rem 0.85rem;
	text-decoration: none;
	white-space: nowrap;
}

.vinn-wheel-popular__size:hover,
.vinn-wheel-popular__size.is-active {
	background: #fff;
	border-color: #fff;
	color: #0e0e12;
}

/* Count and reset on the left, brand and order on the right: one row above the grid. */
.vinn-wheel-results__bar {
	align-items: center;
	border-bottom: 1px solid #d8d8db;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	justify-content: space-between;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: 1rem;
}

.vinn-wheel-results__status {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
}

.vinn-wheel-result-count {
	color: #0e0e12;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}

.vinn-wheel-toolbar {
	display: flex;
	gap: 0.6rem;
	justify-content: flex-end;
	margin: 0;
}

.vinn-wheel-toolbar label {
	margin: 0;
	min-width: min(13rem, 45vw);
}

.vinn-wheel-toolbar select {
	min-height: 2.75rem;
}

.vinn-wheel-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 2rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vinn-wheel-card {
	background: #fff;
	border: 1px solid #d8d8db;
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.vinn-wheel-card:hover {
	box-shadow: 0 18px 56px rgba(14, 14, 18, 0.16);
	transform: translateY(-0.25rem);
}

.vinn-wheel-card__image {
	aspect-ratio: 1;
	display: block;
	overflow: hidden;
	padding: 8% 10% var(--vinn-studio-floor);
}

.vinn-wheel-card__image img {
	display: block;
	height: 100%;
	transform-origin: 50% 100%;
	transition: transform 320ms ease;
	width: 100%;
}

.vinn-wheel-card:hover .vinn-wheel-card__image img {
	transform: scale(1.035);
}

.vinn-wheel-card.is-out-of-stock .vinn-wheel-card__image img {
	opacity: 0.55;
}

.vinn-wheel-card__placeholder {
	display: block;
	height: 100%;
	width: 100%;
}

.vinn-wheel-card__sale {
	background: #c0392b;
	border-radius: 999px;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	left: 0.75rem;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.6rem;
	position: absolute;
	text-transform: uppercase;
	top: 0.75rem;
	z-index: 2;
}

.vinn-wheel-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.vinn-wheel-card__meta {
	color: #6b6d70;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.045em;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.vinn-wheel-card h3 {
	font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
	margin: 0;
}

.vinn-wheel-card h3 a {
	color: inherit;
	text-decoration: none;
}

.vinn-wheel-card h3 a:hover {
	color: #c0392b;
}

.vinn-wheel-card__size {
	color: #535457;
	font-size: 0.9375rem;
	font-weight: 700;
	margin-block: 0.75rem 0;
}

.vinn-wheel-card__stock {
	color: #197e10;
	font-size: 0.75rem;
	font-weight: 700;
	margin-block: 0.6rem 1rem;
}

.vinn-wheel-card__stock::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 0.45rem;
	margin-right: 0.4rem;
	width: 0.45rem;
}

.vinn-wheel-card__stock.is-out {
	color: #cc1922;
}

.vinn-wheel-card__footer {
	align-items: end;
	border-top: 1px solid #d8d8db;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 1rem;
}

.vinn-wheel-card__price {
	display: grid;
}

.vinn-wheel-card__price :where(.amount, ins) {
	color: #0e0e12;
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
}

.vinn-wheel-card__price del {
	color: #6b6d70;
	font-size: 0.75rem;
}

.vinn-wheel-card__price del .amount {
	color: inherit;
	font-size: inherit;
	font-weight: 600;
}

.vinn-wheel-card__price small {
	color: #6b6d70;
	font-size: 0.6875rem;
}

.vinn-wheel-card__set {
	color: #535457;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	margin-top: 0.3rem;
	white-space: nowrap;
}

.vinn-wheel-card__actions {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
}

.vinn-wheel-card__cart {
	background: #0e0e12;
	border: 0;
	border-radius: 0.5rem;
	color: #fff;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.55;
	padding: 0.85rem 1.1rem;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.vinn-wheel-card__cart:hover,
.vinn-wheel-card__cart.added {
	background: #c0392b;
	color: #fff;
}

/* Sold out: ask about it instead of a dead end. */
.vinn-wheel-card__cart.is-ask {
	background: #fff;
	box-shadow: inset 0 0 0 1px #0e0e12;
	color: #0e0e12;
}

.vinn-wheel-card__cart.is-ask:hover {
	background: #0e0e12;
	color: #fff;
}

.vinn-wheel-card__cart:focus-visible,
.vinn-wheel-card h3 a:focus-visible {
	outline: 2px solid #0e0e12;
	outline-offset: 2px;
}

.vinn-wheel-card .added_to_cart {
	color: #0e0e12;
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 0.75rem;
}

.vinn-wheel-shop .vinn-empty-state {
	background: var(--vinn-surface, #eeeff2);
	border-radius: 0.75rem;
	grid-column: 1 / -1;
	padding: clamp(2rem, 5vw, 5rem);
	text-align: center;
}

.vinn-empty-state__button {
	background: #0e0e12;
	border-radius: 0.5rem;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: 0.875rem 1.25rem;
	text-decoration: none;
}

.vinn-empty-state__button:hover {
	background: #c0392b;
	color: #fff;
}

/* tyres.css loads on every page: these stay inside the shop, so the car empty states keep their own spacing. */
.vinn-wheel-shop .vinn-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
}

.vinn-wheel-shop .vinn-empty-state__button.is-secondary {
	background: #fff;
	box-shadow: inset 0 0 0 1px #0e0e12;
	color: #0e0e12;
}

.vinn-wheel-shop .vinn-empty-state__button.is-secondary:hover {
	background: #0e0e12;
	color: #fff;
}

.vinn-wheel-shop .vinn-pagination {
	margin-top: clamp(2rem, 5vw, 4rem);
}

.vinn-wheel-shop .vinn-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vinn-wheel-shop .vinn-pagination :where(a, span) {
	align-items: center;
	border: 1px solid #d8d8db;
	border-radius: 999px;
	color: #0e0e12;
	display: inline-flex;
	font-weight: 600;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding-inline: 0.75rem;
	text-decoration: none;
}

.vinn-wheel-shop .vinn-pagination .current {
	background: #0e0e12;
	border-color: #0e0e12;
	color: #fff;
}

.vinn-wheel-shop .vinn-pagination .dots {
	border-color: transparent;
}

@keyframes vinn-hero-glow-pulse {
	50% {
		opacity: 0.72;
	}
}

/* ------------------------------------------------------------------------------------------------------------
   Product page (/dekk/<slug>/)
   ------------------------------------------------------------------------------------------------------------ */

.vinn-product__top {
	padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
}

/* The car pages' breadcrumb (nav.vinn-breadcrumb > ol > li, styled in vehicles.css); the same values again here so
   the tyre pages keep it if that file moves its rules under the car page. */
.vinn-product .vinn-breadcrumb {
	font-size: 0.8125rem;
	margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
}

.vinn-product .vinn-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vinn-product .vinn-breadcrumb li {
	align-items: center;
	color: #6b6d70;
	display: inline-flex;
	gap: 0.5rem;
	min-width: 0;
}

.vinn-product .vinn-breadcrumb li + li::before {
	color: #b9babd;
	content: "/";
}

.vinn-product .vinn-breadcrumb a {
	color: #535457;
	font-weight: 600;
	text-decoration: none;
}

.vinn-product .vinn-breadcrumb a:hover {
	color: #c0392b;
}

.vinn-product .vinn-breadcrumb [aria-current="page"] {
	color: #0e0e12;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vinn-product__columns {
	align-items: start;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
}

.vinn-product__image {
	aspect-ratio: 1;
	border-radius: var(--vinn-radius-lg, 0.75rem);
	display: flex;
	overflow: hidden;
	padding: 10% 12% var(--vinn-studio-floor);
}

.vinn-product__image img {
	height: 100%;
	width: 100%;
}

.vinn-product__summary {
	position: sticky;
	top: calc(var(--vinn-header-height) + 1rem);
}

.vinn-product__title {
	font-size: clamp(2rem, 3.4vw, 3.25rem);
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin: 0 0 0.75rem;
	text-wrap: balance;
}

/* The tyre's own size, right under the name: the first thing a buyer checks. */
.vinn-product__size {
	color: #535457;
	font-size: 1.0625rem;
	margin: 0 0 1.5rem;
}

.vinn-product__size strong {
	color: #0e0e12;
	font-size: 1.25rem;
	font-variant-numeric: tabular-nums;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.vinn-product__pricing {
	margin: 0 0 1.25rem;
}

.vinn-product__price {
	color: var(--vinn-dark, #0e0e12);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	margin: 0 0 0.35rem;
}

.vinn-product__price ins {
	text-decoration: none;
}

.vinn-product__price del {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.55em;
	font-weight: 600;
}

.vinn-product__unit {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.875rem;
	margin: 0;
}

.vinn-product__set {
	background: var(--vinn-surface, #eeeff2);
	border-radius: 999px;
	color: #535457;
	display: inline-block;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	margin: 0.85rem 0 0;
	padding: 0.4rem 0.85rem;
}

.vinn-product__set strong {
	color: #0e0e12;
}

.vinn-product__excerpt {
	color: var(--vinn-contrast-high, #535457);
	font-size: 1.0625rem;
}

.vinn-product__excerpt p {
	margin: 0 0 0.75rem;
}

.vinn-product__excerpt p:last-child {
	margin-bottom: 0;
}

.vinn-product__cart {
	border-block: 1px solid var(--vinn-contrast-low, #d8d8db);
	margin: 1.5rem 0;
	padding-block: 1.25rem;
}

.vinn-product__cart .stock {
	color: var(--vinn-success, #197e10);
	font-size: 0.875rem;
	font-weight: 700;
	margin: 0 0 0.85rem;
}

.vinn-product__cart .stock.out-of-stock {
	color: var(--vinn-error, #cc1922);
	margin: 0;
}

.vinn-add-form {
	align-items: stretch;
	display: flex;
	gap: 0.65rem;
	margin: 0;
}

.vinn-add-form__qty {
	flex: 0 0 auto;
}

.vinn-add-form__qty .vinn-qty__step {
	min-height: 3rem;
	width: 2.75rem;
}

.vinn-add-form__qty .vinn-qty__input {
	min-height: 3rem;
}

/* The bar's own price shows only where the bar floats (phones). */
.vinn-buybar__price {
	display: none;
}

.vinn-add-form__button {
	background: var(--vinn-dark, #0e0e12);
	border: 0;
	border-radius: var(--vinn-radius-md, 0.5rem);
	color: var(--vinn-canvas, #fff);
	flex: 1;
	font-size: 0.9375rem;
	font-weight: 700;
	min-height: 3rem;
	padding: 0.85rem 1.1rem;
}

.vinn-add-form__button:hover {
	background: var(--vinn-red, #c0392b);
}

.vinn-add-form :where(button, input):focus-visible,
.vinn-tyre-help summary:focus-visible {
	outline: 2px solid #0e0e12;
	outline-offset: 2px;
}

.vinn-buybar {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.85rem;
}

.vinn-add-notice {
	align-items: center;
	background: #e8f5e6;
	border-radius: var(--vinn-radius-md, 0.5rem);
	color: var(--vinn-success, #197e10);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 0.5rem 1rem;
	justify-content: space-between;
	padding: 0.7rem 0.85rem;
}

.vinn-add-notice[hidden] {
	display: none;
}

.vinn-add-notice.is-error {
	background: #fdecea;
	color: var(--vinn-red, #c0392b);
}

.vinn-add-notice p {
	margin: 0;
}

.vinn-add-notice__link {
	color: var(--vinn-dark, #0e0e12);
	font-weight: 700;
	white-space: nowrap;
}

.vinn-product__meta {
	color: var(--vinn-contrast-medium, #6b6d70);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	gap: 0.5rem 1.5rem;
}

.vinn-product__meta strong {
	font-weight: 600;
}

.vinn-product__meta a {
	color: var(--vinn-dark, #0e0e12);
	font-weight: 600;
}

/* "Ivast tú í støddini?" / "Spyr um hetta dekkið": a three-field Dekk inquiry. */
.vinn-tyre-help--product {
	background: var(--vinn-surface, #eeeff2);
	border-radius: var(--vinn-radius-lg, 0.75rem);
	margin: 0 0 1.25rem;
}

.vinn-tyre-help--product summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
	padding: 1rem 1.15rem;
}

.vinn-tyre-help--product summary::-webkit-details-marker {
	display: none;
}

.vinn-tyre-help--product summary::after {
	border-bottom: 2px solid #0e0e12;
	border-right: 2px solid #0e0e12;
	content: "";
	flex: 0 0 auto;
	height: 0.5rem;
	transform: rotate(45deg) translate(-0.1rem, -0.1rem);
	transition: transform 180ms ease;
	width: 0.5rem;
}

.vinn-tyre-help--product[open] summary::after {
	transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.vinn-tyre-help__summary {
	display: grid;
	gap: 0.15rem;
}

.vinn-tyre-help__summary strong {
	color: #0e0e12;
	font-size: 1rem;
}

.vinn-tyre-help__lead {
	color: #535457;
	font-size: 0.875rem;
	margin: 0;
}

.vinn-tyre-help__form {
	display: grid;
	gap: 0.85rem;
}

.vinn-tyre-help--product .vinn-tyre-help__form {
	padding: 0 1.15rem 1.15rem;
}

.vinn-tyre-help__form .vinn-order-form__status[data-state="success"] {
	background: #e8f5e6;
	color: var(--vinn-success, #197e10);
	padding: 0.7rem 0.85rem;
}

.vinn-tyre-help__form :where(input):disabled {
	background: #f7f7f9;
	color: #6b6d70;
}

/* On /dekk/: a light band under the grid, text left, form right. */
.vinn-tyre-help--section {
	background: var(--vinn-surface, #eeeff2);
	padding-block: clamp(3rem, 6vw, 5.5rem);
	scroll-margin-top: 5rem;
}

.vinn-tyre-help__inner {
	align-items: start;
	display: grid;
	gap: clamp(1.5rem, 4vw, 4rem);
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.vinn-tyre-help--section h2 {
	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 0.75rem;
}

.vinn-tyre-help--section .vinn-tyre-help__lead {
	font-size: 1.0625rem;
}

.vinn-tyre-help--section .vinn-person {
	margin-top: 1.5rem;
}

.vinn-tyre-help--section .vinn-tyre-help__form {
	align-items: end;
	background: #fff;
	border-radius: var(--vinn-radius-lg, 0.75rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: clamp(1rem, 2.5vw, 1.75rem);
}

.vinn-tyre-help--section .vinn-tyre-help__form > :where(.vinn-order-form__status, .vinn-order-form__submit, .vinn-order-form__fallback) {
	grid-column: 1 / -1;
}

.vinn-product__details {
	border-top: 1px solid var(--vinn-contrast-low, #d8d8db);
	margin-top: clamp(1.5rem, 4vw, 3rem);
	min-width: 0;
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.vinn-tabs {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 1.5rem;
	min-width: 0;
	overflow-x: auto;
	padding: 0;
	scrollbar-width: none;
}

.vinn-tabs[hidden] {
	display: none;
}

.vinn-tabs::-webkit-scrollbar {
	display: none;
}

.vinn-tabs li {
	border-bottom: 2px solid transparent;
	margin: 0;
	padding: 0 0 0.6rem;
}

.vinn-tabs li.is-active {
	border-bottom-color: var(--vinn-red, #c0392b);
}

.vinn-tabs a {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.vinn-tabs li.is-active a {
	color: var(--vinn-dark, #0e0e12);
}

.vinn-tab-panel + .vinn-tab-panel {
	margin-top: clamp(1.5rem, 4vw, 3rem);
}

.has-tabs .vinn-tab-panel + .vinn-tab-panel {
	margin-top: 0;
}

.vinn-tab-panel > h2 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin: 0 0 1rem;
}

.vinn-tab-panel p {
	max-width: 48rem;
}

.vinn-product-attributes {
	border: 1px solid var(--vinn-contrast-low, #d8d8db);
	border-collapse: collapse;
	border-radius: var(--vinn-radius-md, 0.5rem);
	overflow: hidden;
	width: 100%;
}

.vinn-product-attributes :where(th, td) {
	background: var(--vinn-canvas, #fff);
	border-bottom: 1px solid var(--vinn-contrast-low, #d8d8db);
	padding: 0.75rem 1rem;
	text-align: left;
}

.vinn-product-attributes th {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	width: 30%;
}

.vinn-product__related {
	background: var(--vinn-surface, #eeeff2);
	padding-block: clamp(3.5rem, 7vw, 7rem);
	padding-inline: 0; /* the shell sets the gutter, as on the rest of the page */
}

.vinn-product__related .vinn-section__head {
	align-items: flex-end;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.vinn-product__related .vinn-section__head h2 {
	margin: 0;
}

.vinn-product__related .vinn-section__head > a {
	color: var(--vinn-dark, #0e0e12);
	flex: 0 0 auto;
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------------------
   Store pages (/kurv/): stage, cart lines, summary, order request, confirmation
   ------------------------------------------------------------------------------------------------------------ */

.vinn-store-stage {
	background: var(--vinn-canvas, #fff);
	padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.vinn-kurv__loading {
	color: var(--vinn-contrast-medium, #6b6d70);
	margin: 0;
	padding-block: 3rem;
	text-align: center;
}

.vinn-kurv__empty-title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

.vinn-kurv__empty-title::before {
	background: var(--vinn-contrast-medium, #6b6d70);
	content: "";
	display: block;
	height: 4.5rem;
	margin: 0 auto 1rem;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e12' stroke-width='1.5'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / 2.25rem no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e12' stroke-width='1.5'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / 2.25rem no-repeat;
	width: 4.5rem;
}

.vinn-kurv__new-title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin: 0 0 1.5rem;
}

.vinn-kurv {
	align-items: start;
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	grid-template-columns: minmax(0, 1fr) minmax(19rem, 26rem);
}

.vinn-kurv[hidden],
.vinn-kurv__empty[hidden],
.vinn-kurv-done[hidden],
.vinn-kurv__notice[hidden] {
	display: none;
}

.vinn-kurv__table {
	border-collapse: collapse;
	width: 100%;
}

.vinn-kurv__table thead th {
	border-bottom: 1px solid var(--vinn-contrast-low, #d8d8db);
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0 0 0.75rem;
	text-align: left;
	text-transform: uppercase;
}

.vinn-kurv__table thead .vinn-kurv__col-total {
	text-align: right;
}

.vinn-kurv__line td {
	border-bottom: 1px solid var(--vinn-contrast-low, #d8d8db);
	padding: 1.25rem 0;
	vertical-align: top;
}

.vinn-kurv__product-wrap {
	display: flex;
	gap: 1rem;
}

.vinn-kurv__thumb {
	align-self: flex-start;
	aspect-ratio: 1;
	border-radius: var(--vinn-radius-md, 0.5rem);
	flex: 0 0 6rem;
	overflow: hidden;
	padding: 0.5rem 0.5rem 0.6rem;
	width: 6rem;
}

.vinn-kurv__thumb img {
	display: block;
	height: 100%;
	width: 100%;
}

.vinn-kurv__info {
	min-width: 0;
	padding-right: 1rem;
}

.vinn-kurv__info p {
	margin: 0;
}

.vinn-kurv__meta {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.045em;
	margin-bottom: 0.3rem !important;
	text-transform: uppercase;
}

.vinn-kurv__name {
	color: var(--vinn-dark, #0e0e12);
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
}

.vinn-kurv__name:hover {
	color: var(--vinn-red, #c0392b);
}

.vinn-kurv__size {
	color: var(--vinn-contrast-high, #535457);
	font-size: 0.875rem;
	font-weight: 700;
	margin-top: 0.3rem !important;
}

.vinn-kurv__unit {
	font-size: 0.875rem;
	margin-top: 0.45rem !important;
}

.vinn-kurv__unit del {
	color: var(--vinn-contrast-medium, #6b6d70);
}

.vinn-kurv__unit small {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
}

.vinn-kurv__stock {
	color: var(--vinn-success, #197e10);
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 0.35rem !important;
}

.vinn-kurv__stock.is-out {
	color: var(--vinn-error, #cc1922);
}

.vinn-kurv__remove {
	background: none;
	border: 0;
	color: var(--vinn-contrast-medium, #6b6d70);
	cursor: pointer;
	font-size: 0.8125rem;
	margin-top: 0.6rem;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vinn-kurv__remove:hover {
	color: var(--vinn-red, #c0392b);
}

.vinn-qty {
	align-items: stretch;
	border: 1px solid var(--vinn-contrast-low, #d8d8db);
	border-radius: var(--vinn-radius-md, 0.5rem);
	display: inline-flex;
	overflow: hidden;
}

.vinn-qty__step {
	background: var(--vinn-canvas, #fff);
	border: 0;
	color: var(--vinn-dark, #0e0e12);
	cursor: pointer;
	font-size: 1.1rem;
	min-height: 2.75rem;
	width: 2.5rem;
}

.vinn-qty__step:hover:not(:disabled) {
	background: var(--vinn-surface, #eeeff2);
}

.vinn-qty__step:disabled {
	color: var(--vinn-contrast-low, #d8d8db);
	cursor: default;
}

.vinn-qty__input {
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0;
	border-inline: 1px solid var(--vinn-contrast-low, #d8d8db);
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	width: 3.25rem;
}

.vinn-qty__input::-webkit-inner-spin-button,
.vinn-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vinn-kurv__line-total {
	font-weight: 800;
	text-align: right;
	white-space: nowrap;
}

.vinn-kurv__line.is-out .vinn-kurv__line-total,
.vinn-kurv__line.is-out .vinn-kurv__name {
	color: var(--vinn-contrast-medium, #6b6d70);
}

.vinn-kurv__notice {
	background: #fdf3e6;
	border-radius: var(--vinn-radius-md, 0.5rem);
	color: #7a4b00;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 1rem 0 0;
	padding: 0.7rem 0.85rem;
}

.vinn-kurv__aside {
	display: grid;
	gap: 1.25rem;
	position: sticky;
	top: calc(var(--vinn-header-height) + 1rem);
}

.vinn-kurv__summary {
	background: var(--vinn-surface, #eeeff2);
	border-radius: var(--vinn-radius-lg, 0.75rem);
	padding: 1.25rem 1.35rem;
}

.vinn-kurv__summary h2,
.vinn-order-form h2 {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.vinn-kurv__summary dl {
	display: grid;
	gap: 0.6rem;
	margin: 0;
}

.vinn-kurv__summary dl > div {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
}

.vinn-kurv__summary dt {
	color: var(--vinn-contrast-high, #535457);
}

.vinn-kurv__summary dd {
	margin: 0;
	text-align: right;
}

.vinn-kurv__total {
	border-top: 1px solid var(--vinn-contrast-low, #d8d8db);
	padding-top: 0.75rem;
}

.vinn-kurv__total dt {
	color: var(--vinn-dark, #0e0e12);
	font-weight: 700;
}

.vinn-kurv__total strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.vinn-kurv__total small {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
}

.vinn-order-form {
	border: 1px solid var(--vinn-contrast-low, #d8d8db);
	border-radius: var(--vinn-radius-lg, 0.75rem);
	display: grid;
	gap: 1rem;
	padding: 1.25rem 1.35rem;
	position: relative;
}

.vinn-order-form h2 {
	margin: 0;
}

.vinn-order-form__lead {
	color: var(--vinn-contrast-high, #535457);
	font-size: 0.9375rem;
	margin: -0.5rem 0 0;
}

.vinn-order-form__field {
	display: grid;
	gap: 0.35rem;
	margin: 0;
}

.vinn-order-form__field label {
	color: #6b6d70;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vinn-order-form__field :where(input, textarea) {
	background: #fff;
	border: 1px solid #d8d8db;
	border-radius: 0.5rem;
	color: inherit;
	font: inherit;
	padding: 0.7rem 0.85rem;
	width: 100%;
}

.vinn-order-form__field :where(input, textarea):focus-visible {
	border-color: #0e0e12;
	outline: 2px solid #0e0e12;
	outline-offset: 1px;
}

.vinn-order-form__field textarea {
	resize: vertical;
}

/* Off-screen rather than hidden, so scripted form fillers still reach it. */
.vinn-order-form__honeypot {
	height: 0;
	left: -9999px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.vinn-order-form__status {
	border-radius: 0.5rem;
	font-weight: 600;
	margin: 0;
}

.vinn-order-form__status:empty {
	display: none;
}

.vinn-order-form__status[data-state="error"] {
	background: #fdecea;
	color: #c0392b;
	padding: 0.7rem 0.85rem;
}

.vinn-order-form__submit {
	background: #0e0e12;
	border: 0;
	border-radius: 0.5rem;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.9rem 1.25rem;
	width: 100%;
}

.vinn-order-form__submit:hover:not(:disabled) {
	background: #c0392b;
}

.vinn-order-form__submit:disabled {
	cursor: progress;
	opacity: 0.6;
}

.vinn-order-form__fallback {
	color: #6b6d70;
	font-size: 0.9375rem;
	margin: 0;
	text-align: center;
}

.vinn-order-form__fallback a {
	color: var(--vinn-dark, #0e0e12);
	font-weight: 700;
}

.vinn-kurv-done {
	margin-inline: auto;
	max-width: 52rem;
	outline: none;
}

.vinn-kurv-done__head {
	background: #e8f5e6;
	border-radius: var(--vinn-radius-lg, 0.75rem);
	color: var(--vinn-success, #197e10);
	margin-bottom: 1.5rem;
	padding: 1.1rem 1.25rem;
}

.vinn-kurv-done__head p {
	margin: 0;
}

.vinn-kurv-done__thanks {
	font-size: 1.125rem;
	font-weight: 700;
}

.vinn-kurv-done__lead {
	color: var(--vinn-contrast-high, #535457);
	margin-top: 0.3rem !important;
}

.vinn-kurv-done__overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 0;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.vinn-kurv-done__overview li {
	border-right: 1px dashed var(--vinn-contrast-low, #d8d8db);
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-right: 1.5rem;
	padding-right: 1.5rem;
	text-transform: uppercase;
}

.vinn-kurv-done__overview li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.vinn-kurv-done__overview strong {
	color: var(--vinn-dark, #0e0e12);
	display: block;
	font-size: 1rem;
	letter-spacing: 0;
	margin-top: 0.25rem;
	text-transform: none;
}

.vinn-kurv-done h2 {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	margin: 0 0 1rem;
}

.vinn-kurv-done__table {
	border-collapse: collapse;
	margin-bottom: 2rem;
	width: 100%;
}

.vinn-kurv-done__table :where(th, td) {
	border-bottom: 1px solid var(--vinn-contrast-low, #d8d8db);
	padding: 0.75rem 0;
	text-align: left;
}

.vinn-kurv-done__table :where(th, td):last-child {
	text-align: right;
	white-space: nowrap;
}

.vinn-kurv-done__table thead th {
	color: var(--vinn-contrast-medium, #6b6d70);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vinn-kurv-done__table tfoot :where(th, td) {
	border-bottom: 0;
	font-weight: 800;
}

.vinn-kurv-done__back {
	background: var(--vinn-dark, #0e0e12);
	border-radius: var(--vinn-radius-md, 0.5rem);
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: 0.875rem 1.25rem;
	text-decoration: none;
}

.vinn-kurv-done__back:hover {
	background: var(--vinn-red, #c0392b);
	color: #fff;
}

/* ------------------------------------------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------------------------------------------ */

@media (max-width: 64rem) {
	.vinn-wheel-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vinn-wheel-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vinn-product__columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.vinn-product__image {
		aspect-ratio: 4 / 3;
		margin-inline: auto;
		max-width: 40rem;
	}

	.vinn-tyre-help__inner,
	.vinn-tyre-help--section .vinn-tyre-help__form {
		grid-template-columns: minmax(0, 1fr);
	}

	.vinn-product__summary,
	.vinn-kurv__aside {
		position: static;
	}

	.vinn-kurv {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 48rem) {
	.vinn-wheel-finder {
		padding-top: var(--vinn-header-height, 4.75rem);
	}

	/* The shell's gutter, so the finder and the results below share one left edge (16 px at 390, 31 px at 768). */
	.vinn-wheel-finder__inner {
		--vinn-wheel-gutter: var(--vinn-page-gutter, 1rem);
		align-items: stretch;
		max-width: none;
		padding:
			clamp(0.85rem, 3vw, 1.25rem)
			max(var(--vinn-wheel-gutter), env(safe-area-inset-right, 0px))
			1.75rem
			max(var(--vinn-wheel-gutter), env(safe-area-inset-left, 0px));
	}

	.vinn-wheel-finder__head {
		margin-bottom: 1rem;
		text-align: left;
	}

	.vinn-wheel-finder__kicker {
		font-size: 0.6875rem;
		letter-spacing: 0.13em;
		margin-bottom: 0.4rem;
	}

	.vinn-wheel-finder__title {
		font-size: 2.25rem;
	}

	.vinn-wheel-finder__from {
		font-size: 0.9375rem;
		margin-top: 0.4rem;
	}

	.vinn-wheel-finder__types {
		display: flex;
		gap: 0.5rem;
		margin: 0 calc(-1 * var(--vinn-wheel-gutter)) 0.6rem;
		max-width: none;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding: 0.25rem var(--vinn-wheel-gutter) 0.5rem;
		scroll-padding-inline: var(--vinn-wheel-gutter);
		scroll-snap-type: inline proximity;
		scrollbar-width: none;
		width: calc(100% + 2 * var(--vinn-wheel-gutter));
	}

	.vinn-wheel-finder__types::-webkit-scrollbar,
	.vinn-wheel-popular div::-webkit-scrollbar {
		display: none;
	}

	.vinn-wheel-type,
	.vinn-wheel-type:first-child {
		flex: 0 0 6.75rem;
		grid-column: auto;
		min-height: 4rem;
		padding: 0.6rem 0.4rem;
		scroll-snap-align: start;
	}

	/* The sidewall drawing is decoration; on a phone the first tyre matters more. */
	.vinn-wheel-finder__tyre {
		display: none;
	}

	.vinn-wheel-size-form {
		gap: 0.5rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
	}

	.vinn-wheel-size-form label {
		font-size: 0.6875rem;
		gap: 0.3rem;
		min-width: 0;
	}

	.vinn-wheel-size-form select,
	.vinn-wheel-toolbar select {
		background-position:
			calc(100% - 0.85rem) 50%,
			calc(100% - 0.58rem) 50%;
		background-size: 0.3rem 0.3rem;
		font-size: 1rem;
		min-width: 0;
		padding: 0.6rem 1.65rem 0.6rem 0.65rem;
	}

	.vinn-wheel-size-form select {
		min-height: 3rem;
	}

	.vinn-wheel-results {
		padding-block: 1.25rem 3.5rem;
		width: var(--vinn-shell, min(100% - 2rem, 90rem));
	}

	.vinn-wheel-popular {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-top: 0.75rem;
		max-width: none;
	}

	.vinn-wheel-popular p {
		display: none;
	}

	.vinn-wheel-popular div {
		flex-wrap: nowrap;
		margin-inline: calc(-1 * var(--vinn-wheel-gutter));
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding-inline: var(--vinn-wheel-gutter);
		scroll-padding-inline: var(--vinn-wheel-gutter);
		scroll-snap-type: inline proximity;
		scrollbar-width: none;
		width: calc(100% + 2 * var(--vinn-wheel-gutter));
	}

	.vinn-wheel-popular__size {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.vinn-wheel-results__bar {
		align-items: stretch;
		flex-direction: column;
		gap: 0.65rem;
		margin-bottom: 1rem;
		padding-bottom: 1rem;
	}

	.vinn-wheel-results__status {
		justify-content: space-between;
	}

	.vinn-wheel-result-count {
		font-size: 1rem;
	}

	/* Brand and order side by side. */
	.vinn-wheel-toolbar {
		display: grid;
		gap: 0.5rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vinn-wheel-toolbar label {
		min-width: 0;
		width: 100%;
	}

	.vinn-wheel-toolbar select {
		font-size: 0.9375rem;
		min-height: 2.75rem;
	}

	.vinn-wheel-grid,
	.vinn-wheel-grid--related {
		gap: 0.85rem;
		grid-template-columns: 1fr;
	}

	.vinn-wheel-card {
		display: grid;
		grid-template-columns: clamp(7.5rem, 32vw, 12rem) minmax(0, 1fr);
		min-width: 0;
	}

	.vinn-wheel-card:hover {
		box-shadow: none;
		transform: none;
	}

	/* The image column is as tall as the card: the tyre sits in the middle of the studio, without a floor shadow. */
	.vinn-wheel-card__image {
		aspect-ratio: auto;
		height: 100%;
		min-height: 11rem;
		padding: 0.75rem 0.6rem;
	}

	.vinn-wheel-card__image::after {
		display: none;
	}

	.vinn-wheel-card__image img {
		object-position: 50% 50%;
		transform-origin: 50% 50%;
	}

	.vinn-wheel-card__sale {
		font-size: 0.625rem;
		left: 0.5rem;
		padding: 0.3rem 0.45rem;
		top: 0.5rem;
	}

	.vinn-wheel-card__body {
		min-width: 0;
		padding: 1rem;
	}

	.vinn-wheel-card__meta {
		font-size: 0.625rem;
		margin-bottom: 0.3rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.vinn-wheel-card h3 {
		font-size: 1.05rem;
		line-height: 1.18;
		overflow-wrap: anywhere;
	}

	.vinn-wheel-card__size {
		font-size: 0.8125rem;
		margin-top: 0.5rem;
	}

	.vinn-wheel-card__stock {
		margin-block: 0.45rem 0.7rem;
	}

	.vinn-wheel-card__footer {
		align-items: stretch;
		flex-direction: column;
		gap: 0.65rem;
		padding-top: 0.75rem;
	}

	.vinn-wheel-card__actions {
		align-items: stretch;
	}

	.vinn-wheel-card .vinn-wheel-card__cart {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 2.75rem;
		padding: 0.65rem 0.75rem;
		width: 100%;
	}

	.vinn-wheel-card .added_to_cart {
		margin-top: 0.5rem;
		text-align: center;
	}

	.vinn-product__related .vinn-section__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.vinn-add-form__button {
		min-width: 0;
	}

	/* Phones: the add-to-cart form floats at the bottom (the car page's sticky bar), price + stepper + button. */
	/* Room under the footer, so the bar never covers its last lines; the "lagt í kurvina" notice makes it taller. */
	body:has(.vinn-product.has-buybar) {
		padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
	}

	body:has(.vinn-buybar .vinn-add-notice:not([hidden])) {
		padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
	}

	/* A focused field (Tab, the phone keyboard) or an anchor jump stops above the bar, never behind it. */
	html:has(.vinn-product.has-buybar) {
		scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
	}

	html:has(.vinn-buybar .vinn-add-notice:not([hidden])) {
		scroll-padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px));
	}

	.vinn-buybar {
		background: rgb(255 255 255 / 0.94);
		-webkit-backdrop-filter: blur(18px) saturate(1.3);
		backdrop-filter: blur(18px) saturate(1.3);
		border-top: 1px solid rgb(14 14 18 / 0.1);
		bottom: 0;
		flex-direction: column; /* the "lagt í kurvina" notice above the controls */
		gap: 0.55rem;
		left: 0;
		padding: 0.6rem max(1rem, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
		position: fixed;
		right: 0;
		z-index: 80;
	}

	.vinn-buybar .vinn-add-form {
		align-items: center;
		gap: 0.5rem;
	}

	.vinn-buybar__price {
		display: grid;
		flex: 1 1 auto;
		font-variant-numeric: tabular-nums;
		gap: 0.05rem;
		line-height: 1.1;
		margin: 0;
		min-width: 0;
	}

	.vinn-buybar__price :where(.amount, ins) {
		font-size: 1rem;
		font-weight: 800;
		text-decoration: none;
		white-space: nowrap;
	}

	.vinn-buybar__price del {
		display: none;
	}

	.vinn-buybar__price small {
		color: #6b6d70;
		font-size: 0.6875rem;
	}

	.vinn-buybar .vinn-add-form__qty .vinn-qty__step {
		min-height: 2.75rem;
		width: 2.25rem;
	}

	.vinn-buybar .vinn-add-form__qty .vinn-qty__input {
		min-height: 2.75rem;
		width: 2.5rem;
	}

	.vinn-buybar .vinn-add-form__button {
		flex: 0 0 auto;
		min-height: 2.75rem;
		padding: 0.6rem 0.95rem;
		white-space: nowrap;
	}

	.vinn-buybar .vinn-add-notice {
		flex-wrap: nowrap;
		font-size: 0.8125rem;
		padding: 0.5rem 0.75rem;
	}

	.vinn-product__cart .stock {
		margin: 0;
	}

	.vinn-product__cart {
		margin: 1rem 0 1.25rem;
		padding-block: 0.85rem;
	}

	.vinn-product__title {
		font-size: 2rem;
	}

	.vinn-product__size {
		margin-bottom: 1rem;
	}

	.vinn-product__price {
		font-size: 1.75rem;
	}

	/* Cart lines become stacked cards. */
	.vinn-kurv__table thead {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}

	.vinn-kurv__table,
	.vinn-kurv__table tbody {
		display: block;
	}

	.vinn-kurv__line {
		align-items: center;
		border-bottom: 1px solid var(--vinn-contrast-low, #d8d8db);
		display: grid;
		gap: 0.85rem 1rem;
		grid-template-columns: auto 1fr;
		padding-block: 1.1rem;
	}

	.vinn-kurv__line td {
		border-bottom: 0;
		padding: 0;
	}

	.vinn-kurv__product {
		grid-column: 1 / -1;
	}

	.vinn-kurv__thumb {
		flex-basis: 5rem;
		width: 5rem;
	}

	.vinn-kurv__info {
		padding-right: 0;
	}

	.vinn-kurv__line-total {
		font-size: 1.05rem;
	}
}

@media (max-width: 35rem) {
	.vinn-wheel-finder__glow {
		height: 19rem;
		width: 32rem;
	}

	.vinn-wheel-card__set {
		white-space: normal;
	}

	.vinn-wheel-type,
	.vinn-wheel-type:first-child {
		flex-basis: 6rem;
		font-size: 0.6875rem;
		min-width: 0;
	}

	.vinn-wheel-size-form {
		gap: 0.4rem;
	}

	.vinn-wheel-size-form select {
		padding-left: 0.5rem;
	}

	.vinn-wheel-card__image {
		min-height: 11rem;
	}

	.vinn-wheel-card__body {
		padding: 0.85rem;
	}

	.vinn-wheel-card__price :where(.amount, ins) {
		font-size: 0.95rem;
	}

	.vinn-wheel-shop .vinn-empty-state {
		padding: 2rem 1rem;
	}

	.vinn-kurv-done__overview li {
		border-right: 0;
		flex: 1 1 45%;
		margin-right: 0;
		padding-right: 0.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vinn-wheel-finder__glow {
		animation: none;
	}

	.vinn-wheel-card,
	.vinn-wheel-card__image img,
	.vinn-tyre-help--product summary::after {
		transition: none;
	}
}
