/* Карточка товара (ТЗ п.9–18) и FAQ раздела в листинге (п.6). Разметка — catalog/gc_product_blocks.php,
   local/php_interface/gc_product.php; скрипт — /js/gc-product.js. Цвета и радиусы — из действующих блоков
   сайта: коричневый #8a675f, текст #756b6b, плашки #f9f6f5, карточки — белые, радиус 25, мягкая тень. */

.gc-list-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ===== сводка рейтинга у H1: «★ 4,8 · 12 отзывов» ===== */
.product-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: #8a675f;
	font-size: 17px;
	text-decoration: none;
}
.product-rating__star {
	color: #f5b400;
	font-size: 20px;
	line-height: 1;
}
.product-rating__count {
	text-decoration: underline;
	text-decoration-color: rgba(138, 103, 95, .4);
	text-underline-offset: 3px;
}
.product-rating:hover .product-rating__count {
	text-decoration-color: currentColor;
}
.product-rating:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 3px;
	border-radius: 4px;
}

/* блоки под карточкой; подвал сайта заходит на контент на 60px (footer margin-top:-60px) — нужен запас снизу */
.product-extra {
	padding-bottom: 100px;
}
@media (max-width: 1023px) {
	.product-extra {
		padding-bottom: 80px;
	}
}

/* ===== вкладки ===== */
.product-tabs {
	margin: 30px 0 0;
	padding: 28px 40px 36px;
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 6px 15px rgba(156, 48, 14, .08);
	color: #756b6b;
}
.product-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0 0 24px;
	border-bottom: 1px solid #e9e4e2;
}
.product-tabs__tab {
	position: relative;
	margin: 0 0 -1px;
	padding: 12px 0 14px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: #8a675f;
	font: inherit;
	font-size: clamp(16px, 1.3vw, 20px);
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: color .15s, border-color .15s;
}
.product-tabs__tab:hover {
	color: #5e4640;
}
.product-tabs__tab.is-active {
	border-bottom-color: #8a675f;
	color: #5e4640;
}
.product-tabs__tab:focus {
	outline: none;
}
.product-tabs__tab:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
	border-radius: 4px;
}
.product-tabs__panel {
	display: none;
}
.product-tabs__panel.is-active {
	display: block;
}
.product-tabs__panel:focus {
	outline: none;
}
.product-tabs__panel:focus-visible {
	outline: 2px solid rgba(138, 103, 95, .4);
	outline-offset: 6px;
	border-radius: 6px;
}
/* H2 вкладки есть в DOM для поиска и экранных дикторов, на экране название — у самой вкладки */
.product-tabs__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	margin: 0;
}
.product-text {
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.55;
	color: #756b6b;
}
.product-text p {
	margin: 0 0 .8em;
}
.product-text ul,
.product-text ol {
	margin: 0 0 .8em;
	padding-left: 1.3em;
}
.product-text li {
	margin-bottom: .3em;
}
.product-text a,
.product-text__more a {
	color: #8a675f;
}
.product-text__more {
	margin: 12px 0 0;
	font-size: 16px;
}
/* оплата, доставка, гарантии: пункты — ровными строками от одного края с текстом (маркеры сайт снимает,
   а отступ списка оставался — строки «гуляли»), между пунктами тонкая линия */
.product-info-list ul,
.product-info-list ol {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}
.product-info-list li {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid rgba(138, 103, 95, .15);
}
.product-info-list li:first-child {
	padding-top: 0;
}
.product-info-list li strong {
	color: #5e4640;
	font-weight: 500;
}
.product-info-list p:last-child {
	margin-bottom: 0;
}
/* «Гарантии и возврат» — обычный текст: пункты с тире, как на странице условий, без разделительных линий */
.product-warranty-text ul {
	margin: 0 0 .8em;
	padding: 0;
	list-style: none;
}
.product-warranty-text li {
	position: relative;
	margin: 0 0 .3em;
	padding-left: 1.2em;
}
.product-warranty-text li::before {
	content: "—";
	position: absolute;
	left: 0;
}
/* таблицы из описания (наборы для переезда) рассчитаны на старую узкую колонку: width 150% */
.product-text table,
.product-text .pic {
	width: 100%;
	max-width: 100%;
}
@media (max-width: 767px) {
	.product-text .pic td {
		padding: 6px 4px;
		font-size: 13px;
	}
	.product-text .pic img {
		max-width: 56px;
	}
}
.product-text__note {
	margin: 0 0 .8em;
	padding-left: 12px;
	border-left: 3px solid #e2d6d3;
}

/* характеристики: «параметр — значение» */
.product-specs {
	width: 100%;
	max-width: 760px;
	border-collapse: collapse;
	font-size: clamp(15px, 1.2vw, 17px);
}
.product-specs th,
.product-specs td {
	padding: 11px 12px;
	border-bottom: 1px dashed #e9e4e2;
	text-align: left;
	vertical-align: top;
}
.product-specs th {
	width: 45%;
	padding-left: 0;
	font-weight: 400;
	color: #a08f8b;
}
.product-specs td {
	color: #5e4640;
}

/* пояснение «i» */
.spec-hint {
	position: relative;
	display: inline-block;
	margin-left: 6px;
	vertical-align: middle;
}
.spec-hint__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 1px solid rgba(138, 103, 95, .5);
	border-radius: 50%;
	background: #fff;
	color: #8a675f;
	font: italic 600 12px/1 Georgia, serif;
	cursor: help;
}
.spec-hint__btn::before { /* зона нажатия 40px на телефоне */
	content: "";
	position: absolute;
	inset: -10px;
}
.spec-hint__btn:focus {
	outline: none;
}
.spec-hint__btn:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
.spec-hint__text {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 20;
	width: max-content;
	max-width: 280px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #8a675f;
	color: #f9efeb;
	font-size: 14px;
	font-style: normal;
	line-height: 1.4;
	text-align: left;
	white-space: normal;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s;
	pointer-events: none;
}
.spec-hint__text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top-color: #8a675f;
}
@media (hover: hover) and (min-width: 1024px) {
	.spec-hint:hover .spec-hint__text,
	.spec-hint__btn:focus-visible + .spec-hint__text {
		opacity: 1;
		visibility: visible;
	}
}
.spec-hint.is-open .spec-hint__text {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
@media (max-width: 767px) {
	.spec-hint__text {
		left: auto;
		right: -40px;
		max-width: min(280px, calc(100vw - 48px));
		transform: none;
	}
	.spec-hint__text::after {
		left: auto;
		right: 43px;
	}
}

/* доставка: самовывоз + доставка */
.product-delivery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px 40px;
}
.product-delivery__title {
	margin: 0 0 10px;
	font-size: clamp(18px, 1.4vw, 22px);
	font-weight: 400;
	color: #8a675f;
}
.product-delivery__address {
	margin: 0 0 8px;
	font-size: 17px;
	color: #5e4640;
}
.product-delivery__hours {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	font-size: 16px;
}
.product-delivery__note {
	margin: 0;
	font-size: 14px;
	color: #a08f8b;
}
.product-delivery__map {
	margin: 16px 0 0;
	border-radius: 16px;
	overflow: hidden;
	background: #f9f6f5;
}
.product-delivery__map iframe {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
}

/* отзывы */
.product-stars {
	display: inline-flex;
	gap: 1px;
	font-size: 18px;
	line-height: 1;
	color: #e3d5cf;
}
.product-stars__star.is-on {
	color: #f5b400;
}
.product-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 20px;
}
.product-reviews__avg {
	font-size: 36px;
	line-height: 1;
	color: #5e4640;
}
.product-reviews__count {
	color: #a08f8b;
}
.product-reviews__list {
	display: grid;
	gap: 14px;
	margin-bottom: 24px;
}
.product-review {
	padding: 18px 22px;
	border-radius: 20px;
	background: #f9f6f5;
}
.product-review[hidden] {
	display: none;
}
/* страницы отзывов (по 5 на страницу): ‹ 1 2 … 9 10 › */
.product-reviews__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: -8px 0 24px;
}
.product-reviews__pager[hidden] {
	display: none;
}
.product-reviews__page {
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid rgba(138, 103, 95, .35);
	border-radius: 20px;
	background: #fff;
	color: #8a675f;
	font: inherit;
	font-size: 16px;
	line-height: 38px;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.product-reviews__page:hover:not(:disabled):not(.is-current) {
	border-color: #8a675f;
	background: var(--clr-bg-light, #fcf3f0);
}
.product-reviews__page.is-current {
	border-color: #8a675f;
	background: #8a675f;
	color: #fff;
	cursor: default;
}
.product-reviews__page:disabled {
	opacity: .35;
	cursor: default;
}
.product-reviews__page:focus {
	outline: none;
}
.product-reviews__page:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
.product-reviews__gap {
	min-width: 20px;
	color: #a59c9a;
	text-align: center;
}
.product-review__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 8px;
}
.product-review__name {
	font-size: 17px;
	color: #5e4640;
}
.product-review__date {
	margin-left: auto;
	font-size: 14px;
	color: #a08f8b;
}
.product-review__text {
	font-size: 16px;
	line-height: 1.5;
}
.product-reviews__empty {
	margin: 0 0 18px;
	font-size: 18px;
}
.product-reviews__add.btn {
	height: auto;
	min-height: 52px;
	padding: 12px 32px;
	white-space: normal;
}

/* форма отзыва */
.product-review-form {
	max-width: 640px;
	margin-top: 20px;
	padding: 24px 26px;
	border-radius: 20px;
	background: #f9f6f5;
}
.product-review-form[hidden] {
	display: none;
}
.product-review-form__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 400;
	color: #8a675f;
}
.product-review-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.product-review-form__row {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
}
.product-review-form__label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 15px;
	color: #756b6b;
}
.product-review-form__input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid rgba(138, 103, 95, .3);
	border-radius: 10px;
	background: #fff;
	color: #5e4640;
	font: inherit;
	font-size: 16px;
}
textarea.product-review-form__input {
	min-height: 120px;
	resize: vertical;
}
.product-review-form__input:focus {
	outline: none;
	border-color: #8a675f;
	box-shadow: 0 0 0 3px rgba(138, 103, 95, .15);
}
.product-review-form__input[aria-invalid="true"] {
	border-color: #c35c74;
}
.product-review-form__field-error,
.product-review-form__error {
	margin: 6px 0 0;
	font-size: 14px;
	color: #c35c74;
}
.product-review-form__done {
	margin: 16px 0;
	padding: 14px 18px;
	border-radius: 14px;
	background: #e3efe9;
	color: #4f7a6c;
	font-size: 16px;
}
.product-review-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
}
.product-review-form__consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #8a675f;
}
.product-review-form__consent a {
	color: #8a675f;
}
.product-review-form__message {
	min-height: 1em;
	margin: 0 0 10px;
	font-size: 15px;
	color: #8a675f;
}
.product-review-form__submit.btn {
	height: auto;
	min-height: 52px;
	padding: 12px 34px;
	white-space: normal;
}
.product-review-form__submit:disabled {
	opacity: .6;
}
.product-review-form__note {
	margin: 10px 0 0;
	font-size: 14px;
	color: #a08f8b;
}
/* звёзды-кнопки: radio в обратном порядке, подсветка «до этой» через ~ */
.rating-input {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 2px;
}
.rating-input__radio {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.rating-input__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #e3d5cf;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: color .1s;
}
.rating-input__radio:checked ~ .rating-input__star,
.rating-input__star:hover,
.rating-input__star:hover ~ .rating-input__star {
	color: #f5b400;
}
.rating-input__radio:focus-visible + .rating-input__star {
	outline: 2px solid #8a675f;
	outline-offset: -2px;
	border-radius: 6px;
}
.product-review-form__rating[aria-invalid="true"] .rating-input__star,
.rating-input__radio[aria-invalid="true"] + .rating-input__star {
	color: #f0c9d2;
}

/* ===== карточка товара на телефоне и планшете (до вкладок): одна колонка с общими краями, плотнее по вертикали =====
   У обёртки сайта поля 40px, а отдельные блоки вылезали из неё отрицательными отступами (таблица цен — .items-wrap
   −28px, «Стоимость тиража» −30px, комментарий — 90% по центру / 500px слева), поэтому края «гуляли».
   Телефон — края 16px, планшет (768–1023) — 24px и крупнее текст (ниже). Селекторы — сильнее сайтовых. */
@media (max-width: 1023px) {
	.wrap-card .breadcrumbs-box {
		padding: 0 6px;
	}
	.card-box.js-card-box {
		padding-left: 16px;
		padding-right: 16px;
	}
	.card-box .card-info-wrap {
		margin-left: -16px;
		margin-right: -16px;
	}
	.card-box .title-inner-wrap {
		margin: 0 0 12px;
	}
	.card-box h1.h1-title {
		font-size: 22px;
		line-height: 1.25;
	}
	.card-box .photos-slider-box {
		margin-bottom: 12px;
	}
	/* размеры — отдельной плашкой, наклейка «внутренние размеры» — справа (у материалов размеров нет — плашки нет) */
	.card-box .photos-info-inner-wrap:has(.size-wrap) {
		align-items: center;
		gap: 12px;
		margin: 0 16px 16px;
		padding: 12px 14px;
		border-radius: 16px;
		background: #f9f6f5;
	}
	.card-box .photos-info-inner-wrap:not(:has(.size-wrap, .elm-sticker)) {
		display: none;
	}
	.card-box .size-inner-wrap {
		flex: 1 1 auto;
		padding: 0;
	}
	.card-box .size-wrap {
		margin: 0 0 2px;
		font-size: 15px;
		line-height: 1.35;
	}
	.card-box .stickers-inner-wrap {
		flex: 0 0 auto;
	}
	.card-box .stickers-inner-wrap .sticker-sizes {
		padding: 6px 12px;
		font-size: 13px !important;
		line-height: 1.2;
	}
	.card-box .features-inner-wrap {
		padding: 0 0 4px;
	}
	.card-box .features-inner-wrap > .feature-row {
		margin: 0 0 8px;
	}
	.card-box .features-inner-wrap .feature-row.row-count {
		margin: 10px 0 6px;
		padding: 12px 0;
	}
	/* таблица цен — в колонке; шапка «При количестве / цена штуки» — по тексту строк */
	.card-box .features-inner-wrap .items-wrap.prices-wrapper {
		margin-left: 0;
		margin-right: 0;
	}
	.card-box .prices-container {
		width: auto;
	}
	.card-box .features-inner-wrap .feature-row.row-head {
		margin: 0 0 6px;
		padding: 0 14px 6px 26px;
	}
	.card-box .features-inner-wrap .frm-select-price label {
		min-height: 40px;
		padding: 8px 14px 8px 26px;
	}
	.card-box .features-inner-wrap .frm-select-price label::after {
		left: 8px;
	}
	.card-box .ext-info-wrap {
		padding: 12px 0 0;
	}
	.card-box .infos-inner-wrap {
		margin: 0 0 12px !important;
		padding: 16px 18px !important;
	}
	.card-box .frm-section-wrap.orderCommentInProduct {
		width: auto;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.wrap-card .breadcrumbs-box {
		padding: 0 14px;
	}
	.card-box.js-card-box {
		padding-left: 24px;
		padding-right: 24px;
	}
	.card-box .card-info-wrap {
		margin-left: -24px;
		margin-right: -24px;
	}
	.card-box h1.h1-title {
		font-size: 28px;
	}
	.card-box .photos-info-inner-wrap:has(.size-wrap) {
		margin: 0 24px 20px;
		padding: 14px 20px;
	}
	.card-box .size-wrap {
		font-size: 17px;
	}
	.card-box .stickers-inner-wrap .sticker-sizes {
		padding: 8px 16px;
		font-size: 16px !important;
	}
	.card-box .features-inner-wrap .feature-row .row-title,
	.card-box .features-inner-wrap .feature-row .row-value,
	.card-box .features-inner-wrap .frm-select-price label {
		font-size: 16px;
	}
	.card-box .features-inner-wrap .feature-row.row-head .row-title,
	.card-box .features-inner-wrap .feature-row.row-head .row-value {
		font-size: 15px;
	}
}

/* ===== карточка товара на компьютере (до вкладок): правый столбец от одного края, таблица цен в своих границах =====
   Было: название 46px в три строки и 76px под ним, строки характеристик и таблица цен вылезали за столбец
   (−20px, .items-wrap −48/−30px), «Стоимость тиража» — на 40px левее и с подъёмом −66px. */
@media (min-width: 1024px) {
	.card-box h1.h1-title {
		font-size: clamp(28px, 2.4vw, 36px);
		line-height: 1.2;
	}
	.card-box .title-inner-wrap {
		margin-bottom: 28px;
	}
	/* правый столбец — колонка с порядком блоков: «В избранное / Сравнить» встают под название
	   (в разметке они ниже — так на телефоне они после «Стоимости тиража», см. gc-lists.css) */
	.card-box .info-inner-wrap {
		display: flex;
		flex-direction: column;
	}
	.card-box .info-inner-wrap > .title-inner-wrap {
		order: 1;
	}
	.card-box .info-inner-wrap > .card-list-actions {
		order: 2;
		gap: 8px;
		margin: -14px 0 24px;
	}
	.card-box .info-inner-wrap > .features-inner-wrap {
		order: 3;
	}
	.card-box .info-inner-wrap > .ext-inner-wrap {
		order: 4;
	}
	.card-box .info-inner-wrap > .card-list-actions .card-list-btn {
		min-height: 38px;
		padding: 6px 14px;
		border-color: rgba(138, 103, 95, .35);
		border-radius: 19px;
		font-size: 15px;
	}
	.card-box .info-inner-wrap > .card-list-actions .card-list-btn svg {
		width: 18px;
		height: 18px;
	}
	.card-box .features-inner-wrap > .feature-row {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.card-box .rows-inner-wrap .rows-right-wrap .items-wrap.prices-wrapper {
		margin-left: 0;
		margin-right: 0;
	}
	.card-box .rows-inner-wrap .frm-select-price label {
		padding: 10px 18px 10px 42px;
	}
	.card-box .rows-inner-wrap .frm-select-price label::after {
		left: 16px;
	}
	.card-box .rows-inner-wrap .feature-row.row-head {
		padding: 0 18px 4px 42px;
	}
	.card-box .ext-inner-wrap {
		margin-left: 0;
	}
	.card-box .ext-info-wrap {
		padding: 16px 0 0 40px;
	}
	.card-box .infos-inner-wrap {
		margin-top: 0 !important;
	}
	/* размеры под фото: наклейка «внутренние размеры» — над серой плашкой по левому краю, размеры — в плашке по центру;
	   у материалов пусто — блока нет */
	.card-box .photos-info-inner-wrap:not(:has(.size-wrap, .elm-sticker)) {
		display: none;
	}
	.card-box .photos-info-inner-wrap:has(.size-wrap) {
		flex-direction: column;
		align-items: center;
		gap: 10px;
		margin: 0 0 0 32px;
		padding: 0;
		border: 0;
		background: none;
	}
	.card-box .photos-info-inner-wrap:has(.size-wrap) .size-inner-wrap {
		order: 1;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 4px;
		box-sizing: border-box;
		width: 100%;
		padding: 14px 20px;
		border-radius: 16px;
		background: #f9f6f5;
	}
	.card-box .photos-info-inner-wrap:has(.size-wrap) .stickers-inner-wrap {
		order: 0;
		align-self: flex-start;
		margin: 0;
		padding: 0;
		border: 0;
	}
	.card-box .photos-info-inner-wrap:has(.size-wrap) .stickers-inner-wrap::before,
	.card-box .photos-info-inner-wrap:has(.size-wrap) .stickers-inner-wrap::after {
		display: none;
	}
	.card-box .stickers-inner-wrap .sticker-sizes {
		padding: 6px 14px;
		font-size: 15px !important;
		line-height: 1.2;
	}
	/* комментарий и макет — во всю ширину левого столбца, как плашка размеров */
	.card-box .frm-section-wrap.orderCommentInProduct {
		max-width: none;
		margin-top: 20px;
		margin-right: 0;
	}
}

/* наклейка «внутренние размеры»: плашка выше строки текста (сайт задаёт ей высоту), лишнее уходило вниз —
   текст висел у верхнего края; центрируем содержимое по обеим осям (все экраны) */
.card-box .stickers-inner-wrap .elm-sticker.sticker-sizes {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 1;
}

/* ===== «С этим товаром покупают», «Похожие товары»: лента компактных карточек в одну строку (как в корзине) ===== */
.product-related {
	margin: 40px 0 0;
}
.product-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}
.product-related__title {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 36px);
	font-weight: 300;
	color: #8a675f;
}
/* стрелки — когда карточки не помещаются (класс is-scrollable ставит gc-product.js) */
.product-related__nav {
	display: none;
	flex: 0 0 auto;
	gap: 8px;
}
.product-related.is-scrollable .product-related__nav {
	display: flex;
}
.product-related__arrow {
	position: relative;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(138, 103, 95, .35);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, opacity .15s;
}
.product-related__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #8a675f;
	border-bottom: 2px solid #8a675f;
	transform: translate(-70%, -50%) rotate(-45deg);
}
.product-related__arrow--prev::before {
	transform: translate(-30%, -50%) rotate(135deg);
}
.product-related__arrow:hover:not(:disabled) {
	border-color: #8a675f;
	background: var(--clr-bg-light, #fcf3f0);
}
.product-related__arrow:disabled {
	opacity: .35;
	cursor: default;
}
.product-related__arrow:focus {
	outline: none;
}
.product-related__arrow:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
/* лента: 4 карточки на широком экране, 3 — на среднем, на телефоне — листается пальцем */
.product-related__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 16px) / 4);
	gap: 16px;
	margin: -10px -10px 0;
	padding: 10px 10px 24px; /* место под тень карточек */
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 10px;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.product-related__track::-webkit-scrollbar {
	display: none;
}
.related-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 16px 16px 14px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 15px 15px rgba(163, 108, 68, .04), 0 0 0 1px rgba(138, 103, 95, .08);
	scroll-snap-align: start;
	transition: box-shadow .15s;
}
.related-card:hover {
	box-shadow: 0 12px 24px rgba(138, 103, 95, .14), 0 0 0 1px rgba(138, 103, 95, .12);
}
.related-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.related-card__link:focus {
	outline: none;
}
.related-card__link:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
.related-card__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	margin: 0 0 12px;
}
.related-card__photo picture {
	display: contents;
}
.related-card__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
}
.related-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 500;
	color: #8a675f;
}
/* «Наполнитель цветной»: выбор цвета миниатюрами, как в корзине */
.related-card__colors {
	position: relative;
	z-index: 2; /* выше ссылки на карточку */
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 12px 0 0;
}
.related-card__color-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.related-card__color {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding: 4px;
	box-sizing: border-box;
	border: 2px solid transparent;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s;
}
.related-card__color img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.related-card__color:hover {
	border-color: rgba(138, 103, 95, .35);
}
.related-card__color-input:checked + .related-card__color {
	border-color: #8a675f;
}
.related-card__color-input:focus-visible + .related-card__color {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
.related-card__color-name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.related-card__article {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.3;
	color: #a59c9a;
}
.related-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
}
.related-card__article {
	margin-bottom: auto; /* счётчик и цена — всегда внизу карточки */
}
.related-card__price {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 500;
	color: #8a675f;
	white-space: nowrap;
}
.related-card__price--none {
	font-size: 15px;
	font-weight: 400;
	color: #a59c9a;
}
/* количество — штатный счётчик сайта (⊖ — 1 — ⊕), выше ссылки на карточку */
.related-card__counter {
	position: relative;
	z-index: 2;
	margin-top: 16px;
}
/* корзина — штатная иконка сайта «корзина с плюсом» (по умолчанию 12rem — здесь компактнее);
   наведение и «уже в корзине» (класс active) — розовый круг, как в листинге */
.related-card__cart.btn-action-ico.ico-cart-main {
	z-index: 2;
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	margin: -6px -12px -6px 0;
}
.related-card__cart:focus {
	outline: none;
}
.related-card__cart:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
}
@media (max-width: 1299px) {
	.product-related__track {
		grid-auto-columns: calc((100% - 2 * 16px) / 3);
	}
}
@media (max-width: 1023px) {
	/* телефон и планшет: лента на всю ширину экрана, листается пальцем, стрелки не нужны */
	.product-related__nav,
	.product-related.is-scrollable .product-related__nav {
		display: none;
	}
	.product-related__track {
		grid-auto-columns: min(46%, 240px);
		gap: 12px;
		margin: -10px calc(-1 * var(--paddingContainer, 10px)) 0;
		padding: 10px var(--paddingContainer, 10px) 20px;
		scroll-padding: 0 var(--paddingContainer, 10px);
	}
	.related-card {
		padding: 12px 12px 12px;
	}
	.related-card__photo {
		height: 120px;
	}
	.related-card__photo img {
		max-height: 120px;
	}
	.related-card__title {
		font-size: 15px;
	}
	.related-card__price {
		font-size: 18px;
	}
}

/* CTA карточки — последний коммерческий блок перед подвалом */
.product-cta {
	margin-top: 40px;
}

/* ===== FAQ раздела каталога (листинг, после SEO-текста) — аккордеон, ответы в DOM ===== */
.catalog-faq {
	margin: 40px 0 100px; /* подвал заходит на контент на 60px — запас снизу */
}
@media (max-width: 1023px) {
	.catalog-faq {
		margin-bottom: 80px;
	}
}
/* блок стоит перед SEO-текстом — запас под подвал нужен уже не ему, а SEO-тексту */
.catalog-faq:has(~ .article-box) {
	margin-bottom: 40px;
}
.catalog-faq__title {
	margin: 0 0 18px;
	font-size: clamp(24px, 2.4vw, 36px);
	font-weight: 300;
	color: #8a675f;
}
.catalog-faq__list {
	display: grid;
	gap: 12px;
}
.catalog-faq__item {
	border-radius: 20px;
	background: #f9f6f5;
}
.catalog-faq__question {
	position: relative;
	display: block;
	padding: 18px 56px 18px 24px;
	color: #545454;
	font-size: clamp(16px, 1.3vw, 20px);
	font-weight: 500;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
	transition: color .15s;
}
.catalog-faq__question::-webkit-details-marker {
	display: none;
}
.catalog-faq__question::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 24px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.catalog-faq__item[open] .catalog-faq__question::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
.catalog-faq__question:hover,
.catalog-faq__item[open] .catalog-faq__question {
	color: #8a675f;
}
.catalog-faq__question:focus {
	outline: none;
}
.catalog-faq__question:focus-visible {
	outline: 2px solid #8a675f;
	outline-offset: 2px;
	border-radius: 20px;
}
.catalog-faq__answer {
	padding: 0 24px 20px;
	color: #756b6b;
	font-size: clamp(14px, 1.2vw, 18px);
	line-height: 1.55;
}
.catalog-faq__answer p {
	margin: 0 0 .7em;
}
.catalog-faq__answer ul,
.catalog-faq__answer ol {
	margin: 0 0 .7em;
	padding-left: 1.3em;
}
.catalog-faq__answer a {
	color: #8a675f;
}

@media (max-width: 767px) {
	.product-tabs {
		margin-top: 20px;
		padding: 18px 16px 24px;
		border-radius: 20px;
	}
	/* вкладки не прокручиваются вбок: переносятся на несколько строк, по центру */
	.product-tabs__list {
		justify-content: center;
		gap: 2px 18px;
	}
	.product-tabs__tab {
		padding: 10px 0 11px;
		font-size: 16px;
	}
	.product-specs th {
		width: 50%;
	}
	.product-review {
		padding: 14px 16px;
	}
	.product-review__date {
		margin-left: 0;
		width: 100%;
	}
	.product-review-form {
		padding: 18px 14px;
	}
	.catalog-faq__question {
		padding: 16px 48px 16px 18px;
	}
	.catalog-faq__question::after {
		right: 20px;
	}
	.catalog-faq__answer {
		padding: 0 18px 16px;
	}
}
