@layer components {
	.section {
		padding-block: var(--section-space);
		border-top: 1px solid var(--c-line);
	}

	/* ======================================================================
	   Úvod: galerie + název, parametry, nákup
	   ====================================================================== */

	.product-hero {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: clamp(24px, 4vw, 56px);
		align-items: start;
		padding-bottom: 56px;
	}

	.gallery {
		min-width: 0;
		position: sticky;
		top: calc(var(--header-h) + 20px);
	}

	.gallery__main {
		position: relative;
		background: var(--c-black);
	}

	.gallery__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
		padding: 0;
		list-style: none;

		&::-webkit-scrollbar { display: none; }
	}

	.gallery__slide {
		flex: 0 0 100%;
		aspect-ratio: 10 / 7;
		scroll-snap-align: start;

		img { width: 100%; height: 100%; object-fit: cover; }
	}

	.gallery__nav {
		position: absolute;
		top: 50%;
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border: 0;
		border-radius: 50%;
		background: rgb(0 0 0 / 0.55);
		color: var(--c-text);
		translate: 0 -50%;
		transition: background .2s, color .2s;

		&:hover { background: var(--c-gold); color: var(--c-black); }
	}

	.gallery__nav--prev { left: 14px; }
	.gallery__nav--next { right: 14px; }

	.gallery__count {
		position: absolute;
		right: 14px;
		bottom: 12px;
		padding: 2px 10px;
		background: rgb(0 0 0 / 0.6);
		font-size: 13px;
		font-weight: var(--fw-regular);
	}

	.gallery__zoom { display: block; height: 100%; cursor: zoom-in; }

	.lightbox {
		width: 100%;
		max-width: none;
		height: 100%;
		max-height: none;
		margin: 0;
		padding: 0;
		border: 0;
		background: var(--c-black);
		color: var(--c-text);
		overscroll-behavior: contain;

		&[open] { animation: lightbox-in .25s var(--ease); }
		&::backdrop { background: transparent; }
	}

	@keyframes lightbox-in { from { opacity: 0; } }

	.lightbox__figure {
		display: grid;
		place-items: center;
		width: 100%;
		height: 100%;
		padding: 64px 80px;
	}

	.lightbox__image { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }

	.lightbox__count {
		position: absolute;
		left: 50%;
		bottom: 20px;
		translate: -50% 0;
		font-size: 14px;
		color: var(--c-muted);
	}

	.lightbox__close {
		position: absolute;
		top: 14px;
		right: 14px;
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgb(255 255 255 / 0.08);
		color: var(--c-text);
		transition: background .2s, color .2s;

		&:hover { background: var(--c-gold); color: var(--c-black); }
	}

	.gallery__thumbs {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 8px;
		margin-top: 8px;
		padding: 0;
		list-style: none;

		button {
			display: block;
			width: 100%;
			cursor: zoom-in;
			aspect-ratio: 10 / 7;
			padding: 0;
			overflow: hidden;
			border: 2px solid transparent;
			background: var(--c-black);
			opacity: .55;
			transition: opacity .2s, border-color .2s;

			&:hover, &[aria-current="true"] { opacity: 1; border-color: var(--c-gold); }
		}

		img { width: 100%; height: 100%; object-fit: cover; }
	}

	.product-summary__title {
		margin-block: 4px 6px;
		font-size: clamp(40px, 5vw, 64px);
		letter-spacing: -.01em;
	}

	.product-summary__label {
		display: inline-block;
		margin-bottom: 22px;
		padding: 2px 12px;
		border: 1px solid var(--c-line);
		color: var(--c-muted);
		font-size: 14px;
		font-weight: var(--fw-regular);
	}

	.product-summary__lead {
		margin-bottom: 26px;
		color: rgb(255 255 255 / 0.85);
		font-size: 18px;
	}

	.facts {
		margin: 0 0 22px;
		border-top: 1px solid var(--c-line);
	}

	.facts__item {
		display: grid;
		grid-template-columns: 110px 1fr;
		gap: 12px;
		align-items: baseline;
		padding: 10px 0;
		border-bottom: 1px solid var(--c-line);

		dt {
			color: var(--c-muted);
			font-size: 12px;
			font-weight: var(--fw-regular);
			letter-spacing: .12em;
			text-transform: uppercase;
		}

		dd {
			margin: 0;
			font-size: 16px;
			font-weight: var(--fw-bold);
			line-height: 1.3;
		}
	}

	/* Další parametry */
	.params {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
		column-gap: 32px;
		margin: 0;
	}

	.params__row {
		display: grid;
		grid-template-columns: minmax(120px, 1fr) 2fr;
		gap: 16px;
		padding: 12px 0;
		border-bottom: 1px solid var(--c-line);

		dt { color: var(--c-muted); }
		dd { margin: 0; font-weight: var(--fw-bold); }
	}

	/* Okno Zavolejte */
	.contact-dialog {
		width: min(480px, 100% - 2 * var(--gutter));
		margin: auto;
		padding: 0;
		border: 0;
		background: var(--c-panel);
		color: var(--c-text);

		&::backdrop { background: rgb(0 0 0 / 0.75); }
		&:focus { outline: none; }
		.contact-card { padding: 32px 56px 32px 28px; }
	}

	.contact-dialog__close {
		position: absolute;
		top: 10px;
		right: 10px;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--c-text);

		svg { width: 22px; height: 22px; }
		&:hover { color: var(--c-gold); }
	}

	/* Nákupní box */
	.buy {
		padding: 26px;
		border-top: 3px solid var(--c-gold);
		background: var(--c-panel);
		scroll-margin-top: calc(var(--header-h) + 20px);
	}

	.buy__head {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 18px;
	}

	.buy__price {
		line-height: 1;

		strong { display: block; font-size: 38px; }
		del { display: block; margin-bottom: 6px; color: var(--c-muted); font-size: 18px; }
		small { display: block; margin-top: 6px; color: var(--c-muted); font-size: 14px; }
	}

	.stock {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		color: var(--c-ok);
		font-size: 15px;
		font-weight: var(--fw-bold);

		&::before {
			content: "";
			width: 10px;
			height: 10px;
			flex: none;
			border-radius: 50%;
			background: currentColor;
			box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent);
		}

		&.is-order, &.is-preorder { color: var(--c-warn); }
		&.is-out { color: var(--c-muted); }
	}

	.buy__help { margin-top: 12px; color: var(--c-muted); font-size: 14px; a { color: var(--c-gold); } }
	.buy__soldout { margin-bottom: 16px; color: var(--c-muted); }

	.buy__perks {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 18px;
		margin-top: 16px;
		padding: 0;
		color: var(--c-muted);
		font-size: 14px;
		list-style: none;

		li { display: inline-flex; align-items: center; gap: 6px; }
		.icon { width: 16px; height: 16px; color: var(--c-gold); }
		a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-text); }
	}

	/* Objednávkový formulář */
	.sizes {
		margin: 0 0 18px;
		padding: 0;
		border: 0;

		legend {
			margin-bottom: 8px;
			color: var(--c-muted);
			font-size: 12px;
			font-weight: var(--fw-regular);
			letter-spacing: .12em;
			text-transform: uppercase;
		}
	}

	.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }

	.size {
		position: relative;
		min-width: 86px;
		padding: 10px 12px 8px;
		border: 1px solid var(--c-line-strong);
		line-height: 1.2;
		text-align: center;
		cursor: pointer;
		transition: border-color .2s, background .2s;

		input { position: absolute; opacity: 0; pointer-events: none; }
		b { display: block; font-size: 20px; }
		small { color: var(--c-ok); font-size: 12px; font-weight: var(--fw-regular); }

		&.is-objednavka small { color: var(--c-warn); }
		&.is-vyprodano { opacity: .45; cursor: not-allowed; small { color: var(--c-muted); } b { text-decoration: line-through; } }

		&:hover:not(.is-vyprodano) { border-color: var(--c-gold); }
		&:has(input:checked) { border-color: var(--c-gold); background: rgb(192 159 49 / 0.12); box-shadow: inset 0 0 0 1px var(--c-gold); }
		&:has(input:focus-visible) { outline: 2px solid var(--c-gold); outline-offset: 2px; }
	}

	.addon { display: block; margin-bottom: 18px; }

	/* Bez JS jsou pole vidět pod tlačítkem, s JS v okně (viz .order-dialog). */
	.order-form:not(.has-dialog) [data-order-open] { display: none; }

	.order-form__fields-inner { display: block; }

	.order-form__group {
		margin: 18px 0 6px;
		padding: 0;
		border: 0;

		legend {
			display: flex;
			align-items: center;
			gap: 10px;
			margin-bottom: 10px;
			font-size: 15px;
			font-weight: var(--fw-bold);

			span {
				display: grid;
				place-items: center;
				width: 24px;
				height: 24px;
				border-radius: 50%;
				background: var(--c-gold);
				color: var(--c-black);
				font-size: 13px;
			}
		}
	}

	.order-form__address { transition: opacity .2s; }

	.pickup { margin-bottom: 12px; }
	.pickup__selected:not(:empty) { margin-top: 8px; color: var(--c-gold); font-size: 14px; font-weight: var(--fw-regular); }

	.order-summary {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		margin-block: 6px 12px;
		padding-block: 12px;
		border-top: 1px solid var(--c-line);
		font-weight: var(--fw-regular);

		output { font-size: 22px; font-weight: var(--fw-bold); }
	}

	.order-form__terms { margin-bottom: 12px; }

	/* Okno objednávky */
	.order-dialog {
		width: min(1040px, 100% - 32px);
		max-height: calc(100dvh - 32px);
		margin: auto;
		padding: 0;
		border: 0;
		border-top: 3px solid var(--c-gold);
		background: var(--c-panel);
		color: var(--c-text);
		overflow: hidden;

		&[open] {
			display: grid;
			grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
			animation: order-dialog-in .35s var(--ease);
		}

		&::backdrop { background: rgb(0 0 0 / 0.82); backdrop-filter: blur(3px); }
	}

	@keyframes order-dialog-in {
		from { opacity: 0; translate: 0 20px; }
	}

	.order-dialog__aside {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 32px 28px;
		background:
			radial-gradient(closest-side, rgb(192 159 49 / 0.16), transparent) center 30% / 100% 60% no-repeat,
			var(--c-bg);
	}

	.order-dialog__image {
		display: grid;
		place-items: center;
		min-height: 0;
		flex: 1;

		img {
			width: auto;
			max-width: 100%;
			height: auto;
			max-height: min(380px, 42dvh);
			object-fit: contain;
			filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.6));
		}
	}

	.order-dialog__product {
		display: grid;
		gap: 6px;

		.eyebrow { font-size: 12px; }
	}

	.order-dialog__title { font-size: 28px; font-style: italic; font-weight: var(--fw-bold); line-height: 1.1; text-transform: uppercase; }

	.order-dialog__size {
		color: var(--c-muted);

		strong { margin-inline: 4px 8px; color: var(--c-text); font-size: 18px; }
	}

	.order-dialog__change {
		padding: 0;
		border: 0;
		background: none;
		color: var(--c-gold);
		font-size: 14px;
		text-decoration: underline;
	}

	.order-dialog__total {
		display: flex;
		flex-wrap: wrap;
		gap: 0 8px;
		justify-content: space-between;
		align-items: baseline;
		margin-top: 8px;
		padding-top: 12px;
		border-top: 1px solid var(--c-line);
		color: var(--c-muted);
		font-size: 14px;

		strong { color: var(--c-text); font-size: 22px; }
	}

	.order-dialog__body {
		max-height: calc(100dvh - 35px);
		padding: 24px 40px 32px;
		overflow-y: auto;
		overscroll-behavior: contain;

		.order-form__group:first-child { margin-top: 0; }
		.wpcf7-response-output { margin: 16px 0 0; }
	}

	.order-dialog__close {
		position: absolute;
		top: 12px;
		right: 12px;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: rgb(0 0 0 / 0.5);
		color: var(--c-text);

		svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
		&:hover { background: var(--c-gold); color: var(--c-black); }
	}

	/* Po odeslání zůstane v okně jen potvrzení. */
	.order-form.is-sent .order-dialog {
		.order-form__fields { display: none; }
		.order-dialog__body { display: grid; align-content: center; }
		.wpcf7-response-output { padding: 20px; border: 1px solid var(--c-ok); font-size: 18px; }
	}

	@media (max-width: 760px) {
		.order-dialog {
			width: 100%;
			max-width: none;
			height: 100dvh;
			max-height: none;
			border-top: 0;

			&[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
		}

		.order-dialog__aside {
			flex-direction: row;
			align-items: center;
			gap: 16px;
			padding: 14px 64px 14px 16px;
			border-bottom: 1px solid var(--c-line);
		}

		.order-dialog__image { flex: none; img { max-height: 96px; } }
		.order-dialog__title { font-size: 20px; }
		.order-dialog__total { margin-top: 0; padding-top: 6px; strong { font-size: 18px; } }
		.order-dialog__body { max-height: none; padding: 20px 16px 32px; }
	}

	@media (prefers-reduced-motion: reduce) {
		.order-dialog[open] { animation: none; }
	}
	.order-form__docs { margin-top: 6px; padding-left: 28px; font-size: 13px; a { color: var(--c-text); } }

	/* ======================================================================
	   Výhody (ikony)
	   ====================================================================== */

	.benefits {
		padding-block: 44px;
		border-top: 1px solid var(--c-line);
		background: var(--c-black);
	}

	.benefits__list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 28px 16px;
		padding: 0;
		list-style: none;
		text-align: center;
	}

	.benefits__icon { width: 78px; height: 78px; margin: 0 auto 12px; object-fit: contain; }

	.benefits__item {
		strong { display: block; font-size: 14px; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
		span { display: block; margin-top: 4px; color: var(--c-muted); font-size: 14px; }
	}

	/* ======================================================================
	   Popis + kontakt + půjčovna
	   ====================================================================== */

	.product-about {
		display: grid;
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: clamp(32px, 5vw, 64px);
		align-items: start;
	}

	.product-about__text > p:first-child { color: var(--c-text); font-size: 21px; font-weight: var(--fw-regular); }

	.product-about__quote {
		margin-top: 32px;
		padding: 24px 28px;
		border-left: 3px solid var(--c-gold);
		background: var(--c-panel);
		font-size: 18px;
		font-style: italic;

		p + p { margin-top: .8em; }
	}

	.product-about__scheme { margin-top: 32px; img { max-width: 440px; margin-inline: auto; } }

	.product-about__side {
		position: sticky;
		top: calc(var(--header-h) + 20px);
		display: grid;
		gap: 16px;
	}

	.contact-card {
		display: grid;
		grid-template-columns: 96px 1fr;
		gap: 18px;
		align-items: center;
		padding: 24px;
		background: var(--c-panel);

		h3 { margin-bottom: 4px; color: var(--c-gold); font-size: 19px; }
		p { color: var(--c-muted); font-size: 14px; }
	}

	.contact-card--no-photo { grid-template-columns: 1fr; }

	.contact-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
	.contact-card__phone { display: block; font-size: 20px; font-weight: var(--fw-bold); text-decoration: none; }
	.contact-card__mail { display: block; font-size: 15px; text-decoration: none; }

	.rent-card {
		padding: 24px;
		border: 1px solid rgb(192 159 49 / 0.35);
		background: linear-gradient(135deg, #1d1d1d, #262012);
		scroll-margin-top: calc(var(--header-h) + 20px);

		h3 { margin-bottom: 6px; font-size: 20px; }
		p { margin-bottom: 16px; color: var(--c-muted); font-size: 15px; }
	}

	/* ======================================================================
	   Na co je určen
	   ====================================================================== */

	.terrain {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 16px;
		padding: 0;
		list-style: none;
	}

	.terrain__item {
		position: relative;
		padding: 8px;
		text-align: center;

		h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
	}

	.terrain__ring {
		width: 76px;
		height: 76px;
		margin: 0 auto 14px;
		rotate: -90deg;

		circle { fill: none; stroke: #444; stroke-width: 7; }
		.is-value { stroke: var(--c-gold); }
	}

	.terrain__value {
		position: absolute;
		top: 8px;
		left: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 76px;
		height: 76px;
		translate: -50% 0;
		font-size: 22px;
		font-weight: var(--fw-bold);
	}

	/* ======================================================================
	   Video
	   ====================================================================== */

	.video {
		position: relative;
		max-width: 1040px;
		aspect-ratio: 16 / 9;
		margin-inline: auto;
		overflow: hidden;
		background: var(--c-black);

		> img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
		iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
	}

	.video__play {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: center;
		border: 0;
		background: none;

		.icon {
			width: 84px;
			height: 84px;
			padding: 24px 22px 24px 28px;
			border-radius: 50%;
			background: var(--c-gold);
			color: var(--c-black);
			transition: scale .2s;
		}

		&:hover .icon { scale: 1.08; }
	}

	/* ======================================================================
	   Flex a prohnutí
	   ====================================================================== */

	.tech {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;

		@media (max-width: 900px) { grid-template-columns: minmax(0, 1fr); }
	}

	.tech__card {
		padding: 24px;
		background: var(--c-panel);

		h3 {
			margin-bottom: 6px;
			color: var(--c-muted);
			font-size: 15px;
			font-weight: var(--fw-regular);
			letter-spacing: .12em;
			text-transform: uppercase;
		}
	}

	.tech__value { margin-bottom: 18px; font-size: 28px; font-weight: var(--fw-bold); }
	.tech__note { margin-top: 16px; color: var(--c-muted); font-size: 15px; }

	.flex-scale {
		display: grid;
		grid-template-columns: repeat(10, 1fr);
		gap: 4px;

		span {
			position: relative;
			padding-top: 20px;
			color: var(--c-muted);
			font-size: 12px;
			text-align: center;

			&::before {
				content: "";
				position: absolute;
				inset: 0 0 auto;
				height: 14px;
				background: #2c2c2c;
			}
		}

		.is-on::before { background: var(--c-gold); }

		.is-current {
			color: var(--c-text);
			font-weight: var(--fw-bold);

			&::after {
				content: "";
				position: absolute;
				top: -12px;
				left: 50%;
				translate: -50% 0;
				border: 6px solid transparent;
				border-top-color: var(--c-text);
			}
		}
	}

	.flex-scale__ends {
		display: flex;
		justify-content: space-between;
		margin-top: 8px;
		font-size: 13px;
		letter-spacing: .1em;
		text-transform: uppercase;
	}

	.profile {
		width: 100%;
		height: auto;

		.profile__base { stroke: rgb(255 255 255 / 0.2); }
		.profile__curve { fill: none; stroke: var(--c-gold); stroke-width: 4; stroke-linecap: round; }
		.profile__contact { stroke: rgb(255 255 255 / 0.7); stroke-width: 3; stroke-linecap: round; }
	}

	/* ======================================================================
	   Rozměry
	   ====================================================================== */

	.dimensions {
		display: grid;
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 48px;
		align-items: center;
	}

	.dimensions__board {
		width: 100%;
		max-height: 400px;

		path { fill: var(--c-panel-2); stroke: var(--c-gold); stroke-width: 2; }
		line { stroke: var(--c-text); stroke-width: 1.2; stroke-dasharray: 3 3; }
		circle { fill: var(--c-gold); }
		text { fill: var(--c-black); font: var(--fw-bold) 14px var(--font); }
	}

	.dimensions__board--horizontal { display: none; }

	.dimensions__table {
		overflow-x: auto;

		table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 16px; }
		th, td { padding: 14px 18px; border-bottom: 1px solid var(--c-line); text-align: center; }
		thead th { border-bottom: 2px solid var(--c-gold); color: var(--c-gold); font-size: 22px; }
		thead th:first-child { color: var(--c-muted); font-size: 12px; font-weight: var(--fw-regular); letter-spacing: .12em; text-transform: uppercase; }
		tbody th { font-weight: var(--fw-regular); text-align: left; }
		tbody td { font-weight: var(--fw-bold); }
		tbody tr:hover { background: rgb(255 255 255 / 0.03); }
	}

	.dimensions__letter {
		display: inline-grid;
		place-items: center;
		width: 22px;
		height: 22px;
		margin-left: 6px;
		border-radius: 50%;
		background: var(--c-gold);
		color: var(--c-black);
		font-size: 12px;
		font-weight: var(--fw-bold);
		text-decoration: none;
	}

	/* ======================================================================
	   Materiály
	   ====================================================================== */

	/* Seznam v řádcích: funguje pro libovolný počet položek i bez popisu */
	.materials {
		margin: 0;
		border-top: 1px solid var(--c-line);
	}

	.materials__row {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 24px;
		padding: 20px 0;
		border-bottom: 1px solid var(--c-line);

		dd { margin: 0; max-width: 72ch; }
		h3 { font-size: 18px; }
		p { margin-top: 6px; color: var(--c-muted); font-size: 15px; }
	}

	.materials__area {
		padding-top: 4px;
		color: var(--c-gold);
		font-size: 12px;
		font-weight: var(--fw-regular);
		letter-spacing: .12em;
		text-transform: uppercase;
	}

	/* ======================================================================
	   Další produkty
	   ====================================================================== */

	.related {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
		padding: 0;
		list-style: none;
	}

	/* Mobilní lišta s cenou */
	.mobile-bar { display: none; }

	/* ======================================================================
	   Responzivita
	   ====================================================================== */

	@media (max-width: 900px) {
		.product-hero, .product-about { grid-template-columns: minmax(0, 1fr); }
		.gallery, .product-about__side { position: static; }
		.dimensions { grid-template-columns: 1fr; }
		.dimensions__board--vertical { max-width: 90px; margin-inline: auto; }
		.related {
			grid-template-columns: none;
			grid-auto-flow: column;
			grid-auto-columns: 46%;
			margin-inline: calc(-1 * var(--gutter));
			padding: 0 var(--gutter) 12px;
			overflow-x: auto;
			overscroll-behavior-x: contain;
			scroll-padding-inline: var(--gutter);
			scroll-snap-type: x mandatory;

			> li { scroll-snap-align: start; }
		}

		.mobile-bar:not([hidden]) {
			position: fixed;
			inset: auto 0 0;
			z-index: 40;
			display: flex;
			align-items: center;
			gap: 12px;
			padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
			border-top: 1px solid var(--c-line);
			background: var(--c-black);

			p { flex: 1; line-height: 1.2; }
			strong { display: block; font-size: 18px; }
			.stock { font-size: 13px; }
			.btn { min-height: 46px; padding-inline: 22px; font-size: 15px; }
		}
	}

	@media (max-width: 560px) {
		.gallery__thumbs { gap: 4px; }
		.gallery__nav { width: 38px; height: 38px; }
		.lightbox__figure { padding: 64px 0; }
		.buy { padding: 20px 16px; }
		.dimensions { gap: 20px; }
		.dimensions__board--vertical { display: none; }
		.dimensions__board--horizontal { display: block; max-height: none; }
		.dimensions__table {
			table { min-width: 0; font-size: 14px; }
			th, td { padding: 10px 4px; }
			thead th { font-size: 16px; }
			thead th:first-child { font-size: 10px; letter-spacing: .06em; }
			tbody th { padding-left: 0; line-height: 1.3; }
		}
		.materials__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
		.contact-card { grid-template-columns: 72px 1fr; }
		.contact-card--no-photo { grid-template-columns: 1fr; }

	.contact-card__photo { width: 72px; height: 72px; }
		.terrain { grid-template-columns: repeat(4, 1fr); gap: 4px; }
		.terrain__item { padding: 4px 0; }
		.terrain__item h3 { font-size: 11px; letter-spacing: .04em; }
		.related { grid-auto-columns: 72%; }
		.terrain__ring { width: 58px; height: 58px; }
		.terrain__value { width: 58px; height: 58px; top: 4px; font-size: 18px; }
		.benefits { padding-block: 32px; }
		.benefits__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 0; }
		.benefits__item { flex: 0 0 33.333%; padding-inline: 4px; }
		.benefits__item strong { font-size: 11px; }
		.benefits__item span { display: none; }
		.benefits__icon { width: 56px; height: 56px; margin-bottom: 8px; }
	}
}
