/* ==========================================================================
   Карточка товара (компьютер) — новая сборка по макету.
   Работает только на странице товара: скрипт custom_product.js ставит
   на <body> класс zso-product-page. Размеры в rem (1rem = 16px макета).
   ========================================================================== */

/* ---------- Общие мелочи для новых блоков (все экраны) ---------- */
.zso-accent {
	color: #c62624;
}

.zso-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 3.25rem;
	padding: 0.5rem 1rem;
	border: 1px solid #c62624;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.zso-btn--outline {
	background-color: #fff;
	color: #c62624;
}

.zso-btn--outline:hover {
	background-color: #c62624;
	color: #fff;
}

.zso-btn--primary {
	background-color: #c62624;
	color: #fff;
}

.zso-btn--primary:hover {
	background-color: #cd403e;
	border-color: #cd403e;
	color: #fff;
}

.zso-card {
	box-sizing: border-box;
	padding: 1.25rem;
	background-color: #fff;
	border: 1px solid #e5eaf3;
	border-radius: 0.625rem;
}

.zso-card__title {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.1;
	color: #222;
}

@media (min-width: 0px) {
	/* ---------- Заголовок и «хлебные крошки» ---------- */
	.zso-product-page .topic #pagetitle {
		font-size: 4.25rem;
		font-weight: 800;
		line-height: 1.1;
		letter-spacing: 0.01em;
		text-transform: uppercase;
		color: #222;
	}

	.zso-product-page .topic #pagetitle .zso-accent {
		color: #c62624;
	}

	.zso-product-page .page-top .breadcrumbs,
	.zso-product-page .page-top .breadcrumbs a,
	.zso-product-page .page-top .breadcrumbs span {
		font-size: 1.0625rem;
		color: #676767;
	}

	/* ---------- Верхняя часть: галерея слева, колонка справа ---------- */
	.zso-product-page .product-info > .flexbox.flexbox--row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 27.3125rem;
		column-gap: 3.75rem;
		align-items: start;
	}

	.zso-product-page .product-view--type2 .product-info.product-info--type2 > .flexbox > .product-detail-gallery {
		width: 100%;
		max-width: none;
		min-width: 0;
		padding: 0;
		order: 0;
	}

	.zso-product-page .product-detail-gallery {
		--slider-max-width: none;
		--slider-proportion: calc(628 / 1155); /* широкая карточка как в макете */
	}

	/* фото в широкой карточке (не квадрат) */
	.zso-product-page .detail-gallery-big-slider-main__inner {
		max-width: none;
	}

	.zso-product-page .product-main {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		width: auto;
		max-width: none;
		flex: none;
		padding: 0;
	}

	/* промежуточные обёртки «растворяем», чтобы упорядочить их содержимое */
	.zso-product-page .product-info-headnote,
	.zso-product-page .product-info-headnote > .flexbox,
	.zso-product-page .product-info-headnote > .flexbox > .flexbox,
	.zso-product-page .product-chars,
	.zso-product-page .product-action,
	.zso-product-page .product-action > .info_item,
	.zso-product-page .middle-info-wrapper,
	.zso-product-page .shadowed-block,
	.zso-product-page .prices_block {
		display: contents;
	}

	/* что скрываем: рейтинг, бренд, остаток, код КТРУ, служебные строки */
	.zso-product-page .product-info-headnote__rating,
	.zso-product-page .product-info-headnote__brand,
	.zso-product-page .quantity_block_wrapper,
	.zso-product-page .table_cod,
	.zso-product-page .product-action .text-form,
	.zso-product-page .product-main .price_txt,
	.zso-product-page .buy_block .counter_block_inner,
	.zso-product-page .js-services {
		display: none !important;
	}

	/* ---------- Галерея ---------- */
	.zso-product-page .detail-gallery-big-slider-main {
		position: relative;
		background-color: #fff;
		border: 1px solid #eef0f3;
		border-radius: 0.625rem;
	}

	.zso-product-page .detail-gallery-big-slider-thumbs {
		margin-top: 0.625rem;
	}

	.zso-product-page .detail-gallery-big-slider-thumbs img,
	.zso-product-page .detail-gallery-big-slider-thumbs .item,
	.zso-product-page .detail-gallery-big-slider-thumbs [class*="thumb"] {
		border-radius: 0.5rem;
	}

	/* «избранное» и «сравнить» — квадратные кнопки в правом верхнем углу фото */
	.zso-product-page .zso-gallery-tools {
		position: absolute;
		top: 0.625rem;
		right: 0.625rem;
		z-index: 5;
		width: auto;
	}

	.zso-product-page .zso-gallery-tools .like_icons {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		width: auto;
	}

	.zso-product-page .zso-gallery-tools .like_icons > div {
		margin: 0;
		padding: 0;
	}

	.zso-product-page .zso-gallery-tools .btn {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		background-color: #fff;
		border: 1px solid #e5eaf3;
		border-radius: 0.5rem;
		font-size: 0;
	}

	.zso-product-page .zso-gallery-tools .btn .svg,
	.zso-product-page .zso-gallery-tools .btn svg {
		margin: 0;
	}

	.zso-product-page .zso-gallery-tools .btn span:not(.svg) {
		display: none;
	}

	/* ---------- Правая колонка: порядок блоков ---------- */
	.zso-product-page .product-main > * {
		order: 20;
	}

	/* краткое описание: жирная первая строка — заголовок, текст не длиннее шести строк */
	.zso-product-page .zso-preview {
		order: 0;
		display: -webkit-box;
		-webkit-line-clamp: 6;
		-webkit-box-orient: vertical;
		overflow: hidden;
		margin: 0;
		font-size: 1.0625rem;
		line-height: 1.35;
		color: #222;
	}

	.zso-product-page .zso-preview strong,
	.zso-product-page .zso-preview b,
	.zso-product-page .zso-preview h2,
	.zso-product-page .zso-preview h3,
	.zso-product-page .zso-preview h4 {
		display: block;
		margin: 0 0 0.75rem;
		font-size: 1.375rem;
		font-weight: 800;
		line-height: 1.2;
		color: #222;
	}

	/* краткое описание — первым в колонке */
	.zso-product-page .cost.prices {
		order: 1;
	}

	.zso-product-page .buy_block {
		order: 2;
	}

	.zso-product-page .zso-aside {
		order: 3;
	}

	/* блок вариантов (размер, цвет) должен быть над «Помощью в подборе» —
	   его поднимает скрипт-родственник в zso-aside через order внутри колонки */
	.zso-product-page .product-main .sku_props {
		order: 4;
	}

	/* ---------- Цена ---------- */
	.zso-product-page .cost.prices.detail {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		margin: 0.75rem 0 0;
	}

	.zso-product-page .cost.prices.detail::before {
		content: 'Стоимость';
		font-size: 1rem;
		color: #676767;
	}

	.zso-product-page .product-main .cost.prices .js_price_wrapper,
	.zso-product-page .product-main .cost.prices .price_matrix_wrapper {
		display: block;
		margin: 0;
		padding: 0;
	}

	.zso-product-page .product-main .cost.prices .price {
		font-size: 2.5rem;
		font-weight: 800;
		line-height: 1.1;
		color: #222;
	}

	.zso-product-page .product-main .cost.prices .price_measure {
		display: none;
	}

	.zso-product-page .product-main .cost.prices .price_currency {
		font-size: 0;
	}

	.zso-product-page .product-main .cost.prices .price_currency::after {
		content: ' ₽';
		font-size: 2.5rem;
	}

	/* ---------- Кнопки «В корзину» и «Купить в один клик» ---------- */
	.zso-product-page .buy_block,
	.zso-product-page .buy_block .offer_buy_block,
	.zso-product-page .buy_block .counter_wrapp {
		display: contents;
	}

	.zso-product-page .buy_block {
		display: block;
	}

	.zso-product-page .buy_block .offer_buy_block {
		display: flex;
		flex-wrap: nowrap;
		gap: 1rem;
		width: 100%;
	}

	.zso-product-page .buy_block .counter_wrapp {
		display: contents;
	}

	.zso-product-page .buy_block .counter_wrapp .button_block,
	.zso-product-page .buy_block .button_block {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.zso-product-page .buy_block .to-cart,
	.zso-product-page .buy_block .zso-oneclick {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		min-height: 3.25rem;
		margin: 0;
		padding: 0.5rem 1rem;
		border-radius: 0.5rem;
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.2;
	}

	.zso-product-page .buy_block .to-cart {
		background-color: #c62624;
		border: 1px solid #c62624;
		color: #fff;
	}

	.zso-product-page .buy_block .to-cart:hover {
		background-color: #cd403e;
		border-color: #cd403e;
	}

	.zso-product-page .buy_block .zso-oneclick {
		flex: 1 1 0;
		background-color: #fff;
		border: 1px solid #c62624;
		color: #c62624;
	}

	.zso-product-page .buy_block .zso-oneclick:hover {
		background-color: #c62624;
		color: #fff;
	}

	/* ---------- «Нашли дешевле?» и «Помощь в подборе» ---------- */
	.zso-product-page .zso-aside {
		display: contents;
	}

	.zso-product-page .zso-cheaper {
		order: 3;
		font-size: 1rem;
		font-weight: 600;
		color: #c62624;
		cursor: pointer;
	}

	.zso-product-page .zso-cheaper:hover {
		text-decoration: underline;
	}

	.zso-product-page .product-main .sku_props {
		order: 4;
		margin: 0.25rem 0 0;
	}

	.zso-product-page .zso-help-btn {
		order: 5;
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 3.25rem;
		padding: 0.5rem 1rem;
		background-color: #fff;
		border: 1px solid #222;
		border-radius: 0.5rem;
		font-size: 1rem;
		font-weight: 600;
		color: #222;
		cursor: pointer;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.zso-product-page .zso-help-btn:hover {
		background-color: #222;
		color: #fff;
	}

	.zso-product-page .zso-sfr {
		order: 6;
	}

	.zso-product-page .zso-showroom {
		order: 7;
	}

	.zso-product-page .zso-need-help {
		order: 8;
	}

	/* ---------- Варианты: размер и цвет ---------- */
	.zso-product-page .product-main .sku_props .bx_catalog_item_scu,
	.zso-product-page .product-main .sku_props .bx_scu,
	.zso-product-page .product-main .sku_props .bx_size {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.zso-product-page .product-main .sku_props .item_wrapper {
		margin: 0 0 1.25rem;
		padding: 0;
	}

	.zso-product-page .product-main .sku_props .bx_item_section_name {
		display: block;
		margin: 0 0 0.75rem;
		font-size: 1.0625rem;
		font-weight: 400;
		line-height: 1.2;
		color: #222;
	}

	/* название свойства без «— значение» */
	.zso-product-page .product-main .sku_props .sku_mdash,
	.zso-product-page .product-main .sku_props .bx_item_section_name .val {
		display: none;
	}

	/* подпись к цветам — «Выбор цвета» */
	.zso-product-page .product-main .sku_props .bx_item_detail_scu .bx_item_section_name > span {
		font-size: 0;
	}

	.zso-product-page .product-main .sku_props .bx_item_detail_scu .bx_item_section_name > span::before {
		content: 'Выбор цвета';
		font-size: 1.0625rem;
	}

	.zso-product-page .product-main .sku_props ul.list_values_wrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 0.625rem;
		margin: 0;
		padding: 0;
	}

	/* размеры: белые кнопки, выбранный — красный */
	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 3.5rem;
		height: 2.75rem;
		margin: 0;
		padding: 0 0.5rem;
		background-color: #fff;
		border: 1px solid #e8e8e8;
		border-radius: 0.375rem;
		box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
		outline: 0;
		cursor: pointer;
		transition: none;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item i {
		display: none;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item .cnt {
		position: static;
		width: auto;
		height: auto;
		padding: 0;
		background: none;
		font-size: 1.0625rem;
		line-height: 1;
		color: #676767;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item:hover {
		border-color: #c62624;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item.active {
		background-color: #c62624;
		border-color: #c62624;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item.active .cnt {
		color: #fff;
	}

	/* красная черта под размерами */
	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu)::after {
		content: '';
		display: block;
		width: 12rem;
		height: 0.125rem;
		margin: 1.5rem 0 0;
		background-color: #c62624;
	}

	/* без внутренней прокрутки у списка вариантов */
	.zso-product-page .product-main .sku_props .scrollblock,
	.zso-product-page .product-main .sku_props .bx_scu_scroller_container,
	.zso-product-page .product-main .sku_props .bx_size_scroller_container {
		max-height: none;
		overflow: visible !important;
	}

	/* цвета: картинки-превью, выбранный — в рамке */
	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item {
		box-sizing: border-box;
		width: 5.5rem;
		height: 5rem;
		margin: 0;
		padding: 0.25rem;
		background-color: #fff;
		border: 1px solid transparent;
		border-radius: 0.5rem;
		outline: 0;
		box-shadow: none;
		cursor: pointer;
	}

	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item i {
		display: none;
	}

	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt1,
	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt_item {
		display: block;
		width: 100%;
		height: 100%;
		border: 0;
		border-radius: 0;
		background-color: transparent;
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}

	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item:hover,
	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item.active {
		border-color: #d4d4d4;
		box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
	}

	/* ---------- Блок «Сертификат СФР» ---------- */
	.zso-sfr {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		border-color: #5b8def;
	}

	.zso-sfr__head {
		display: flex;
		align-items: center;
		gap: 1.25rem;
	}

	.zso-sfr__logo {
		flex: none;
		width: 8.75rem;
		height: auto;
	}

	.zso-sfr__title {
		font-size: 1.5rem;
		font-weight: 800;
		line-height: 1.15;
		color: #222;
	}

	.zso-sfr__text {
		margin: 0;
		font-size: 1rem;
		line-height: 1.4;
		color: #222;
	}

	/* форма внутри блока */
	.zso-sfr__form .close,
	.zso-sfr__form .form_head,
	.zso-sfr__form .form-control > label,
	.zso-sfr__form .required-fields-note,
	.zso-sfr__form .clearboth {
		display: none !important;
	}

	.zso-sfr__form .form_body {
		display: flex;
		flex-direction: column;
		gap: 0.625rem;
		padding: 0;
	}

	.zso-sfr__form .form-control {
		margin: 0;
	}

	.zso-sfr__form input.inputtext,
	.zso-sfr__form input.phone {
		box-sizing: border-box;
		width: 100%;
		height: 3.5rem;
		padding: 0 1.25rem;
		background-color: #f5f0f0;
		border: 0;
		border-radius: 0.5rem;
		font-size: 1rem;
		color: #222;
	}

	.zso-sfr__form .form_footer {
		margin: 0.75rem 0 0;
		padding: 0;
	}

	.zso-sfr__form .licence_block {
		margin: 0 0 1rem;
		font-size: 0.8125rem;
		line-height: 1.2;
	}

	.zso-sfr__form .form_footer__bottom {
		display: block;
		margin: 0;
	}

	.zso-sfr__form .form_footer__bottom .line-block__item {
		display: block;
		margin: 0;
	}

	.zso-sfr__form button[type="submit"] {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		min-height: 3.25rem;
		background-color: #c62624;
		border: 1px solid #c62624;
		border-radius: 0.5rem;
		font-size: 1rem;
		font-weight: 600;
		color: #fff;
	}

	/* ---------- «Посмотреть вживую» ---------- */
	.zso-showroom {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.zso-showroom__row {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 1rem;
	}

	.zso-showroom__text p {
		margin: 0.5rem 0 0;
		font-size: 0.9375rem;
		line-height: 1.3;
		color: #222;
	}

	.zso-showroom__img {
		flex: none;
		width: 10rem;
		height: auto;
		border-radius: 0.5rem;
	}

	/* ---------- «Нужна помощь с выбором?» ---------- */
	.zso-need-help {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}

/* ---------- Кнопки покупки: усиленные правила (правила темы сильнее обычных) ---------- */
@media (min-width: 0px) {
	.zso-product-page .buy_block .offer_buy_block .to-cart,
	.zso-product-page .buy_block .offer_buy_block .zso-oneclick {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		width: 100% !important;
		min-height: 3.25rem !important;
		margin: 0 !important;
		padding: 0.5rem 1rem !important;
		border: 1px solid #c62624 !important;
		border-radius: 0.5rem !important;
		font-size: 1rem !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		text-align: center !important;
	}

	.zso-product-page .buy_block .offer_buy_block .to-cart {
		background-color: #c62624 !important;
		color: #fff !important;
	}

	.zso-product-page .buy_block .offer_buy_block .to-cart:hover {
		background-color: #cd403e !important;
		border-color: #cd403e !important;
	}

	.zso-product-page .buy_block .offer_buy_block .zso-oneclick {
		background-color: #fff !important;
		color: #c62624 !important;
	}

	.zso-product-page .buy_block .offer_buy_block .zso-oneclick:hover {
		background-color: #c62624 !important;
		color: #fff !important;
	}
}

/* ==========================================================================
   Нижняя часть карточки: описание, характеристики, вкладки, карточки товаров
   ========================================================================== */

/* ---------- Общие заголовки разделов (все экраны) ---------- */
.zso-product-page .zso-section-title,
.zso-product-page .goods .tab-pane::before {
	display: block;
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	color: #222;
}

/* ---------- Основные характеристики ---------- */
.zso-product-page .zso-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	column-gap: 3rem;
	align-items: start;
	margin: 2.5rem 0 3rem;
}

.zso-product-page .zso-intro[hidden],
.zso-product-page .zso-intro [hidden] {
	display: none;
}

.zso-product-page .zso-intro__text {
	display: -webkit-box;
	-webkit-line-clamp: 8;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.125rem;
	line-height: 1.35;
	color: #222;
}

.zso-product-page .zso-chars__list {
	margin: 0;
}

.zso-product-page .zso-chars__row {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0 0 0.625rem;
}

.zso-product-page .zso-chars__row dt {
	flex: none;
	max-width: 60%;
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.3;
	color: #676767;
}

.zso-product-page .zso-chars__row::after {
	content: '';
	order: 1;
	flex: 1 1 auto;
	min-width: 1rem;
	height: 1px;
	background-color: #d6d6d6;
	transform: translateY(-0.25rem);
}

.zso-product-page .zso-chars__row dd {
	order: 2;
	flex: none;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.3;
	color: #222;
	text-align: right;
}

.zso-product-page .zso-chars__all {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	font-size: 1rem;
	color: #c62624;
	text-decoration: none;
}

.zso-product-page .zso-chars__all::after {
	content: '›';
	font-size: 1.25rem;
	line-height: 1;
}

.zso-product-page .zso-chars__all:hover {
	text-decoration: underline;
}

/* ---------- Вкладки «Описание / Характеристики / Опции / Комплектация» ---------- */
.zso-product-page .tabs-block {
	margin: 0 0 3rem;
	scroll-margin-top: 8rem;
}

.zso-product-page .tabs-block .tabs {
	margin: 0 0 1.5rem;
	border-bottom: 0.15rem solid #eceaea;
}

.zso-product-page .tabs-block .nav-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.zso-product-page .tabs-block .nav-tabs > li {
	float: none;
	margin: 0 0 -0.15rem;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.zso-product-page .tabs-block .nav-tabs > li > a {
	display: block;
	padding: 0 0 0.875rem;
	background: none;
	border: 0;
	border-bottom: 0.15rem solid transparent;
	border-radius: 0;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: #676767;
}

.zso-product-page .tabs-block .nav-tabs > li > a:hover {
	color: #222;
}

.zso-product-page .tabs-block .nav-tabs > li.active > a {
	border-bottom-color: #c62624;
	color: #222;
}

.zso-product-page .tabs-block .nav-tabs > li::before,
.zso-product-page .tabs-block .nav-tabs > li::after {
	display: none;
}

.zso-product-page .tabs-block .tab-content {
	font-size: 1.125rem;
	line-height: 1.35;
	color: #222;
}

/* ---------- Блоки «Похожие товары» и «С этим товаром покупают» ---------- */
.zso-product-page .ordered-block.goods,
.zso-product-page .ordered-block.goods > .tab-content {
	display: contents;
}

.zso-product-page .ordered-block.goods > .tabs {
	display: none;
}

.zso-product-page .goods .tab-pane {
	display: block !important;
	opacity: 1 !important;
	margin: 0 0 3rem;
}

.zso-product-page .goods #assoc::before {
	content: 'Похожие товары';
}

.zso-product-page .goods #expandables::before {
	content: 'С этим товаром покупают';
}

/* порядок в нижней колонке: описание → похожие → вкладки → «с этим покупают» */
.zso-product-page .bottom-info.product-view--side-left {
	display: flex;
	flex-direction: column;
}

.zso-product-page .bottom-info > * {
	order: 10;
}

.zso-product-page .bottom-info > .zso-intro {
	order: 1;
}

.zso-product-page .bottom-info #assoc {
	order: 2;
}

.zso-product-page .bottom-info > .tabs-block {
	order: 3;
}

.zso-product-page .bottom-info #expandables {
	order: 4;
}

/* ---------- Карточки товаров ---------- */
.zso-product-page .goods .catalog_block {
	margin-right: -0.625rem;
	margin-left: -0.625rem;
}

.zso-product-page .goods .catalog_block .item_block {
	padding: 0.25rem 0.625rem 1.25rem;
}

.zso-product-page .goods .catalog_item_wrapp {
	position: relative;
	box-sizing: border-box;
	height: 100%;
	padding: 1rem;
	background-color: #fff;
	border: 0;
	border-radius: 0.625rem;
	box-shadow: 0 0.125rem 0.875rem rgba(0, 0, 0, 0.09);
}

.zso-product-page .goods .inner_wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
}

/* фото */
.zso-product-page .goods .image_wrapper_block {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 14rem;
	margin: 0 0 1rem;
}

.zso-product-page .goods .image_wrapper_block .thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.zso-product-page .goods .image_wrapper_block img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

/* лишнее в карточке: рейтинг, наличие, артикул, значки сравнения, скидки */
.zso-product-page .goods .item_info--top_block .rating,
.zso-product-page .goods .item_info .sa_block,
.zso-product-page .goods .like_icons,
.zso-product-page .goods .js-item-gallery,
.zso-product-page .goods .price.discount,
.zso-product-page .goods .sale_block,
.zso-product-page .goods .with_matrix,
.zso-product-page .goods .icons-basket-wrapper,
.zso-product-page .goods .item-stock,
.zso-product-page .goods .sku_props,
.zso-product-page .goods .footer_button {
	display: none !important;
}

/* метка «ХИТ» — красная лента в правом верхнем углу */
.zso-product-page .goods .image_wrapper_block .stickers {
	position: absolute;
	top: -1rem;
	right: -1rem;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.25rem;
	margin: 0;
}

.zso-product-page .goods .image_wrapper_block .stickers > div:nth-child(n + 2) {
	display: none;
}

.zso-product-page .goods .image_wrapper_block .stickers > div > div {
	margin: 0;
	padding: 0.5rem 1rem 0.5rem 1.25rem;
	background-color: #c62624;
	border: 0;
	border-radius: 0 0.625rem 0 1.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

/* название */
.zso-product-page .goods .item-title {
	margin: 0 0 0.5rem;
}

.zso-product-page .goods .item-title a {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #222;
}

.zso-product-page .goods .item-title a:hover {
	color: #c62624;
}

/* размерный ряд */
.zso-product-page .zso-sizes {
	margin: 0 0 0.75rem;
}

.zso-product-page .zso-sizes__label {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	line-height: 1.2;
	color: #222;
}

.zso-product-page .zso-sizes__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}

.zso-product-page .zso-sizes__list li {
	flex: none;
	min-width: 2.25rem;
	margin: 0;
	padding: 0.5rem 0.375rem;
	background-color: #fff;
	border: 1px solid #ececec;
	border-radius: 0.3125rem;
	box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.05);
	font-size: 0.9375rem;
	line-height: 1;
	text-align: center;
	color: #676767;
}

.zso-product-page .zso-sizes__list li::before {
	display: none;
}

.zso-product-page .zso-sizes__list li.is-active {
	background-color: #c62624;
	border-color: #c62624;
	color: #fff;
}

/* цена */
.zso-product-page .goods .item_info--bottom_block {
	margin-top: auto;
}

.zso-product-page .goods .cost.prices {
	margin: 0.5rem 0 1rem;
	padding: 0;
}

.zso-product-page .goods .cost.prices .price {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
	color: #222;
}

.zso-product-page .goods .cost.prices .price .values_wrapper {
	font-size: inherit;
	font-weight: inherit;
}

/* кнопки */
.zso-product-page .zso-card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.5rem 1rem;
	border: 1px solid #c62624;
	border-radius: 0.5rem;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.zso-product-page .zso-card-btn--primary {
	background-color: #c62624;
	color: #fff;
}

.zso-product-page .zso-card-btn--primary:hover {
	background-color: #cd403e;
	border-color: #cd403e;
	color: #fff;
}

.zso-product-page .zso-card-btn--outline {
	background-color: #fff;
	color: #c62624;
}

.zso-product-page .zso-card-btn--outline:hover {
	background-color: #c62624;
	color: #fff;
}

/* стрелки карусели */
.zso-product-page .goods .owl-nav button {
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* ---------- «Ранее вы смотрели» ---------- */
.zso-product-page .viewed_product_block .viewed-wrapper > h3 {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	color: #222;
}

.zso-product-page .viewed_product_block .block-items {
	margin: 0 -0.625rem;
}

.zso-product-page .viewed_product_block .block-item {
	height: 100%;
	margin: 0.25rem 0.625rem 1rem;
	padding: 0.75rem;
	background-color: #fff;
	border: 0;
	border-radius: 0.625rem;
	box-shadow: 0 0.125rem 0.875rem rgba(0, 0, 0, 0.09);
}

.zso-product-page .viewed_product_block .block-item__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.zso-product-page .viewed_product_block .block-item__image {
	flex: none;
	width: 6.25rem;
	height: 6.25rem;
	margin: 0;
	padding: 0;
}

.zso-product-page .viewed_product_block .block-item__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.zso-product-page .viewed_product_block .block-item__info {
	min-width: 0;
	padding: 0;
}

.zso-product-page .viewed_product_block .block-item__title {
	margin: 0 0 0.5rem;
}

.zso-product-page .viewed_product_block .block-item__title a {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #222;
}

.zso-product-page .viewed_product_block .block-item__cost,
.zso-product-page .viewed_product_block .block-item__cost .price {
	margin: 0;
	white-space: nowrap;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.1;
	color: #222;
}

/* ---------- Компьютер: сетка «галерея + колонка справа», контент под галереей ---------- */
@media (min-width: 0px) {
	.zso-product-page .product-info {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 27.3125rem;
		column-gap: 3.75rem;
		align-items: start;
	}

	.zso-product-page .product-info > .flexbox.flexbox--row {
		display: contents;
	}

	.zso-product-page .product-info > * {
		grid-column: 1;
	}

	.zso-product-page .product-info .product-detail-gallery {
		grid-column: 1;
		grid-row: 1;
	}

	.zso-product-page .product-info .product-main {
		grid-column: 2;
		grid-row: 1 / span 3;
	}

	.zso-product-page .product-info > .bottom-info-wrapper {
		grid-column: 1;
		grid-row: 2;
		width: auto;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	/* миниатюры: шесть в ряд, широкие, как в макете */
	.zso-product-page .detail-gallery-big-slider-thumbs,
	.zso-product-page .detail-gallery-big-slider-thumbs__inner,
	.zso-product-page .gallery-slider-thumb__container,
	.zso-product-page .gallery-slider-thumb {
		height: auto !important;
		max-height: none !important;
	}

	.zso-product-page .gallery__item--thumb {
		box-sizing: border-box;
		width: calc((100% - 5 * 0.625rem) / 6) !important;
		min-width: 0 !important;
		max-width: none !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 0 !important;
		height: auto !important;
		aspect-ratio: 183 / 92;
		overflow: hidden;
		background-color: #f6f4f4;
		border: 0 !important;
		border-radius: 0.5rem !important;
		opacity: 1 !important;
	}

	.zso-product-page .gallery__item--thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.zso-product-page .gallery__item--thumb.swiper-slide-thumb-active {
		outline: 2px solid #c62624;
		outline-offset: -2px;
	}
}

/* ==========================================================================
   Всплывающие окна карточки: «Купить в один клик», «Нашли дешевле?»,
   «Нужна помощь с выбором?». Картинка слева (на планшете и телефоне — сверху).
   Класс zso-popup окну даёт скрипт custom_product.js.
   ========================================================================== */
.zso-product-page .popup.zso-popup {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	box-sizing: border-box;
	width: 60rem !important;
	max-width: calc(100vw - 2rem) !important;
	max-height: calc(100vh - 2rem);
	margin: 0 !important;
	padding: 1.5rem !important;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #fff;
	border: 0;
	border-radius: 1rem;
	transform: translate(-50%, -50%) !important;
}

.zso-product-page .popup.zso-popup > .close,
.zso-product-page .popup.zso-popup > div > .close {
	top: 0.75rem;
	right: 0.75rem;
	z-index: 5;
}

.zso-product-page .zso-popup .form[data-zso-popup] {
	display: grid;
	grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
	column-gap: 2rem;
	align-items: start;
	margin: 0;
	padding: 0;
	background: none;
}

.zso-product-page .zso-popup .form[data-zso-popup] > * {
	grid-column: 2;
	min-width: 0;
}

.zso-product-page .zso-popup .zso-popup__img {
	grid-column: 1 !important;
	grid-row: 1 / span 4;
	align-self: stretch;
	overflow: hidden;
	border-radius: 0.75rem;
}

.zso-product-page .zso-popup .zso-popup__img img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

/* заголовок и подзаголовок */
.zso-product-page .zso-popup .form_head,
.zso-product-page .zso-popup .popup-intro {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.zso-product-page .zso-popup .form_head h2,
.zso-product-page .zso-popup .popup-intro .pop-up-title {
	margin: 0;
	padding: 0 2rem 0 0;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: none;
	color: #222;
}

.zso-product-page .zso-popup__lead {
	margin: 1rem 0 0;
	font-size: 1.125rem;
	line-height: 1.2;
	color: #222;
}

.zso-product-page .zso-popup .form_body,
.zso-product-page .zso-popup .form-wr,
.zso-product-page .zso-popup form {
	margin: 0;
	padding: 0;
}

.zso-product-page .zso-popup .form-wr,
.zso-product-page .zso-popup form {
	margin-top: 1.5rem;
}

.zso-product-page .zso-popup .form_body {
	margin-top: 0;
}

/* поля */
.zso-product-page .zso-popup .form-control {
	margin: 0 0 0.75rem;
	padding: 0;
	background: none;
}

.zso-product-page .zso-popup .form-control > label,
.zso-product-page .zso-popup .form-control > label.description,
.zso-product-page .zso-popup .required-fields-note,
.zso-product-page .zso-popup .clearboth,
.zso-product-page .zso-popup .delivery_note_wrapper,
.zso-product-page .zso-popup .zso-popup-hide {
	display: none !important;
}

.zso-product-page .zso-popup input.inputtext,
.zso-product-page .zso-popup input.phone,
.zso-product-page .zso-popup input[type="text"],
.zso-product-page .zso-popup input[type="tel"] {
	box-sizing: border-box;
	width: 100%;
	height: 3.25rem;
	padding: 0 1.25rem;
	background-color: #f5f0f0;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: none;
	font-size: 1rem;
	color: #222;
}

.zso-product-page .zso-popup input::placeholder {
	color: #676767;
	opacity: 1;
}

/* согласия */
.zso-product-page .zso-popup .licence_block,
.zso-product-page .zso-popup .form.license_form,
.zso-product-page .zso-popup .offer_pub_form {
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: 0.875rem;
	line-height: 1.2;
	color: #222;
}

.zso-product-page .zso-popup .licence_block label,
.zso-product-page .zso-popup .offer_block label {
	font-size: 0.875rem;
	line-height: 1.2;
	color: #222;
}

.zso-product-page .zso-popup .licence_block a,
.zso-product-page .zso-popup .offer_block a {
	color: #222;
	text-decoration: underline;
}

/* кнопка */
.zso-product-page .zso-popup .form_footer {
	margin: 1rem 0 0;
	padding: 0;
}

.zso-product-page .zso-popup .form_footer__bottom {
	display: block;
	margin: 1rem 0 0;
}

.zso-product-page .zso-popup .form_footer__bottom .line-block__item {
	display: block;
	margin: 0;
}

.zso-product-page .zso-popup button[type="submit"],
.zso-product-page .zso-popup #one_click_buy_form_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 13.75rem;
	min-height: 3.25rem;
	padding: 0.5rem 1.5rem;
	background-color: #c62624;
	border: 1px solid #c62624;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	color: #fff;
}

.zso-product-page .zso-popup button[type="submit"]:hover,
.zso-product-page .zso-popup #one_click_buy_form_button:hover {
	background-color: #cd403e;
	border-color: #cd403e;
}

/* планшет: картинка сверху */
@media (max-width: 991px) {
	.zso-product-page .popup.zso-popup {
		width: 34rem !important;
		padding: 1.25rem !important;
	}

	.zso-product-page .zso-popup .form[data-zso-popup] {
		display: block;
	}

	.zso-product-page .zso-popup .zso-popup__img {
		margin: 0 0 1.25rem;
		aspect-ratio: 418 / 273;
	}

	.zso-product-page .zso-popup .form_head h2,
	.zso-product-page .zso-popup .popup-intro .pop-up-title {
		padding-right: 0;
		font-size: 1.75rem;
	}
}

/* телефон */
@media (max-width: 575px) {
	.zso-product-page .popup.zso-popup {
		width: 20rem !important;
		padding: 1rem !important;
	}

	.zso-product-page .zso-popup .zso-popup__img {
		aspect-ratio: 209 / 232;
	}

	.zso-product-page .zso-popup .form_head h2,
	.zso-product-page .zso-popup .popup-intro .pop-up-title {
		font-size: 1.375rem;
		text-align: center;
	}

	.zso-product-page .zso-popup__lead {
		font-size: 0.9375rem;
		text-align: center;
	}

	.zso-product-page .zso-popup button[type="submit"],
	.zso-product-page .zso-popup #one_click_buy_form_button {
		width: 100%;
	}
}

/* ---------- Форма в блоке СФР (собирается скриптом) ---------- */
.zso-sfr-form {
	margin: 0;
	padding: 0;
}

.zso-sfr-form .zso-sfr-form__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 3.5rem;
	margin: 0 0 0.625rem;
	padding: 0 1.25rem;
	background-color: #f5f0f0;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: none;
	font-size: 1rem;
	color: #222;
}

.zso-sfr-form .zso-sfr-form__input::placeholder {
	color: #676767;
	opacity: 1;
}

.zso-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.875rem 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.2;
	color: #222;
	cursor: pointer;
}

.zso-check input[type="checkbox"] {
	position: relative;
	flex: none;
	box-sizing: border-box;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	padding: 0;
	background-color: #fff;
	border: 0.09375rem solid #222;
	border-radius: 0.25rem;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.zso-check input[type="checkbox"]:checked {
	background-color: #c62624;
	border-color: #c62624;
}

.zso-check input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 0.0625rem;
	left: 0.3125rem;
	width: 0.3125rem;
	height: 0.625rem;
	border: solid #fff;
	border-width: 0 0.125rem 0.125rem 0;
	transform: rotate(45deg);
}

.zso-check a {
	color: #222;
	text-decoration: underline;
}

.zso-sfr-form .zso-sfr-form__submit {
	width: 100%;
}

.zso-sfr-form__msg {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.25;
}

.zso-sfr-form__msg.is-error {
	color: #c62624;
}

.zso-sfr-form__done {
	padding: 0.5rem 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
}

/* на планшете и телефоне новые блоки не показываем (штатная карточка) */
body:not(.zso-product-page) .zso-aside,
body:not(.zso-product-page) .zso-intro {
	display: none;
}

/* ==========================================================================
   Исправления после проверки: иконки, миниатюры, кнопки, варианты, вкладки,
   «Ранее вы смотрели»
   ========================================================================== */

/* ---------- Избранное и сравнение: красные значки, в том числе при включении ---------- */
.zso-product-page .zso-gallery-tools .btn {
	position: relative;
	background-color: #fff;
	border: 1px solid #e5eaf3;
	box-shadow: none;
	font-size: 0;
	color: transparent;
}

.zso-product-page .zso-gallery-tools .btn i.svg,
.zso-product-page .zso-gallery-tools .btn .like-text {
	display: none !important;
}

.zso-product-page .zso-gallery-tools .btn::before {
	content: '';
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.zso-product-page .zso-gallery-tools .wish_item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62624' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21.2l7.8-7.7 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
}

.zso-product-page .zso-gallery-tools .wish_item.in::before,
.zso-product-page .zso-gallery-tools .wish_item.added::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c62624' stroke='%23c62624' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21.2l7.8-7.7 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
}

.zso-product-page .zso-gallery-tools .compare_item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62624' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3l4 4-4 4'/%3E%3Cpath d='M3 7h18'/%3E%3Cpath d='M7 21l-4-4 4-4'/%3E%3Cpath d='M21 17H3'/%3E%3C/svg%3E");
}

.zso-product-page .zso-gallery-tools .compare_item.in::before,
.zso-product-page .zso-gallery-tools .compare_item.added::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3l4 4-4 4'/%3E%3Cpath d='M3 7h18'/%3E%3Cpath d='M7 21l-4-4 4-4'/%3E%3Cpath d='M21 17H3'/%3E%3C/svg%3E");
}

.zso-product-page .zso-gallery-tools .compare_item.in,
.zso-product-page .zso-gallery-tools .compare_item.added {
	background-color: #c62624;
	border-color: #c62624;
}

.zso-product-page .zso-gallery-tools .btn:hover {
	border-color: #c62624;
}

/* ---------- Кнопки покупки: пустые служебные блоки не должны давать отступ ---------- */
.zso-product-page .buy_block .counter_wrapp::before,
.zso-product-page .buy_block .counter_wrapp::after,
.zso-product-page .buy_block .offer_buy_block::before,
.zso-product-page .buy_block .offer_buy_block::after {
	content: none !important;
	display: none !important;
}

/* ---------- Варианты: цвет-картинка и выбранный вариант ---------- */
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt1 {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt_item {
	width: 100% !important;
	height: 100% !important;
	box-shadow: none !important;
	outline: 0 !important;
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* ---------- Вкладки: у выбранной красная черта ---------- */
.zso-product-page .tabs-block .tabs {
	border-bottom: 0.15rem solid #eceaea !important;
}

.zso-product-page .tabs-block .nav-tabs > li > a {
	position: relative;
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
	border-bottom: 0.15rem solid transparent !important;
	background: none !important;
	box-shadow: none !important;
}

.zso-product-page .tabs-block .nav-tabs > li.active > a,
.zso-product-page .tabs-block .nav-tabs > li.active > a:hover,
.zso-product-page .tabs-block .nav-tabs > li.active > a:focus {
	border-bottom-color: #c62624 !important;
	color: #222 !important;
}

/* ---------- Миниатюры галереи: внутренний блок в потоке, чтобы был виден ряд ---------- */
.zso-product-page .detail-gallery-big-slider-thumbs__inner {
	position: relative !important;
	width: 100%;
	height: auto !important;
}

.zso-product-page .gallery-slider-thumb__container {
	width: 100%;
}

.zso-product-page .gallery-slider-thumb {
	width: 100%;
}

/* ---------- «Ранее вы смотрели»: вертикальные карточки, как «С этим товаром покупают» ---------- */
.zso-product-page .viewed_product_block .block-items {
	margin: 0 -0.625rem;
}

.zso-product-page .viewed_product_block .block-item {
	box-sizing: border-box;
	height: calc(100% - 1.25rem);
	margin: 0.25rem 0.625rem 1rem;
	padding: 1rem;
	background-color: #fff;
	border: 0;
	border-radius: 0.625rem;
	box-shadow: 0 0.125rem 0.875rem rgba(0, 0, 0, 0.09);
}

.zso-product-page .viewed_product_block .block-item__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	height: 100%;
}

.zso-product-page .viewed_product_block .block-item__image {
	width: 100%;
	height: 9rem;
	margin: 0 0 1rem;
}

.zso-product-page .viewed_product_block .block-item__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.zso-product-page .viewed_product_block .block-item__image img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.zso-product-page .viewed_product_block .block-item__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
}

.zso-product-page .viewed_product_block .block-item__title {
	margin: 0 0 0.5rem;
}

.zso-product-page .viewed_product_block .block-item__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.25rem;
	line-height: 1.2;
}

.zso-product-page .viewed_product_block .block-item__cost,
.zso-product-page .viewed_product_block .block-item__cost .price {
	margin: auto 0 0;
	font-size: 2rem;
}

.zso-product-page .viewed_product_block .zso-card-btn {
	margin-top: 0.75rem;
}

/* ---------- Нижний блок не должен наезжать на миниатюры (в теме у него отрицательный отступ) ---------- */
@media (min-width: 0px) {
	.zso-product-page .bottom-info.product-view--side-left {
		margin-top: 0 !important;
	}

	/* стрелки миниатюр — маленькие кружки поверх ряда, а не отдельные колонки */
	.zso-product-page .gallery-slider-thumb__container {
		position: relative;
	}

	.zso-product-page .gallery-slider-thumb__container .gallery-slider-thumb-button {
		position: absolute !important;
		top: 50% !important;
		z-index: 4;
		width: 2rem !important;
		min-width: 2rem !important;
		height: 2rem !important;
		margin: 0 !important;
		background-color: #fff;
		border-radius: 50%;
		box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
		transform: translateY(-50%);
	}

	.zso-product-page .gallery-slider-thumb__container .gallery-slider-thumb-button--prev {
		left: 0.5rem !important;
	}

	.zso-product-page .gallery-slider-thumb__container .gallery-slider-thumb-button--next {
		right: 0.5rem !important;
		left: auto !important;
	}

	.zso-product-page .gallery-slider-thumb__container .gallery-slider-thumb-button.swiper-button-disabled {
		opacity: 0;
		pointer-events: none;
	}

	.zso-product-page .gallery-slider-thumb__container .gallery-slider-thumb-button.swiper-button-lock {
		display: none !important;
	}
}

/* «Ранее вы смотрели»: порядок — название, цена, кнопка; значки чуть крупнее */
.zso-product-page .viewed_product_block .block-item__cost {
	order: 1;
}

.zso-product-page .viewed_product_block .zso-card-btn {
	order: 2;
}

.zso-product-page .zso-gallery-tools .btn::before {
	width: 1.5rem;
	height: 1.5rem;
}

/* ==========================================================================
   Правки по второму просмотру: значки, миниатюры, цена, вкладки, кнопки
   ========================================================================== */

/* значки «избранное» и «сравнить» крупнее */
.zso-product-page .zso-gallery-tools .btn {
	width: 3.25rem;
	height: 3.25rem;
}

.zso-product-page .zso-gallery-tools .btn::before {
	width: 1.875rem;
	height: 1.875rem;
}

/* миниатюры: картинка целиком, без обрезки */
@media (min-width: 0px) {
	.zso-product-page .gallery__item--thumb {
		background-color: #fff;
		border: 1px solid #ececec !important;
	}

	.zso-product-page .gallery__item--thumb img {
		object-fit: contain;
		padding: 0.125rem;
		box-sizing: border-box;
	}

	/* цена в карточке товара: цифры крупнее, знак рубля соразмерен */
	.zso-product-page .product-main .cost.prices .price {
		font-size: 2.75rem;
	}

	.zso-product-page .product-main .cost.prices .price_currency::after {
		font-size: 2.125rem;
		font-weight: 700;
	}
}

/* цена в карточках товаров и «Ранее вы смотрели» */
.zso-product-page .goods .cost.prices .price,
.zso-product-page .viewed_product_block .block-item__cost,
.zso-product-page .viewed_product_block .block-item__cost .price {
	font-size: 2.25rem;
}

.zso-product-page .zso-rub {
	font-size: 0.8em;
	font-weight: 700;
}

/* вкладки: серая линия — тень внутри списка, красная черта активной поверх неё */
.zso-product-page .tabs-block .tabs {
	border-bottom: 0 !important;
	overflow: visible;
}

.zso-product-page .tabs-block .nav-tabs {
	margin: 0;
	box-shadow: inset 0 -0.15rem 0 #eceaea;
}

.zso-product-page .tabs-block .nav-tabs > li {
	margin: 0;
}

/* «Узнать подробнее» / «Быстрый просмотр» — в одну строку */
.zso-product-page .zso-card-btn {
	padding: 0.5rem 0.5rem;
	font-size: 0.9375rem;
	white-space: nowrap;
}

/* размер цены: правила темы для .font_mxs сильнее обычных */
@media (min-width: 0px) {
	.zso-product-page .product-main .cost.prices .price.font-bold,
	.zso-product-page .product-main .cost.prices .price.font-bold .values_wrapper,
	.zso-product-page .product-main .cost.prices .price.font-bold .price_value {
		font-size: 2.75rem !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
	}

	.zso-product-page .product-main .cost.prices .price.font-bold .price_currency::after {
		font-size: 2.125rem !important;
	}
}

.zso-product-page .goods .cost.prices .price.font-bold,
.zso-product-page .goods .cost.prices .price.font-bold .values_wrapper {
	font-size: 2.25rem !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
}

.zso-product-page .viewed_product_block .block-item__cost .price {
	font-size: 2.25rem !important;
	font-weight: 800 !important;
}

/* ==========================================================================
   Правки по третьему просмотру
   ========================================================================== */

/* знак рубля — рисуем сами, чтобы стоял ровно на строке и был соразмерен цифрам */
.zso-product-page .zso-rub {
	display: inline-block;
	width: 0.583em;
	height: 0.7em;
	margin-left: 0.22em;
	font-size: inherit;
	background-color: currentColor;
	vertical-align: baseline;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath fill-rule='evenodd' d='M1 0H5.8A3.6 3.6 0 0 1 5.8 7.2H3V8.2H6.6V10H3V12H1V10H0V8.2H1V7.2H0V5.6H1ZM3 1.8V5.4H5.8A1.8 1.8 0 0 0 5.8 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath fill-rule='evenodd' d='M1 0H5.8A3.6 3.6 0 0 1 5.8 7.2H3V8.2H6.6V10H3V12H1V10H0V8.2H1V7.2H0V5.6H1ZM3 1.8V5.4H5.8A1.8 1.8 0 0 0 5.8 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 0px) {
	.zso-product-page .product-main .cost.prices .price.font-bold .price_currency::after {
		content: '' !important;
		display: inline-block;
		width: 1.6rem;
		height: 1.925rem;
		margin-left: 0.6rem;
		font-size: 0 !important;
		background-color: currentColor;
		vertical-align: baseline;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath fill-rule='evenodd' d='M1 0H5.8A3.6 3.6 0 0 1 5.8 7.2H3V8.2H6.6V10H3V12H1V10H0V8.2H1V7.2H0V5.6H1ZM3 1.8V5.4H5.8A1.8 1.8 0 0 0 5.8 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath fill-rule='evenodd' d='M1 0H5.8A3.6 3.6 0 0 1 5.8 7.2H3V8.2H6.6V10H3V12H1V10H0V8.2H1V7.2H0V5.6H1ZM3 1.8V5.4H5.8A1.8 1.8 0 0 0 5.8 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	/* отступ между описанием/характеристиками и миниатюрами галереи */
	.zso-product-page .zso-intro {
		margin-top: 3.75rem;
	}

	/* варианты: размеры и другие свойства выше цвета, цвет — последним */
	.zso-product-page .product-main .sku_props .bx_catalog_item_scu {
		display: flex;
		flex-direction: column;
	}

	.zso-product-page .product-main .sku_props .item_wrapper:has(.bx_item_detail_scu) {
		order: 2;
	}
}

/* окна: у кнопки нет отступа слева (у штатного блока строки есть своё) */
.zso-product-page .zso-popup .line-block__item,
.zso-product-page .zso-popup .form_footer__bottom,
.zso-product-page .zso-popup .form_footer {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* вкладки: пустые служебные элементы списка не должны давать отступ слева */
.zso-product-page .tabs-block .nav-tabs::before,
.zso-product-page .tabs-block .nav-tabs::after {
	content: none !important;
	display: none !important;
}

/* карусели: карточки с равным зазором, крайние ровно по краям колонки */
.zso-product-page .goods .owl-stage-outer,
.zso-product-page .viewed_product_block .owl-stage-outer {
	margin-right: -0.4375rem;
	margin-left: -0.4375rem;
	padding-bottom: 1.25rem;
	margin-bottom: -1.25rem;
}

.zso-product-page .goods .catalog_item_wrapp {
	margin-right: 0.4375rem;
	margin-left: 0.4375rem;
	width: auto;
}

.zso-product-page .viewed_product_block .block-item {
	margin-right: 0.4375rem;
	margin-left: 0.4375rem;
}

/* карусели: отрицательные поля ставим на сам список (правила темы для margin0 сильнее) */
.zso-product-page .goods .catalog_block.owl-carousel,
.zso-product-page .viewed_product_block .block-items.owl-carousel {
	width: auto !important;
	margin-right: -0.4375rem !important;
	margin-left: -0.4375rem !important;
}

.zso-product-page .goods .owl-stage-outer,
.zso-product-page .viewed_product_block .owl-stage-outer {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.zso-product-page .goods .cost.prices .price,
.zso-product-page .viewed_product_block .block-item__cost .price {
	white-space: nowrap;
}

/* «Ранее вы смотрели»: одинаковый внутренний отступ со всех сторон (у темы было два слоя отступов) */
.zso-product-page .viewed_product_block .block-item {
	padding: 0 !important;
}

.zso-product-page .viewed_product_block .block-item__wrapper {
	box-sizing: border-box;
	height: 100%;
	padding: 1rem !important;
}

.zso-product-page .viewed_product_block .block-item__info {
	padding: 0 !important;
}

/* ==========================================================================
   Карточки похожих товаров: скруглённая рамка
   ========================================================================== */
.zso-product-page .goods .catalog_item_wrapp,
.zso-product-page .viewed_product_block .block-item {
	border: 1px solid #e6e6e6 !important;
	border-radius: 0.625rem !important;
}

/* ==========================================================================
   Фиксированная панель (компьютер)
   ========================================================================== */
.zso-fixbar {
	display: none;
}

@media (min-width: 992px) {
	/* штатную фиксированную шапку товара и её вкладки заменяет наша панель */
	.zso-product-page #headerfixed,
	.zso-product-page .product-item-detail-tabs-container-fixed {
		display: none !important;
	}

	.zso-product-page .zso-fixbar {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 990;
		display: block;
		background-color: #fff;
		box-shadow: 0 0.125rem 0.875rem rgba(0, 0, 0, 0.12);
		transform: translateY(-120%);
		transition: transform 0.25s ease;
	}

	.zso-product-page .zso-fixbar.is-visible {
		transform: none;
	}

	.zso-fixbar__row {
		display: flex;
		align-items: center;
		gap: 2rem;
		min-height: 5.625rem;
		padding: 0.625rem 0;
	}

	.zso-fixbar__title {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		font-size: 2.375rem;
		font-weight: 800;
		line-height: 1.1;
		letter-spacing: 0.01em;
		text-overflow: ellipsis;
		text-transform: uppercase;
		white-space: nowrap;
		color: #222;
	}

	.zso-fixbar__sku {
		display: flex;
		flex: 1 1 auto;
		align-items: flex-end;
		gap: 1.5rem;
		min-width: 0;
	}

	.zso-fixbar__label {
		margin: 0 0 0.25rem;
		font-size: 0.9375rem;
		line-height: 1.2;
		color: #676767;
	}

	.zso-fixbar__items {
		display: flex;
		gap: 0.5rem;
	}

	.zso-fixbar__item {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 3rem;
		height: 2.375rem;
		padding: 0 0.5rem;
		background-color: #fff;
		border: 1px solid #e8e8e8;
		border-radius: 0.375rem;
		box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
		font-size: 1.0625rem;
		line-height: 1;
		color: #676767;
		cursor: pointer;
	}

	.zso-fixbar__item:hover {
		border-color: #c62624;
	}

	.zso-fixbar__item.is-active {
		background-color: #c62624;
		border-color: #c62624;
		color: #fff;
	}

	.zso-fixbar__item.is-disabled {
		opacity: 0.4;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item {
		width: 3.25rem;
		min-width: 0;
		height: 3.25rem;
		padding: 0;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item.is-active {
		background-color: #fff;
		border-color: #c62624;
		box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #c62624;
	}

	.zso-fixbar__buttons {
		display: flex;
		flex: none;
		gap: 1rem;
		margin-left: auto;
	}

	.zso-fixbar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 3.25rem;
		padding: 0 1.5rem;
		border: 1px solid #c62624;
		border-radius: 0.5rem;
		font-size: 1.0625rem;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		white-space: nowrap;
		cursor: pointer;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.zso-fixbar__btn--primary {
		background-color: #c62624;
		color: #fff;
	}

	.zso-fixbar__btn--primary:hover {
		background-color: #cd403e;
		border-color: #cd403e;
		color: #fff;
	}

	.zso-fixbar__btn--outline {
		background-color: #fff;
		color: #c62624;
	}

	.zso-fixbar__btn--outline:hover {
		background-color: #c62624;
		color: #fff;
	}
}

/* на узких компьютерных экранах убираем второстепенное */
@media (min-width: 992px) and (max-width: 1399px) {
	.zso-fixbar__btn--sfr {
		display: none;
	}

	.zso-fixbar__title {
		font-size: 1.75rem;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.zso-fixbar__btn[data-act="oneclick"] {
		display: none;
	}
}

@media (min-width: 992px) {
	.zso-fixbar__row {
		gap: 1.5rem;
	}

	.zso-fixbar__title {
		flex: 0 0 auto;
		max-width: 28%;
		font-size: 2.125rem;
	}

	.zso-fixbar__sku {
		flex: 0 1 auto;
		gap: 1.25rem;
	}

	.zso-fixbar__buttons {
		gap: 0.75rem;
	}

	.zso-fixbar__btn {
		padding: 0 1.125rem;
		font-size: 1rem;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.zso-fixbar__title {
		font-size: 1.5rem;
	}
}

/* «Ранее вы смотрели»: у списка в теме есть собственные боковые отступы — убираем */
.zso-product-page .viewed_product_block .owl-stage-outer,
.zso-product-page .viewed_product_block .owl-stage {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* образцы цвета: скруглённая рамка без двойной обводки, ровно по левому краю */
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper {
	margin: 0 !important;
	padding: 0 !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item {
	overflow: hidden;
	border-radius: 0.5rem !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt1,
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt_item {
	border: 0 !important;
	border-radius: 0.375rem !important;
	box-shadow: none !important;
	outline: 0 !important;
}

/* ==========================================================================
   ПЛАНШЕТ (768–991 px) и ТЕЛЕФОН (до 767 px)
   ========================================================================== */

/* ---------- Планшет: галерея слева, колонка справа ---------- */
@media (max-width: 991px) {
	.zso-product-page .topic #pagetitle {
		font-size: 3.5rem;
	}

	.zso-product-page .product-info {
		grid-template-columns: minmax(0, 1fr) 17.1875rem;
		column-gap: 1.25rem;
	}

	.zso-product-page .product-detail-gallery {
		--slider-proportion: calc(302 / 433);
	}

	/* миниатюры: пять в ряд */
	.zso-product-page .gallery__item--thumb {
		width: calc((100% - 4 * 0.625rem) / 5) !important;
	}

	.zso-product-page .gallery-slider-thumb__container {
		display: flex !important;
	}

	/* правая колонка уже: кнопки друг под другом, цена под подписью */
	.zso-product-page .buy_block .offer_buy_block {
		flex-direction: column;
		gap: 0.75rem;
	}

	.zso-product-page .product-main .cost.prices.detail {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.zso-product-page .zso-preview strong,
	.zso-product-page .zso-preview b,
	.zso-product-page .zso-preview h2,
	.zso-product-page .zso-preview h3,
	.zso-product-page .zso-preview h4 {
		font-size: 1.25rem;
	}

	.zso-product-page .product-main .cost.prices .price.font-bold,
	.zso-product-page .product-main .cost.prices .price.font-bold .values_wrapper,
	.zso-product-page .product-main .cost.prices .price.font-bold .price_value {
		font-size: 2.5rem !important;
	}

	.zso-product-page .product-main .cost.prices .price.font-bold .price_currency::after {
		width: 1.45rem;
		height: 1.75rem;
	}

	/* описание и характеристики — друг под другом */
	.zso-product-page .zso-intro {
		display: block;
		margin-top: 2rem;
	}

	.zso-product-page .zso-intro__text {
		margin-bottom: 2rem;
	}

	/* «Посмотреть вживую»: картинка сверху */
	.zso-product-page .zso-showroom__row {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.zso-product-page .zso-showroom__img {
		width: 100%;
		height: auto;
	}

	.zso-product-page .zso-sfr__logo {
		width: 5.5rem;
	}

	.zso-product-page .zso-sfr__title,
	.zso-product-page .zso-card__title {
		font-size: 1.25rem;
	}

	.zso-product-page .tabs-block .nav-tabs {
		gap: 0.75rem 1.75rem;
	}

	.zso-product-page .tabs-block .nav-tabs > li > a {
		font-size: 1.125rem;
	}
}

/* ---------- Телефон: одна колонка ---------- */
@media (max-width: 767px) {
	.zso-product-page .topic #pagetitle {
		font-size: 2.5rem;
	}

	.zso-product-page .product-info {
		display: block;
	}

	.zso-product-page .product-info > .flexbox.flexbox--row {
		display: block;
	}

	.zso-product-page .product-info .product-main,
	.zso-product-page .product-info .product-detail-gallery,
	.zso-product-page .product-info > .bottom-info-wrapper {
		grid-column: auto;
		grid-row: auto;
	}

	.zso-product-page .product-detail-gallery {
		--slider-proportion: calc(300 / 328);
	}

	.zso-product-page .product-main {
		margin-top: 1.5rem;
	}

	/* на телефоне краткое описание справа не показываем (как в макете) */
	.zso-product-page .zso-preview {
		display: none;
	}

	.zso-product-page .gallery__item--thumb {
		width: calc((100% - 4 * 0.625rem) / 5) !important;
	}

	.zso-product-page .product-info > .bottom-info-wrapper {
		margin-top: 2rem;
	}

	.zso-product-page .zso-intro {
		margin-top: 2rem;
	}

	.zso-product-page .zso-sfr__logo {
		width: 5rem;
	}

	.zso-product-page .zso-showroom .zso-card__title,
	.zso-product-page .zso-need-help .zso-card__title {
		font-size: 1.5rem;
	}

	.zso-product-page .goods .tab-pane::before,
	.zso-product-page .zso-section-title {
		font-size: 1.375rem;
	}

	.zso-product-page .zso-chars__row dt,
	.zso-product-page .zso-chars__row dd {
		font-size: 1rem;
	}
}

/* ---------- Вкладки: свой перенос строк вместо штатной прокрутки ---------- */
.zso-product-page .tabs-block .tabs {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.zso-product-page .tabs-block .nav-tabs {
	flex-wrap: wrap;
	width: auto !important;
	max-width: 100%;
	margin-left: 0 !important;
	white-space: normal;
	transform: none !important;
}

@media (max-width: 991px) {
	.zso-product-page .tabs-block .nav-tabs {
		gap: 0;
		box-shadow: none;
	}

	.zso-product-page .tabs-block .nav-tabs > li > a {
		padding-right: 1.5rem;
		border-bottom-color: #eceaea !important;
	}

	.zso-product-page .tabs-block .nav-tabs > li.active > a {
		border-bottom-color: #c62624 !important;
	}

	.zso-product-page .tabs-block .nav-tabs > li {
		margin-bottom: 0.25rem;
	}

	/* размеры и цвета в узкой колонке */
	.zso-product-page .product-main .sku_props ul.list_values_wrapper {
		gap: 0.5rem;
	}

	.zso-product-page .product-main .sku_props [class*="bx_item_detail_"]:not(.bx_item_detail_scu) ul.list_values_wrapper li.item {
		min-width: 2.875rem;
		padding: 0 0.25rem;
	}

	.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item {
		width: 3.75rem;
		height: 3.5rem;
	}
}

/* ---------- Стрелки каруселей (планшет и телефон) ---------- */
.zso-product-page .zso-owl-auto .owl-stage {
	display: flex;
}

.zso-product-page .zso-owl-auto .owl-item {
	float: none;
	height: auto;
}

.zso-product-page .zso-owl-auto .owl-item > .item_block,
.zso-product-page .zso-owl-auto .owl-item > .block-item {
	width: 17.25rem !important;
	max-width: none;
	height: 100%;
	float: none;
}

.zso-product-page .zso-owl-auto .owl-nav,
.zso-product-page .zso-owl-auto .owl-dots {
	display: none !important;
}

.zso-product-page .goods .tab-pane,
.zso-product-page .viewed_product_block .viewed-wrapper {
	position: relative;
}

.zso-nav {
	position: absolute;
	top: -0.25rem;
	right: 0;
	display: flex;
	gap: 0.625rem;
}

.zso-nav__btn {
	position: relative;
	width: 2.5rem;
	height: 2.5rem;
	background-color: #edf1f7;
	border-radius: 50%;
	cursor: pointer;
}

.zso-nav__btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.5rem;
	height: 0.5rem;
	border: solid #222;
	border-width: 0 0.125rem 0.125rem 0;
}

.zso-nav__btn--prev::before {
	transform: translate(-30%, -50%) rotate(135deg);
}

.zso-nav__btn--next::before {
	transform: translate(-70%, -50%) rotate(-45deg);
}

@media (min-width: 992px) {
	.zso-nav {
		display: none;
	}
}

@media (max-width: 767px) {
	.zso-product-page .zso-owl-auto .owl-item > .item_block,
	.zso-product-page .zso-owl-auto .owl-item > .block-item {
		width: 20.5rem !important;
	}
}

/* ---------- Фиксированная панель на планшете ---------- */
.zso-fixbar__mob {
	display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
	.zso-product-page .zso-fixbar {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 1060;
		display: block;
		background-color: #fff;
		box-shadow: 0 0.125rem 0.875rem rgba(0, 0, 0, 0.12);
		transform: translateY(-120%);
		transition: transform 0.25s ease;
	}

	.zso-product-page .zso-fixbar.is-visible {
		transform: none;
	}

	.zso-fixbar .maxwidth-theme {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.zso-fixbar__row {
		display: flex;
		align-items: center;
		gap: 0.875rem;
		min-height: 4.4rem;
		padding: 0.375rem 0;
	}

	.zso-fixbar__mob {
		display: flex;
		flex: none;
		align-items: center;
		gap: 0.875rem;
	}

	.zso-fixbar__burger,
	.zso-fixbar__search {
		width: 1.75rem;
		height: 1.75rem;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		cursor: pointer;
	}

	.zso-fixbar__burger {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h10M4 17h13'/%3E%3C/svg%3E");
	}

	.zso-fixbar__search {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676767' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
	}

	.zso-fixbar__logo img {
		display: block;
		width: auto;
		height: 1.75rem;
	}

	.zso-fixbar__title,
	.zso-fixbar__btn[data-act="oneclick"],
	.zso-fixbar__btn--sfr {
		display: none;
	}

	.zso-fixbar__sku {
		display: flex;
		flex: 1 1 auto;
		align-items: flex-end;
		justify-content: center;
		gap: 0.75rem;
		min-width: 0;
	}

	.zso-fixbar__label {
		margin: 0 0 0.125rem;
		font-size: 0.8125rem;
		line-height: 1.2;
		color: #676767;
	}

	.zso-fixbar__items {
		display: flex;
		gap: 0.3125rem;
	}

	.zso-fixbar__item {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 2.125rem;
		height: 2rem;
		padding: 0 0.25rem;
		background-color: #fff;
		border: 1px solid #e8e8e8;
		border-radius: 0.3125rem;
		font-size: 0.9375rem;
		line-height: 1;
		color: #676767;
		cursor: pointer;
	}

	.zso-fixbar__item.is-active {
		background-color: #c62624;
		border-color: #c62624;
		color: #fff;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item {
		width: 2.5rem;
		min-width: 0;
		height: 2.5rem;
		padding: 0;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item.is-active {
		border-color: #c62624;
	}

	.zso-fixbar__buttons {
		display: flex;
		flex: none;
	}

	.zso-fixbar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 2.75rem;
		padding: 0 1.25rem;
		background-color: #c62624;
		border: 1px solid #c62624;
		border-radius: 0.5rem;
		font-size: 1.0625rem;
		font-weight: 600;
		white-space: nowrap;
		color: #fff;
		cursor: pointer;
	}
}

@media (max-width: 767px) {
	.zso-fixbar {
		display: none !important;
	}
}

/* индикатор переключения фото внутри карточки не нужен */
.zso-product-page .goods .section-gallery-wrapper__item-nav,
.zso-product-page .viewed_product_block .section-gallery-wrapper__item-nav {
	display: none !important;
}

@media (max-width: 991px) {
	.zso-fixbar__btn--sfr,
	.zso-fixbar__btn[data-act="oneclick"],
	.zso-fixbar__title {
		display: none !important;
	}
}

/* планшет и телефон: лишние отступы и значки штатной галереи */
@media (max-width: 991px) {
	.zso-product-page .product-main {
		padding: 0 !important;
	}

	.zso-product-page .product-main > .col-auto:empty,
	.zso-product-page .product-main .col-auto {
		display: none;
	}

	.zso-product-page .product-detail-gallery .swiper-pagination {
		display: none !important;
	}
}

/* в карточках товаров у темы есть вторая внутренняя рамка — убираем (двойной бордер) */
.zso-product-page .goods .inner_wrap,
.zso-product-page .goods .inner_wrap.TYPE_2 {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* на телефоне у списка вкладок в теме min-width: 300% (для прокрутки) — у нас вкладки переносятся */
.zso-product-page .tabs-block .nav-tabs {
	min-width: 0 !important;
}

/* ==========================================================================
   Простые товары (без торговых предложений): кнопки покупки
   У них нет блока .offer_buy_block, поэтому кнопки оформляем по самому .buy_block
   ========================================================================== */
.zso-product-page .buy_block:not(:has(.offer_buy_block)) {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	width: 100%;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) .button_block,
.zso-product-page .buy_block:not(:has(.offer_buy_block)) > .zso-oneclick {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) .button_block .to-cart,
.zso-product-page .buy_block:not(:has(.offer_buy_block)) > .zso-oneclick {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 3.25rem !important;
	margin: 0 !important;
	padding: 0.5rem 1rem !important;
	border: 1px solid #c62624 !important;
	border-radius: 0.5rem !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: center !important;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) .button_block .to-cart {
	background-color: #c62624 !important;
	color: #fff !important;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) .button_block .to-cart:hover {
	background-color: #cd403e !important;
	border-color: #cd403e !important;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) > .zso-oneclick {
	background-color: #fff !important;
	color: #c62624 !important;
}

.zso-product-page .buy_block:not(:has(.offer_buy_block)) > .zso-oneclick:hover {
	background-color: #c62624 !important;
	color: #fff !important;
}

/* планшет и телефон: кнопки друг под другом */
@media (max-width: 991px) {
	.zso-product-page .buy_block:not(:has(.offer_buy_block)) {
		flex-direction: column;
		gap: 0.75rem;
	}
}

/* ==========================================================================
   Основные характеристики: длинные значения переносятся, не вылезают за колонку
   ========================================================================== */
.zso-product-page .zso-chars,
.zso-product-page .zso-chars__list {
	min-width: 0;
	max-width: 100%;
}

.zso-product-page .zso-chars__row dt {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 50%;
	overflow-wrap: break-word;
}

.zso-product-page .zso-chars__row dd {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 60%;
	overflow-wrap: break-word;
}

/* если краткого описания нет, характеристики занимают всю ширину колонки */
.zso-product-page .zso-intro:has(> .zso-intro__text[hidden]) {
	grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   Шапка: значок «Избранное».
   В спрайте шаблона (header_icons_srite.svg) под именем «chosen» лежит значок телефона,
   поэтому прячем его и рисуем сердечко.
   ========================================================================== */
.basket-link.delay i.wish > svg {
	display: none !important;
}

.basket-link.delay i.wish {
	display: inline-block;
	width: 1.4286rem;
	height: 1.4286rem;
	background-color: #000;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Запасной блок Aspro «Вам также может понравиться» (если «Похожие товары» не заполнены):
   оформляем как «Похожие товары» и ставим на то же место
   ========================================================================== */
.zso-product-page .ordered-block.goods.zso-goods-auto {
	position: relative;
	display: block;
	order: 2;
	margin: 0 0 3rem;
}

.zso-product-page .zso-goods-auto > .ordered-block__title {
	display: block;
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	color: #222;
}

@media (max-width: 767px) {
	.zso-product-page .zso-goods-auto > .ordered-block__title {
		font-size: 1.375rem;
	}
}

/* пока открыто всплывающее окно, фиксированную панель товара прячем */
body:has(.jqmWindow.show) .zso-fixbar {
	opacity: 0;
	pointer-events: none;
}

/* ==========================================================================
   Правки по замечаниям: значки в галерее, образцы цвета, блок СФР на планшете
   ========================================================================== */

/* «Избранное» и «Сравнить»: значок строго по центру квадратной кнопки */
.zso-product-page .zso-gallery-tools .btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	padding: 0 !important;
}

.zso-product-page .zso-gallery-tools .btn::before {
	flex: none;
	margin: 0;
}

.zso-product-page .zso-gallery-tools .like_icons > div,
.zso-product-page .zso-gallery-tools .compare_item_button {
	width: 3.25rem;
	height: 3.25rem;
}

/* образцы цвета: квадраты, выбранный — в рамке */
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item {
	box-sizing: border-box !important;
	width: 4.25rem !important;
	height: 4.25rem !important;
	padding: 0.25rem !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt1,
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt_item {
	width: 100% !important;
	height: 100% !important;
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* планшет: блок «Можно приобрести по сертификату» не должен вылезать из карточки */
@media (max-width: 991px) {
	.zso-product-page .zso-sfr__head {
		gap: 0.75rem;
	}

	.zso-product-page .zso-sfr__logo {
		width: 4.25rem;
	}

	.zso-product-page .zso-sfr__title {
		min-width: 0;
		font-size: 1.0625rem;
		overflow-wrap: anywhere;
	}
}

/* скрытое состояние кнопки (Аспро прячет его inline-стилем) должно оставаться скрытым */
.zso-product-page .zso-gallery-tools .btn[style*="display: none"],
.zso-product-page .zso-gallery-tools .btn[style*="display:none"] {
	display: none !important;
}

/* ==========================================================================
   Карусели на планшете и телефоне: размытие у правого края и стрелки
   ========================================================================== */
@media (max-width: 991px) {
	.zso-product-page .zso-owl-auto .owl-stage-outer {
		position: relative;
	}

	.zso-product-page .zso-owl-auto:not(.is-end) .owl-stage-outer::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 3;
		width: 4.5rem;
		background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 85%);
		pointer-events: none;
	}

	.zso-product-page .viewed_product_block .zso-owl-auto:not(.is-end) .owl-stage-outer::after {
		background: linear-gradient(to right, rgba(248, 248, 248, 0), #f8f8f8 85%);
	}

	/* стрелки «Ранее вы смотрели» — на уровне заголовка */
	.zso-product-page .viewed_product_block .zso-nav {
		top: 2.8rem;
	}
}

/* ==========================================================================
   Карусели: стрелки только если карточек больше, чем помещается; размытие справа на всех экранах
   ========================================================================== */
.zso-nav.is-hidden {
	display: none !important;
}

@media (min-width: 992px) {
	.zso-nav {
		display: flex;
	}
}

.zso-product-page .zso-owl-grid .owl-stage {
	display: flex;
}

.zso-product-page .zso-owl-grid .owl-item {
	float: none;
	height: auto;
}

.zso-product-page .zso-owl-grid .owl-item > .item_block,
.zso-product-page .zso-owl-grid .owl-item > .block-item {
	width: 100% !important;
	max-width: none;
	height: 100%;
	float: none;
}

.zso-product-page .zso-owl-grid .owl-nav,
.zso-product-page .zso-owl-grid .owl-dots {
	display: none !important;
}

@media (min-width: 992px) {
	.zso-product-page .zso-owl-grid .owl-stage-outer {
		position: relative;
	}

	.zso-product-page .zso-owl-grid:not(.is-end) .owl-stage-outer::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 3;
		width: 4rem;
		background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 85%);
		pointer-events: none;
	}
}

/* телефон: между галереей и ценой лишний отступ */
@media (max-width: 767px) {
	.zso-product-page .product-info .product-main {
		margin-top: 0;
	}

	.zso-product-page .product-main > div:has(> meta[itemprop]):not(.cost) {
		display: none;
	}
}

/* телефон: служебные пустые элементы шаблона в колонке с ценой давали лишние отступы */
@media (max-width: 767px) {
	.zso-product-page .product-main .product-info-headnote::before,
	.zso-product-page .product-main .product-info-headnote::after {
		content: none !important;
		display: none !important;
	}
}

.zso-product-page .zso-owl-grid.zso-owl-peek .owl-item > .item_block {
	width: var(--zso-card, 16rem) !important;
}

/* ==========================================================================
   Правки по замечаниям (раунд 3)
   ========================================================================== */

/* значки «Избранное» и «Сравнить» — точно по макету (кнопка 44×43, значок по центру) */
.zso-product-page .zso-gallery-tools .like_icons > div,
.zso-product-page .zso-gallery-tools .compare_item_button {
	width: 3.1429rem;
	height: 3.0714rem;
}

.zso-product-page .zso-gallery-tools .btn {
	width: 3.1429rem !important;
	height: 3.0714rem !important;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 100% 100% !important;
	border: 0 !important;
	border-radius: 0.375rem !important;
	box-shadow: none !important;
}

.zso-product-page .zso-gallery-tools .btn::before {
	content: none !important;
	display: none !important;
}

.zso-product-page .zso-gallery-tools .wish_item {
	background-image: url("data:image/svg+xml,%3Csvg width='44' height='43' viewBox='0 0 44 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='43' height='42' rx='5.5' stroke='%23E9EFEF'/%3E%3Cpath d='M30.8401 13.9959C30.3294 13.4849 29.7229 13.0796 29.0555 12.803C28.388 12.5264 27.6726 12.3841 26.9501 12.3841C26.2276 12.3841 25.5122 12.5264 24.8448 12.803C24.1773 13.0796 23.5709 13.4849 23.0601 13.9959L22.0001 15.0559L20.9401 13.9959C19.9084 12.9642 18.5092 12.3846 17.0501 12.3846C15.5911 12.3846 14.1918 12.9642 13.1601 13.9959C12.1284 15.0276 11.5488 16.4269 11.5488 17.8859C11.5488 19.345 12.1284 20.7442 13.1601 21.7759L14.2201 22.8359L22.0001 30.6159L29.7801 22.8359L30.8401 21.7759C31.3511 21.2652 31.7565 20.6587 32.033 19.9913C32.3096 19.3238 32.4519 18.6084 32.4519 17.8859C32.4519 17.1634 32.3096 16.448 32.033 15.7806C31.7565 15.1131 31.3511 14.5067 30.8401 13.9959Z' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' stroke='%23C62624'/%3E%3C/svg%3E") !important;
}

.zso-product-page .zso-gallery-tools .wish_item.in,
.zso-product-page .zso-gallery-tools .wish_item.added {
	background-image: url("data:image/svg+xml,%3Csvg width='44' height='43' viewBox='0 0 44 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='43' height='42' rx='5.5' stroke='%23E9EFEF'/%3E%3Cpath d='M30.8401 13.9959C30.3294 13.4849 29.7229 13.0796 29.0555 12.803C28.388 12.5264 27.6726 12.3841 26.9501 12.3841C26.2276 12.3841 25.5122 12.5264 24.8448 12.803C24.1773 13.0796 23.5709 13.4849 23.0601 13.9959L22.0001 15.0559L20.9401 13.9959C19.9084 12.9642 18.5092 12.3846 17.0501 12.3846C15.5911 12.3846 14.1918 12.9642 13.1601 13.9959C12.1284 15.0276 11.5488 16.4269 11.5488 17.8859C11.5488 19.345 12.1284 20.7442 13.1601 21.7759L14.2201 22.8359L22.0001 30.6159L29.7801 22.8359L30.8401 21.7759C31.3511 21.2652 31.7565 20.6587 32.033 19.9913C32.3096 19.3238 32.4519 18.6084 32.4519 17.8859C32.4519 17.1634 32.3096 16.448 32.033 15.7806C31.7565 15.1131 31.3511 14.5067 30.8401 13.9959Z' fill='%23C62624' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' stroke='%23C62624'/%3E%3C/svg%3E") !important;
}

.zso-product-page .zso-gallery-tools .compare_item {
	background-image: url("data:image/svg+xml,%3Csvg width='44' height='43' viewBox='0 0 44 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='43' height='42' rx='5.5' stroke='%23E9EFEF'/%3E%3Cg transform='translate(11 9.5)'%3E%3Cpath d='M20.9004 17.5276C21.3974 17.5276 21.8004 17.1246 21.8004 16.6276C21.8004 16.1305 21.3974 15.7276 20.9004 15.7276L20.9004 16.6276L20.9004 17.5276ZM20.9004 16.6276L20.9004 15.7276L0.900391 15.7276L0.900391 16.6276L0.900391 17.5276L20.9004 17.5276L20.9004 16.6276ZM0.263994 15.9912C-0.0874767 16.3426 -0.0874768 16.9125 0.263994 17.264L5.99156 22.9915C6.34303 23.343 6.91288 23.343 7.26435 22.9915C7.61582 22.6401 7.61582 22.0702 7.26435 21.7187L2.17318 16.6276L7.26435 11.5364C7.61582 11.1849 7.61582 10.6151 7.26435 10.2636C6.91288 9.91213 6.34303 9.91213 5.99156 10.2636L0.263994 15.9912Z' fill='%23C62624'/%3E%3Cpath d='M0.900391 7.52756C0.403334 7.52756 0.000390692 7.12462 0.000390649 6.62756C0.000390605 6.13051 0.403334 5.72756 0.900391 5.72756L0.900391 6.62756L0.900391 7.52756ZM0.900391 6.62756L0.900391 5.72756L20.9004 5.72756L20.9004 6.62756L20.9004 7.52756L0.900391 7.52756L0.900391 6.62756ZM21.5368 5.99117C21.8883 6.34264 21.8883 6.91249 21.5368 7.26396L15.8092 12.9915C15.4578 13.343 14.8879 13.343 14.5364 12.9915C14.185 12.6401 14.185 12.0702 14.5364 11.7187L19.6276 6.62756L14.5364 1.53639C14.185 1.18492 14.185 0.615073 14.5364 0.263602C14.8879 -0.0878704 15.4577 -0.0878704 15.8092 0.263601L21.5368 5.99117Z' fill='%23C62624'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.zso-product-page .zso-gallery-tools .compare_item.in,
.zso-product-page .zso-gallery-tools .compare_item.added {
	background-image: url("data:image/svg+xml,%3Csvg width='44' height='43' viewBox='0 0 44 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='43' height='42' rx='5.5' fill='%23C62624' stroke='%23C62624'/%3E%3Cg transform='translate(11 9.5)'%3E%3Cpath d='M20.9004 17.5276C21.3974 17.5276 21.8004 17.1246 21.8004 16.6276C21.8004 16.1305 21.3974 15.7276 20.9004 15.7276L20.9004 16.6276L20.9004 17.5276ZM20.9004 16.6276L20.9004 15.7276L0.900391 15.7276L0.900391 16.6276L0.900391 17.5276L20.9004 17.5276L20.9004 16.6276ZM0.263994 15.9912C-0.0874767 16.3426 -0.0874768 16.9125 0.263994 17.264L5.99156 22.9915C6.34303 23.343 6.91288 23.343 7.26435 22.9915C7.61582 22.6401 7.61582 22.0702 7.26435 21.7187L2.17318 16.6276L7.26435 11.5364C7.61582 11.1849 7.61582 10.6151 7.26435 10.2636C6.91288 9.91213 6.34303 9.91213 5.99156 10.2636L0.263994 15.9912Z' fill='%23fff'/%3E%3Cpath d='M0.900391 7.52756C0.403334 7.52756 0.000390692 7.12462 0.000390649 6.62756C0.000390605 6.13051 0.403334 5.72756 0.900391 5.72756L0.900391 6.62756L0.900391 7.52756ZM0.900391 6.62756L0.900391 5.72756L20.9004 5.72756L20.9004 6.62756L20.9004 7.52756L0.900391 7.52756L0.900391 6.62756ZM21.5368 5.99117C21.8883 6.34264 21.8883 6.91249 21.5368 7.26396L15.8092 12.9915C15.4578 13.343 14.8879 13.343 14.5364 12.9915C14.185 12.6401 14.185 12.0702 14.5364 11.7187L19.6276 6.62756L14.5364 1.53639C14.185 1.18492 14.185 0.615073 14.5364 0.263602C14.8879 -0.0878704 15.4577 -0.0878704 15.8092 0.263601L21.5368 5.99117Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.zso-product-page .zso-gallery-tools .btn:hover {
	box-shadow: inset 0 0 0 1px #c62624 !important;
}

/* образцы цвета: внутренний квадрат не должен выходить за рамку (тема делает его абсолютным) */
.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item {
	position: relative;
	min-height: 4.25rem !important;
	max-height: none !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt1 {
	position: relative !important;
}

.zso-product-page .product-main .sku_props .bx_item_detail_scu ul.list_values_wrapper li.item .cnt_item {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
}

/* «В корзину» / «В корзине»: показывается только одна из двух кнопок */
.zso-product-page .buy_block .to-cart.to-cart[style*="display: none"],
.zso-product-page .buy_block .to-cart.to-cart[style*="display:none"] {
	display: none !important;
}

.zso-product-page .buy_block .in-cart.in-cart:not([style*="display: none"]):not([style*="display:none"]) {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.5rem 1rem !important;
	background-color: #c62624 !important;
	border: 1px solid #c62624 !important;
	border-radius: 0.5rem !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	color: #fff !important;
}

.zso-product-page .buy_block .in-cart i.svg,
.zso-product-page .buy_block .in-cart svg {
	width: 1rem;
	height: 1rem;
	fill: #fff;
}

/* карточки товаров: при наведении высота внутренней обёртки не меняется (иначе кнопка «прыгает») */
.zso-product-page .goods .catalog_item .inner_wrap,
.zso-product-page .goods .catalog_item:hover .inner_wrap,
.zso-product-page .goods .catalog_item_wrapp:hover .inner_wrap,
.zso-product-page .goods .catalog_block.owl-carousel .catalog_item:hover .inner_wrap,
body .zso-product-page .goods .catalog_item:hover .inner_wrap,
body.zso-product-page .goods .catalog_item:hover .inner_wrap {
	height: 100% !important;
}

/* фото «Посмотреть вживую» */
.zso-showroom picture {
	display: contents;
}

/* вкладка «Характеристики»: тонкое начертание значений (как в блоке «Основные характеристики»), точки остаются */
.zso-product-page .tabs-block .char_name,
.zso-product-page .tabs-block .char_value,
.zso-product-page .tabs-block .char_value .js-prop-value,
.zso-product-page .tabs-block .props_item {
	font-weight: 400 !important;
}

/* при наведении тема убирает нижний внутренний отступ карточки (14 -> 0) — содержимое «прыгало» */
.zso-product-page .goods .catalog_item_wrapp,
.zso-product-page .goods .catalog_item_wrapp:hover,
.zso-product-page .goods .catalog_item:hover {
	padding-bottom: 1rem !important;
}

/* кнопка «В корзине»: вместо значка темы (тележка) — белая галочка */
.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart .svg.svg-inline-fw {
	position: static !important;
	top: auto !important;
	left: auto !important;
	order: -1;
	display: inline-block !important;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	transform: none !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 1.125rem no-repeat !important;
}

.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart .svg.svg-inline-fw svg {
	display: none !important;
}

/* «В корзине»: у надписи тема оставляет отступ слева под свой значок — убираем, расстояние до галочки задаёт gap */
.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart {
	gap: 0.5rem;
}

.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart > span {
	flex: none;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* «В корзине»: рамка значка по размеру самой галочки, чтобы отступы слева и справа были равны */
.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart {
	gap: 0.75rem;
}

.zso-product-page .product-container .counter_wrapp .button_block .btn.in-cart .svg.svg-inline-fw {
	width: 1rem;
	height: 0.7257rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3.8 6.3 16.4 11.9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") !important;
	background-position: center !important;
	background-size: 100% 100% !important;
}

/* ==========================================================================
   Списки товаров (разделы каталога): кнопка «Подробнее» всегда на всю ширину карточки,
   даже если скрипт темы не успел выставить ширину блока
   ========================================================================== */
.catalog_block .catalog_item .footer_button .offer_buy_block,
.catalog_block .catalog_item .footer_button .buys_wrapp {
	width: 100% !important;
	max-width: none;
}

.catalog_block .catalog_item .footer_button .btn.read_more {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	text-align: center;
}

/* товара нет в наличии: в фиксированной панели нет кнопок «В корзину» и «Купить в один клик» */
.zso-fixbar.is-unavailable .zso-fixbar__btn[data-act="cart"],
.zso-fixbar.is-unavailable .zso-fixbar__btn[data-act="oneclick"] {
	display: none !important;
}

/* ==========================================================================
   Фиксированная панель на телефоне: стоит под фиксированной шапкой сайта.
   Размеры и цвета (можно листать вбок) и кнопка «В корзину».
   ========================================================================== */
@media (max-width: 767px) {
	.zso-product-page .zso-fixbar {
		position: fixed;
		top: 4.5rem; /* точное значение подставляет скрипт по нижнему краю шапки */
		right: 0;
		left: 0;
		z-index: 1040;
		display: block !important;
		background-color: #fff;
		box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.12);
		transform: translateY(-140%);
		transition: transform 0.25s ease;
	}

	.zso-product-page .zso-fixbar.is-visible {
		transform: none;
	}

	/* нечего показывать (нет ни размеров, ни цветов, а товара нет в наличии) */
	.zso-product-page .zso-fixbar.is-unavailable:not(:has(.zso-fixbar__group)) {
		display: none !important;
	}

	.zso-fixbar .maxwidth-theme {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.zso-fixbar__row {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		min-height: 3.5rem;
		padding: 0.375rem 0;
	}

	.zso-fixbar__mob {
		display: none !important;
	}

	/* если у товара нет размеров и цветов — показываем название */
	.zso-product-page .zso-fixbar:not(:has(.zso-fixbar__group)) .zso-fixbar__title {
		display: block !important;
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		font-size: 1rem;
		font-weight: 800;
		line-height: 1.2;
		text-overflow: ellipsis;
		text-transform: uppercase;
		white-space: nowrap;
		color: #222;
	}

	.zso-fixbar__sku {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		gap: 0.75rem;
		min-width: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.zso-fixbar__sku::-webkit-scrollbar {
		display: none;
	}

	.zso-fixbar__group {
		flex: none;
	}

	.zso-fixbar__label {
		display: none;
	}

	.zso-fixbar__items {
		display: flex;
		gap: 0.3125rem;
	}

	.zso-fixbar__item {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 2.125rem;
		height: 2.125rem;
		padding: 0 0.25rem;
		background-color: #fff;
		border: 1px solid #e8e8e8;
		border-radius: 0.3125rem;
		font-size: 0.9375rem;
		line-height: 1;
		color: #676767;
		cursor: pointer;
	}

	.zso-fixbar__item.is-active {
		background-color: #c62624;
		border-color: #c62624;
		color: #fff;
	}

	.zso-fixbar__item.is-disabled {
		opacity: 0.4;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item {
		width: 2.375rem;
		min-width: 0;
		height: 2.375rem;
		padding: 0;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.zso-fixbar__group.is-color .zso-fixbar__item.is-active {
		background-color: #fff;
		border-color: #c62624;
	}

	.zso-fixbar__buttons {
		display: flex;
		flex: none;
	}

	.zso-fixbar__btn[data-act="cart"] {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 2.5rem;
		padding: 0 1rem;
		background-color: #c62624;
		border: 1px solid #c62624;
		border-radius: 0.5rem;
		font-size: 0.9375rem;
		font-weight: 600;
		line-height: 1;
		white-space: nowrap;
		color: #fff;
		cursor: pointer;
	}
}

/* Совсем узкие экраны (до 359 px): места в одну строку не хватает — кнопка «В корзину» идёт второй строкой */
@media (max-width: 359px) {
	.zso-fixbar__row {
		flex-wrap: wrap;
		row-gap: 0.5rem;
		padding: 0.5rem 0;
	}

	.zso-fixbar__sku,
	.zso-product-page .zso-fixbar:not(:has(.zso-fixbar__group)) .zso-fixbar__title {
		flex: 1 1 100%;
	}

	.zso-fixbar__buttons {
		flex: 1 1 100%;
	}

	.zso-fixbar__btn[data-act="cart"] {
		width: 100%;
	}

	.zso-fixbar.is-unavailable .zso-fixbar__buttons {
		display: none;
	}
}
