/* PDP shell — Ozon-like 3 columns. Layout only; children own internals. */

.pdp-shell {
	--pdp-sticky-top: 72px;
}

.pdp-shell--embed {
	--pdp-sticky-top: 0;
}

.pdp-shell__row {
	display: grid;
	grid-template-columns: minmax(240px, 1.3fr) minmax(220px, 1fr) minmax(280px, 360px);
	gap: 16px 24px;
	align-items: start;
	overflow: visible;
}

.pdp-shell__gallery,
.pdp-shell__info,
.pdp-shell__buy {
	min-width: 0;
}

.pdp-shell__sticky--gallery,
.pdp-shell__sticky--info {
	position: sticky;
	top: var(--pdp-sticky-top);
}

.pdp-info-card {
	padding: 0 0 20px;
	box-sizing: border-box;
	background: transparent;
}

.pdp-info-card__head {
	margin: -1px 0 2px;
}

.pdp-info-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 10px;
	padding-left: 0;
}

.pdp_buybox {
	padding: 18px 18px 16px;
	position: sticky;
	bottom: 0;
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgb(14 26 50 / 0.04);
}

.pdp_buybox__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.pdp_buybox__offer {
	min-width: 0;
	flex: 1 1 auto;
}

.pdp_buybox__offer .prices--row .product_card_price {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--vm-navy, #0e1a32);
}

html.dark .pdp_buybox__offer .prices--row .product_card_price {
	color: var(--color-text-stage, #e8eaef);
}

.pdp_buybox__status {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-deep-stage);
}

.pdp_buybox__status--in {
	color: #2f7d32;
}

.pdp_buybox__status--oos {
	color: var(--color-deep-stage);
	font-weight: 500;
}

html.dark .pdp_buybox__status--in {
	color: #86efac;
}

.pdp_buybox__wish.add_liked {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 8px;
	background-color: var(--color-back-stage, #f5f7fb);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px;
}

.pdp_buybox__wish:hover {
	background-color: var(--color-stage, #fff);
	box-shadow: 0 4px 14px rgb(15 23 42 / 0.08);
}

.pdp_buybox__wish.product_in_list {
	background-color: var(--color-stage, #fff);
}

html.dark .pdp_buybox__wish {
	background-color: var(--color-stage, #1a1f2e);
	border-color: var(--color-border, #2d3548);
}

.pdp_buybox .qty_area,
.pdp_buybox .qty_area.in_cart {
	justify-content: flex-start;
	align-items: stretch;
}

.pdp_buybox__purchase {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0;
	width: 100%;
}

.pdp_buybox__purchase .prices {
	width: 100%;
}

.pdp_buybox__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--color-deep-stage, #838383);
}

.pdp_buybox__moq {
	font-weight: 600;
	color: var(--color-deep-stage);
}

.pdp_buybox__purchase .product_card_counter {
	width: 100%;
}

.pdp_buybox__purchase .product_card_counter.start {
	width: 100%;
}

.pdp_buybox__purchase .product_card_counter.start .items__control.right {
	width: 100%;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 10px;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
}

.pdp_buybox__purchase.in_cart {
	justify-content: flex-start;
}

.pdp_buybox__purchase.in_cart .product_card_counter.active {
	width: 100%;
}

.pdp_buybox__aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, var(--color-border, #ebebeb) 90%, transparent);
}

.pdp_buybox .pdp_delivery,
.pdp_buybox .pdp_seller {
	margin: 0;
	padding: 0;
	border: none;
}

.pdp_btn-secondary {
	width: 100%;
	height: 40px;
	margin-top: 16px;
	background: transparent !important;
	color: var(--vm-navy, #0e1a32) !important;
	border: 1px solid var(--color-border, #ebebeb) !important;
	border-radius: 10px;
}

.pdp_btn-secondary:hover {
	background: var(--color-back-stage, #f2f4f9) !important;
	border-color: color-mix(in srgb, var(--vm-navy, #0e1a32) 18%, var(--color-border, #ebebeb)) !important;
	color: var(--vm-navy, #0e1a32) !important;
}

html.dark .pdp_btn-secondary {
	color: var(--color-text-stage, #e8eaef) !important;
	border-color: var(--color-border, #2d3548) !important;
}

html.dark .pdp_btn-secondary:hover {
	background: color-mix(in srgb, #fff 6%, var(--color-stage, #1a1f2e)) !important;
}

h1.product-title {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.15;
	margin: -3px 0 0;
	padding: 0;
	color: var(--color-text-stage);
}

.pdp-info__seria {
	color: var(--color-deep-stage);
	font-size: 13px;
	margin: 0;
}

.pdp-info__short {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--color-deep-stage);
}

.pdp-info-specs {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 85%, transparent);
}

.pdp-info-specs__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.pdp-info-specs__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.pdp-info-specs__all {
	opacity: 1;
	color: var(--blue-600, #2563eb);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: color-mix(in srgb, var(--blue-600, #2563eb) 45%, transparent);
	white-space: nowrap;
}

.pdp-info-specs__all:hover {
	color: var(--blue-700, #1d4ed8);
	text-decoration-color: var(--blue-600, #2563eb);
}

html.dark .pdp-info-specs__all {
	color: var(--blue-400, #60a5fa);
	text-decoration-color: color-mix(in srgb, var(--blue-400, #60a5fa) 55%, transparent);
}

html.dark .pdp-info-specs__all:hover {
	color: var(--blue-300, #93c5fd);
	text-decoration-color: var(--blue-400, #60a5fa);
}

.pdp-info-specs .product_card_characteristics {
	margin: 0;
	padding: 0;
}

.pdp-info-specs .product_card_characteristics p {
	display: grid;
	grid-template-columns: minmax(9.5rem, 46%) minmax(0, 1fr);
	align-items: start;
	gap: 8px 12px;
	margin: 0;
	padding: 8px 10px 8px 0;
	font-size: 13px;
	line-height: 1.35;
	border-top: none;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.pdp-info-specs__head + .product_card_characteristics > p:first-child {
	border-top: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.pdp-info-specs > .product_card_characteristics:last-child > p:last-child {
	border-bottom: none;
}

.pdp-info-specs .product_card_characteristics p:nth-child(even) {
	background: color-mix(in srgb, var(--color-back-stage) 38%, transparent);
}

.pdp-info-specs .product_card_characteristics p > span:first-child {
	color: var(--color-deep-stage);
	padding-right: 8px;
}

.pdp-info-specs .product_card_characteristics p > span:last-child {
	justify-self: stretch;
	min-width: 0;
	text-align: left;
	font-weight: 500;
	color: var(--color-text-stage);
	word-break: break-word;
}

.pdp-info-specs .product_card_characteristics .selector {
	display: none;
}

.pdp-info__brand {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px 10px 4px 0;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--vm-navy, #0e1a32);
	background: color-mix(in srgb, var(--color-back-stage) 72%, var(--color-stage));
}

html.dark .pdp-info__brand {
	color: var(--vm-lime, #9edc2a);
}

.pdp-info-card .pdp_reviews_summary {
	margin: 0;
	flex: 1 1 100%;
}

.pdp-info-card .pdp_variants {
	margin-top: 14px;
}

.pdp-shell__content {
	min-width: 0;
	margin-top: 32px;
	scroll-margin-top: calc(76px + 16px);
}

.pdp-details {
	padding: 20px 24px 24px;
}

.pdp-details__tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 20px;
	padding: 4px;
	list-style: none;
	border: none;
	border-radius: 12px;
	background: var(--color-back-stage);
}

.pdp-details__tabs .nav-item {
	margin: 0;
}

.pdp-details__tabs .nav-link {
	border: none !important;
	border-radius: 9px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-deep-stage);
	background: transparent;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-details__tabs .nav-link:hover {
	color: var(--color-text-stage);
}

.pdp-details__tabs .nav-link.active {
	color: var(--color-text-stage);
	background: var(--color-stage);
	box-shadow: 0 1px 2px rgb(14 26 50 / 0.06), 0 4px 12px rgb(14 26 50 / 0.05);
}

html.dark .pdp-details__tabs .nav-link.active {
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.25), 0 4px 12px rgb(0 0 0 / 0.18);
}

.pdp-details__body {
	color: var(--color-text-stage);
}

.pdp-details__body .tab-pane {
	padding-top: 4px;
}

.pdp-details__body .tab-pane[hidden] {
	display: none !important;
}

.pdp-details .product_card_characteristics {
	max-width: 820px;
}

.pdp-details .product_card_characteristics p {
	display: grid;
	grid-template-columns: minmax(9.5rem, 34%) 1fr minmax(0, 38%);
	align-items: start;
	gap: 0 12px;
	margin: 0;
	padding: 11px 12px;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
}

.pdp-details .product_card_characteristics p:first-child {
	border-top: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
}

.pdp-details .product_card_characteristics p:nth-child(even) {
	background: color-mix(in srgb, var(--color-back-stage) 42%, transparent);
}

.pdp-details .product_card_characteristics p > span:first-child {
	color: var(--color-deep-stage);
	font-size: 14px;
	line-height: 1.4;
	padding-right: 4px;
}

.pdp-details .product_card_characteristics p > span:last-child {
	justify-self: stretch;
	min-width: 0;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-text-stage);
	word-break: break-word;
}

.pdp-details .product_card_characteristics .selector {
	align-self: end;
	min-width: 12px;
	margin: 0 0 5px;
	border-bottom: 1px dotted color-mix(in srgb, var(--color-deep-stage) 35%, var(--color-border));
}

.pdp-details__desc {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--color-text-stage);
}

.pdp-details__desc > :first-child {
	margin-top: 0;
}

.pdp-details__desc > :last-child {
	margin-bottom: 0;
}

.pdp-details__desc p {
	margin: 0 0 0.85em;
}

.pdp-details__desc ul,
.pdp-details__desc ol {
	margin: 0 0 0.85em;
	padding-left: 1.25rem;
}

.pdp-details__desc li + li {
	margin-top: 0.35em;
}

@media (min-width: 1200px) {
	.pdp-details .product_card_characteristics {
		max-width: none;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 28px;
	}

	.pdp-details .product_card_characteristics p:first-child {
		border-top: none;
	}

	.pdp-details .product_card_characteristics p:nth-child(-n + 2) {
		border-top: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
	}
}

@media (max-width: 767px) {
	.pdp-details {
		padding: 16px;
	}

	.pdp-details__tabs {
		width: 100%;
	}

	.pdp-details__tabs .nav-link {
		flex: 1 1 auto;
		text-align: center;
		padding: 10px 12px;
	}

	.pdp-details .product_card_characteristics p {
		grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
		gap: 4px 12px;
		padding: 10px 0;
	}

	.pdp-details .product_card_characteristics .selector {
		display: none;
	}

	.pdp-details .product_card_characteristics p > span:last-child {
		text-align: left;
	}
}

@media (max-width: 1099px) {
	.pdp-shell__row {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
		grid-template-areas:
			"gallery buy"
			"info buy";
	}

	.pdp-shell__gallery { grid-area: gallery; }
	.pdp-shell__info { grid-area: info; }
	.pdp-shell__buy { grid-area: buy; }
}

@media (max-width: 991px) {
	.pdp-shell__row {
		grid-template-columns: 1fr;
		grid-template-areas:
			"gallery"
			"info"
			"buy";
		gap: 20px;
	}

	.pdp-shell__sticky--gallery,
	.pdp-shell__sticky--info,
	.pdp_buybox {
		position: static;
	}

	.pdp-info-card {
		padding: 0 0 16px;
	}
}

@media (max-width: 521px) {
	h1.product-title {
		font-size: 20px;
	}
}
