
/* bind to real root class too */
.bx-catalog-element.product_card_detail,
.bx-catalog-element {
	/* noop marker */
}
.bx-catalog-element .pd-lime-gallery { display: none !important; }
.bx-catalog-element .product-item-detail-gallery img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	position: static !important;
	max-height: none !important;
}
@media (min-width: 992px) {
	.bx-catalog-element .product-item-detail-gallery > .swiper-wrapper {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 10px !important;
		width: 100% !important;
	}
	.bx-catalog-element .product-item-detail-gallery {
		overflow: visible !important;
	}
}
/* ===== Карточка товара — Abrau Club (скругления 10px) ===== */

.product_card_detail {
	--pd-radius: 10px;
	--pd-line: #e8e8e8;
}

/* Галерея — фото без скруглений */
.product_card_detail .product-item-detail-gallery img,
.product_card_detail .product-item-detail-gallery-image,
.product_card_detail .product-item-detail-gallery-image img,
.product_card_detail .product-item-detail-slider-images-container,
.product_card_detail .product-item-detail-slider-image,
.product_card_detail .product-item-detail-slider-image img {
	border-radius: 0 !important;
}

/* Блок покупки / сравнение */
.product_card_detail .product-item-detail-pay-block {
	border-radius: 0;
}

/* Количество */
.product_card_detail .product-item-quantity-block {
	border: 1px solid var(--pd-line);
	border-radius: 0;
	overflow: hidden;
	background: #fff;
}

.product_card_detail .product-item-amount-field-btn-minus,
.product_card_detail .product-item-amount-field-btn-plus {
	border-radius: 0;
}

/* Кнопки */
.product_card_detail .choose-size-btn,
.product_card_detail .spz-size-btn,
.product_card_detail .link-detail-page-wrp .link-detail-page {
	border-radius: 0;
}

/* Таймер «товар дня» */
.product_card_detail .product-detail-info-top .prod-of-day_timer {
	border-radius: 0;
}

/* SKU — селект и варианты */
.product_card_detail .product-item-scu-block .select-val {
	border-radius: 0;
}

.product_card_detail .wrapper-select-block.active .product-item-scu-item-list {
	border-radius: 0;
}

.product_card_detail .sku-line-block-size .product-item-scu-item-text-block,
.product_card_detail .sku-line-block-color .product-item-scu-item-color-block_main,
.product_card_detail .product-item-scu-item-color-block {
	border-radius: 0;
	overflow: hidden;
}

.product_card_detail .product-item-scu-item-color-block img {
	border-radius: 0;
}

.product_card_detail .volume-switch__item {
	border-radius: 0;
}

/* Пищевая ценность */
.product_card_detail .nutrition-item {
	border-radius: 0;
}

/* Иконки состава */
.product_card_detail .composite_icons .border_svg {
	border-radius: 0;
}

/* Попап размерной сетки */
.spz-modal {
	border-radius: 0;
}

.spz-close {
	border-radius: 0;
}

/* Попап «купить в 1 клик» на странице товара */
.product_card_detail .emodal_form,
#OneClickEmodal.emodal_form {
	border-radius: 0;
}

.product_card_detail #OneClickEmodal .form_inputs input,
#OneClickEmodal .form_inputs input {
	border-radius: 0;
}


/* Избранное: не улетает (template_styles absolute) */
.bx-catalog-element .product-detail-actions-and-status .add-wishlist,
.bx-catalog-element .product-item-detail-main-info > div > .product-detail-actions-and-status .add-wishlist {
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	transform: none !important;
	inset: auto !important;
}
.bx-catalog-element .product-detail-actions-and-status .product-icon-action {
	display: flex !important;
	align-items: center !important;
	position: relative !important;
	margin-left: auto !important;
}

/* ===== SIMPLE GALLERY: full photos, no crop (v20260728-simple) ===== */

/* Kill lime gallery completely */
.product_card_detail .pd-lime-gallery,
.pd-lime-gallery {
	display: none !important;
}

@media (min-width: 992px) {
	.product_card_detail {
		max-width: 1400px !important;
	}

	.product_card_detail .product-detail-info-top {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 300px;
		column-gap: 32px;
		align-items: start;
		justify-content: stretch;
		width: 100%;
		flex-direction: row !important;
	}

	.product_card_detail .product-item-detail-gallery {
		overflow: visible !important;
		display: block !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-bottom: 0 !important;
		flex-shrink: 1 !important;
		grid-column: 1;
		grid-row: 1;
	}

	/* show original photo grid again */
	.product_card_detail .product-item-detail-gallery > .swiper-wrapper {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 10px !important;
		width: 100% !important;
		height: auto !important;
		transform: none !important;
	}

	.product_card_detail .product-item-detail-gallery > .swiper-btn {
		display: none !important;
	}

	.product_card_detail .product-item-detail-main-info,
	.product_card_detail .product-item-detail-main-info.customScroll {
		grid-column: 2;
		grid-row: 1;
		width: 300px !important;
		max-width: 300px !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		position: sticky !important;
		top: 100px !important;
		align-self: start;
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
		display: flex !important;
		flex-direction: column !important;
	}
}

@media (min-width: 1200px) {
	.product_card_detail .product-detail-info-top {
		grid-template-columns: minmax(0, 1fr) 320px;
		column-gap: 36px;
	}
	.product_card_detail .product-item-detail-main-info,
	.product_card_detail .product-item-detail-main-info.customScroll {
		width: 320px !important;
		max-width: 320px !important;
	}
}

/* Photos: never crop */
html body .product_card_detail .product-item-detail-gallery,
html body .product_card_detail .product-item-detail-gallery .swiper-slide,
html body .product_card_detail .product-item-detail-gallery-image,
html body .product_card_detail .product-item-detail-gallery-image a {
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
}

html body .product_card_detail .product-item-detail-gallery img,
html body .product_card_detail .product-item-detail-gallery-image img,
html body .product_card_detail .wish-img {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: top center !important;
	display: block !important;
	opacity: 1 !important;
}

@media (max-width: 991.98px) {
	html body .product_card_detail .product-item-detail-gallery > .swiper-wrapper {
		display: flex !important;
		width: 100% !important;
		transform: none;
	}
	html body .product_card_detail .product-item-detail-gallery .swiper-slide {
		width: 100% !important;
		height: auto !important;
	}
	html body .product_card_detail .product-item-detail-gallery img {
		width: 100% !important;
		height: auto !important;
	}
}


/* Шильдик Abrau Team / специальная цена — детальная карточка */
.product_card_detail .product-item-detail-price .ss-team-price-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	margin: 0 0 2px 10px;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 1;
	align-self: flex-end;
}
.product_card_detail .product-item-detail-price .ss-team-price-badge__mark {
	display: inline-block;
	margin: 0;
	padding: 2px 6px;
	font-family: 'Futura New', 'Futura New Light', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: #800020 !important;
}
.product_card_detail .product-item-detail-price .ss-team-price-badge__sub {
	display: block;
	margin: 0;
	padding: 0 1px;
	font-family: 'Futura New', 'Futura New Light', sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.15;
	white-space: nowrap;
	color: #8a8a8a !important;
	-webkit-text-fill-color: #8a8a8a !important;
}


/* Вместо «В наличии» на закрытой распродаже */
.ss-detail-exclusive {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	min-width: 0;
	flex: 1 1 auto;
	font-family: 'Futura New', 'Futura New Light', sans-serif;
	line-height: 1.15;
}
.ss-detail-exclusive__kicker {
	display: block;
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #800020;
	-webkit-text-fill-color: #800020;
}
.ss-detail-exclusive__title {
	display: block;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: #222;
	-webkit-text-fill-color: #222;
}
html.ss-team-detail .card_quantity-status,
.product-detail-actions-and-status:has(.ss-detail-exclusive) .card_quantity-status,
.card_quantity-status.is-ss-hidden {
	display: none !important;
}
@media (max-width: 767px) {
	.ss-detail-exclusive__kicker { font-size: 10px; }
	.ss-detail-exclusive__title { font-size: 12px; }
}
