body,
html {
	color: #000;
}
.elementor-kit-9 a {
	font-family:
		'LT Superior',
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		'Helvetica Neue',
		Arial,
		sans-serif !important;
}
/**
 * Стили страницы товара (по прототипу project).
 * Accordion без Bootstrap: native details/summary.
 */

.single-product .site-content,
.single-product .content-area,
.single-product #primary {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.single-product .site-content__wrap {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.shusha-pdp {
	width: 100%;
	font-family:
		'LT Superior',
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		'Helvetica Neue',
		Arial,
		sans-serif !important;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

.shusha-pdp .product-price,
.shusha-pdp .product-price__current,
.shusha-pdp .product-title,
.shusha-pdp .product-description,
.shusha-pdp .product-inner,
.shusha-pdp .shusha-pdp-products__title,
.shusha-pdp .shusha-pdp-below__title
 {
	font-family: inherit;
}
.shusha-pdp-below__title {
	font-family: inherit !important;
}

.product-material__title {
	font-family: inherit !important;
}
.shusha-pdp .product-wrapper {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, 1fr);
}

@media (width <= 992px) {
	.shusha-pdp .product-wrapper {
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: 0;
	}
}

/* Gallery */
.shusha-pdp .product-gallery {
	display: grid;
	max-width: 960px;
	width: 100%;
	grid-template-columns: clamp(120px, 20%, 190px) minmax(0, 1fr);
	gap: 5px;
	min-width: 0;
	min-height: 0;
	height: calc(100dvh - 60px);
	overflow: hidden;
}

.shusha-pdp .product-gallery--single {
	grid-template-columns: minmax(0, 1fr);
}

@media (width <= 992px) {
	.shusha-pdp .product-gallery {
		max-width: 100%;
	}
}
@media (width <= 480px) {
	.shusha-pdp .product-gallery {
		height: calc(80dvh - 60px);
	}
}

.shusha-pdp .product-gallery__thumbs {
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.shusha-pdp .product-gallery .thumbs-swiper,
.shusha-pdp .product-gallery .product-swiper {
	width: 100%;
	min-width: 0;
	height: 100%;
	min-height: 0;
}

.shusha-pdp .product-gallery .thumbs-swiper .swiper-wrapper,
.shusha-pdp .product-gallery .product-swiper .swiper-wrapper,
.shusha-pdp .product-gallery .product-swiper .swiper-slide {
	height: 100%;
	min-height: 0;
}

.shusha-pdp .product-gallery .thumbs-swiper .swiper-slide {
	cursor: pointer;
	overflow: hidden;
}

.shusha-pdp .product-gallery .thumbs-swiper img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shusha-pdp .product-gallery .product-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.shusha-pdp .product-gallery .product-swiper img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.shusha-pdp .product-gallery .product-swiper {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.shusha-pdp .product-gallery .product-swiper img {
	cursor: zoom-in;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-prev,
.shusha-pdp .product-gallery .product-swiper .swiper-button-next {
	top: 0;
	margin-top: 0;
	width: 50px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	display: flex;
	align-items: center;
	cursor: pointer;
	z-index: 10;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-prev {
	left: 0;
	justify-content: flex-start;
	padding-left: 20px;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-next {
	right: 0;
	justify-content: flex-end;
	padding-right: 20px;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-prev::after,
.shusha-pdp .product-gallery .product-swiper .swiper-button-next::after {
	display: none;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-prev > svg,
.shusha-pdp .product-gallery .product-swiper .swiper-button-next > svg {
	display: block;
	width: 10px;
	height: 20px;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
	pointer-events: none;
}

.shusha-pdp .product-gallery .product-swiper .swiper-button-disabled {
	opacity: 0.35;
}

.shusha-pdp .product-gallery .product-swiper .swiper-pagination-bullet {
	opacity: 0.65;
	background: #fff;
	width: 6px;
	height: 6px;
}

.shusha-pdp .product-gallery .product-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}

.shusha-pdp .product-gallery .product-swiper .swiper-pagination {
	display: none;
}

@media (width <= 768px) {
	.shusha-pdp .product-gallery {
		grid-template-rows: minmax(0, 4fr) minmax(0, 1fr);
		grid-template-columns: minmax(0, 1fr);
		height: 75svh;
	}

	.shusha-pdp .product-gallery--single {
		grid-template-rows: minmax(0, 1fr);
	}

	.shusha-pdp .product-gallery__thumbs {
		grid-row: 2;
	}

	.shusha-pdp .product-gallery .product-swiper {
		grid-row: 1;
	}

	.shusha-pdp .product-gallery .product-swiper .swiper-pagination {
		display: block;
	}

	.shusha-pdp .product-gallery .thumbs-swiper .swiper-slide {
		height: auto !important;
	}
}

/* Details */
.shusha-pdp .product-details {
	display: flex;
	justify-content: center;
}

.shusha-pdp .product-inner {
	display: flex;
	flex-direction: column;
	gap: 50px;
	width: 100%;
	max-width: 500px;
	padding: 50px 0 0;
	box-sizing: border-box;
}

@media (width <= 1200px) {
	.shusha-pdp .product-inner {
		max-width: 800px;
		padding: 50px 50px 0;
	}
}

@media (width <= 768px) {
	.shusha-pdp .product-inner {
		padding: 50px 40px 0 40px;
	}
}

/* Как в прототипе: font-size:20px; жирность — как у h2 по умолчанию (bold → LT Superior Bold). */
.shusha-pdp .product-title,
.shusha-pdp h2.product-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: inherit;
}

.shusha-pdp .product-price {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 20px;
	margin: 0;
}

.shusha-pdp .product-price__current {
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.shusha-pdp .product-price .amount,
.shusha-pdp .product-price .woocommerce-Price-amount,
.shusha-pdp .product-price .woocommerce-Price-currencySymbol {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/* Старая цена при скидке: линия и текст #B90715, не коралловый $wc-red-color родителя */
.shusha-pdp .product-price__current del,
.shusha-pdp .product-price__current del .woocommerce-Price-amount,
.shusha-pdp .product-price__current del .woocommerce-Price-amount.amount,
.shusha-pdp .product-price__current del .woocommerce-Price-currencySymbol {
	color: #b90715 !important;
	text-decoration-color: #b90715;
}
.shusha-pdp .product-price__current del {
	margin-right: 8px;
}

.shusha-pdp .product-price__payments,
.shusha-pdp .product-price .digi-dolyame-button,
.shusha-pdp .product-price [class*='dolyame'] {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 16px;
	text-decoration: underline;
	cursor: pointer;
	color: inherit;
}

.shusha-pdp .product-description {
	margin: 0;
	font-size: 16px;
	line-height: normal;
}

/* Material */
.shusha-pdp .product-material {
	margin: 0;
}

.shusha-pdp .product-material__title {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
	text-transform: lowercase;
	color: #000;
}

.shusha-pdp .product-material__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Как в эталоне: текст + underline у активного, без «пилюль» */
.shusha-pdp .product-material__item,
.shusha-pdp .product-material__item a,
.shusha-pdp .product-material__item span {
	display: inline;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16px;
	font-family:
		'LT Superior',
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		'Helvetica Neue',
		Arial,
		sans-serif !important;
	line-height: 1.3;
	text-decoration: none;
	color: #000;
	cursor: pointer;
	box-sizing: border-box;
}

.shusha-pdp .product-material__item:hover,
.shusha-pdp .product-material__item:hover a {
	text-decoration: underline;
	color: #558168;
}

.shusha-pdp .product-material__item--active,
.shusha-pdp .product-material__item--active span,
.shusha-pdp .product-material__item--active a {
	color: #558168;
	background: transparent;
	border: 0;
	text-decoration: underline;
}

.shusha-pdp .product-material__item--active:hover,
.shusha-pdp .product-material__item--active:hover span,
.shusha-pdp .product-material__item--active:hover a {
	color: #558168;
	background: transparent;
	border: 0;
	text-decoration: underline;
}

/* Accordion (details/summary) */
.shusha-pdp .product-accordion {
	margin: 0 0 50px 0;
	border: 0;
}

.shusha-pdp .product-accordion + .product-accordion {
	margin-top: 0;
}

.shusha-pdp .product-accordion__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	list-style: none;
}

.shusha-pdp .product-accordion__summary::-webkit-details-marker {
	display: none;
}

.shusha-pdp .product-accordion__summary::before {
	content: '';
	flex: none;
	width: 9px;
	height: 5px;
	background: center / 9px 5px no-repeat url('../images/chevron.svg');
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.shusha-pdp .product-accordion[open] > .product-accordion__summary::before {
	transform: none;
}

.shusha-pdp .product-accordion__hint {
	margin-left: auto;
	font-size: 13px;
	font-weight: 400;
	text-decoration: underline;
	color: #000;
}
.shusha-pdp .product-accordion__hint:hover {
	color: #558168;
}

.shusha-pdp .product-accordion__body {
	padding: 30px 0 0;
	font-size: 16px;
	line-height: normal;
}

.shusha-pdp .product-accordion__body p:last-child {
	margin-bottom: 0;
}

/* Размер — как в прототипе project: сетка 7 колонок, текст + underline */
.shusha-pdp .product-size {
	margin: 0;
}

.shusha-pdp .product-size__target {
	display: flex;
	align-items: center;
	width: 100%;
}

.shusha-pdp .product-size__list {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shusha-pdp .product-size__item {
	display: block;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 14px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	user-select: none;
}

.shusha-pdp .product-size__item:hover {
	text-decoration: underline;
}

.shusha-pdp .product-size__item--active {
	color: #558168;
	background: transparent;
	border: 0;
	text-decoration: underline;
}

.shusha-pdp .product-size__item--disabled {
	opacity: 0.35;
	pointer-events: none;
	text-decoration: none;
}

@media (width <= 480px) {
	.shusha-pdp .product-size__list {
		grid-template-columns: repeat(5, 1fr);
		gap: 12px;
	}
}

/* Скрытые WC-select для вариаций (класс .variations нужен JS WC) */
.shusha-pdp .shusha-pdp-variations-native,
.shusha-pdp .variations.shusha-pdp-variations-native,
.shusha-pdp form.cart .variations.shusha-pdp-variations-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	display: block !important;
	visibility: hidden !important;
}

/* Expand / upsells */
.shusha-pdp .product-expand {
	width: 100%;
	max-width: 400px;
	margin: 0;
}

.shusha-pdp .product-expand__title {
	margin: 0 0 31px;
	font-size: 16px;
	font-weight: 700;
	text-transform: lowercase;
}

.shusha-pdp .product-expand__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shusha-pdp .product-expand__item {
	display: flex;
	position: relative;
	height: 100%;
	min-height: 248px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 10px;
	border: 1px solid transparent;
	cursor: pointer;
}

.shusha-pdp .product-expand__item:not(.product-expand__item--active):hover {
	border-color: #b2b2b2;
}

.shusha-pdp .product-expand__item--active {
	border-color: #000;
}

.shusha-pdp .product-expand__item--active::after {
	content: '✓';
	position: absolute;
	top: -13px;
	right: -13px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid #b8b8b8;
	border-radius: 50%;
	color: #8db7a1;
	background: #fff;
	font-size: 14px;
	line-height: 1;
}

.shusha-pdp .product-expand__image {
	display: block;
	max-width: 150px;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.shusha-pdp .product-expand__subtitle {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	text-align: center;
}

.shusha-pdp .product-expand__price {
	margin-top: auto;
}

@media (width <= 480px) {
	.shusha-pdp .product-expand__list {
		display: flex;
		flex-direction: column;
	}

	.shusha-pdp .product-expand__image {
		max-width: 230px;
	}

	.shusha-pdp .product-expand__subtitle,
	.shusha-pdp .product-expand__price {
		font-size: 14px;
	}
}

/* Pair checkbox */
.shusha-pdp .product-pair {
	display: flex;
	min-height: 20px;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.shusha-pdp .product-pair .form-check-input {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #000;
	border-radius: 0;
	cursor: pointer;
	appearance: none;
	background: #fff;
}

.shusha-pdp .product-pair .form-check-input:checked {
	border-color: #000;
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 8l3 3 7-7'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}

.shusha-pdp .product-pair .form-check-input:focus {
	outline: none;
	box-shadow: none;
	border-color: #000;
}

.shusha-pdp .product-pair .form-check-label {
	margin: 0;
	line-height: 20px;
	cursor: pointer;
}

/* Purchase form: WAPO/expand/pair сверху, ряд ATC+wishlist снизу */
.shusha-pdp .product-purchase {
	margin: 0;
}

.shusha-pdp .shusha-pdp-atc-form {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin: 0;
}

.shusha-pdp .shusha-pdp-atc-form > #yith-wapo-container,
.shusha-pdp .shusha-pdp-atc-form > .product-expand,
.shusha-pdp .shusha-pdp-atc-form > .product-upload {
	margin-bottom: 50px;
}

.shusha-pdp .shusha-pdp-expand-inputs,
.shusha-pdp #yith-wapo-container:empty {
	display: none;
}

/* Accordion загрузки фото: форма YITH внутри */
.shusha-pdp .product-upload[hidden] {
	display: none !important;
}

.shusha-pdp .product-upload .product-upload__hint {
	margin-bottom: 16px;
}

.shusha-pdp .product-upload .product-upload__hint p {
	margin: 0 0 8px;
}

.shusha-pdp .product-upload .product-upload__hint p:last-child {
	margin-bottom: 0;
}

/* Прячем дублирующий заголовок блока YITH внутри accordion */
.shusha-pdp .product-upload .yith-wapo-addon-title,
.shusha-pdp .product-upload .wapo-addon__title,
.shusha-pdp .product-upload .wapo-addon-title,
.shusha-pdp .product-upload .yith-wapo-block-title,
.shusha-pdp .product-upload .wapo-addon-description {
	display: none;
}

/* Страховка от нативной кнопки file input при изменении CSS YITH. */
.shusha-pdp .product-upload .yith-wapo-addon-type-file input.file {
	display: none;
}

/* YITH product-addons: вписываем в колонку деталей */
.shusha-pdp #yith-wapo-container {
	width: 100%;
}

.shusha-pdp #yith-wapo-container .yith-wapo-addon-type-product .options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.shusha-pdp
	#yith-wapo-container
	.yith-wapo-addon-type-product
	.yith-wapo-option {
	margin: 0;
}

.shusha-pdp
	#yith-wapo-container
	.yith-wapo-addon-type-product
	.yith-wapo-option
	label {
	width: 100%;
	box-sizing: border-box;
}

/* Cart + wishlist — как в прототипе: 350×50 + 50×50, общий контур, border-left у сердца нет */
.shusha-pdp .product-cart {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	width: 100%;
	max-width: 400px;
	position: relative;
}

.shusha-pdp .product-cart:has(a.added_to_cart) {
	padding-bottom: 28px;
}

.shusha-pdp .product-cart__actions {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	width: 350px;
	max-width: calc(100% - 50px);
	min-height: 50px;
}

.shusha-pdp .product-cart .single_variation_wrap,
.shusha-pdp .product-cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex: 1;
	align-items: center;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0 !important;
	position: static;
	gap: 0;
}

.shusha-pdp .product-cart .woocommerce-variation,
.shusha-pdp .product-cart .woocommerce-variation-price,
.shusha-pdp .product-cart .woocommerce-variation-description,
.shusha-pdp .product-cart .woocommerce-variation-availability,
.shusha-pdp .product-cart .stock,
.shusha-pdp .woocommerce-variation-availability,
.shusha-pdp p.stock,
.shusha-pdp .stock {
	display: none !important;
}

/* Default: чёрный бордер + чёрный текст (прототип .btn) */
.shusha-pdp .product-cart__btn,
.shusha-pdp .product-cart .single_add_to_cart_button,
.shusha-pdp .product-cart .single_add_to_cart_button.button,
.shusha-pdp .product-cart .single_add_to_cart_button.alt,
.shusha-pdp .product-cart .gift_card_add_to_cart_button {
	display: flex !important;
	flex: 1;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 100%;
	max-width: none;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	/* appearance:none — без UA-сдвига; 5px сверху — компенсация font descender у CAPS LT Superior */
	padding: 5px 16px 0 !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	color: #000 !important;
	font-family: inherit;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition:
		background 0.3s ease-in-out,
		color 0.3s ease-in-out,
		border-color 0.3s ease-in-out;
	opacity: 1 !important;
}

.shusha-pdp .product-cart .single_add_to_cart_button::-moz-focus-inner,
.shusha-pdp .product-cart .gift_card_add_to_cart_button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* Hover (не в корзине): чёрная заливка + белый текст */
.shusha-pdp
	.product-cart
	.single_add_to_cart_button:hover:not(.disabled):not(
		.product-cart__btn--active
	),
.shusha-pdp
	.product-cart
	.single_add_to_cart_button:focus:not(.disabled):not(
		.product-cart__btn--active
	) {
	color: #fff !important;
	background: #000 !important;
	border-color: #000 !important;
}

/* В корзине: зелёная заливка #558168 (прототип $success) */
.shusha-pdp .product-cart .single_add_to_cart_button.product-cart__btn--active,
.shusha-pdp
	.product-cart
	.single_add_to_cart_button.product-cart__btn--active:hover,
.shusha-pdp
	.product-cart
	.single_add_to_cart_button.product-cart__btn--active:focus,
.shusha-pdp .product-cart .single_add_to_cart_button.added,
.shusha-pdp .product-cart .single_add_to_cart_button.added:hover {
	color: #fff !important;
	background: #558168 !important;
	border-color: #558168 !important;
}

/*
 * «Просмотр корзины» вынимаем из flex-ряда ATC+избранное.
 */
.shusha-pdp .product-cart a.added_to_cart,
.shusha-pdp .product-cart .added_to_cart {
	position: absolute;
	left: 0;
	top: 50px;
	z-index: 1;
	display: inline-block;
	width: auto;
	max-width: calc(100% - 50px);
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #558168;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	text-decoration: underline;
	text-transform: none;
}

/* Убираем иконки корзины из темы Kava/Woo на кнопке ATC */
.shusha-pdp .product-cart .single_add_to_cart_button::before,
.shusha-pdp .product-cart .single_add_to_cart_button::after {
	content: none !important;
	display: none !important;
}

/* Кол-во на PDP не показываем — в корзину всегда qty=1 из скрытого input WC */
.shusha-pdp .quantity,
.shusha-pdp .product-cart .quantity,
.shusha-pdp .woocommerce-variation-add-to-cart .quantity,
.shusha-pdp form.cart .quantity {
	display: none !important;
}

.shusha-pdp .shusha-pdp-variations-form table.variations,
.shusha-pdp .shusha-pdp-variations-form .reset_variations {
	display: none !important;
}

.shusha-pdp form.shusha-pdp-variations-form {
	position: relative;
}

.shusha-pdp .product-cart .favorite-button-wrap,
.shusha-pdp .product-cart > .jet-wishlist-button__container,
.shusha-pdp .product-cart .jet-cw {
	flex: none;
	display: flex;
	align-items: stretch;
	align-self: center;
	margin: 0;
	padding: 0;
	height: 50px;
	width: 50px;
}

.shusha-pdp .product-cart .favorite-button,
.shusha-pdp .product-cart .jet-wishlist-button__link {
	display: flex;
	position: relative;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 50px;
	min-width: 50px;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #000 !important;
	border-left: none !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #000 !important;
	font-size: 16px;
	line-height: 1;
	text-decoration: none !important;
	text-transform: none;
	vertical-align: middle;
	transition:
		color 0.3s ease-in-out,
		background 0.3s ease-in-out;
	cursor: pointer;
}

.shusha-pdp
	.product-cart
	.jet-wishlist-button__link
	.jet-wishlist-button__label,
.shusha-pdp
	.product-cart
	.jet-wishlist-button__link
	.jet-wishlist-button__plane,
.shusha-pdp
	.product-cart
	.jet-wishlist-button__link
	.jet-wishlist-button__state {
	display: none !important;
}

/* Канон: images/favorites/ — gray outline / black solid / red hover */
.shusha-pdp .product-cart .favorite-button::before,
.shusha-pdp .product-cart .jet-wishlist-button__link::before {
	content: '';
	display: block;
	width: 17px;
	height: 16px;
	background: center / contain no-repeat
		url('../../../images/favorites/heart-outline-gray.svg');
}

.shusha-pdp .product-cart .favorite-button--active::before,
.shusha-pdp .product-cart .jet-wishlist-button__link.added-to-wishlist::before {
	background-image: url('../../../images/favorites/heart-solid-black.svg');
}

.shusha-pdp .product-cart .favorite-button:hover,
.shusha-pdp .product-cart .jet-wishlist-button__link:hover {
	color: #b90715;
}

.shusha-pdp .product-cart .favorite-button:hover::before,
.shusha-pdp .product-cart .jet-wishlist-button__link:hover::before,
.shusha-pdp .product-cart .favorite-button--active:hover::before,
.shusha-pdp
	.product-cart
	.jet-wishlist-button__link.added-to-wishlist:hover::before {
	background-image: url('../../../images/favorites/heart-solid-red.svg');
}

/* Info accordion stack */
.shusha-pdp .product-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 395px;
	max-width: 100%;
}

.shusha-pdp .product-info .product-accordion {
	margin-bottom: 0;
}

/* Below fold */
.shusha-pdp-below {
	padding: 100px max(40px, calc((100vw - 1500px) / 2));
	max-width: none;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.shusha-pdp-below__title {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	text-align: center;
	text-transform: uppercase;
}

.shusha-pdp-products + .shusha-pdp-products {
	margin-top: 100px;
}

/* Горизонтальная карусель — как Jet Woo carousel на PROD */
.shusha-pdp-products__carousel {
	width: 100%;
}

.shusha-pdp-products__swiper {
	width: 100%;
	padding: 60px 40px;
	overflow: hidden;
}

.shusha-pdp-products__pagination {
	position: static;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 0;
}

.shusha-pdp-products__pagination.swiper-pagination-lock,
.shusha-pdp-products__pagination:empty {
	display: none;
}

.shusha-pdp-products__pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0;
	opacity: 0.35;
	background: #000;
	border-radius: 50%;
	cursor: pointer;
}

.shusha-pdp-products__pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

/* 2 / 4 карточки по ширине карусели (не окна) — как Jet carousel на PROD */
.shusha-pdp-products__swiper .shusha-pdp-products__item {
	width: calc((100% - 20px) / 2);
	height: auto;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.shusha-pdp-products__swiper .shusha-pdp-products__item {
		width: calc((100% - 60px) / 4);
	}
}

@media (width <= 1200px) {
	.shusha-pdp-below {
		padding: 80px 40px;
	}
}

@media (width <= 768px) {
	.shusha-pdp-below {
		padding: 70px 20px;
	}

	.shusha-pdp-products__swiper {
		padding: 40px 0;
		overflow: visible;
	}
}

@media (width <= 768px) {
	.shusha-pdp .product-cart {
		max-width: 100%;
	}

	.shusha-pdp .product-cart__actions {
		width: auto;
		flex: 1;
		max-width: none;
	}

	.shusha-pdp .product-cart__btn,
	.shusha-pdp .product-cart .single_add_to_cart_button,
	.shusha-pdp .product-cart .gift_card_add_to_cart_button {
		width: 100%;
		max-width: none;
	}
}

/* Выезжающая панель «как определить размер» — без Bootstrap offcanvas */
.product-size-guide {
	position: fixed;
	inset: 0;
	z-index: 10050;
	visibility: hidden;
	pointer-events: none;
}

.product-size-guide.is-open {
	visibility: visible;
	pointer-events: auto;
}

.product-size-guide__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.product-size-guide.is-open .product-size-guide__overlay {
	opacity: 1;
}

.product-size-guide__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 50%;
	max-width: 100%;
	height: 100%;
	background: #fff;
	border-left: 1px solid #e5e5e5;
	transform: translateX(100%);
	transition: transform 0.35s ease;
}

.product-size-guide.is-open .product-size-guide__panel {
	transform: translateX(0);
}

.product-size-guide__header {
	flex: none;
	padding: clamp(80px, 12vh, 140px) 16% 8px;
	text-align: center;
}

.product-size-guide__title {
	margin: 0 0 24px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
}

.product-size-guide__close,
.product-size-guide__close:hover,
.product-size-guide__close:focus,
.product-size-guide__close:focus-visible {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	outline: none;
	box-shadow: none !important;
	background: transparent;
	appearance: none;
	cursor: pointer;
}

.product-size-guide__close::before,
.product-size-guide__close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 1px;
	background: #000;
}

.product-size-guide__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.product-size-guide__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.product-size-guide__body {
	flex: 1;
	overflow-y: auto;
	padding: 0 16% 48px;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.product-size-guide__body h1,
.product-size-guide__body .elementor-widget-heading:has(h1),
.product-size-guide__body .elementor-widget-theme-post-title,
.product-size-guide__body .elementor-page-title {
	display: none;
}

.product-size-guide__body img {
	max-width: 100%;
	height: auto;
}

.product-size-guide__body .elementor-section .elementor-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.product-size-guide__body > .elementor > .e-con.e-parent,
.product-size-guide__body > .elementor > .e-con.e-parent > .e-con-inner {
	padding-top: 0 !important;
	margin-top: 0 !important;
	--padding-top: 0px;
	--padding-block-start: 0px;
}

.product-size-guide__body .elementor-widget-wrap,
.product-size-guide__body .elementor-widget-container {
	text-align: center;
}

body.shusha-size-guide-open {
	overflow: hidden;
}

/* Лайтбокс Elementor-галереи — поверх панели, иначе фото открывается под ней */
body.shusha-size-guide-open .elementor-lightbox,
body.shusha-size-guide-open .dialog-type-lightbox.elementor-lightbox,
body.shusha-size-guide-open .dialog-lightbox-widget {
	z-index: 11000 !important;
}

@media (width <= 768px) {
	.product-size-guide__panel {
		width: 100%;
		border-left: 0;
	}

	.product-size-guide__header {
		padding: 72px 32px 8px;
	}

	.product-size-guide__body {
		padding-left: 32px;
		padding-right: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-size-guide__overlay,
	.product-size-guide__panel {
		transition: none;
	}
}

/* Hide default WC chrome we replace */
.shusha-pdp .woocommerce-product-gallery,
.single-product.shusha-pdp-active .woocommerce-breadcrumb {
	display: none;
}

/* YITH Gift Cards: штатный UI плагина в колонке деталей, без подмены номиналов */
.shusha-pdp .shusha-pdp-gift-card,
.shusha-pdp form.gift-cards_form {
	width: 100%;
	margin: 0;
}

/* Номиналы — как pills размера: сетка, текст, underline, без рамок YITH */
.shusha-pdp .gift-cards-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
	margin: 0 0 30px;
	padding: 0;
	font-size: 14px;
}

.shusha-pdp .gift-cards-list .ywgc_select_amount_title,
.shusha-pdp .gift-cards-list h3 {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-transform: lowercase;
	color: #000;
}

.shusha-pdp .gift-cards-list button.ywgc-amount-buttons {
	display: block;
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #000;
	font-family: inherit;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	user-select: none;
}

.shusha-pdp .gift-cards-list button.ywgc-amount-buttons:hover {
	text-decoration: underline;
	background: transparent !important;
}

.shusha-pdp .gift-cards-list button.ywgc-amount-buttons.selected_button {
	color: #558168 !important;
	text-decoration: underline;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
}

/* Hidden input YITH идёт сразу после кнопки и иначе занимает ячейку сетки. */
.shusha-pdp .gift-cards-list input.ywgc-amount-buttons {
	display: none !important;
}

@media (width <= 480px) {
	.shusha-pdp .gift-cards-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

.shusha-pdp form.gift-cards_form .ywgc-product-wrap[style*="display:none"] {
	display: none !important;
}

.shusha-pdp .product-cart.shusha-pdp-gift-card-cart {
	margin-top: 20px;
	max-width: 400px;
}

.shusha-pdp .product-cart .gift_card_template_button,
.shusha-pdp .product-cart .gift_card_template_button.variations_button {
	display: flex;
	flex: 1;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	float: none;
}

.shusha-pdp form.gift-cards_form .gift-card-content-editor.step-content input,
.shusha-pdp form.gift-cards_form .gift-card-content-editor.step-content textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 8px 0 0 !important;
	font-family: inherit;
}

.shusha-pdp form.gift-cards_form .ywgc-label-above-input label {
	display: block;
	margin: 0;
}

.shusha-pdp form.gift-cards_form .ywgc-single-recipient,
.shusha-pdp form.gift-cards_form .ywgc-send-and-delivery-container,
.shusha-pdp form.gift-cards_form .gift-card-content-editor.step-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	float: none;
	width: 100%;
	gap: 12px;
}

.shusha-pdp form.gift-cards_form .ywgc-recipient-name,
.shusha-pdp form.gift-cards_form .ywgc-recipient-email,
.shusha-pdp form.gift-cards_form .ywgc-sender-name,
.shusha-pdp form.gift-cards_form .ywgc-postdated,
.shusha-pdp form.gift-cards_form .ywgc-message,
.shusha-pdp form.gift-cards_form .ywgc-recipient-sender-container .ywgc-recipient-name,
.shusha-pdp form.gift-cards_form .ywgc-recipient-sender-container .ywgc-sender-name {
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin: 0;
}

.shusha-pdp form.gift-cards_form a.add-recipient {
	float: none;
	align-self: flex-start;
}

/* На single-product контейнеры compare/wishlist без вертикальных отступов */
.single-product .jet-compare-button__container,
.single-product .jet-wishlist-button__container {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
