/* Figma: Детальный просмотр 1920 — крошки, галерея, характеристики, цена, производитель, табы, аналоги */

:root {
	--pd-color-link: #5d80bc;
	--pd-color-link-alt: #5479b8;
	--pd-color-sep: rgba(0, 0, 0, 0.2);
	--pd-color-text: #000000;
	--pd-color-sku: rgba(0, 0, 0, 0.6);
	--pd-color-thumb-active: #006da0;
	--pd-color-surface: #ffffff;
	--pd-color-gallery-bg: #ffffff;
	--pd-color-accent-blue: #006da0;
	--pd-color-green: #3ec34f;
	--pd-color-discount-badge: #07c06a;
	--pd-color-price-old: #8c8686;
	--pd-color-red: #d82d28;
	--pd-color-red-dark: #e03733;
	--pd-btn-stripe-h: 5px;
	--pd-color-border: #dedede;
	--pd-color-muted: rgba(0, 0, 0, 0.5);
	--pd-color-text-soft: rgba(0, 0, 0, 0.7);
	--pd-color-text-soft2: rgba(0, 0, 0, 0.8);
	--pd-color-tabs-border: rgba(0, 0, 0, 0.05);
	--pd-color-order-btn: #dd9a95;
	--pd-color-warehouses-hover-bg: #eef2f6;

	--pd-font: Montserrat, system-ui, sans-serif;
	--pd-fw-light: 300;
	--pd-fw-regular: 400;
	--pd-fw-medium: 500;
	--pd-fw-semibold: 600;

	--pd-fs-bc: 14px;
	--pd-lh-bc: 21px;
	--pd-fs-title: 32px;
	--pd-lh-title: 40px;
	--pd-fs-sku: 12px;

	--pd-gap-bc: 10px;
	--pd-pad-bc: 10px;
	--pd-pad-inline: 3.5208333333vw;
	--pd-gap-intro: 17px;
	--pd-gap-thumbs: 12px;
	--pd-pad-aside: 10px;
	--pd-pad-thumbs-inline: 5px;

	--pd-radius-thumb: 4px;
	--pd-radius-card: 15px;
	--pd-radius-mfr: 20px;

	--pd-w-specs: 385px;
	--pd-w-aside-col: 427px;
	--pd-w-thumbs-col: 124px;
	--pd-w-thumb: 114px;
	--pd-h-thumb: 66px;
	--pd-img-in-thumb-w: 80px;
	--pd-img-in-thumb-h: 46px;
	--pd-gallery-main-max-w: 714px;
	--pd-gallery-main-h: 389px;
	--pd-gallery-aspect: 714 / 389;
	--pd-gallery-zoom-k: 2.5;

	--pd-specs-row-bg-alt: #eef2f6;
	--pd-specs-fs: 14px;
	--pd-specs-lh: 30px;

	--pd-space-below-bc: 10px;
	--pd-space-intro-to-gallery: 34px;
	--pd-gap-grid: clamp(24px, 4vw, 62px);
	--pd-w-tabs-disclaimer: 827px;
	--pd-w-tabs-body: calc(var(--pd-w-tabs-disclaimer) - 48px);

	--pd-related-slide-w: 240px;
	--pd-related-card-img-max-w: 204px;
}

@media (min-width: 1001px) and (max-width: 1599.98px) {
	:root {
		--pd-related-slide-w: 280px;
		--pd-related-card-img-max-w: 254px;
	}
}

@media (min-width: 1600px) {
	:root {
		--pd-related-slide-w: 329px;
		--pd-related-card-img-max-w: 309px;
	}

	.pd-analogs-swiper .swiper-slide,
	.pd-bought-swiper .swiper-slide {
		width: var(--pd-related-slide-w);
	}
}

.pd-specs .pd-brand-zlk {
	color: var(--pd-color-red);
	font-weight: inherit;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.pd-proto,
.pd-proto._container {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--pd-font);
	color: var(--pd-color-text);
	background: var(--pd-color-surface);
}

.pd-proto :where(button, [role='button']) {
	overflow: visible;
}

/* Дубль из header на /product/ не выводится; страховка для старых страниц */
.page:has(.pd-proto) > .breadcrumbs._container {
	display: none !important;
}

/* Fallback: старая/кэшированная вёрстка без pd-proto */
.page:has(.pd-card):not(:has(.pd-proto)) > .breadcrumbs._container,
.page:has(.pd-card):not(:has(.pd-proto)) > .pd-card {
	padding-inline: var(--pd-pad-inline);
	box-sizing: border-box;
}

.pd-bc {
	width: 100%;
	box-sizing: border-box;
	padding: 0 var(--pd-pad-inline);
}

.pd-bc__inner {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: var(--pd-gap-bc);
	padding: var(--pd-pad-bc) 0;
}

.pd-bc__line {
	display: contents;
}

.pd-bc__sep--between {
	display: inline;
}

.pd-bc__link,
.pd-bc__current {
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	line-height: var(--pd-lh-bc);
	color: var(--pd-color-link);
	text-decoration: none;
}

.pd-bc__current[aria-current='page'] {
	text-decoration: none;
	cursor: default;
}

.pd-bc__link:hover {
	text-decoration: underline;
}

.pd-bc__sep {
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	line-height: var(--pd-lh-bc);
	color: var(--pd-color-sep);
}

@media (max-width: 999px) {
	.page:has(.pd-proto).fixed_sec_menu,
	.page.fixed_sec_menu:has(.pd-proto),
	.page:has(.pd-card):not(:has(.pd-proto)).fixed_sec_menu,
	.page.fixed_sec_menu:has(.pd-card):not(:has(.pd-proto)) {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.page:has(.pd-proto) .pd-bc__inner {
		padding: 0 !important;
	}

	.page:has(.pd-card):not(:has(.pd-proto)) > .breadcrumbs._container,
	.page:has(.pd-card):not(:has(.pd-proto)) > .pd-card {
		padding-inline: var(--pd-pad-inline);
	}

	.pd-bc__inner {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 7px;
	}

	.pd-bc__line {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		min-width: 0;
		gap: 19px;
	}

	.pd-bc__line:not(.pd-bc__line--top) {
		gap: 0;
	}

	.pd-bc__line--top > .pd-bc__sep {
		display: none;
	}

	.pd-bc__sep--between {
		display: none !important;
	}

	.pd-bc__link,
	.pd-bc__current {
		line-height: 21px;
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	.pd-bc__line--top .pd-bc__link,
	.pd-bc__line--top .pd-bc__current {
		font-size: clamp(11px, 0.35vw + 10.5px, 12px);
	}

	.pd-bc__line:not(.pd-bc__line--top) .pd-bc__link,
	.pd-bc__line--current .pd-bc__current {
		font-size: clamp(9px, 0.45vw + 7.5px, 10px);
	}
}

/* PD: бейджи Хит/Акция/Новинка — не в макете блока цены */
.pd-proto .pd-price__card > .main-product__row {
	display: none !important;
}

.pd-proto > .pd-card {
	padding-inline: var(--pd-pad-inline);
	box-sizing: border-box;
}

.pd-card {
	position: relative;
	z-index: 10;
	margin-top: var(--pd-space-below-bc);
}

.pd-card__intro {
	display: flex;
	flex-direction: column;
	gap: var(--pd-gap-intro);
	grid-column: 1 / -1;
	grid-row: 1;
	min-width: 0;
	width: 100%;
}

.pd-card__title {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-title);
	line-height: var(--pd-lh-title);
	color: var(--pd-color-text);
}

.pd-card__sku {
	margin: 0;
}

.pd-card__sku-text {
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-sku);
	line-height: 1.25;
	color: var(--pd-color-sku);
}

/* --- Grid: 9fr | 3fr (12-колонки Figma); внутри левой — галерея | характеристики 53fr | 24fr --- */
.pd-card__body {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
	grid-template-rows: auto auto;
	column-gap: var(--pd-gap-grid);
	row-gap: var(--pd-space-intro-to-gallery);
	align-items: start;
	margin-top: 0;
	margin-bottom: 41px;
}

.pd-card__main {
	grid-column: 1;
	grid-row: 2;
	display: grid;
	grid-template-columns: minmax(0, 53fr) minmax(0, 24fr);
	grid-template-rows: auto;
	column-gap: var(--pd-gap-grid);
	row-gap: var(--pd-gap-grid);
	align-items: start;
	min-width: 0;
	width: 100%;
	position: relative;
	z-index: 0;
	overflow: visible;
}

.pd-card__media {
	grid-column: 1;
	grid-row: 1;
	margin-top: 0;
	min-width: 0;
	width: 100%;
	max-width: none;
	container-type: inline-size;
	container-name: pdcmedia;
	align-self: center;
	box-sizing: border-box;
}

.pd-specs {
	grid-column: 2;
	grid-row: 1;
	position: absolute;
	top: 0;
	right: 0;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	z-index: 10;
	background: #ffffff;
	border: 1px solid rgba(173, 182, 198, 0.5);
	border-radius: 15px;
	padding: 25px;
	box-sizing: border-box;
}

.pd-specs.is-expanded {
	z-index: 80;
	box-shadow: 0 0 15px 0 #8c868666;
}

.pd-specs:not(.is-expanded) .pd-specs__table > .pd-specs__row:nth-child(n + 8) {
	display: none;
}

.pd-specs__toggle {
	display: none;
}

.pd-specs.has-more .pd-specs__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 8px 0 0;
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: var(--pd-specs-fs);
	line-height: var(--pd-specs-lh);
	color: var(--pd-color-accent-blue);
	text-align: left;
}

.pd-specs__toggle:focus,
.pd-specs__toggle:focus-visible {
	outline: none;
}

.pd-specs__toggle-icon {
	flex-shrink: 0;
	width: 21px;
	height: 25px;
	transform: rotate(-90deg);
	transition: transform 0.2s ease;
}

.pd-specs__toggle:hover .pd-specs__toggle-icon {
	transform: translateX(5px) rotate(-90deg);
}

/* Выдвижная панель характеристик (≤1000): overlay справа */
.pd-specs-drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.38s;
}

/* Пока drawer открыт: .pd-card поднимается над .floating-menu (1000) */
html.pd-specs-drawer-open .pd-card {
	z-index: 2500;
}

.pd-specs-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.pd-specs-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.pd-specs-drawer.is-open .pd-specs-drawer__backdrop {
	opacity: 1;
}

.pd-specs-drawer__panel {
	position: absolute;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 85%;
	display: flex;
	flex-direction: column;
	gap: 15px;
	box-sizing: border-box;
	padding: 30px 21px calc(30px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-top-left-radius: 30px;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.14);
	transform: translateX(100%);
	transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.pd-specs-drawer.is-open .pd-specs-drawer__panel {
	transform: translateX(0);
	box-shadow: 0 0 15px 0 #8c868666;
}

.pd-specs-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	padding: 0;
	border-bottom: none;
}

.pd-specs-drawer__title {
	margin: 0;
	padding: 10px 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 18px;
	line-height: 1.2222222222;
	color: #000;
}

.pd-specs-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: #cdcdcd;
	cursor: pointer;
}

.pd-specs-drawer__close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #b0b0b0;
}

.pd-specs-drawer__close-svg {
	display: block;
	width: 18px;
	height: 18px;
}

.pd-specs-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 0 16px 0 0;
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

.pd-specs-drawer__body .pd-specs__table {
	margin: 0;
	padding: 0;
}

.pd-specs-drawer__body .pd-specs__row {
	display: flex;
	padding: 10px 0;
	font-size: 13px;
	line-height: 1.2307692308;
}

.pd-specs-drawer__body .pd-specs__name {
	font-size: 13px;
	font-weight: var(--pd-fw-medium);
	color: rgba(0, 0, 0, 0.6);
}

.pd-specs-drawer__body .pd-specs__value {
	font-size: 13px;
	font-weight: var(--pd-fw-medium);
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-align: right;
	padding-inline-end: 4px;
}

.pd-specs-drawer__body .pd-specs__row--dim {
	min-height: 40px;
	align-items: center;
}

.pd-specs-drawer__collapse {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	flex-shrink: 0;
	align-self: flex-start;
	margin: 0;
	padding: 15px 10px;
	border: none;
	background: none;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 14px;
	line-height: 17px;
	color: var(--pd-color-accent-blue);
	cursor: pointer;
	text-align: left;
}

.pd-specs-drawer__collapse-chevron {
	display: block;
	flex-shrink: 0;
}

@media (min-width: 1001px) {
	.pd-specs-drawer {
		display: none !important;
	}
}

.pd-card__aside {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-width: 0;
	width: 100%;
	max-width: none;
}

/* --- Галерея: колонка превью + основное фото (Figma: gap 11px между колонкой превью и основным изображением) --- */
.pd-gallery {
	display: grid;
	grid-template-columns: clamp(118px, 17.08cqw, 147px) minmax(0, 1fr);
	align-items: start;
	column-gap: 11px;
	width: 100%;
	max-width: 100%;
}

.pd-gallery--single {
	grid-template-columns: minmax(0, 1fr);
	column-gap: 0;
}

.pd-gallery--single .pd-gallery__main {
	grid-column: 1;
}

.pd-gallery-lightbox--single .pd-gallery-lightbox__gallery {
	grid-template-columns: minmax(0, 1fr);
}

.pd-gallery-lightbox--single .pd-gallery-lightbox__viewport {
	grid-column: 1;
}

.pd-gallery__mob-slider {
	display: none;
}

.pd-gallery__aside {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	gap: var(--pd-gap-bc);
	padding: var(--pd-pad-aside);
	align-self: start;
}

.pd-gallery__thumbs {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--pd-gap-thumbs);
	flex: 1 1 auto;
	min-width: 0;
	width: min(var(--pd-w-thumbs-col), 100%);
	max-height: min(var(--pd-gallery-main-h), 80vh);
	overflow-y: visible;
	overflow-x: visible;
	scrollbar-width: thin;
	background: var(--pd-color-surface);
	padding: 0 var(--pd-pad-thumbs-inline);
	box-sizing: border-box;
}

.pd-gallery__thumbs.pd-gallery__thumbs--scroll-y {
	overflow-y: auto;
}

.pd-gallery__thumbs.pd-gallery__thumbs--scroll-x {
	overflow-x: auto;
}

.pd-gallery__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--pd-w-thumb);
	height: var(--pd-h-thumb);
	min-height: var(--pd-h-thumb);
	max-height: var(--pd-h-thumb);
	margin-inline: auto;
	padding: 4px 5px;
	border: 2px solid transparent;
	border-radius: var(--pd-radius-thumb);
	background: var(--pd-color-surface);
	cursor: pointer;
	flex-shrink: 0;
}

.pd-gallery__thumb img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(var(--pd-img-in-thumb-w), 100%);
	max-height: min(var(--pd-img-in-thumb-h), 100%);
	margin: auto;
	object-fit: contain;
	object-position: center center;
	flex-shrink: 0;
}

.pd-gallery__thumb.is-active,
.pd-gallery__thumb:focus-visible {
	border-color: var(--pd-color-thumb-active);
	outline: none;
}

.pd-gallery__thumb:not(.is-active):hover,
.pd-gallery__thumb:not(.is-active):focus-visible {
	border-color: rgba(0, 109, 160, 0.38);
}

.pd-gallery__main {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
	aspect-ratio: var(--pd-gallery-aspect);
	height: auto;
	background: var(--pd-color-gallery-bg);
	color: inherit;
	cursor: zoom-in;
	overflow: hidden;
}

.pd-gallery__main:focus-visible {
	outline: 2px solid var(--pd-color-thumb-active);
	outline-offset: 2px;
}

.pd-gallery__zoom-stack {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--pd-color-gallery-bg);
}

.pd-gallery__zoom-base {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
}

.pd-gallery__zoom-over {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	opacity: 0;
	transition: none;
	pointer-events: none;
	background: #ffffff;
	border: 1px solid transparent;
	box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
	.pd-gallery__zoom-stack:hover .pd-gallery__zoom-over {
		opacity: 1;
		border-style: dashed;
		border-color: rgba(130, 138, 155, 0.9);
	}
}

.pd-gallery__zoom-over-inner {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #ffffff;
}

.pd-gallery__zoom-over-img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 0;
	height: 0;
	max-width: none;
	object-fit: fill;
	object-position: 0 0;
	pointer-events: none;
	will-change: left, top, width, height;
}

.pd-proto:has(#pd-gallery-lightbox[open]) .pd-gallery__main {
	cursor: default;
}

/* --- Lightbox: Figma «1920. Детальное изображение» (7919:3089) --- */
.pd-gallery-lightbox:not([open]) {
	display: none;
}

.pd-gallery-lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 24px 16px;
	border: none;
	max-width: none;
	width: 100%;
	max-height: none;
	height: 100%;
	background: transparent;
	box-sizing: border-box;
}

.pd-gallery-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.82);
}

/* Lightbox ≥1600 (Figma): окно 1812×777 @1920, padding 25; блоки 1245 + 30 + 427; крестик 20×20 */
@media (min-width: 1600px) {
	.pd-gallery-lightbox {
		--pd-lb-pad: 25px;
		--pd-lb-gap: 30px;
		--pd-lb-aside-w: 427px;
		--pd-lb-scale-delta: max(0px, 1920px - 100vw);
		--pd-lb-panel-h: clamp(520px, calc(777px - var(--pd-lb-scale-delta) * 0.25), 777px);
		--pd-lb-panel-w: clamp(1200px, calc(1812px - var(--pd-lb-scale-delta) * 0.25), 1812px);
		--pd-lb-gallery-w: clamp(900px, calc(1245px - var(--pd-lb-scale-delta) * 0.25), 1245px);
		--pd-lb-viewport-h: clamp(360px, calc(536px - var(--pd-lb-scale-delta) * 0.25), 536px);
		--pd-lb-inner-h: calc(var(--pd-lb-panel-h) - var(--pd-lb-pad) * 2);
		--pd-lb-thumb-h: calc(96px * var(--pd-lb-viewport-h) / 536);
		--pd-lb-thumb-img-h: calc(58px * var(--pd-lb-viewport-h) / 536);
	}

	.pd-gallery-lightbox__panel {
		padding: var(--pd-lb-pad);
		width: min(var(--pd-lb-panel-w), calc(100vw - 32px));
		max-width: min(var(--pd-lb-panel-w), calc(100vw - 32px));
		height: var(--pd-lb-panel-h);
		min-height: 0;
		max-height: calc(100dvh - 16px);
		overflow-y: auto;
	}

	.pd-gallery-lightbox__toolbar {
		top: var(--pd-lb-pad);
		right: var(--pd-lb-pad);
	}

	.pd-gallery-lightbox__close {
		width: 20px;
		height: 20px;
		padding: 0;
	}

}

.pd-gallery-lightbox__panel {
	position: relative;
	width: min(var(--pd-lb-panel-w, 1812px), calc(100vw - 32px));
	max-width: min(var(--pd-lb-panel-w, 1812px), calc(100vw - 32px));
	max-height: min(var(--pd-lb-panel-h, 777px), calc(100vh - 48px));
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 30px;
	background: #ffffff;
	border: none;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.pd-gallery-lightbox__toolbar {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 5;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	box-sizing: border-box;
	pointer-events: none;
}

.pd-gallery-lightbox__counter {
	margin: 0;
	font-size: 16px;
	line-height: 1.25;
	font-weight: var(--pd-fw-light);
	color: var(--pd-color-text);
	white-space: nowrap;
}

.pd-gallery-lightbox__close {
	position: relative;
	top: auto;
	right: auto;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 6px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--pd-color-link);
	cursor: pointer;
	box-sizing: border-box;
	flex-shrink: 0;
	pointer-events: auto;
}

.pd-gallery-lightbox__close:hover {
	background: rgba(93, 128, 188, 0.1);
}

@media (min-width: 1600px) {
	.pd-gallery-lightbox__counter {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
}

.pd-gallery-lightbox__close:focus-visible {
	outline: 2px solid var(--pd-color-thumb-active);
	outline-offset: 2px;
}

.pd-gallery-lightbox__close-svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.pd-gallery-lightbox__row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 30px;
	flex: 0 0 auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
}

.pd-gallery-lightbox__gallery {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 16px;
	flex: 1 1 0;
	min-width: 0;
	width: 0;
	min-height: 0;
}

.pd-gallery-lightbox__thumbs {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 21px;
	width: 126px;
	flex: 0 0 126px;
	min-height: 0;
	max-height: 100%;
	padding: 20px 3px;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
}

.pd-gallery-lightbox__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 120px;
	height: var(--pd-lb-thumb-h, 96px);
	flex-shrink: 0;
	padding: 10px;
	border: 2px solid transparent;
	border-radius: 7px;
	background: #ffffff;
	cursor: pointer;
}

.pd-gallery-lightbox__thumb img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100px;
	max-height: var(--pd-lb-thumb-img-h, 58px);
	object-fit: contain;
}

.pd-gallery-lightbox__thumb.is-active,
.pd-gallery-lightbox__thumb:focus-visible {
	border-color: var(--pd-color-thumb-active);
	outline: none;
}

.pd-gallery-lightbox__thumb:not(.is-active):hover,
.pd-gallery-lightbox__thumb:not(.is-active):focus-visible {
	border-color: rgba(0, 109, 160, 0.38);
}

.pd-gallery-lightbox__viewport {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	height: var(--pd-lb-viewport-h, 536px);
	min-height: var(--pd-lb-viewport-h, 536px);
	max-height: var(--pd-lb-viewport-h, 536px);
	padding: 0 10px;
	box-sizing: border-box;
	background: #ffffff;
	border-radius: 50px;
	overflow: hidden;
}

.pd-gallery-lightbox__nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	align-self: center;
	flex-shrink: 0;
	overflow: visible;
	box-sizing: border-box;
}

.pd-gallery-lightbox__nav-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
	pointer-events: none;
}

.pd-gallery-lightbox__nav-ico {
	position: relative;
	z-index: 1;
	display: block;
	width: 10px;
	height: 17px;
	flex-shrink: 0;
}

.pd-gallery-lightbox__nav--prev .pd-gallery-lightbox__nav-ico {
	transform: scaleX(-1);
}

.pd-gallery-lightbox__nav:focus-visible {
	outline: 2px solid var(--pd-color-thumb-active);
	outline-offset: 2px;
	border-radius: 50%;
}

.pd-gallery-lightbox__nav[disabled],
.pd-gallery-lightbox__nav[hidden] {
	display: none;
}

.pd-gallery-lightbox__zoom-stack {
	position: relative;
	flex: 1 1 0;
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	width: 100%;
	height: var(--pd-lb-viewport-h, 536px);
	min-height: 0;
	max-height: var(--pd-lb-viewport-h, 536px);
	overflow: hidden;
	box-sizing: border-box;
	background: #ffffff;
	cursor: zoom-in;
}

.pd-gallery-lightbox__zoom-base {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: var(--pd-lb-viewport-h, 536px);
	object-fit: contain;
	object-position: center center;
	-webkit-user-drag: none;
	user-select: none;
	touch-action: manipulation;
}

.pd-gallery-lightbox__zoom-over {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	opacity: 0;
	transition: none;
	pointer-events: none;
	background: #ffffff;
	border: 1px solid transparent;
	box-sizing: border-box;
}

.pd-gallery-lightbox__zoom-stack.is-lb-zoom .pd-gallery-lightbox__zoom-over {
	opacity: 1;
	border-style: dashed;
	border-color: rgba(130, 138, 155, 0.9);
}

.pd-gallery-lightbox__zoom-over-inner {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #ffffff;
}

.pd-gallery-lightbox__zoom-over-img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 0;
	height: 0;
	max-width: none;
	object-fit: fill;
	object-position: 0 0;
	pointer-events: none;
	will-change: left, top, width, height;
}

.pd-gallery-lightbox__aside {
	flex: 0 0 427px;
	width: 427px;
	max-width: 427px;
	box-sizing: border-box;
	padding: 20px 0;
	background: #ffffff;
	border-radius: 30px;
	align-self: flex-start;
}

.pd-gallery-lightbox__aside-inner {
	display: flex;
	flex-direction: column;
	gap: 27px;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

.pd-gallery-lightbox__head {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 374px;
}

.pd-gallery-lightbox__sku {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 12px;
	line-height: normal;
	color: var(--pd-color-sku);
}

.pd-gallery-lightbox__title {
	margin: 0;
	max-width: 374px;
	font-weight: var(--pd-fw-medium);
	font-size: 18px;
	line-height: 25px;
	color: var(--pd-color-text);
}


.pd-gallery-lightbox__buy {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	max-width: none;
	padding: 20px 19px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid var(--pd-color-border);
	border-radius: 15px;
	box-shadow: 0 0 15px rgba(140, 134, 134, 0.2);
}

.pd-gallery-lightbox__buy-head {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.pd-gallery-lightbox__buy-sum {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: flex-start;
}

.pd-gallery-lightbox__buy-sum:has(.pd-price__discount) {
	gap: 16px;
}

.pd-gallery-lightbox__panel .pd-gallery-lightbox__buy-sum .pd-price__discount {
	width: 100%;
}

.pd-gallery-lightbox__buy-label {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 18px;
	line-height: normal;
	color: var(--pd-color-text);
}

.pd-gallery-lightbox__buy-amount {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 28px;
	line-height: normal;
	color: var(--pd-color-text);
}

.pd-gallery-lightbox__buy-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 17px;
	flex-shrink: 0;
}

.pd-gallery-lightbox__icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-gallery-lightbox__icon-btn:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-gallery-lightbox__cart-dock {
	width: 100%;
}

.pd-gallery-lightbox__cart-dock > .pd-gallery-lightbox__cart {
	width: 100%;
	flex: 0 0 auto;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
	margin: 0;
}

.pd-gallery-lightbox__cart-dock[data-in-basket='1'] > .pd-gallery-lightbox__cart,
.pd-gallery-lightbox__cart-dock.is-in-basket > .pd-gallery-lightbox__cart {
	display: none !important;
}

.pd-gallery-lightbox__cart-dock[data-in-basket='1'] .pd-price__cart-row,
.pd-gallery-lightbox__cart-dock.is-in-basket .pd-price__cart-row {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
}

.pd-gallery-lightbox__cart-dock .pd-price__cart--in-basket {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: none;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
}

.pd-gallery-lightbox__stock {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.pd-gallery-lightbox__stock-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pd-color-green);
	flex-shrink: 0;
}

.pd-gallery-lightbox__stock--in .pd-gallery-lightbox__stock-text {
	font-weight: var(--pd-fw-semibold);
	font-size: 14px;
	line-height: normal;
	color: var(--pd-color-green);
}

.pd-gallery-lightbox__stock--order .pd-gallery-lightbox__stock-text {
	font-weight: var(--pd-fw-medium);
	color: var(--pd-color-red);
}

.pd-gallery-lightbox__stock--preorder .pd-gallery-lightbox__stock-text {
	font-weight: var(--pd-fw-medium);
	color: rgba(0, 0, 0, 0.5);
}

/* Lightbox ≥1600: переопределение после базовых .pd-gallery-lightbox__* (иначе flex/height сбрасываются) */
@media (min-width: 1600px) {
	.pd-gallery-lightbox__panel {
		padding: var(--pd-lb-pad);
		width: min(var(--pd-lb-panel-w), calc(100vw - 32px));
		max-width: min(var(--pd-lb-panel-w), calc(100vw - 32px));
		height: var(--pd-lb-panel-h);
		max-height: calc(100dvh - 16px);
	}

	.pd-gallery-lightbox__toolbar {
		top: var(--pd-lb-pad);
		right: var(--pd-lb-pad);
	}

	.pd-gallery-lightbox__close {
		width: 20px;
		height: 20px;
		padding: 0;
	}

	.pd-gallery-lightbox__row {
		flex: 0 0 var(--pd-lb-inner-h);
		height: var(--pd-lb-inner-h);
		gap: var(--pd-lb-gap);
		max-width: calc(var(--pd-lb-gallery-w) + var(--pd-lb-gap) + var(--pd-lb-aside-w));
	}

	.pd-gallery-lightbox__gallery {
		flex: 0 0 var(--pd-lb-gallery-w);
		width: var(--pd-lb-gallery-w);
		max-width: var(--pd-lb-gallery-w);
		height: var(--pd-lb-inner-h);
		min-height: var(--pd-lb-inner-h);
		align-items: center;
	}

	.pd-gallery-lightbox__thumbs {
		align-self: stretch;
		max-height: var(--pd-lb-inner-h);
	}

	.pd-gallery-lightbox__viewport {
		flex: 1 1 0;
		min-width: 0;
		height: var(--pd-lb-viewport-h);
		min-height: var(--pd-lb-viewport-h);
		max-height: var(--pd-lb-viewport-h);
	}

	.pd-gallery-lightbox__zoom-stack {
		height: var(--pd-lb-viewport-h);
		max-height: var(--pd-lb-viewport-h);
	}

	.pd-gallery-lightbox__zoom-base {
		max-height: var(--pd-lb-viewport-h);
	}

	.pd-gallery-lightbox__aside {
		flex: 0 0 var(--pd-lb-aside-w);
		width: var(--pd-lb-aside-w);
		max-width: var(--pd-lb-aside-w);
	}
}

/* --- Характеристики --- */
.pd-specs__title {
	margin: 0;
	padding: 10px 0 0;
	font-weight: var(--pd-fw-medium);
	font-size: 18px;
	line-height: normal;
	color: var(--pd-color-text);
}

.pd-specs__table {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.pd-specs__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 0;
	padding: 10px 0;
	font-size: var(--pd-specs-fs);
	line-height: 1.25;
	background: transparent;
}

.pd-specs__row:nth-child(odd) {
	background: var(--pd-specs-row-bg-alt);
}

.pd-specs__row--dim {
	box-sizing: border-box;
	align-items: center;
	min-height: 44px;
}

.pd-specs__row--dim .pd-specs__name {
	align-self: center;
	align-items: center;
}

.pd-specs__row--dim .pd-specs__name .pd-dim-svg {
	width: 25px;
	height: 24px;
}

.pd-specs__row--dim .pd-specs__value {
	align-self: center;
}

.pd-specs__name {
	--pd-specs-label-tail-gap: 0px;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: flex-end;
	gap: 0;
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-specs-fs);
	color: rgba(0, 0, 0, 0.6);
}

.pd-specs__name > span:not(.pd-specs__leader) {
	box-sizing: border-box;
	flex: 0 0 auto;
	min-width: 0;
	max-width: min(215px, 100%);
	width: fit-content;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.pd-specs__name .pd-dim-svg {
	flex-shrink: 0;
	display: block;
	width: 25px;
	height: 24px;
	margin-right: 15px;
	object-fit: contain;
}

.pd-specs__name > .pd-specs__leader {
	flex: 1 1 0;
	align-self: flex-end;
	min-width: 16px;
	min-height: 0;
	height: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	margin-left: calc(var(--pd-specs-label-tail-gap) * -1);
	margin-bottom: 0;
}

.pd-specs__value {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 50%;
	align-self: flex-end;
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-specs-fs);
	color: var(--pd-color-text);
	text-align: right;
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
}

/* --- Цена и доставка --- */
.pd-price {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.pd-price__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 15px;
	padding: 20px 19px;
	background: var(--pd-color-surface);
	border: 1px solid var(--pd-color-border);
	border-radius: var(--pd-radius-card);
	box-shadow: 0 0 7.5px rgba(140, 134, 134, 0.2);
	overflow: visible;
}

.pd-price__head {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 0;
}

.pd-price__sum-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

.pd-price__label {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 18px;
	line-height: normal;
}

.pd-price__sum-wrap:has(.pd-price__discount) {
	gap: 16px;
}

/* Скидка: старая цена + бейдж + текущая — одна строка */
.pd-price__quote,
.pd-price__amount--sale {
	display: none !important;
}

.pd-price__discount {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.pd-price__discount-top {
	display: contents;
}

.pd-price__discount > .pd-price__amount,
.pd-price__discount .pd-price__old,
.pd-price__discount .pd-price__badge {
	display: inline-flex;
	align-items: center;
	margin: 0;
	line-height: 1;
}

.pd-price__amount {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 28px;
	line-height: 1.21;
	color: var(--pd-color-text);
}

.pd-price__badge {
	flex-shrink: 0;
	justify-content: center;
	padding: 2px 10px;
	border-radius: 3px;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	background: var(--pd-color-discount-badge);
	white-space: nowrap;
}

.pd-price__discount .pd-price__old {
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	color: var(--pd-color-price-old);
	text-decoration: line-through;
}

.pd-price__discount .pd-price__old::before {
	display: none;
}

.pd-proto .pd-price__card .action-container {
	margin-top: 4px;
}

.pd-price__economy {
	display: none;
}

.pd-price__actions {
	display: flex;
	align-items: center;
	gap: 17px;
}

.pd-price__share {
	position: relative;
	display: inline-flex;
	align-items: center;
	z-index: 30;
}

/* uSocial в узкой колонке без style.css уходит в колонку — фиксируем одну строку как на карточке */
.pd-price .share-panel__inner {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	min-width: max-content;
}

.pd-price .share-panel .uscl-bar,
.pd-price .share-panel .uscl-list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
}

.pd-price__icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-price__icon-btn:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-price__cart-dock {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.pd-price__cart-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	min-width: 0;
}

.pd-price__cart-dock[data-in-basket='1'],
.pd-price__cart-dock.is-in-basket,
.pd-gallery-lightbox__cart-dock[data-in-basket='1'],
.pd-gallery-lightbox__cart-dock.is-in-basket {
	gap: 0;
}

.pd-price__cart-dock[data-in-basket='1'] .pd-price__cart-row,
.pd-price__cart-dock.is-in-basket .pd-price__cart-row {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
}

.pd-price__cart-dock[data-in-basket='1'] > .pd-price__cart--buy,
.pd-price__cart-dock.is-in-basket > .pd-price__cart--buy {
	display: none !important;
}

.pd-price__cart-dock .main-product__quantity,
.pd-gallery-lightbox__cart-dock .main-product__quantity {
	width: 100%;
	max-width: 100%;
	height: 50px;
	margin: 0;
	flex: 1 1 0;
	min-width: 0;
}

.pd-price__cart-dock .main-product__quantity .quantity,
.pd-gallery-lightbox__cart-dock .main-product__quantity .quantity {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(83, 121, 184, 0.3);
	border-radius: 5px;
	box-sizing: border-box;
	overflow: hidden;
}

.pd-price__cart-dock .main-product__quantity .quantity__input input,
.pd-gallery-lightbox__cart-dock .main-product__quantity .quantity__input input {
	width: 100%;
	min-width: 0;
	text-align: center;
	background: #fff;
	color: #405a8b;
}

.pd-price__cart-dock .main-product__quantity .quantity__button,
.pd-gallery-lightbox__cart-dock .main-product__quantity .quantity__button {
	background: #fff;
}

.pd-price__cart-dock .main-product__quantity .quantity__button::before,
.pd-price__cart-dock .main-product__quantity .quantity__button::after,
.pd-gallery-lightbox__cart-dock .main-product__quantity .quantity__button::before,
.pd-gallery-lightbox__cart-dock .main-product__quantity .quantity__button::after {
	background: #405a8b;
}

.pd-price__cart-dock[data-in-basket='1'] .main-product__quantity,
.pd-price__cart-dock.is-in-basket .main-product__quantity,
.pd-gallery-lightbox__cart-dock[data-in-basket='1'] .main-product__quantity,
.pd-gallery-lightbox__cart-dock.is-in-basket .main-product__quantity {
	height: 55px;
	min-height: 55px;
	max-height: 55px;
}

.pd-price__cart-dock .pd-price__cart--in-basket,
.pd-price__cart-dock .product__button--open-cart,
.pd-gallery-lightbox__cart-dock .pd-price__cart--in-basket {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: none;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
	margin: 0;
	margin-left: 0;
	padding: 0 16px;
	box-sizing: border-box;
}

.pd-price__cart-dock .pd-price__cart--in-basket.product__button--open-cart {
	width: auto;
	min-width: 0;
}

.pd-price__cart-dock > .pd-price__cart--buy {
	width: 100%;
	flex: 0 0 auto;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
}

.pd-price__cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0;
	height: 55px;
	padding: 0 16px;
	border: none;
	border-radius: 5px;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 16px;
	line-height: 18px;
	color: #fff;
	cursor: pointer;
	background: var(--pd-color-link-alt);
	box-sizing: border-box;
}

.pd-price__cart::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--pd-color-red-dark);
	border-top: 1px solid #fff;
	border-radius: 0 0 5px 5px;
	box-sizing: border-box;
}

.pd-price__cart-label {
	position: relative;
	z-index: 1;
	transform: translateY(calc(var(--pd-btn-stripe-h) / 2));
}

.pd-price__cart:hover {
	filter: brightness(1.05);
}

.pd-price__cart.form__button--red,
.pd-price__cart.form__button--gray {
	border-radius: 5px;
}

.pd-price__cart.form__button--red {
	background: var(--pd-color-order-btn);
	color: #fff;
}

.pd-price__cart.form__button--red:hover {
	background: #b8635f;
	filter: none;
}

.pd-price__cart.form__button--gray {
	background: #c2c2c2;
	color: #5d80bc;
}

.pd-price__cart.form__button--gray:hover {
	background: #939292;
	color: #5d80bc;
	filter: none;
}

.pd-price__cart.form__button--red::after,
.pd-price__cart.form__button--gray::after {
	display: none;
}

.pd-price__cart.form__button--red .pd-price__cart-label,
.pd-price__cart.form__button--gray .pd-price__cart-label {
	transform: none;
}

.pd-price__stock {
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: flex-start;
}

.pd-price__stock-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
}

.pd-price__stock-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pd-price__stock-sep {
	display: block;
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-price__stock-hint {
	margin: 0;
	font-weight: var(--pd-fw-regular);
	font-size: 14px;
	line-height: 20px;
	color: rgba(0, 0, 0, 0.7);
}

.pd-price__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pd-color-green);
	flex-shrink: 0;
}

.pd-price__stock--in .pd-price__stock-text {
	font-weight: var(--pd-fw-semibold);
	font-size: var(--pd-fs-bc);
	color: var(--pd-color-green);
}

.pd-price__stock--order .pd-price__stock-text {
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	color: var(--pd-color-red);
}

.pd-price__stock--preorder .pd-price__stock-text {
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	color: rgba(0, 0, 0, 0.5);
}

.pd-price__warehouses {
	display: inline-block;
	align-self: flex-start;
	margin: 12px 0 0;
	padding: 5px 7px;
	border: none;
	border-radius: 0;
	background: transparent;
	font-family: inherit;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	line-height: 1.35;
	color: var(--pd-color-accent-blue);
	cursor: pointer;
	box-sizing: border-box;
	text-decoration: underline dashed;
	text-decoration-color: var(--pd-color-link);
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}

.pd-price__warehouses:hover {
	background: var(--pd-color-warehouses-hover-bg);
	border-radius: 25px;
	color: var(--pd-color-accent-blue);
	text-decoration-color: var(--pd-color-link);
}

.pd-price__warehouses:focus-visible {
	outline: 2px solid var(--pd-color-accent-blue);
	outline-offset: 3px;
}

.pd-warehouses-modal {
	position: fixed;
	inset: 0;
	margin: auto;
	padding: 0;
	border: none;
	max-width: min(1353px, calc(100vw - 32px));
	width: min(1353px, calc(100vw - 32px));
	height: fit-content;
	max-height: calc(100vh - 32px);
	/* background: transparent; */
	border-radius: 15px;
	box-sizing: border-box;
}

.pd-warehouses-modal::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.pd-warehouses-modal__panel {
	margin: 0;
	padding: 40px 39px 40px 39px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	max-height: min(560px, calc(100vh - 48px));
	overflow: auto;
}

.pd-warehouses-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.pd-warehouses-modal__title {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 28px;
	line-height: 1.2;
	color: #000;
}

.pd-warehouses-modal__close {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-warehouses-modal__close-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.pd-warehouses-modal__close:hover .pd-warehouses-modal__close-icon {
	opacity: 0.72;
}

.pd-warehouses-modal__close:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-warehouses-modal__body {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 29px;
}

.pd-warehouses-modal__col {
	flex: 1 1 663px;
	min-width: 0;
	max-width: 663px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pd-warehouses-modal__depot {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 20px 0;
	box-sizing: border-box;
}

.pd-warehouses-modal__depot[data-pd-warehouse-focus] {
	cursor: pointer;
	border-radius: 10px;
	margin-inline: -8px;
	padding-inline: 8px;
	transition: background 0.15s ease;
}

.pd-warehouses-modal__depot[data-pd-warehouse-focus]:hover {
	background: var(--pd-color-warehouses-hover-bg);
}

.pd-warehouses-modal__depot-main {
	flex: 0 1 483px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pd-warehouses-modal__addr {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	line-height: 1.25;
	color: #000;
}

.pd-warehouses-modal__hours {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 11px;
	font-weight: var(--pd-fw-regular);
	font-size: 14px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.5);
}

.pd-warehouses-modal__hours p {
	margin: 0;
}

.pd-warehouses-modal__cart,
.pd-warehouses-modal__cart--mirror {
	position: relative;
	align-self: flex-start;
	margin-top: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 188px;
	height: 55px;
	min-height: 55px;
	max-height: 55px;
	padding: 0 16px;
	border: none;
	border-radius: 5px;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 16px;
	line-height: 18px;
	color: #fff;
	cursor: pointer;
	background: var(--pd-color-link-alt);
	box-sizing: border-box;
}

.pd-warehouses-modal__cart::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--pd-color-red-dark);
	border-top: 1px solid #fff;
	border-radius: 0 0 5px 5px;
	box-sizing: border-box;
}

.pd-warehouses-modal__cart-label {
	position: relative;
	z-index: 1;
	transform: translateY(calc(var(--pd-btn-stripe-h) / 2));
}

.pd-warehouses-modal__cart:hover {
	filter: brightness(1.05);
}

.pd-warehouses-modal__depot-aside {
	flex: 0 0 175px;
	width: 200px;
	box-sizing: border-box;
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	text-align: right;
}

.pd-warehouses-modal__stock {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	line-height: 1.35;
	color: var(--pd-color-green);
}

.pd-warehouses-modal__stock-qty {
	font-weight: var(--pd-fw-semibold);
	font-size: 22px;
	line-height: 1.2;
}

.pd-warehouses-modal__stock-unit {
	font-weight: var(--pd-fw-medium);
	font-size: 18px;
	line-height: 1.2;
}

.pd-warehouses-modal__rule {
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.pd-warehouses-modal__map {
	flex: 0 0 auto;
	width: 583px;
	max-width: 100%;
	border-radius: 17px;
	overflow: hidden;
	line-height: 0;
}

.pd-warehouses-modal__map-inner {
	width: 583px;
	max-width: 100%;
	height: 436px;
	border-radius: 17px;
	overflow: hidden;
	background: #d7dde9 url('/local/templates/main/img/icons/loading.gif') center / 50px no-repeat;
	box-sizing: border-box;
}

/* Figma 7531: «Наличие товара» 1000–1300 — резина, список + карта в ряд */
@media (min-width: 1000px) and (max-width: 1300px) {
	.pd-warehouses-modal {
		max-width: min(1040px, calc(100vw - 32px));
		width: min(1040px, calc(100vw - 32px));
		border-radius: 20px;
	}

	.pd-warehouses-modal__panel {
		border-radius: 20px;
		padding: calc(28px + 12 * (100vw - 1000px) / 300) calc(22px + 17 * (100vw - 1000px) / 300);
		max-height: min(560px, calc(100vh - 48px));
	}

	.pd-warehouses-modal__body {
		display: grid;
		grid-template-columns: minmax(0, 1fr) clamp(240px, 26.6923076923vw, 347px);
		align-items: center;
		gap: clamp(16px, calc(16px + 13 * (100vw - 1000px) / 300), 29px);
	}

	.pd-warehouses-modal__col {
		flex: unset;
		max-width: none;
	}

	.pd-warehouses-modal__addr {
		font-size: 14px;
		line-height: 1.2142857143;
	}

	.pd-warehouses-modal__depot-main {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
	}

	.pd-warehouses-modal__depot-aside {
		flex: 0 0 auto;
		width: auto;
		max-width: min(163px, 30vw);
	}

	.pd-warehouses-modal__stock-qty {
		font-size: calc(18px + 4 * (100vw - 1000px) / 300);
	}

	.pd-warehouses-modal__map {
		flex: unset;
		width: 100%;
		max-width: 347px;
	}

	.pd-warehouses-modal__map-inner {
		width: 100%;
		max-width: 347px;
		height: auto;
		aspect-ratio: 347 / 260;
		max-height: 260px;
	}
}

/* Figma 7575 Frame 669: модалка складов — только при ширине 300–1000px */
@media (min-width: 300px) and (max-width: 1000px) {
	.pd-warehouses-modal {
		position: fixed;
		inset: 0;
		margin: 0;
		padding: 0;
		max-width: none;
		width: 100%;
		height: 100%;
		max-height: none;
		border: none;
		border-radius: 0;
		background: transparent;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: stretch;
	}

	.pd-warehouses-modal__panel {
		display: flex;
		flex-direction: column;
		gap: 30px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 30px 20px calc(50px + env(safe-area-inset-bottom, 0px));
		border-radius: 30px 30px 0 0;
		box-shadow: 0 -4px 11px rgba(0, 0, 0, 0.25);
		max-height: min(747px, 85vh);
		height: min(747px, 85vh);
		overflow: hidden;
		box-sizing: border-box;
		transform: translateY(100%);
		transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.pd-warehouses-modal[open] .pd-warehouses-modal__panel {
		transform: translateY(0);
	}

	.pd-warehouses-modal__head {
		flex-shrink: 0;
		margin-bottom: 0;
		gap: 40px;
	}

	.pd-warehouses-modal__title {
		font-size: 18px;
		line-height: 22px;
	}

	.pd-warehouses-modal__close-icon {
		width: 15px;
		height: 15px;
	}

	.pd-warehouses-modal__body {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.pd-warehouses-modal__col {
		max-width: none;
		gap: 15px;
	}

	.pd-warehouses-modal__map {
		order: -1;
		width: 100%;
		max-width: none;
		align-self: stretch;
		border-radius: 15px;
	}

	.pd-warehouses-modal__map-inner {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 343 / 256;
		max-height: 256px;
		border-radius: 15px;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 170px;
		grid-template-rows: auto auto auto;
		align-items: start;
		width: 100%;
		column-gap: 20px;
		row-gap: 20px;
		margin-inline: 0;
		padding-inline: 0;
		border-radius: 0;
		cursor: pointer;
		transition: background 0.15s ease;
		padding: 0;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] .pd-warehouses-modal__depot-main {
		display: contents;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] .pd-warehouses-modal__addr {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] .pd-warehouses-modal__hours {
		grid-column: 1;
		grid-row: 2;
		margin-top: 0;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] .pd-warehouses-modal__depot-aside {
		grid-column: 1;
		grid-row: 3;
		flex: unset;
		width: 100%;
		max-width: none;
		justify-content: flex-start;
		text-align: left;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus] .pd-warehouses-modal__cart {
		grid-column: 2;
		grid-row: 2 / span 2;
		justify-self: end;
		margin-top: 0;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus]:hover {
		background: transparent;
	}

	.pd-warehouses-modal__depot[data-pd-warehouse-focus]:focus-visible {
		outline: 2px solid var(--pd-color-link);
		outline-offset: 3px;
		border-radius: 8px;
	}

	.pd-warehouses-modal__stock {
		font-size: 14px;
		line-height: 22px;
		font-weight: var(--pd-fw-regular);
	}

	.pd-warehouses-modal__stock-qty {
		font-size: 14px;
		font-weight: var(--pd-fw-semibold);
	}

	.pd-warehouses-modal__addr {
		font-size: 14px;
		line-height: 20px;
		font-weight: var(--pd-fw-semibold);
	}

	.pd-warehouses-modal__hours {
		margin-top: 0;
		gap: 10px;
		font-size: 14px;
		line-height: 17px;
		color: rgba(0, 0, 0, 0.5);
	}

	.pd-warehouses-modal__cart,
	.pd-warehouses-modal__cart--mirror {
		width: 170px;
		height: 55px;
		min-height: 55px;
		max-height: 55px;
		margin-top: 0;
		font-size: 14px;
		font-weight: var(--pd-fw-medium);
		line-height: 18px;
	}

	.pd-warehouses-modal__depot-aside {
		padding: 0;
		justify-content: flex-start;
		text-align: left;
	}

	.pd-warehouses-modal__stock-unit {
		font-size: 14px;
	}

	.pd-warehouses-modal__rule {
		background: rgba(0, 0, 0, 0.05);
	}
}

@media (max-width: 640px) {
	.pd-warehouses-modal__panel {
		padding: 24px 20px calc(40px + env(safe-area-inset-bottom, 0px));
	}
}

.pd-price__delivery {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 100%;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--pd-color-tabs-border);
}

.pd-price__del-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pd-price__del-row {
	display: flex;
	align-items: center;
	gap: 20px;
}

.pd-price__del-icon-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	box-sizing: border-box;
}

.pd-price__del-icon {
	display: block;
}

.pd-price__del-icon--pickup {
	width: 17px;
	height: 23px;
}

.pd-price__del-icon--delivery {
	width: 29px;
	height: 29px;
	object-fit: contain;
}

.pd-price__del-col {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-width: 0;
}

.pd-price__del-text {
	margin: 0;
	font-weight: var(--pd-fw-regular);
	font-size: 14px;
	line-height: 17px;
	color: rgba(0, 0, 0, 0.5);
}

.pd-price__del-muted {
	font-weight: var(--pd-fw-regular);
	color: rgba(0, 0, 0, 0.5);
}

.pd-price__del-value {
	font-weight: var(--pd-fw-medium);
	color: #000;
}

.pd-price__del-strong {
	font-weight: var(--pd-fw-semibold);
}

.pd-price__more-del {
	align-self: flex-start;
	margin: 0;
	padding: 10px 15px;
	border: none;
	border-radius: 0;
	background: none;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 14px;
	line-height: 17px;
	color: var(--pd-color-accent-blue);
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-radius 0.15s ease;
}

.pd-price__more-del:hover {
	background: var(--pd-color-warehouses-hover-bg);
	border-radius: 30px;
	text-decoration: none;
}

.pd-price__more-del:focus-visible {
	outline: 2px solid var(--pd-color-accent-blue);
	outline-offset: 2px;
}

.pd-price__del-stack[data-pd-delivery-open] {
	cursor: pointer;
}

.pd-price__del-stack[data-pd-delivery-open]:focus-visible {
	outline: 2px solid var(--pd-color-accent-blue);
	outline-offset: 4px;
	border-radius: 4px;
}

.pd-delivery-modal {
	position: fixed;
	inset: 0;
	margin: auto;
	padding: 0;
	border: none;
	width: min(511px, calc(100vw - 32px));
	max-width: min(511px, calc(100vw - 32px));
	height: fit-content;
	max-height: calc(100vh - 32px);
	box-sizing: border-box;
	border-radius: 20px;
}

.pd-delivery-modal::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.pd-delivery-modal__panel {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 0;
	padding: 30px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	max-height: calc(100vh - 32px);
	overflow: auto;
}

.pd-delivery-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pd-delivery-modal__title {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 28px;
	line-height: 1.2;
	color: #000;
}

.pd-delivery-modal__close {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-delivery-modal__close-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.pd-delivery-modal__close:hover .pd-delivery-modal__close-icon {
	opacity: 0.72;
}

.pd-delivery-modal__close:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-delivery-modal__body {
	display: flex;
	flex-direction: column;
	gap: 17px;
	min-width: 0;
}

.pd-delivery-modal__section {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.pd-delivery-modal__subtitle {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 18px;
	line-height: 22px;
	color: #333;
}

.pd-delivery-modal__text {
	margin: 0;
	font-weight: var(--pd-fw-light);
	font-size: 16px;
	line-height: 30px;
	color: #000;
}

.pd-delivery-modal__text-accent {
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	line-height: 30px;
	color: var(--pd-color-green);
}

.pd-delivery-modal__text--plain {
	color: #000;
}

.pd-delivery-modal__rule {
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.pd-delivery-modal__ok {
	align-self: flex-start;
	margin: 0;
	padding: 15px 70px;
	border: none;
	border-radius: 10px;
	background: var(--pd-color-link-alt);
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 18px;
	line-height: 1.22;
	color: #fff;
	cursor: pointer;
	box-sizing: border-box;
}

.pd-delivery-modal__ok:hover {
	filter: brightness(1.05);
}

.pd-delivery-modal__ok:focus-visible {
	outline: 2px solid var(--pd-color-link-alt);
	outline-offset: 2px;
}

/* Figma 7610:747 — «Стоимость доставки», 300–1000px: ширина экрана минус 15px с каждой стороны */
@media (min-width: 300px) and (max-width: 1000px) {
	.pd-delivery-modal {
		width: calc(100vw - 30px);
		max-width: calc(100vw - 30px);
	}

	.pd-delivery-modal__panel {
		gap: 30px;
		padding: 30px;
		border-radius: 20px;
		box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	}

	.pd-delivery-modal__head {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 18px;
		column-gap: 90px;
		align-items: center;
		width: 100%;
		min-height: 0;
		box-sizing: border-box;
	}

	.pd-delivery-modal__title {
		min-width: 0;
		margin: 0;
		padding: 0;
		font-size: 18px;
		line-height: 22px;
		font-weight: var(--pd-fw-semibold);
		color: #000;
	}

	.pd-delivery-modal__close {
		width: 18px;
		height: 18px;
		justify-self: end;
	}

	.pd-delivery-modal__close-icon {
		width: 18px;
		height: 18px;
	}

	.pd-delivery-modal__body {
		gap: 10px;
		width: 100%;
		max-width: 269px;
		align-self: flex-start;
		box-sizing: border-box;
	}

	.pd-delivery-modal__section {
		gap: 5px;
	}

	.pd-delivery-modal__subtitle {
		font-size: 16px;
		line-height: 20px;
		font-weight: var(--pd-fw-semibold);
		color: #333;
	}

	.pd-delivery-modal__text {
		font-size: 14px;
		line-height: 25px;
		font-weight: var(--pd-fw-light);
		color: #000;
	}

	.pd-delivery-modal__text-accent {
		font-size: 14px;
		line-height: 25px;
		font-weight: var(--pd-fw-medium);
	}

	.pd-delivery-modal__ok {
		align-self: flex-start;
		width: fit-content;
		max-width: 100%;
		padding: 10px 70px;
		border: none;
		border-radius: 6px;
		background: var(--pd-color-link-alt);
		font-size: 16px;
		line-height: 20px;
		font-weight: var(--pd-fw-semibold);
		min-height: 40px;
		box-sizing: border-box;
	}
}

.pd-warranty-modal {
	position: fixed;
	inset: 0;
	margin: auto;
	padding: 0;
	border: none;
	width: min(793px, calc(100vw - 32px));
	max-width: min(793px, calc(100vw - 32px));
	height: fit-content;
	max-height: calc(100vh - 32px);
	box-sizing: border-box;
	border-radius: 20px;
	font-weight: var(--pd-fw-regular);
}

.pd-warranty-modal::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.pd-warranty-modal__panel {
	display: flex;
	flex-direction: column;
	gap: 31px;
	margin: 0;
	padding: 30px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	max-height: calc(100vh - 32px);
	overflow: auto;
	min-width: 0;
}

.pd-warranty-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
}

.pd-warranty-modal__title-row {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.pd-warranty-modal__shield {
	display: block;
	flex-shrink: 0;
	width: 27px;
	height: auto;
}

.pd-warranty-modal__title {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 28px;
	line-height: 1.2;
	color: #000;
}

.pd-warranty-modal__close {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-warranty-modal__close-icon {
	display: block;
	width: 24px;
	height: 24px;
	opacity: 0.45;
}

.pd-warranty-modal__close:hover .pd-warranty-modal__close-icon {
	opacity: 0.72;
}

.pd-warranty-modal__close:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-warranty-modal__body {
	display: flex;
	flex-direction: column;
	gap: 31px;
	min-width: 0;
}

.pd-warranty-modal__text--mobile {
	display: none;
}

.pd-warranty-modal__text {
	margin: 0;
	font-weight: var(--pd-fw-light);
	font-size: 16px;
	line-height: 30px;
	color: #000;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

.pd-warranty-modal__accent {
	font-weight: var(--pd-fw-semibold);
	font-synthesis: none;
}

.pd-warranty-modal__ok {
	align-self: flex-start;
	margin: 0;
	padding: 15px 70px;
	border: none;
	border-radius: 10px;
	background: var(--pd-color-link-alt);
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 18px;
	line-height: 1.22;
	color: #fff;
	cursor: pointer;
	box-sizing: border-box;
}

.pd-warranty-modal__ok:hover {
	filter: brightness(1.05);
}

.pd-warranty-modal__ok:focus-visible {
	outline: 2px solid var(--pd-color-link-alt);
	outline-offset: 2px;
}

/* Figma 7893:3905 — гарантия, 300–1000px: ширина экрана минус 15px с каждой стороны */
@media (min-width: 300px) and (max-width: 1000px) {
	.pd-warranty-modal {
		width: calc(100vw - 30px);
		max-width: calc(100vw - 30px);
	}

	.pd-warranty-modal__panel {
		gap: 20px;
		padding: 30px;
		border-radius: 20px;
		box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
	}

	.pd-warranty-modal__head {
		justify-content: flex-start;
		gap: 60px;
		align-items: center;
	}

	.pd-warranty-modal__title-row {
		flex: 1 1 auto;
		min-width: 0;
		gap: 10px;
	}

	.pd-warranty-modal__shield {
		width: 18.8px;
	}

	.pd-warranty-modal__title {
		margin: 0;
		padding: 0;
		font-size: 18px;
		line-height: 22px;
		font-weight: var(--pd-fw-semibold);
	}

	.pd-warranty-modal__close {
		width: 18px;
		height: 18px;
		border: none;
	}

	.pd-warranty-modal__close-icon {
		width: 18px;
		height: 18px;
		opacity: 1;
	}

	.pd-warranty-modal__body {
		gap: 20px;
		width: 100%;
		max-width: 300px;
		align-self: flex-start;
		box-sizing: border-box;
	}

	.pd-warranty-modal__text--desktop {
		display: none;
	}

	.pd-warranty-modal__text--mobile {
		display: block;
	}

	.pd-warranty-modal__text {
		margin: 0;
		font-size: 14px;
		line-height: 25px;
		font-weight: var(--pd-fw-light);
	}

	.pd-warranty-modal__accent {
		font-weight: var(--pd-fw-semibold);
	}

	.pd-warranty-modal__ok {
		align-self: flex-start;
		width: fit-content;
		max-width: 100%;
		padding: 10px 70px;
		border: none;
		border-radius: 6px;
		background: var(--pd-color-link-alt);
		font-size: 16px;
		line-height: 20px;
		font-weight: var(--pd-fw-semibold);
		min-height: 40px;
		box-sizing: border-box;
	}
}

/* --- Производитель: база; брейкпоинты — см. 1000–1600 / ≥1601 / max 999 --- */
.pd-mfr__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.pd-mfr {
	min-width: 0;
	width: 100%;
}

.pd-mfr__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 20px;
}

.pd-mfr__caption {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: 15px;
	line-height: 1.25;
	color: rgba(0, 0, 0, 0.8);
}

.pd-mfr__warranty-trigger {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	font-family: inherit;
	font-weight: var(--pd-fw-medium);
	font-size: 15px;
	line-height: 1.25;
	color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
	box-sizing: border-box;
	max-width: 100%;
	text-align: left;
	flex-shrink: 0;
}

.pd-mfr__warranty-trigger:focus-visible {
	outline: 2px solid var(--pd-color-link);
	outline-offset: 2px;
}

.pd-mfr__warranty-trigger-inner {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.pd-mfr__warranty-trigger-line {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
}

.pd-mfr__warranty-trigger-ico {
	display: block;
	flex-shrink: 0;
}

.pd-mfr__warranty-trigger-text {
	transition: color 0.15s ease;
}

.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-text,
.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-text {
	color: var(--pd-color-link);
}

.pd-mfr__warranty-trigger-help {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.pd-mfr__warranty-trigger-help-svg {
	display: block;
}

.pd-mfr__warranty-trigger-help-svg path {
	fill: rgba(0, 0, 0, 0.3);
	transition: fill 0.15s ease;
}

.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-help-svg path,
.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-help-svg path {
	fill: var(--pd-color-link-alt);
}

.pd-mfr__card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 10px 20px 20px;
	border-radius: var(--pd-radius-mfr);
	background: linear-gradient(
		269.87deg,
		rgba(112, 112, 114, 0.21) -61.93%,
		rgba(205, 206, 210, 0.28) 34.11%,
		rgba(252, 252, 254, 0.7) 82.13%,
		rgba(208, 209, 214, 0.56) 106.14%,
		rgba(129, 130, 134, 0.49) 118.15%,
		rgba(162, 162, 163, 0.42) 130.15%
	);
	box-sizing: border-box;
}

.pd-mfr__logo {
	margin: 0;
	padding: 10px 0 0;
	line-height: 0;
	flex-shrink: 0;
}

.pd-mfr__logo img {
	display: block;
	width: 68px;
	max-height: 44px;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.pd-mfr__text {
	margin: 0;
	padding: 0 0 10px;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-sku);
	line-height: 28px;
	color: var(--pd-color-text);
}

.pd-mfr__text p {
	margin: 0 0 0.75em;
}

.pd-mfr__text p:last-child {
	margin-bottom: 0;
}

.pd-card__tabs {
	width: 100%;
	margin-top: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--pd-color-tabs-border);
}

/* --- Табы + производитель (9fr | 3fr — как верхняя сетка и колонка pd-price) --- */
.pd-tabs {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin-top: 0;
}

.pd-tabs__row {
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
	gap: var(--pd-gap-grid);
	align-items: start;
	width: 100%;
	max-width: 100%;
}

.pd-tabs__row--mfr-only {
	grid-template-columns: minmax(0, 1fr);
}

.pd-tabs__col {
	display: flex;
	flex-direction: column;
	gap: 20px; /* Figma 1920: между nav (Frame 91) и блоком контента / дисклеймером — gap 20 */
	min-width: 0;
}

.pd-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 50px; /* Figma 1920 Frame 91 */
	min-height: 50px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-tabs__tab {
	position: relative;
	display: inline-block;
	margin: 0 0 -1px;
	padding: 15px 40px; /* Figma 1920: 15 / 40 */
	border: none;
	border-bottom: 2px solid transparent;
	background: none;
	font-family: inherit;
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	line-height: 20px;
	color: var(--pd-color-text);
	cursor: pointer;
	box-sizing: border-box;
	text-decoration: none;
}

.pd-tabs__tab:hover {
	color: var(--pd-color-link);
}

.pd-tabs__tab.is-active {
	color: var(--pd-color-link);
	border-bottom-color: var(--pd-color-link);
}

.pd-tabs__panels {
	padding-top: 0;
}

.pd-tabs__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	scroll-margin-top: 1.5rem;
}

.pd-tabs__panel[hidden] {
	display: none !important;
}

.pd-tabs__heading {
	margin: 0;
	padding: 10px 0;
	max-width: min(100%, var(--pd-w-tabs-body));
	font-weight: var(--pd-fw-medium);
	font-size: 28px;
	line-height: 36px;
	color: var(--pd-color-text);
}

.pd-tabs__body {
	margin: 5px 0 20px;
	width: 100%;
	max-width: min(100%, var(--pd-w-tabs-body));
	font-weight: var(--pd-fw-medium);
	font-size: 14px;
	line-height: 30px;
	color: rgba(0, 0, 0, 0.7);
}

.pd-tabs__body--exp {
	white-space: pre-line;
}

.pd-tabs__disclaimer {
	margin: 0;
	width: 100%;
	max-width: min(100%, var(--pd-w-tabs-disclaimer));
	font-weight: var(--pd-fw-regular);
	font-size: 11px;
	line-height: 20px;
	color: rgba(0, 0, 0, 0.8);
}

/* --- Аналоги / с этим покупают --- */
.pd-related {
	position: relative;
	margin-top: 72px;
	padding-bottom: 64px;
	padding-inline: var(--pd-pad-inline);
	box-sizing: border-box;
}

.pd-related__section-title {
	margin: 0 0 28px;
	font-weight: var(--pd-fw-medium);
	font-size: 28px;
	line-height: 34px;
}

.pd-related__section-title--analogs {
	margin: 0 0 30px;
}

.pd-related__section-title--second {
	margin-top: 24px;
}

.pd-proto > .pd-related {
	margin-top: 24px;
	padding-inline: var(--pd-pad-inline);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.pd-related__viewport {
	position: relative;
	padding: 20px 20px 28px;
	overflow: hidden;
	box-sizing: border-box;
}

.pd-analogs-swiper,
.pd-bought-swiper {
	position: relative;
	z-index: 1;
	overflow: visible !important;
	padding: 4px 4px 0;
	box-sizing: border-box;
}

.pd-analogs-swiper .swiper-wrapper,
.pd-bought-swiper .swiper-wrapper {
	align-items: stretch;
	overflow: visible !important;
}

.pd-analogs-swiper .swiper-slide,
.pd-bought-swiper .swiper-slide {
	display: flex;
	flex-direction: column;
	height: auto;
	align-self: stretch;
}

.pd-related .swiper-slide > .item_catalog {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	height: 100%;
}

.pd-analogs-swiper .swiper-slide,
.pd-bought-swiper .swiper-slide {
	width: var(--pd-related-slide-w);
	height: auto;
	flex-shrink: 0;
	box-sizing: border-box;
	overflow: visible;
	box-shadow: none;
	filter: none;
}

.pd-related .swiper-slide > .item_catalog {
	width: 100%;
	min-width: 0;
}

/* Figma: Drop shadow #8C8686 20%, blur 15, offset 0 */
.pd-related__block--analogs .pd-product-card,
.pd-related__block--bought .pd-product-card {
	width: 100%;
	max-width: none;
	min-width: 0;
	height: 100%;
	min-height: 100%;
	padding: 22px 18px;
	gap: 12px;
	box-shadow: 0 0 15px 0 rgba(140, 134, 134, 0.2);
}

.pd-related__block--analogs .pd-product-card__img-wrap,
.pd-related__block--bought .pd-product-card__img-wrap {
	margin-bottom: 0;
	border-radius: 15px;
	width: 100%;
	max-width: var(--pd-related-card-img-max-w);
	margin-inline: auto;
	min-height: 159px;
	height: 159px;
	max-height: 159px;
	padding: 0 20px;
	box-sizing: border-box;
}

.pd-related__block--analogs .pd-product-card__fav,
.pd-related__block--bought .pd-product-card__fav {
	top: 12px;
	right: 18px;
}

.pd-related__block--analogs .pd-product-card__fav img,
.pd-related__block--bought .pd-product-card__fav img {
	width: 28px;
	height: 28px;
	display: block;
}

.pd-related__block--analogs .pd-product-card__muted,
.pd-related__block--bought .pd-product-card__muted {
	color: rgba(0, 0, 0, 0.5);
}

.pd-related__block--analogs .pd-product-card__body,
.pd-related__block--bought .pd-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	max-width: var(--pd-related-card-img-max-w);
	margin-inline: auto;
}

.pd-related__block--analogs .pd-product-card__meta,
.pd-related__block--bought .pd-product-card__meta,
.pd-related__block--analogs .pd-product-card__sku,
.pd-related__block--bought .pd-product-card__sku,
.pd-related__block--analogs .pd-product-card__dims,
.pd-related__block--bought .pd-product-card__dims {
	flex-shrink: 0;
}

.pd-related .pd-product-card__actions {
	margin-top: auto;
	width: 100%;
}

.pd-product-card__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	min-width: 0;
	margin-top: auto;
}

.pd-product-card__actions[data-in-basket='1'],
.pd-product-card__actions.is-in-basket {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
}

.pd-product-card__actions[data-in-basket='1'] > .pd-product-card__btn,
.pd-product-card__actions.is-in-basket > .pd-product-card__btn {
	display: none !important;
}

.pd-product-card__actions[data-in-basket='1'] .main-product__quantity,
.pd-product-card__actions.is-in-basket .main-product__quantity {
	display: flex !important;
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	height: auto;
	margin: 0;
}

.pd-product-card__actions .main-product__quantity .quantity {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(83, 121, 184, 0.3);
	border-radius: 5px;
	box-sizing: border-box;
	overflow: hidden;
}

.pd-product-card__actions .main-product__quantity .quantity__input input {
	width: 100%;
	min-width: 0;
	text-align: center;
	background: #fff;
	color: #405a8b;
}

.pd-product-card__actions .main-product__quantity .quantity__button {
	background: #fff;
}

.pd-product-card__actions .main-product__quantity .quantity__button::before,
.pd-product-card__actions .main-product__quantity .quantity__button::after {
	background: #405a8b;
}

.pd-product-card__actions[data-in-basket='1'] .product__button--open-cart,
.pd-product-card__actions.is-in-basket .product__button--open-cart {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 5px;
	background: var(--pd-color-link-alt, #5479b8);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.pd-product-card__actions .product__button--open-cart::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--pd-color-red-dark, #e03733);
	border-top: 1px solid #fff;
	border-radius: 0 0 5px 5px;
	box-sizing: border-box;
}

.pd-product-card__actions .product__button--open-cart .product__button-icon {
	display: inline-block;
	width: 13px;
	height: 13px;
	background: url('/local/templates/main/img/svg/arrow_next_wht.svg') no-repeat center/contain;
}

.pd-related .pd-product-card__actions[data-in-basket='1'],
.pd-related .pd-product-card__actions.is-in-basket {
	height: 44px;
	min-height: 44px;
	max-height: 44px;
}

.pd-related .pd-product-card__actions[data-in-basket='1'] .main-product__quantity,
.pd-related .pd-product-card__actions.is-in-basket .main-product__quantity,
.pd-related .pd-product-card__actions[data-in-basket='1'] .product__button--open-cart,
.pd-related .pd-product-card__actions.is-in-basket .product__button--open-cart {
	height: 44px;
	min-height: 44px;
	max-height: 44px;
}

.pd-related__block--analogs .pd-product-card__title,
.pd-related__block--bought .pd-product-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	margin: 0 0 5px;
	min-height: 60px;
	max-height: 60px;
	color: #5479b8;
	font-size: 14px;
	line-height: 20px;
	font-weight: var(--pd-fw-medium);
}

.pd-related__block--analogs .pd-product-card__meta,
.pd-related__block--bought .pd-product-card__meta {
	margin: 0 0 10px;
	height: 17px;
	min-height: 17px;
	max-height: 17px;
	font-size: 14px;
	line-height: 17px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pd-related__block--analogs .pd-product-card__sku,
.pd-related__block--bought .pd-product-card__sku {
	height: 15px;
	min-height: 15px;
	max-height: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.pd-related__block--analogs .pd-product-card__dims,
.pd-related__block--bought .pd-product-card__dims {
	min-height: 17px;
}

.pd-related__block--analogs .pd-product-card__dims:not(:has(.size__item)),
.pd-related__block--bought .pd-product-card__dims:not(:has(.size__item)) {
	display: block;
	min-height: 17px;
	margin: 0 0 17px;
	visibility: hidden;
}

.pd-related__block--analogs .pd-product-card__dims .size__item,
.pd-related__block--bought .pd-product-card__dims .size__item {
	gap: 10px;
}

.pd-related__block--analogs .pd-product-card__dims .size__item img,
.pd-related__block--bought .pd-product-card__dims .size__item img {
	width: 18px;
	height: 17px;
}

.pd-related__block--analogs .pd-product-card__dims .size__text,
.pd-related__block--bought .pd-product-card__dims .size__text {
	margin: 0;
	font-size: 14px;
	line-height: 17px;
	font-weight: var(--pd-fw-medium);
}

.pd-related__block--analogs .pd-product-card__btn--order {
	min-height: 44px;
	padding: 10px;
	line-height: 18px;
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	border-radius: 5px;
}

.pd-related__block--analogs .pd-product-card__btn--order::after {
	display: none;
}

.pd-related__block--bought .pd-product-card__btn:not(.pd-product-card__btn--order),
.pd-related__block--analogs .pd-product-card__btn:not(.pd-product-card__btn--order) {
	min-height: 44px;
	padding: 10px 10px 17px;
	line-height: 18px;
	font-weight: var(--pd-fw-medium);
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	border-radius: 5px;
	margin-top: 0;
}

.pd-related__block--analogs .pd-product-card__sku,
.pd-related__block--bought .pd-product-card__sku {
	margin: 0 0 17px;
	line-height: 15px;
	font-size: 12px;
	font-weight: var(--pd-fw-regular);
	box-sizing: border-box;
}

.pd-related__block--analogs .pd-product-card__dims,
.pd-related__block--bought .pd-product-card__dims {
	margin: 0 0 17px;
	gap: 0;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.pd-related__block--analogs .pd-product-card__price-wrap,
.pd-related__block--bought .pd-product-card__price-wrap {
	margin: 0 0 17px;
}

.pd-related__block--analogs .pd-product-card__discount .pd-product-card__price--current,
.pd-related__block--bought .pd-product-card__discount .pd-product-card__price--current,
.pd-related__block--analogs .pd-product-card__price--single,
.pd-related__block--bought .pd-product-card__price--single {
	font-size: 24px;
	line-height: 1.21;
	font-weight: var(--pd-fw-semibold);
}

.pd-related__block--analogs .pd-product-card__status,
.pd-related__block--bought .pd-product-card__status {
	margin: 0 0 11px;
	font-weight: var(--pd-fw-medium);
	line-height: 14px;
	font-size: 12px;
}

/* Figma 7630: карточка аналога/«с этим купили» 1000–1300 (Frame 543) */
@media (min-width: 1000px) and (max-width: 1300px) {
	.pd-related__block--analogs .pd-product-card,
	.pd-related__block--bought .pd-product-card {
		padding: 20px 15px;
		border-radius: 15px;
	}

	.pd-related__block--analogs .pd-product-card__img-wrap,
	.pd-related__block--bought .pd-product-card__img-wrap {
		min-height: 130px;
		height: 130px;
		max-height: 130px;
		max-width: min(254px, 100%);
		padding: 0 20px;
	}

	.pd-related__block--analogs .pd-product-card__img-wrap img,
	.pd-related__block--bought .pd-product-card__img-wrap img {
		width: min(130px, 100%);
		height: auto;
		max-height: 130px;
		aspect-ratio: 1;
		object-fit: contain;
	}

	.pd-related__block--analogs .pd-product-card__fav,
	.pd-related__block--bought .pd-product-card__fav {
		top: 20px;
		right: 15px;
	}

	.pd-related__block--analogs .pd-product-card__fav img,
	.pd-related__block--bought .pd-product-card__fav img {
		width: 29px;
		height: 29px;
	}

	.pd-related__block--analogs .pd-product-card__body,
	.pd-related__block--bought .pd-product-card__body {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__dims .size__text,
	.pd-related__block--bought .pd-product-card__dims .size__text {
		margin: 0 0 0 10px;
	}
}

.pd-related__viewport:hover .pd-related__nav,
.pd-related__viewport:focus-within .pd-related__nav,
.pd-analogs-swiper:hover .pd-related__nav,
.pd-analogs-swiper:focus-within .pd-related__nav,
.pd-bought-swiper:hover .pd-related__nav,
.pd-bought-swiper:focus-within .pd-related__nav {
	display: flex;
}

.pd-related__nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
	width: 100%;
	pointer-events: none;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
}

.pd-related__nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #fff;
	box-shadow: 5px 4px 11.8px -2px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.pd-related__nav-btn:hover {
	background: #f4f5f7;
}

.pd-related__nav-btn svg {
	width: 16px;
	height: 16px;
	fill: #333;
}

.pd-product-card {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 20px 10px;
	background: var(--pd-color-surface);
	border-radius: var(--pd-radius-card);
	display: flex;
	flex-direction: column;
}

.pd-product-card__fav {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pd-product-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 159px;
	margin-bottom: 10px;
	padding: 0 20px;
	background: var(--pd-color-surface);
	border-radius: var(--pd-radius-card);
	text-decoration: none;
}

.pd-product-card__img-wrap img {
	display: block;
	width: 158px;
	height: 158px;
	max-width: 100%;
	object-fit: contain;
	border-radius: 5px;
}

.pd-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 17px;
	flex: 1 1 auto;
	min-height: 0;
}

.pd-product-card__title {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	line-height: 20px;
	color: var(--pd-color-link-alt);
	text-decoration: none;
	min-height: 60px;
}

.pd-product-card__title:hover {
	text-decoration: underline;
}

.pd-product-card__meta {
	display: block;
	flex-shrink: 0;
	margin: 0 0 10px;
	height: 17px;
	min-height: 17px;
	max-height: 17px;
	font-size: 14px;
	line-height: 17px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	box-sizing: border-box;
}

.pd-product-card__meta--empty {
	pointer-events: none;
	user-select: none;
}

.pd-product-card__muted {
	color: var(--pd-color-muted);
	font-weight: var(--pd-fw-regular);
	margin-right: 9px;
}

.pd-product-card__brand {
	font-weight: var(--pd-fw-semibold);
	color: var(--pd-color-text);
}

.pd-product-card__sku {
	display: block;
	flex-shrink: 0;
	margin: 0 0 17px;
	height: 15px;
	min-height: 15px;
	max-height: 15px;
	font-size: 12px;
	line-height: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	color: var(--pd-color-text);
	box-sizing: border-box;
}

.pd-product-card__sku--empty {
	color: transparent;
	pointer-events: none;
	user-select: none;
	visibility: hidden;
}

.pd-product-card__dims {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	max-width: 100%;
}

.pd-product-card__dims .size__item {
	display: flex;
	align-items: center;
}

.pd-product-card__dims .size__item img {
	flex-shrink: 0;
	display: block;
	width: 25px;
	height: 24px;
	object-fit: contain;
}

.pd-product-card__dims .size__text {
	margin: 0 0 0 7px;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-bc);
	line-height: 1.2;
	color: var(--pd-color-text);
}

.pd-product-card__price {
	margin: 0;
	font-weight: var(--pd-fw-semibold);
	font-size: 24px;
	line-height: 24px;
}

.pd-product-card__price-wrap {
	margin: 0 0 14px;
}

.pd-product-card__price-wrap .pd-product-card__price--single {
	margin: 0;
	display: block;
}

/* Скидка — одна строка (как pd-price__discount) */
.pd-product-card__discount {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.pd-product-card__discount-top {
	display: contents;
}

.pd-product-card__discount .pd-product-card__price-old,
.pd-product-card__discount .pd-product-card__price--current,
.pd-product-card__discount-badge {
	display: inline-flex;
	align-items: center;
	margin: 0;
	line-height: 1;
}

.pd-product-card__discount-badge {
	flex-shrink: 0;
	justify-content: center;
	padding: 2px 10px;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--pd-color-discount-badge);
	white-space: nowrap;
}

.pd-product-card__discount .pd-product-card__price-old {
	font-size: 16px;
	font-weight: var(--pd-fw-medium);
	text-decoration: line-through;
	color: var(--pd-color-price-old);
	white-space: nowrap;
}

.pd-product-card__discount .pd-product-card__price--current {
	font-weight: var(--pd-fw-semibold);
	font-size: 24px;
	color: var(--pd-color-text);
}

.pd-product-card__price--single {
	color: var(--pd-color-text, #231f20);
}

.pd-product-card__status {
	margin: 0;
	font-weight: var(--pd-fw-medium);
	font-size: var(--pd-fs-sku);
	line-height: 14px;
}

.pd-product-card__status--in {
	color: var(--pd-color-green);
}

.pd-product-card__status--out {
	color: var(--pd-color-red);
}

.pd-product-card__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 10px 17px;
	border: none;
	border-radius: 5px;
	font-family: inherit;
	font-weight: var(--pd-fw-semibold);
	font-size: 16px;
	line-height: 18px;
	color: #fff;
	background: var(--pd-color-link-alt);
	cursor: pointer;
	margin-top: auto;
	box-sizing: border-box;
}

.pd-product-card__btn-label {
	position: relative;
	z-index: 1;
	transform: translateY(calc(var(--pd-btn-stripe-h) / 2));
}

.pd-product-card__btn::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--pd-color-red-dark);
	border-top: 1px solid #fff;
	border-radius: 0 0 5px 5px;
	box-sizing: border-box;
}

.pd-product-card__btn--order::after {
	display: none;
}

.pd-product-card__btn:hover {
	filter: brightness(1.05);
}

.pd-product-card__btn--order {
	font-weight: var(--pd-fw-medium);
	background: var(--pd-color-order-btn);
	color: #fff;
}

.pd-specs__dim .pd-dim-svg {
	display: block;
	width: 25px;
	height: 24px;
	object-fit: contain;
}

/* Figma 1301→1599: карточки ряда резина до 329px на 1600+ */
@media (min-width: 1301px) and (max-width: 1599.98px) {
	.pd-analogs-swiper .swiper-slide,
	.pd-bought-swiper .swiper-slide {
		width: clamp(260px, calc(280px * (100vw / 1600)), 319px);
	}

	.pd-tabs__nav {
		gap: 0 20px;
	}

	.pd-tabs__tab {
		padding: 15px 30px;
	}
}

/* Figma 12 col (1300): галерея превью+осн. = 5 | характеристики = 3 | цена = 4; внутри галереи 1 : 4 */
@media (min-width: 1000px) and (max-width: 1300px) {
	.pd-card {
		--pd-w-thumbs-col: 100%;
		--pd-w-thumb: 90px;
		--pd-h-thumb: min(66px, 12vw);
		--pd-gallery-main-h: 195px;
		--pd-gallery-aspect: 359 / 195;
	}

	.pd-gallery__aside {
		padding: 10px 0;
	}

	.pd-gallery__thumbs {
		width: 100%;
		max-width: none;
		margin-inline-end: 0;
		box-sizing: border-box;
	}

	.pd-gallery {
		grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
	}

	.pd-gallery--single {
		grid-template-columns: minmax(0, 1fr);
	}
	.pd-card__title {
		max-width: min(706px, 58%);
	}

	.pd-card__body {
		grid-template-columns: minmax(0, 4.5fr) minmax(0, 3fr) minmax(0, 3.5fr);
		grid-template-rows: auto auto;
		column-gap: 23px;
		row-gap: var(--pd-space-intro-to-gallery);
		align-items: start;
	}

	.pd-card__intro {
		grid-column: 1 / -1;
		grid-row: 1;
		min-width: 0;
		width: 100%;
	}

	.pd-card__main {
		grid-column: 1 / 3;
		grid-row: 2;
		display: grid;
		grid-template-columns: minmax(0, 4.5fr) minmax(0, 3fr);
		grid-template-rows: auto;
		column-gap: 23px;
		row-gap: var(--pd-gap-grid);
		align-items: start;
		min-width: 0;
		width: 100%;
		position: relative;
		z-index: 0;
		overflow: visible;
	}

	.pd-card__media {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.pd-specs {
		position: absolute;
		top: 0;
		right: 0;
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		align-self: start;
		box-sizing: border-box;
	}

	.pd-card__aside {
		grid-column: 3;
		grid-row: 2;
		min-width: 0;
		width: 100%;
		box-sizing: border-box;
	}

	/* Frame 629: gap 20 между карточкой цены и блоком доставки */
	.pd-price {
		gap: 20px;
	}

	.pd-price__stock {
		gap: 15px;
	}

	.pd-price__warehouses {
		margin-top: 0;
	}

	.pd-price__delivery {
		gap: 15px;
	}

	.pd-price__del-text {
		font-size: 12px;
		line-height: 15px;
	}

	.pd-price__more-del {
		font-size: 12px;
		line-height: 15px;
		padding: 10px;
	}

	/* Таб-панель справа = колонка цены */
	.pd-tabs__row {
		grid-template-columns: minmax(0, 8fr) minmax(0, 3.5fr);
		column-gap: 23px;
	}

	.pd-tabs__col {
		gap: 20px;
	}

	.pd-tabs__nav {
		gap: 0 10px;
		min-height: 47px;
	}

	.pd-tabs__tab {
		padding: 15px 30px;
		font-size: 14px;
		line-height: 17px;
	}

	.pd-tabs__disclaimer {
		font-size: 10px;
		line-height: 20px;
	}

	.pd-analogs-swiper .swiper-slide,
	.pd-bought-swiper .swiper-slide {
		width: min(var(--pd-related-slide-w), calc(var(--pd-related-slide-w) / 1300 * 100vw));
	}
}

/* вплоть до 1600px: характеристики + производитель как Figma (не диапазон 1000–1600) */
@media (max-width: 1600px) {
	:root {
		--pd-specs-fs: 12px;
		--pd-specs-lh: 15px;
	}

	.pd-specs {
		border-radius: 10px;
		padding: 10px;
	}

	.pd-specs__title {
		padding-inline: 0;
		padding-block: 10px;
		font-size: 16px;
		line-height: 20px;
	}

	.pd-specs__row {
		padding: 8px 0;
	}

	.pd-specs__row--dim {
		min-height: 36px;
	}

	.pd-specs__name {
		color: var(--pd-color-text);
	}

	.pd-specs__toggle {
		gap: 13px;
		padding: 14px 10px;
	}
}

/* Производитель: 1000–1600 (Figma ~369 / 7531) */
@media (min-width: 1000px) and (max-width: 1600px) {
	.pd-mfr {
		display: flex;
		flex-direction: column;
		gap: 8px;
		max-width: 369px;
		box-sizing: border-box;
	}

	.pd-mfr__head {
		column-gap: 39px;
		row-gap: 10px;
		padding: 10px 0;
		margin: 0;
		justify-content: flex-start;
	}

	.pd-mfr__caption {
		font-size: 14px;
		line-height: 1.2142857143;
		color: var(--pd-color-text);
	}

	.pd-mfr__warranty-trigger {
		font-size: inherit;
		line-height: 1;
		color: inherit;
	}

	.pd-mfr__warranty-trigger-text {
		font-weight: var(--pd-fw-medium);
		font-size: 12px;
		line-height: 1.25;
		color: var(--pd-color-text-soft2);
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-text,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-text {
		color: var(--pd-color-text-soft2);
	}

	.pd-mfr__warranty-trigger-help-svg path {
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-help-svg path,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-help-svg path {
		fill: rgba(0, 0, 0, 0.3);
	}

	.pd-mfr__card {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 10px 20px;
		border-radius: 20px;
		background: linear-gradient(
			269.87deg,
			rgba(112, 112, 114, 0.21) -61.93%,
			rgba(205, 206, 210, 0.28) 34.11%,
			rgba(252, 252, 254, 0.7) 82.13%,
			rgba(208, 209, 214, 0.56) 106.14%,
			rgba(129, 130, 134, 0.49) 118.15%,
			rgba(162, 162, 163, 0.42) 130.15%
		);
	}

	.pd-mfr__logo {
		margin: 0;
		padding: 10px 0;
	}

	.pd-mfr__logo img {
		width: 47px;
		max-height: 31px;
		object-fit: contain;
	}

	.pd-mfr__text {
		font-size: 12px;
		line-height: 22px;
	}
}

/* Производитель: ≥1601 (Figma Frame 617 / 427) */
@media (min-width: 1601px) {
	.pd-mfr {
		display: flex;
		flex-direction: column;
		gap: 20px;
		max-width: 427px;
		width: 100%;
		box-sizing: border-box;
	}

	.pd-mfr__head {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		column-gap: 37px;
		row-gap: 10px;
		padding: 10px 0;
		margin: 0;
	}

	.pd-mfr__caption {
		font-size: 16px;
		line-height: 1.25;
		color: var(--pd-color-text);
	}

	.pd-mfr__warranty-trigger {
		font-size: 15px;
		line-height: 1.2;
		color: var(--pd-color-text-soft2);
	}

	.pd-mfr__warranty-trigger-text {
		font-size: 15px;
		line-height: 1.2;
		color: var(--pd-color-text-soft2);
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-text,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-text {
		color: var(--pd-color-text-soft2);
	}

	.pd-mfr__warranty-trigger-help-svg path {
		fill: rgba(0, 0, 0, 0.3);
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-help-svg path,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-help-svg path {
		fill: rgba(0, 0, 0, 0.3);
	}

	.pd-mfr__card {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 10px 20px;
		border-radius: 20px;
		background: linear-gradient(
			269.87deg,
			rgba(112, 112, 114, 0.21) -61.93%,
			rgba(205, 206, 210, 0.28) 34.11%,
			rgba(252, 252, 254, 0.7) 82.13%,
			rgba(208, 209, 214, 0.56) 106.14%,
			rgba(129, 130, 134, 0.49) 118.15%,
			rgba(162, 162, 163, 0.42) 130.15%
		);
	}

	.pd-mfr__logo {
		margin: 0;
		padding: 10px 0;
	}

	.pd-mfr__logo img {
		width: 63px;
		max-height: 41px;
		object-fit: contain;
	}

	.pd-mfr__text {
		font-size: 12px;
		line-height: 28px;
	}
}

/* --- Адаптив: основной грид в колонку ниже 1000 (цена под блоком) --- */
@media (max-width: 999px) {
	.pd-card__body {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		column-gap: var(--pd-gap-grid);
		row-gap: var(--pd-gap-grid);
	}

	.pd-card__intro {
		grid-column: 1;
		grid-row: 1;
	}

	.pd-card__main {
		grid-column: 1;
		grid-row: 2;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		grid-template-rows: auto;
		row-gap: var(--pd-gap-grid);
	}

	.pd-card__media {
		grid-column: 1;
		grid-row: 1;
	}

	.pd-specs {
		grid-column: 2;
		grid-row: 1;
	}

	.pd-card__aside {
		grid-column: 1;
		grid-row: 3;
	}

}

/* --- Адаптив 900 (галерея + сетка в колонку) --- */
@media (max-width: 900px) {
	.pd-card__body {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		row-gap: var(--pd-gap-grid);
	}

	.pd-card__media,
	.pd-specs,
	.pd-card__aside {
		max-width: none;
	}

	.pd-card__media {
		align-self: stretch;
	}

	.pd-card__main {
		grid-template-columns: 1fr;
		grid-column: 1;
		grid-row: auto;
	}

	.pd-card__intro {
		grid-column: 1;
		grid-row: auto;
	}

	.pd-card__media {
		grid-column: 1;
		grid-row: auto;
	}

	.pd-specs {
		position: static;
		grid-column: 1;
		grid-row: auto;
		width: 100%;
		max-width: none;
	}

	.pd-card__aside {
		grid-column: 1;
		grid-row: auto;
	}

	.pd-gallery {
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	.pd-gallery__aside {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		max-width: none;
		justify-content: flex-start;
	}

	.pd-gallery__thumbs {
		flex-direction: row;
		align-items: center;
		width: auto;
		max-width: none;
		max-height: none;
		overflow-x: visible;
		overflow-y: visible;
		justify-content: flex-start;
	}

	.pd-gallery__main {
		grid-column: 1;
		grid-row: 2;
		max-width: none;
	}

	.pd-gallery__zoom-over {
		display: none;
	}

	.pd-tabs__row {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.pd-card__title {
		font-size: clamp(1.125rem, 4vw, 2rem);
		line-height: 1.25;
	}
}

/* Lightbox ≤1000px: формат как у референса (счётчик, фото, превью снизу); визуал — общие pd-стили модалок */
@media (max-width: 1000px) {
	.page:has(.pd-proto).fixed_sec_menu,
	.page.fixed_sec_menu:has(.pd-proto) {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.pd-gallery-lightbox {
		padding: 16px 15px;
		align-items: center;
		justify-content: center;
		z-index: 1000;
	}

	.pd-gallery-lightbox__panel {
		width: 100%;
		max-width: 100%;
		min-height: 0;
		max-height: calc(100dvh - 32px);
		margin: 0 auto;
		padding: 16px;
		border-radius: 16px;
		box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
		overflow-y: auto;
		flex: 0 1 auto;
	}

	.pd-gallery-lightbox__toolbar {
		position: static;
		width: 100%;
		height: auto;
		padding: 0 0 8px;
		pointer-events: auto;
		justify-content: space-between;
	}

	.pd-gallery-lightbox__counter {
		font-size: 14px;
		line-height: 1.25;
		font-weight: var(--pd-fw-light);
		color: var(--pd-color-text);
	}

	.pd-gallery-lightbox__row {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		flex: 1 1 auto;
		min-height: 0;
	}

	.pd-gallery-lightbox__gallery {
		flex-direction: column;
		gap: 12px;
		min-height: 0;
		width: 100%;
		flex: 1 1 auto;
	}

	.pd-gallery-lightbox__viewport {
		order: 1;
		flex: 1 1 auto;
		border-radius: 28px;
		padding: 0 8px;
		height: auto;
		min-height: 0;
		max-height: none;
		background: #ffffff;
		justify-content: center;
		overflow-x: hidden;
	}

	.pd-gallery-lightbox__thumbs {
		order: 2;
		flex-direction: row;
		flex-wrap: nowrap;
		width: 100%;
		flex: 0 0 auto;
		max-width: none;
		max-height: none;
		padding: 8px 4px;
		gap: 12px;
		overflow-x: auto;
		overflow-y: visible;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
	}

	.pd-gallery-lightbox__thumb {
		flex-shrink: 0;
	}

	.pd-gallery-lightbox__zoom-stack {
		aspect-ratio: auto;
		width: 100%;
		height: min(60vh, 560px);
		min-height: min(200px, 28vh);
		max-height: min(60vh, 560px);
		flex: 0 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		cursor: default;
		touch-action: manipulation;
	}

	.pd-gallery-lightbox__zoom-base {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center center;
	}

	.pd-gallery-lightbox__zoom-over {
		display: none !important;
	}

	.pd-gallery-lightbox__nav {
		display: none !important;
	}

	.pd-gallery-lightbox__aside {
		display: none !important;
	}
}

/* Мобайл 300–1000px: галерея — горизонтальный слайдер + точки (Figma 7621) */
@media (min-width: 300px) and (max-width: 1000px) {
	.pd-gallery {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.pd-gallery__aside,
	.pd-gallery__main {
		display: none !important;
	}

	.pd-gallery__mob-slider {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		width: 100%;
	}

	.pd-gallery__mob-track {
		display: flex;
		flex-flow: row nowrap;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.pd-gallery__mob-track::-webkit-scrollbar {
		display: none;
	}

	.pd-gallery__mob-slide {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		border: none;
		background: transparent;
		cursor: pointer;
		line-height: 0;
	}

	.pd-gallery__mob-slide:focus-visible {
		outline: 2px solid var(--pd-color-thumb-active);
		outline-offset: 2px;
	}

	.pd-gallery__mob-slide-img {
		display: block;
		width: 100%;
		aspect-ratio: var(--pd-gallery-aspect);
		height: auto;
		max-height: min(52vh, 360px);
		object-fit: contain;
		object-position: center center;
		background: transparent;
	}

	.pd-gallery__mob-dots {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 7px;
		padding: 0;
		margin: 0;
		width: 100%;
		flex-shrink: 0;
		min-height: 8px;
	}

	.pd-gallery__mob-dot {
		width: 8px;
		height: 8px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: #ced9eb;
		cursor: pointer;
		flex-shrink: 0;
	}

	.pd-gallery__mob-dot.is-active {
		background: #5d80bc;
	}

	.pd-gallery__mob-dot:focus-visible {
		outline: 2px solid var(--pd-color-thumb-active);
		outline-offset: 2px;
	}
}

/* 300–1000px: порядок — заголовок | галерея | цена | производитель | характеристики | табы */
@media (min-width: 300px) and (max-width: 1000px) {
	.pd-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
		padding-bottom: 28px;
	}

	.pd-card__body {
		display: contents;
		margin: 0;
	}

	.pd-card__main {
		display: contents;
	}

	.pd-card > .pd-tabs.pd-card__tabs {
		display: contents;
		margin: 0;
		padding: 0;
		border: none;
		width: auto;
		max-width: none;
	}

	.pd-card > .pd-tabs.pd-card__tabs > .pd-tabs__row {
		display: contents;
	}

	.pd-card__intro {
		order: -1;
		width: 100%;
		min-width: 0;
		margin-bottom: 0;
	}

	.pd-card__media {
		order: 1;
		width: 100%;
		min-width: 0;
	}

	.pd-card__aside {
		order: 2;
		width: 100%;
		min-width: 0;
	}

	.pd-mfr {
		order: 3;
		width: 100%;
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 15px;
		max-width: none;
		box-sizing: border-box;
		padding-bottom: 20px;
		border-bottom: 1px solid var(--pd-color-tabs-border);
	}

	.pd-mfr__head {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px 16px;
		padding: 10px 0;
		margin: 0;
	}

	.pd-mfr__caption {
		font-size: 14px;
		line-height: 1.2142857143;
		font-weight: var(--pd-fw-medium);
		color: #000;
	}

	.pd-mfr__warranty-trigger {
		font-size: 12px;
		line-height: 1.25;
		font-weight: var(--pd-fw-medium);
		color: rgba(0, 0, 0, 0.8);
		padding: 7px 10px;
		border-radius: 7px;
		background: #ededee;
		transition: none;
	}

	.pd-mfr__warranty-trigger-inner {
		gap: 11px;
	}

	.pd-mfr__warranty-trigger-text {
		font-size: 12px;
		line-height: 1.25;
		font-weight: var(--pd-fw-medium);
		color: rgba(0, 0, 0, 0.8);
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-text,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-text {
		color: rgba(0, 0, 0, 0.8);
	}

	.pd-mfr__warranty-trigger-help-svg path {
		transition: none;
	}

	.pd-mfr__warranty-trigger:hover .pd-mfr__warranty-trigger-help-svg path,
	.pd-mfr__warranty-trigger:focus-visible .pd-mfr__warranty-trigger-help-svg path {
		fill: rgba(0, 0, 0, 0.35);
	}

	.pd-mfr__warranty-trigger-ico {
		width: 16px;
		height: 20px;
		object-fit: contain;
	}

	.pd-mfr__card {
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding: 10px 20px;
		border-radius: 20px;
		background: linear-gradient(
			269.87deg,
			rgba(112, 112, 114, 0.21) -61.93%,
			rgba(205, 206, 210, 0.28) 34.11%,
			rgba(252, 252, 254, 0.7) 82.13%,
			rgba(208, 209, 214, 0.56) 106.14%,
			rgba(129, 130, 134, 0.49) 118.15%,
			rgba(162, 162, 163, 0.42) 130.15%
		);
	}

	.pd-mfr__logo {
		margin: 0;
		padding: 10px 0;
	}

	.pd-mfr__logo img {
		width: 68px;
		max-height: 45px;
		object-fit: contain;
	}

	.pd-mfr__text {
		margin: 0;
		font-weight: var(--pd-fw-regular);
		font-size: 12px;
		line-height: 28px;
		color: #000;
	}

	.pd-specs {
		order: 4;
		width: 100%;
		min-width: 0;
		position: static;
		inset: auto;
		grid-column: unset;
		grid-row: unset;
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding: 20px 21px;
		border: 1px solid #ededed;
		border-radius: 30px;
		box-shadow: none;
	}

	.pd-specs__title {
		margin: 0;
		padding: 0;
		font-size: 16px;
		line-height: 20px;
		font-weight: var(--pd-fw-medium);
		color: #000;
	}

	.pd-specs__row {
		padding: 10px 0;
		font-size: 13px;
		line-height: 1.2307692308;
	}

	.pd-specs__row--dim {
		min-height: 40px;
		align-items: center;
	}

	.pd-specs__name {
		font-size: 13px;
		color: rgba(0, 0, 0, 0.6);
	}

	.pd-specs__name > span:not(.pd-specs__leader) {
		max-width: none;
	}

	.pd-specs__value {
		font-size: 13px;
	}

	.pd-specs__toggle {
		gap: 13px;
		padding: 10px;
		font-size: 14px;
		line-height: 17px;
		font-weight: var(--pd-fw-semibold);
		color: var(--pd-color-accent-blue);
	}

	.pd-specs__toggle-icon {
		width: 21px;
		height: 25px;
	}

	.pd-tabs__col {
		order: 5;
		width: 100%;
		min-width: 0;
		margin-top: 0;
		padding-bottom: 30px;
		border-bottom: 1px solid var(--pd-color-tabs-border);
		/* Figma 7575 «Для мобильной»: колонка nav + контент + дисклеймер */
		gap: 20px;
	}

	.pd-tabs__nav {
		flex-wrap: nowrap;
		gap: 5px;
		align-items: stretch;
		min-height: 45px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.pd-tabs__nav::-webkit-scrollbar {
		display: none;
	}

	.pd-tabs__tab {
		display: block;
		flex: 0 0 auto;
		margin: 0;
		padding: 15px 10px;
		border: none;
		border-bottom: 1px solid transparent;
		box-sizing: border-box;
		font-size: 12px;
		line-height: 15px;
		font-weight: var(--pd-fw-medium);
		color: #000;
	}

	.pd-tabs__tab.is-active {
		color: var(--pd-color-link);
		border-bottom: 1px solid var(--pd-color-link);
	}

	.pd-tabs__panels {
		padding-top: 0;
	}

	.pd-tabs__panel {
		gap: 0;
	}

	.pd-tabs__heading {
		padding: 5px 0;
		max-width: 100%;
		font-size: 20px;
		line-height: 36px;
	}

	.pd-tabs__body {
		margin: 5px 0 0;
		max-width: 100%;
		font-weight: var(--pd-fw-regular);
		font-size: 14px;
		line-height: 30px;
		color: rgba(0, 0, 0, 0.7);
	}

	.pd-tabs__disclaimer {
		margin-top: 28px;
		max-width: 100%;
		font-size: 8px;
		line-height: 15px;
		color: rgba(0, 0, 0, 0.8);
	}

	/* Figma 7630: Frame 718 — pd-related (аналоги / с этим купили), ≤1000 */
	.pd-related,
	.pd-proto > .pd-related {
		display: flex;
		flex-direction: column;
		gap: 24px;
		margin-top: 0;
		padding-top: 0;
		padding-bottom: 20px;
		padding-inline: 14px;
	}

	.pd-related__block {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.pd-related__section-title,
	.pd-related__section-title--analogs,
	.pd-related__section-title--second {
		margin: 0;
		font-size: 20px;
		line-height: 24px;
		font-weight: var(--pd-fw-medium);
	}

	.pd-related__viewport {
		padding: 10px;
	}

	.pd-analogs-swiper,
	.pd-bought-swiper {
		padding: 0;
		overflow: visible;
	}

	.pd-analogs-swiper .swiper-wrapper,
	.pd-bought-swiper .swiper-wrapper {
		align-items: stretch !important;
	}

	.pd-analogs-swiper .swiper-slide,
	.pd-bought-swiper .swiper-slide {
		width: var(--pd-related-slide-w);
		height: auto !important;
		align-self: stretch;
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
	}

	.pd-related .swiper-slide {
		text-align: left;
		height: auto !important;
	}

	.pd-related .swiper-slide > .item_catalog {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		width: 100%;
		min-height: 100%;
		height: 100%;
	}

	.pd-related__block--analogs .pd-product-card,
	.pd-related__block--bought .pd-product-card {
		width: 100%;
		height: 100%;
		min-height: 100%;
		flex: 1 1 auto;
		padding: 10px 10px 15px;
		gap: 5px;
		border-radius: 10px;
		box-shadow: 0 0 10px 0 rgba(140, 134, 134, 0.35);
		text-align: left;
		align-items: stretch;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__img-wrap,
	.pd-related__block--bought .pd-product-card__img-wrap {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		margin-bottom: 0;
		padding: 6px;
		border-radius: 0;
		min-height: 105px;
		height: 105px;
		max-height: 105px;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__img-wrap img,
	.pd-related__block--bought .pd-product-card__img-wrap img {
		display: block;
		max-width: 93px;
		max-height: 93px;
		width: auto;
		height: auto;
		margin: 0 auto;
		object-fit: contain;
		object-position: center;
		border-radius: 5px;
	}

	.pd-related__block--analogs .pd-product-card__fav,
	.pd-related__block--bought .pd-product-card__fav {
		top: 6px;
		right: 6px;
	}

	.pd-related__block--analogs .pd-product-card__fav img,
	.pd-related__block--bought .pd-product-card__fav img {
		width: 19px;
		height: 19px;
	}

	.pd-related__block--analogs .pd-product-card__body,
	.pd-related__block--bought .pd-product-card__body {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		gap: 0;
		text-align: left;
		box-sizing: border-box;
	}

	.pd-related .pd-product-card__actions {
		margin-top: auto;
		padding-top: 0;
		width: 100%;
	}

	.pd-related__block--analogs .pd-product-card__title,
	.pd-related__block--bought .pd-product-card__title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: break-word;
		overflow-wrap: anywhere;
		min-height: 48px;
		max-height: 48px;
		margin: 0 0 2px;
		padding: 0;
		font-size: 12px;
		line-height: 16px;
		font-weight: var(--pd-fw-medium);
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__meta,
	.pd-related__block--bought .pd-product-card__meta {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-start;
		column-gap: 9px;
		height: 12px;
		min-height: 12px;
		max-height: 12px;
		margin: 0 0 5px;
		font-size: 10px;
		line-height: 12px;
		overflow: hidden;
		white-space: nowrap;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__meta--empty,
	.pd-related__block--bought .pd-product-card__meta--empty {
		visibility: hidden;
		margin: 0 0 5px;
		min-height: 12px;
		max-height: 12px;
	}

	.pd-related__block--analogs .pd-product-card__muted,
	.pd-related__block--bought .pd-product-card__muted {
		font-size: 10px;
		line-height: 12px;
		font-weight: var(--pd-fw-regular);
		color: rgba(0, 0, 0, 0.5);
	}

	.pd-related__block--analogs .pd-product-card__brand,
	.pd-related__block--bought .pd-product-card__brand {
		font-size: 10px;
		line-height: 12px;
		font-weight: var(--pd-fw-semibold);
		color: #000;
	}

	.pd-related__block--analogs .pd-product-card__sku,
	.pd-related__block--bought .pd-product-card__sku {
		height: 10px;
		min-height: 10px;
		max-height: 10px;
		margin: 0 0 10px;
		font-size: 8px;
		line-height: 10px;
		font-weight: var(--pd-fw-regular);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 100%;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__sku--empty,
	.pd-related__block--bought .pd-product-card__sku--empty {
		visibility: hidden;
		margin: 0 0 10px;
		min-height: 10px;
		max-height: 10px;
	}

	.pd-related__block--analogs .pd-product-card__dims,
	.pd-related__block--bought .pd-product-card__dims {
		margin: 0 0 10px;
		gap: 12px;
		justify-content: flex-start;
		min-height: 14px;
		height: 14px;
		max-height: 14px;
		flex-shrink: 0;
		overflow: hidden;
	}

	.pd-related__block--analogs .pd-product-card__dims:not(:has(.size__item)),
	.pd-related__block--bought .pd-product-card__dims:not(:has(.size__item)) {
		display: flex;
		min-height: 14px;
		height: 14px;
		max-height: 14px;
		margin: 0 0 10px;
		visibility: hidden;
	}

	.pd-related__block--analogs .pd-product-card__dims .size__item,
	.pd-related__block--bought .pd-product-card__dims .size__item {
		gap: 5px;
	}

	.pd-related__block--analogs .pd-product-card__dims .size__item img,
	.pd-related__block--bought .pd-product-card__dims .size__item img {
		width: 14px;
		height: 14px;
	}

	.pd-related__block--analogs .pd-product-card__dims .size__text,
	.pd-related__block--bought .pd-product-card__dims .size__text {
		font-size: 10px;
		line-height: 12px;
		font-weight: var(--pd-fw-medium);
	}

	.pd-related__block--analogs .pd-product-card__price-wrap,
	.pd-related__block--bought .pd-product-card__price-wrap {
		margin: 0 0 7px;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__discount .pd-product-card__price--current,
	.pd-related__block--bought .pd-product-card__discount .pd-product-card__price--current,
	.pd-related__block--analogs .pd-product-card__price--single,
	.pd-related__block--bought .pd-product-card__price--single {
		font-size: 16px;
		line-height: 1;
		font-weight: var(--pd-fw-semibold);
	}

	.pd-related__block--analogs .pd-product-card__discount .pd-product-card__price-old,
	.pd-related__block--bought .pd-product-card__discount .pd-product-card__price-old {
		font-size: 12px;
		line-height: 1;
	}

	.pd-related__block--analogs .pd-product-card__discount-badge,
	.pd-related__block--bought .pd-product-card__discount-badge {
		font-size: 10px;
		padding: 2px 5px;
		line-height: 1;
	}

	.pd-related__block--analogs .pd-product-card__status,
	.pd-related__block--bought .pd-product-card__status {
		margin: 0 0 7px;
		font-size: 10px;
		line-height: 14px;
		font-weight: var(--pd-fw-medium);
		min-height: 28px;
		max-height: 28px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: break-word;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.pd-related__block--analogs .pd-product-card__status--in,
	.pd-related__block--bought .pd-product-card__status--in {
		min-height: 14px;
		max-height: 14px;
		-webkit-line-clamp: 1;
	}

	.pd-related__block--analogs .pd-product-card__actions,
	.pd-related__block--bought .pd-product-card__actions {
		margin-top: auto;
		min-height: 41px;
		flex-shrink: 0;
	}

	.pd-related .pd-product-card__btn {
		margin-top: 0;
	}

	.pd-related__block--analogs .pd-product-card__btn--order {
		min-height: 41px;
		padding: 10px;
		margin-top: 0;
		font-size: 12px;
		line-height: 18px;
		font-weight: var(--pd-fw-medium);
		border-radius: 5px;
		width: 100%;
	}

	.pd-related__block--bought .pd-product-card__btn:not(.pd-product-card__btn--order),
	.pd-related__block--analogs .pd-product-card__btn:not(.pd-product-card__btn--order):not(.product__button--open-cart) {
		min-height: 41px;
		padding: 10px 8px 15px;
		margin-top: 0;
		font-size: 12px;
		line-height: 18px;
		font-weight: var(--pd-fw-medium);
		border-radius: 5px;
		width: 100%;
	}

	.pd-related .pd-product-card__actions[data-in-basket='1'],
	.pd-related .pd-product-card__actions.is-in-basket {
		height: 41px;
		min-height: 41px;
		max-height: 41px;
	}

	/* Figma 7575: Frame 671 — цена + доставка (мобайл ≤1000) */
	.pd-price {
		gap: 20px;
	}

	.pd-price__stock {
		gap: 15px;
	}

	.pd-price__warehouses {
		margin: 0;
	}

	.pd-price__delivery {
		gap: 15px;
		padding-inline: 20px;
	}

	.pd-price__del-text {
		font-size: 12px;
		line-height: 15px;
	}

	.pd-price__more-del {
		padding: 10px;
		font-size: 14px;
		line-height: 17px;
	}

	.pd-price__del-icon-wrap {
		width: 25px;
		height: 25px;
	}

	.pd-price__del-icon--delivery {
		width: 25px;
		height: 25px;
	}

	.pd-price__stock-text {
		line-height: 17px;
	}

	.pd-proto {
		padding-bottom: calc(10px + 55px + 10px + 24px + env(safe-area-inset-bottom, 0px));
	}

	.pd-price__cart-dock .main-product__quantity {
		height: 50px;
	}

	.pd-price__cart-dock {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 160;
		padding: 10px 20px;
		padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid rgba(173, 182, 198, 0.45);
		border-radius: var(--pd-radius-card) var(--pd-radius-card) 0 0;
		box-shadow: 0 -8px 28px rgba(15, 34, 58, 0.12);
	}

	.pd-price__cart-dock[data-in-basket='1'] .pd-price__cart-row,
	.pd-price__cart-dock.is-in-basket .pd-price__cart-row {
		flex-direction: row;
		gap: 10px;
		height: 55px;
		min-height: 55px;
		max-height: 55px;
	}

	.pd-price__cart-dock[data-in-basket='1'] .main-product__quantity,
	.pd-price__cart-dock.is-in-basket .main-product__quantity {
		height: 55px;
		min-height: 55px;
		max-height: 55px;
	}

	.pd-price__cart-dock[data-in-basket='1'] .pd-price__cart--in-basket,
	.pd-price__cart-dock.is-in-basket .pd-price__cart--in-basket {
		height: 55px;
		min-height: 55px;
		max-height: 55px;
	}

	.pd-proto:has(#pd-gallery-lightbox[open]) .pd-price__cart-dock {
		visibility: hidden;
		pointer-events: none;
	}
}
