/* Product Page - Start */
span.sku {
	cursor: pointer;
	user-select: none;
	margin-top: 7px;
}
span.sku span {
	padding: 1px 4px;
	border-radius: 4px;
	transition: background 0.3s, color 0.3s;
}
span.sku span.copied {
	background: #27ae60;
	color: var(--white);
}

section.product-box {
	padding: 0px 0 70px 0;
	overflow: visible;
}

section.product-box .onsale {
	display: none;
}

/* Product Gallery - Start */
section.product-box .product-gallery {
	position: sticky;
	top: calc(var(--header-height) + 30px);
	display: flex;
	gap: 15px;
	padding-right: 30px;
}
section.product-box .product-gallery .product-tags-or-badges {
	left: initial;
	top: 20px;
	right: 20px;
	z-index: 31;
}

section.product-box .swiper-wrapper {
	height: fit-content !important;
}

section.product-box .gallery-top {
	width: calc(100% - 120px);
	height: fit-content;
	border: 1px solid #f3f3f3;
	border-radius: 20px;
	overflow: hidden;
}

section.product-box .gallery-top .swiper-slide img {
	width: 100%;
	height: calc(100dvh - var(--header-height) - 30px - 30px);
	max-height: calc(100vh - var(--header-height) - 30px - 30px);
	object-fit: cover;
	border-radius: var(--radius-small);
	cursor: zoom-in;
	transition: all 0.3s ease;
}

section.product-box .gallery-thumbs {
	width: calc(80px + 3px);
	height: fit-content;
	max-height: calc(100vh - var(--header-height) - 30px - 30px - 30px);
	overflow: auto !important;
	padding-right: 3px !important;
}

@media (pointer: fine) {
	section.product-box .gallery-thumbs::-webkit-scrollbar {
		width: 3px;
	}
}

section.product-box .gallery-thumbs .swiper-slide {
	height: fit-content !important;
	margin-bottom: 10px !important;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
}
section.product-box .gallery-thumbs .swiper-slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(255 255 255 / 10%);
	opacity: 0;
	transition: all 0.6s ease;
	z-index: 1;
}
section.product-box .gallery-thumbs .swiper-slide.swiper-slide-thumb-active::before {
	opacity: 1;
}

section.product-box .gallery-thumbs .swiper-slide img {
	width: 100%;
	height: auto;
	cursor: pointer;
	filter: grayscale(1);
	transition: all 0.6s ease;
	object-fit: contain;
}
section.product-box .gallery-thumbs .swiper-slide.swiper-slide-thumb-active img {
	filter: grayscale(0) brightness(1.1);
}
section.product-box .gallery-thumbs .swiper-slide:hover img {
	filter: grayscale(0) brightness(1.1);
}

@media (min-width: 1280px) {
	section.product-box .gallery-thumbs .swiper-wrapper {
		transform: translate3d(0px, 0px, 0px) !important;
	}
	section.product-box .gallery-thumbs {
		position: absolute;
		top: 20px;
		left: 20px;
		z-index: 20;
	}
	section.product-box .gallery-thumbs {
		max-height: calc(100vh - var(--header-height) - 30px - 30px - 40px);
	}
	section.product-box .gallery-top {
		width: calc(100% - 0px);
	}
}

@media (min-width: 769px) and (max-width: 1279px) {
	section.product-box .gallery-thumbs .swiper-wrapper {
		overflow-y: auto !important;
	}
}

@media (max-width: 768px) {
	section.product-box .gallery-top .swiper-slide img {
		height: calc(100vw - var(--container-indent));
	}

	section.product-box .product-gallery {
		position: relative;
		top: 0;
		display: flex;
		gap: 10px;
		padding-right: 0;
		flex-direction: column-reverse;
	}

	section.product-box .gallery-thumbs {
		width: 100%;
		height: auto;
	}

	section.product-box .gallery-top {
		width: 100%;
		height: auto;
	}
}
/* Product Gallery Arrows - Start */
section.product-box .gallery-top .swiper-buttons.inside {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
section.product-box .gallery-top .swiper-buttons.inside > * {
	width: 70px;
	height: 100%;
	transform: translateY(0%);
	background: rgb(255 255 255 / 15%);
	backdrop-filter: blur(3px);
	border-radius: 0;
	pointer-events: all;
}
section.product-box .gallery-top .swiper-buttons.inside > *:hover {
	background: rgb(255 255 255 / 25%);
}
section.product-box .gallery-top .swiper-buttons.inside > * > img {
	filter: brightness(0);
}
@media (max-width: 1279px) {
	section.product-box .gallery-top .swiper-buttons.inside > * {
		width: 13vw;
		max-width: 70px;
		background: rgb(105 105 105 / 10%);
		backdrop-filter: blur(0px);
	}
	section.product-box .gallery-top .swiper-buttons.inside > *:hover {
		background: rgb(105 105 105 / 20%);
	}
}
/* Product Gallery Arrows - End */

/* Product Gallery - End */

/* Product Gallery Video - Start */
.product-box .gallery-thumbs .video-slide-thumb {
	position: relative;
}
.product-box .gallery-thumbs .video-thumb-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32px;
	height: 24px;
	background: rgba(255, 0, 0, 0.9);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
}
.product-box .gallery-thumbs .video-thumb-icon::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}
.product-box .gallery-top .video-slide-main {
	position: relative;
	overflow: hidden;
}
.product-box .gallery-top .video-facade {
	position: relative;
	width: 100%;
	height: calc(100dvh - var(--header-height) - 30px - 30px);
	max-height: calc(100vh - var(--header-height) - 30px - 30px);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-box .gallery-top .video-preview-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: var(--radius-small);
	transition: all 0.3s ease;
}
.product-box .gallery-top .video-facade:hover .video-preview-image {
	transform: scale(1.02);
}
.product-box .gallery-top .video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	transition: all 0.3s ease;
	opacity: 0.9;
}
.product-box .gallery-top .video-facade:hover .video-play-button {
	transform: translate(-50%, -50%) scale(1.1);
	opacity: 1;
}
.product-box .gallery-top .video-play-button svg {
	width: 68px;
	height: 48px;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.product-box .gallery-top .video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	border-radius: var(--radius-small);
	overflow: hidden;
	background: #000;
	z-index: 5;
}
.product-box .gallery-top .gallery-video-iframe,
.product-box .gallery-top .gallery-video-mp4 {
	width: 100%;
	height: 100%;
	border: none;
	object-fit: contain;
}
.product-box .gallery-top .video-slide-main.video-playing .video-facade {
	visibility: hidden;
}
.product-box .gallery-top .video-slide-main.video-playing .video-container {
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-box .gallery-top .video-slide-main img {
	cursor: pointer;
}
@media (max-width: 1279px) {
	.product-box .gallery-top .video-preview-image {
		height: calc(100vw - var(--container-indent));
	}
	.product-box .gallery-top .video-play-button svg {
		width: 50px;
		height: 36px;
	}
	.product-box .gallery-thumbs .video-thumb-icon {
		width: 28px;
		height: 20px;
	}
	.product-box .gallery-thumbs .video-thumb-icon::after {
		border-width: 4px 0 4px 6px;
	}
}
/* Product Gallery Video - End */

/* Product Base - Start */
section.product-box .product-details h1.product_title {
	font-family: var(--font-family-1);
	font-size: 28px;
	line-height: 34px;
	font-weight: 500;
	color: var(--black);
	max-width: calc(100% - 160px);
	margin-top: -10px;
}
.short-desc.text-box {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 15px;
	background: var(--light-gray);
	border-radius: 10px;
	width: fit-content;
}
section.product-box .stock-status {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 14px;
	line-height: 14px;
	background: #27ae60;
	color: #fff;
	padding: 8px 15px;
	border-radius: 30px;
	display: flex;
	gap: 5px;
	width: fit-content;
}


/* Stock Status Colors - универсальные для всех контекстов */
section.product-box .stock-status.out-of-stock {
	background: var(--red);
}
section.product-box .stock-status.on-order,
section.product-box .stock-status.on-backorder {
	background: var(--primary);
}
section.product-box .stock-status.no-status {
	background: var(--primary);
}
/* Product Stock Status - End */

section.product-box .woocommerce-product-rating,
section.product-box .product-details form.cart,
section.product-box .product-details .quantity,
section.product-box .product-details .compare-btn,
section.product-box .product-details .wishlist-btn,
section.product-box .product-details .product_meta,
section.product-box .product-details .woocommerce-product-details__short-description {
	display: none;
}

@media (max-width: 1680px) {
	section.product-box .product-details h1.product_title {
		font-size: 26px;
		line-height: 32px;
	}
}

@media (max-width: 1279px) {
	section.product-box .product-details h1.product_title {
		font-size: 24px;
		line-height: 28px;
		margin-top: 15px;
	}

	section.product-box .stock-status {
		position: absolute;
		top: -3px;
		right: 0;
		font-size: 14px;
		line-height: 14px;
	}
}

@media (max-width: 768px) {
	section.product-box .product-details h1.product_title {
		max-width: calc(100% - 0px);
	}

	section.product-box .col-50 {
		position: relative;
		width: calc(100% - 0px);
	}
}
/* Product Base - End */

/* Product Options - Start */
section.product-box .variation-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--blocks-indent);
	margin-top: 30px;
}
section.product-box .variation-group:empty {
	display: none;
}
/* Product Options - End */

/* Buy Group - Start */
section.product-box .buy-group {
	position: relative;
	display: flex;
	width: 100%;
}

section.product-box .buy-group .col-left {
	display: flex;
	flex-direction: column;
	width: 80%;
}

section.product-box .buy-group .price {
	position: relative;
	display: flex;
	width: fit-content;
	margin-bottom: 30px;
	font-family: var(--font-family-1);
	font-size: 25px;
	line-height: 35px;
	font-weight: 500;
	color: var(--black);
}

section.product-box .buy-group .price ins {
	text-decoration: none;
}

section.product-box .buy-group .price del {
	display: flex;
	align-items: center;
	color: #d3d3d3;
	font-size: 20px;
	line-height: 31px;
	font-weight: 500;
	text-decoration-line: line-through;
	margin-right: 10px;
}

section.product-box .buy-group .price .per-product {
	margin-left: 5px;
}

section.product-box .product-packaging-info {
	font-size: 14px;
	line-height: 14px;
	margin-top: 8px;
}
section.product-box .buy-group .col-left .items-group {
	gap: 15px;
}

section.product-box .buy-group .col-left .items-group .btn {
	height: var(--btn-height);
}
section.product-box .btn-cart.in-cart:not(.go-variation-in-cart) {
	pointer-events: none !important;
}
section.product-box .buy-group .col-right {
	display: flex;
	flex-direction: column;
	width: 20%;
}

section.product-box .buy-group .col-left .wishlist-group > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

section.product-box .buy-group .col-left .wishlist-group .btn {
	background: var(--primary);
	width: var(--btn-height);
	height: var(--btn-height);
	padding: 0px;
	border-radius: var(--radius-max);
}

section.product-box .buy-group .col-left .wishlist-group .btn img {
	height: 18px;
	filter: var(--primary-filter-match);
}

section.product-box .buy-group .col-left .wishlist-group .btn img + img {
	position: absolute;
	opacity: 0;
	transition: all 0.3s ease;
}

section.product-box .buy-group .col-left .wishlist-group .added .btn img + img {
	opacity: 1;
}

/* Активные состояния для wishlist и compare */
section.product-box .buy-group .col-left .wishlist-group .add-to-wishlist-btn.in-wishlist-already img:first-child,
section.product-box .buy-group .col-left .wishlist-group .add-to-compare-btn.in-compare-already img:first-child {
	opacity: 0;
}

section.product-box .buy-group .col-left .wishlist-group .add-to-wishlist-btn.in-wishlist-already img:last-child,
section.product-box .buy-group .col-left .wishlist-group .add-to-compare-btn.in-compare-already img:last-child {
	opacity: 1;
}


section.product-box p.stock {
	display: none;
}

@media (max-width: 1279px) {
	section.product-box .buy-group {
		flex-direction: column;
		justify-content: flex-start;
		margin-bottom: 20px;
	}

	section.product-box .buy-group .col-left {
		width: 100%;
	}

	section.product-box .buy-group .col-right {
		width: 100%;
	}

	section.product-box .buy-group .col-left .items-group .btn.btn-cart {
		flex-grow: 1;
	}

	section.product-box .items-group {
		flex-direction: column;
		gap: 15px;
	}

	#main-price {
		margin-bottom: 20px;
	}
	section.product-box {
		padding: 0px 0 20px 0;
	}
}
/* Buy Group - End */

/* Scroll Price - Start */
section.product-box .mob.scroll-price {
	position: fixed;
	bottom: 0;
	left: 0;
	background: #fafbff;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 20px;
	align-items: center;
	box-shadow: 0px 0px 24px 0px #8e8e8e33;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.5s ease-in-out;
	z-index: 99999;
	display: none!important;
}

section.product-box .mob.scroll-price.active {
	visibility: visible;
	opacity: 1;
	pointer-events: all;
}

section.product-box .mob.scroll-price .price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-top: 3px;
}

section.product-box .mob.scroll-price .btn {
	min-width: 50%;
}

@media (max-width: 1279px) {
	body.product-template-default #scrollToTopBtn,
	body.single #scrollToTopBtn,
	body.single-product #scrollToTopBtn {
		display: none !important;
	}
}
/* Scroll Price - End */

/* ===== Product Tabs Universal - Start ===== */

/* Основной контейнер табов */
section.product-box .product-tabs {
	margin-top: 0px;
}

/* Навигация табов (скрыта по умолчанию, видима в classic/responsive) */
section.product-box .product-tabs .tabs-navigation {
	display: none;
}

section.product-box .product-tabs .tabs-content {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/*
* .tab-content-wrapper — управляет видимостью (slideToggle / display)
* .tab-content — всегда flex, используй для стилизации контента
*/
section.product-box .product-tabs .tab-content-wrapper {
	display: none;
}

section.product-box .product-tabs .tab-content {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
}

/* ===== РЕЖИМ АККОРДЕОН ===== */

section.product-box .product-tabs.tabs-mode-accordion .tab {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding: 17px 0;
	border-bottom: 1px solid var(--gray);
	cursor: pointer;
	transition: all 0.3s ease;
}

section.product-box .product-tabs.tabs-mode-accordion .tabs-content .tab:first-child {
	border-top: 1px solid var(--gray);
}

/* Заголовок */
section.product-box .product-tabs.tabs-mode-accordion .tab .tab-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	line-height: 16px;
	height: 16px;
	font-weight: 500;
	color: var(--black);
}

/* Стрелка */
section.product-box .product-tabs.tabs-mode-accordion .tab .tab-title::after {
	content: "";
	display: flex;
	width: 18px;
	height: 18px;
	background: url(/wp-content/themes/shop/img/icons/arrow-right.svg) no-repeat center center;
	background-size: contain;
	transform: rotate(90deg);
	transition: all 0.3s ease;
}

section.product-box .product-tabs.tabs-mode-accordion .tab.active .tab-title::after {
	transform: rotate(-90deg);
}

/* Wrapper в аккордеоне — управляется через slideToggle в JS */
section.product-box .product-tabs.tabs-mode-accordion .tab .tab-content-wrapper {
	padding-top: 20px;
}

/* ===== РЕЖИМ КЛАССИЧЕСКИХ ТАБОВ ===== */

/* Навигация */
section.product-box .product-tabs.tabs-mode-classic .tabs-navigation {
	display: flex;
	gap: 30px;
	border-bottom: 2px solid var(--gray);
	margin-bottom: 30px;
}

section.product-box .product-tabs.tabs-mode-classic .tab-nav-item {
	position: relative;
	padding: 15px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--gray);
	cursor: pointer;
	transition: all 0.3s ease;
}

section.product-box .product-tabs.tabs-mode-classic .tab-nav-item:hover {
	color: var(--black);
}

section.product-box .product-tabs.tabs-mode-classic .tab-nav-item.active {
	color: var(--primary);
}

section.product-box .product-tabs.tabs-mode-classic .tab-nav-item.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--primary);
}

/* Таб в classic */
section.product-box .product-tabs.tabs-mode-classic .tab {
	border: none;
	padding: 0;
	cursor: default;
}

section.product-box .product-tabs.tabs-mode-classic .tab .tab-title {
	display: none;
}

/* Wrapper в classic — видимость через CSS */
section.product-box .product-tabs.tabs-mode-classic .tab .tab-content-wrapper {
	display: none;
}

section.product-box .product-tabs.tabs-mode-classic .tab.active .tab-content-wrapper {
	display: block;
}

/* ===== РЕЖИМ RESPONSIVE (табы на ПК, аккордеон на мобильном) ===== */

/* ПК: как classic */
section.product-box .product-tabs.tabs-mode-responsive .tabs-navigation {
	display: flex;
	gap: 30px;
	border-bottom: 2px solid var(--gray);
	margin-bottom: 30px;
}

section.product-box .product-tabs.tabs-mode-responsive .tab-nav-item {
	position: relative;
	padding: 15px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--gray);
	cursor: pointer;
	transition: all 0.3s ease;
}

section.product-box .product-tabs.tabs-mode-responsive .tab-nav-item:hover {
	color: var(--black);
}

section.product-box .product-tabs.tabs-mode-responsive .tab-nav-item.active {
	color: var(--primary);
}

section.product-box .product-tabs.tabs-mode-responsive .tab-nav-item.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--primary);
}

section.product-box .product-tabs.tabs-mode-responsive .tab {
	border: none;
	padding: 0;
	cursor: default;
}

section.product-box .product-tabs.tabs-mode-responsive .tab .tab-title {
	display: none;
}

section.product-box .product-tabs.tabs-mode-responsive .tab .tab-content-wrapper {
	display: none;
}

section.product-box .product-tabs.tabs-mode-responsive .tab.active .tab-content-wrapper {
	display: block;
}

/* ===== СТИЛИ КОНТЕНТА ТАБОВ ===== */

/* Таблицы */
section.product-box .product-tabs .tab-content table {
	display: flex;
	width: 100%;
}

/* Описание товара */
section.product-box #tab-description h2,
section.product-box #tab-description h3 {
	font-size: 20px;
	line-height: 26px;
	font-weight: 500;
	color: var(--black);
}

/* Доставка и оплата */
.delivery-box,
.payment-box {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
	padding: 20px;
	background: var(--light-gray);
	border-radius: 10px;
}

/* Таблица атрибутов */
section.product-box .woocommerce-product-attributes tbody {
	display: flex;
	flex-wrap: wrap;
	gap: var(--blocks-indent);
	width: 100%;
}

section.product-box .woocommerce-product-attributes tbody tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: calc(50% - (var(--blocks-indent) / 2));
	padding: 10px;
	background: var(--light-gray);
	border-radius: var(--radius-small);
}

section.product-box .woocommerce-product-attributes tbody tr:nth-child(4n + 3),
section.product-box .woocommerce-product-attributes tbody tr:nth-child(4n + 4) {
	background: var(--white);
}

section.product-box .woocommerce-product-attributes tbody tr th {
	color: var(--black);
	font-size: 14px;
	line-height: 21px;
	font-weight: 400;
	min-width: fit-content;
}

section.product-box .woocommerce-product-attributes tbody tr td p {
	font-size: 14px;
	line-height: 21px;
	color: var(--black);
	text-align: right;
}

/* ===== АДАПТИВНОСТЬ ===== */

@media (max-width: 1279px) {
	/* Аккордеон */
	section.product-box .product-tabs.tabs-mode-accordion .tab {
		padding: 15px 0;
	}

	section.product-box .product-tabs.tabs-mode-accordion .tab .tab-title {
		font-size: 14px;
		line-height: 14px;
		height: 14px;
	}

	/* Classic */
	section.product-box .product-tabs.tabs-mode-classic .tabs-navigation {
		gap: 15px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		width: 100%;
	}

	section.product-box .product-tabs.tabs-mode-classic .tabs-navigation::-webkit-scrollbar {
		display: none;
	}

	section.product-box .product-tabs.tabs-mode-classic .tab-nav-item {
		white-space: nowrap;
		font-size: 14px;
		padding: 12px 0;
	}

	/* Responsive: переключаем на аккордеон */
	section.product-box .product-tabs.tabs-mode-responsive .tabs-navigation {
		display: none;
	}

	section.product-box .product-tabs.tabs-mode-responsive .tab {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		padding: 15px 0;
		border-bottom: 1px solid var(--gray);
		cursor: pointer;
	}

	section.product-box .product-tabs.tabs-mode-responsive .tabs-content .tab:first-child {
		border-top: 1px solid var(--gray);
	}

	section.product-box .product-tabs.tabs-mode-responsive .tab .tab-title {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 14px;
		line-height: 14px;
		height: 14px;
		font-weight: 500;
		color: var(--black);
	}

	section.product-box .product-tabs.tabs-mode-responsive .tab .tab-title::after {
		content: "";
		display: flex;
		width: 18px;
		height: 18px;
		background: url(/wp-content/themes/shop/img/icons/arrow-right.svg) no-repeat center center;
		background-size: contain;
		transform: rotate(90deg);
		transition: all 0.3s ease;
	}

	section.product-box .product-tabs.tabs-mode-responsive .tab.active .tab-title::after {
		transform: rotate(-90deg);
	}

	/* Wrapper в responsive-аккордеон — управляется slideToggle */
	section.product-box .product-tabs.tabs-mode-responsive .tab .tab-content-wrapper {
		display: none;
		padding-top: 20px;
	}

	section.product-box .product-tabs.tabs-mode-responsive .tab.active .tab-content-wrapper {
		display: none;
	}

	/* Атрибуты */
	section.product-box .woocommerce-product-attributes tbody tr {
		width: 100%;
	}

	section.product-box .woocommerce-product-attributes tbody tr:nth-child(4n + 3),
	section.product-box .woocommerce-product-attributes tbody tr:nth-child(4n + 4) {
		background: var(--light-gray);
	}

	section.product-box .woocommerce-product-attributes tbody tr:nth-child(2n) {
		background: var(--white);
	}
}

/* ===== Product Tabs Universal - End ===== */

/* Product Reviews Tab - Start */
.reviews-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px;
}
.reviews-count {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	background: var(--primary);
	border-radius: 100%;
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	margin-left: 10px;
	margin-right: auto;
}

section.product-box #reviews.woocommerce-Reviews {
	width: 100%;
}


section.product-box #tab-reviews .reviews-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

section.product-box #tab-reviews .reviews-slider {
	width: 100%;
	margin-bottom: 30px;
}

section.product-box #tab-reviews .reviews-slider .swiper-slide {
	height: auto;
}

section.product-box #tab-reviews .swiper-buttons {
	display: flex;
	gap: 10px;
	margin-top: 30px;
}


section.product-box .woocommerce-noreviews {
	text-align: center;
	color: var(--gray);
	padding: 40px 0;
	font-size: 16px;
}
.reviews-footer {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

@media (max-width: 1279px) {
	section.product-box #tab-reviews .reviews-header {
		justify-content: center;
		margin-bottom: 20px;
	}

	section.product-box .woocommerce-noreviews {
		padding: 30px 0;
		font-size: 14px;
	}
}
/* Product Reviews Tab - End */



/* ===== Секції слайдерів товарів - Start ===== */

/* Заголовок + навігація */
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}
.section-head .h2 {
	margin-bottom: 0;
}
.section-head .swiper-buttons.outside {
	position: static;
	display: flex;
	gap: 10px;
}

section.category-products {
	padding-top: 80px;
}
/* Класс ставит content-single-product.php, когда «История просмотра» не выводится:
   тогда нижний отступ до подвала берёт на себя этот блок */
section.category-products.is-last-section {
	padding-bottom: 80px;
}
section.recently-viewed-products {
	padding-top: 80px;
	padding-bottom: 80px;
}

@media (max-width: 1279px) {
	.section-head {
		margin-bottom: 20px;
	}
	.section-head .swiper-buttons.outside {
		display: flex !important;
	}
	section.category-products {
		padding-top: 40px;
	}
	section.category-products.is-last-section {
		padding-bottom: 40px;
	}
	section.recently-viewed-products {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
/* ===== Секції слайдерів товарів - End ===== */

/* ===== Product Specs — характеристики - Start ===== */
.op-product-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
	margin: 5px 0 10px 0;
	max-width: 100%;
}
.op-specs-title {
	font-size: 16px;
	font-weight: 500;
	color: var(--black);
	margin-bottom: 2px;
	grid-column: 1 / -1;
	display: none;
}
.op-spec-row {
	display: flex;
	align-items: baseline;
	gap: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--black);
}
.op-spec-label {
	flex-shrink: 0;
	font-weight: 500;
	white-space: nowrap;
}
.op-spec-dots {
	flex: 1;
	min-width: 16px;
	border-bottom: 1px dotted var(--gray);
	margin: 0 6px;
	transform: translateY(-3px);
}
.op-spec-value {
	flex-shrink: 0;
	max-width: 55%;
	text-align: right;
	color: var(--dark-gray);
}
@media (max-width: 768px) {
	.op-product-specs {
		grid-template-columns: 1fr;
	}
	.op-spec-row {
		font-size: 12px;
	}
}
/* ===== Product Specs — характеристики - End ===== */

/* ===== Size Chart — розмірна сітка - Start ===== */
.size-chart-call {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	line-height: 13px;
	color: var(--primary);
	cursor: pointer;
	transition: 0.3s;
	padding: 8px 16px;
	border: 1.5px solid var(--primary);
	border-radius: 100px;
	width: fit-content;
	margin-bottom: 10px;
}
.size-chart-call:hover {
	background: var(--primary);
	color: var(--white);
}
.size-chart-call:hover svg {
	stroke: var(--white);
}
.size-chart-call svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	transition: 0.3s;
}

/* Lightbox */
.size-chart-informer .informer-section {
	max-width: 700px;
}
.size-chart-title {
	font-size: 22px;
	line-height: 28px;
	margin-bottom: 10px;
}
.size-chart-desc {
	font-size: 14px;
	line-height: 22px;
	color: var(--dark-gray);
	margin-bottom: 10px;
}
.size-chart-image {
	margin-bottom: 15px;
}
.size-chart-image img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-small);
}
.size-chart-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.size-chart-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 20px;
}
.size-chart-table th {
	background: var(--primary);
	color: var(--white);
	font-weight: 500;
	padding: 10px 14px;
	text-align: left;
	white-space: nowrap;
}
.size-chart-table th:first-child {
	border-radius: var(--radius-small) 0 0 0;
}
.size-chart-table th:last-child {
	border-radius: 0 var(--radius-small) 0 0;
}
.size-chart-table td {
	padding: 9px 14px;
	border-bottom: 1px solid var(--border);
	white-space: nowrap;
}
.size-chart-table tbody tr:nth-child(even) {
	background: var(--light-gray);
}
.size-chart-table tbody tr:last-child td:first-child {
	border-radius: 0 0 0 var(--radius-small);
}
.size-chart-table tbody tr:last-child td:last-child {
	border-radius: 0 0 var(--radius-small) 0;
}

@media (max-width: 1279px) {
	.size-chart-title {
		font-size: 20px;
		line-height: 24px;
	}
	.size-chart-desc {
		font-size: 13px;
		line-height: 20px;
	}
	.size-chart-table {
		font-size: 13px;
	}
	.size-chart-table th,
	.size-chart-table td {
		padding: 8px 10px;
	}
}
/* ===== Size Chart — розмірна сітка - End ===== */

/* ===== OP Price System — блок цен - Start ===== */
.op-prices-block {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 12px;
	width: fit-content;
	max-width: 100%;
	font-weight: 500;
	color: var(--black);
}
.op-prices-title {
	font-size: 16px;
	font-weight: 500;
	color: var(--black);
	margin-bottom: 2px;
	order: -2;
}
.op-price-row {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 3px 12px 3px 10px;
	width: fit-content;
	border-left: 3px solid var(--gray);
	border-radius: 0 6px 6px 0;
	background: var(--light-gray);
	transition: all 0.25s ease;
}
.op-price-row.op-price-active {
	border-left-color: var(--primary);
	background: var(--accent);
	gap: 8px;
	order: -1;
	padding: 8px 14px 8px 10px;
}
.op-price-label {
	font-size: 11px;
	white-space: nowrap;
}
.op-price-label::after {
	content: ':';
}
.op-price-active .op-price-label {
	font-size: 12px;
}
.op-price-value {
	font-size: 14px;
	white-space: nowrap;
}
.op-price-active .op-price-value {
	font-size: 18px;
}
.op-price-value del {
	font-size: 0.85em;
	opacity: 0.5;
	text-decoration: line-through;
}
.op-price-value ins {
	text-decoration: none;
	color: #e22;
}
.op-price-hint {
	font-size: 11px;
	white-space: nowrap;
	margin-left: 6px;
}

@media (max-width: 768px) {
	.op-prices-block {
		width: 100%;
	}
	.op-price-row {
		padding: 4px 10px 4px 8px;
	}
	.op-price-row.op-price-active {
		padding: 6px 10px 6px 8px;
	}
	.op-price-label {
		font-size: 12px;
	}
	.op-price-active .op-price-label {
		font-size: 12.5px;
	}
	.op-price-value {
		font-size: 13px;
	}
	.op-price-active .op-price-value {
		font-size: 16px;
	}
	.op-price-hint {
		font-size: 10px;
	}
	.op-price-row .product-unit {
		font-size: 11px;
	}
	.op-price-active .product-unit {
		font-size: 14px;
	}
}
.op-price-value .product-unit {
	font-weight: 400;
	color: var(--dark-gray);
	margin-left: 2px;
}
.op-price-row .product-unit {
	font-size: 12px;
}
.op-price-active .product-unit {
	font-size: 16px;
}
/* ===== OP Price System — блок цен - End ===== */