/* ============================================
   Product Page Base — секція, картка товару,
   шапка, плашки під товаром
   ============================================ */

/* Product Page - Start */
section.product-box {
	padding: 0;
	overflow: visible;
}

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

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,
section.product-box p.stock {
	display: none;
}
/* Product Page - End */

/* Product Hero - Start */
.product-hero {
	display: flex;
	gap: 64px;
	width: 100%;
	padding: 24px;
	background: var(--light-gray);
	border-radius: var(--radius-large);
}

.product-hero-media,
.product-hero-info {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-width: 0;
}

.product-hero-info {
	gap: 0;
}

.product-hero-info > * + * {
	margin-top: 40px;
}
/* Product Hero - End */

/* Product Head - Start */
.product-hero-head {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-hero-title {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-hero-series {
	display: flex;
	align-items: center;
	gap: 18px;
	width: fit-content;
	padding: 12px 24px 12px 12px;
	border: 1px solid var(--input-border);
	border-radius: var(--radius-pill);
	transition: all 0.3s ease;
}

@media not all and (pointer: coarse) {
	.product-hero-series:hover {
		background: var(--white);
	}
}

.product-hero-series .icon-mask {
	width: 30px;
	height: 30px;
}

.product-hero-series span {
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
}

section.product-box .product-hero-info h1.product_title {
	font-family: var(--font-family-2);
	font-size: 36px;
	line-height: 47px;
	font-weight: 600;
	color: var(--black);
	margin: 0;
}

.product-hero-meta:empty {
	display: none;
}

.product-hero-meta {
	display: flex;
	align-items: center;
	gap: 32px;
	font-size: 16px;
	line-height: 19px;
}

.product-hero-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.product-hero-rating img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.product-hero-info .sku {
	font-size: 16px;
	line-height: 19px;
	color: var(--black);
}
/* Product Head - End */

/* Product Lead Time - Start */
.product-lead-time {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 117px;
	padding: 24px 32px 24px 193px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 20px;
}

.product-lead-time-image {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 163px;
}

.product-lead-time-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product-lead-time-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-lead-time-body p {
	font-size: 16px;
	line-height: 19px;
}
/* Product Lead Time - End */

/* Product Guarantees - Start */
.product-guarantees {
	display: flex;
	gap: 16px;
	width: 100%;
	margin-top: 16px;
}

.product-guarantee {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 40px;
	background: var(--light-gray);
	border-radius: var(--radius-medium);
}

.product-guarantee .h4 {
	font-weight: 500;
	text-transform: uppercase;
}

.product-guarantee p {
	font-size: 16px;
	line-height: 19px;
}
/* Product Guarantees - End */

/* Product Options - Start */
section.product-box .variation-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

section.product-box .option-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

section.product-box .option-head {
	width: 100%;
	margin-bottom: 9px;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
}

section.product-box .option-block > span.option-value {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	padding: 16px 32px;
	background: transparent;
	border: 1px solid var(--input-border);
	border-radius: var(--radius-pill);
	font-size: 18px;
	line-height: 22px;
	color: var(--black);
	cursor: pointer;
	transition: all 0.3s ease;
}

section.product-box .option-block > span.option-value.selected {
	background: var(--white);
	border-color: var(--black);
}
@media not all and (pointer: coarse) {
	section.product-box .option-block > span.option-value:hover {
		background: var(--white);
		border-color: var(--black);
	}
}

section.product-box .option-block > span.option-value .option-value-price {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 8px;
	white-space: nowrap;
}

section.product-box .option-block > span.option-value .option-value-price::before {
	content: "•";
}

section.product-box .option-block:has(.op-select-wrap) {
	align-items: center;
}

section.product-box .option-block .op-select-wrap {
	width: 260px;
	max-width: 100%;
}

section.product-box .option-block > span.is-unavailable {
	color: var(--gray);
	border-color: var(--border);
	opacity: 0.5;
	cursor: default;
}

section.product-box .option-block > span.color-option.is-unavailable {
	opacity: 0.35;
}
/* Product Options - End */

@media (max-width: 1680px) {
	.product-hero {
		gap: 36px;
		padding: 20px;
		border-radius: 36px;
	}

	.product-hero-info > * + * {
		margin-top: 36px;
	}

	.product-hero-head {
		gap: 20px;
	}

	.product-hero-series {
		padding: 12px 20px 12px 12px;
	}

	.product-hero-series .icon-mask {
		width: 20px;
		height: 20px;
	}

	.product-hero-series span {
		font-size: 16px;
		line-height: 19px;
	}

	section.product-box .product-hero-info h1.product_title {
		font-size: 28px;
		line-height: 36px;
	}

	.product-hero-meta {
		gap: 28px;
		font-size: 14px;
		line-height: 17px;
	}

	.product-hero-info .sku {
		font-size: 14px;
		line-height: 17px;
	}

	.product-lead-time {
		padding: 24px 32px 24px 183px;
		border-radius: 18px;
	}

	.product-lead-time-body p {
		font-size: 14px;
		line-height: 17px;
	}

	.product-guarantee {
		padding: 36px;
		border-radius: 20px;
	}

	.product-guarantee .h4 {
		font-size: 20px;
		line-height: 24px;
	}

	.product-guarantee p {
		font-size: 14px;
		line-height: 17px;
	}

	section.product-box .option-head {
		font-size: 14px;
		line-height: 17px;
	}

	section.product-box .option-block > span.option-value {
		height: 51px;
		padding: 16px 20px;
		font-size: 16px;
		line-height: 19px;
	}
}

@media (max-width: 1279px) {
	.product-hero {
		flex-direction: column;
		gap: 24px;
		padding: 16px 16px 24px 16px;
		border-radius: var(--radius-large);
	}

	.product-hero-media,
	.product-hero-info {
		width: 100%;
	}

	.product-hero-info > * + * {
		margin-top: 36px;
	}

	.product-hero-info > .variation-group {
		margin-top: 24px;
	}

	.product-hero-info > .buy-group {
		margin-top: 48px;
	}

	.product-hero-head {
		gap: 16px;
	}

	.product-hero-title {
		gap: 12px;
	}

	.product-hero-series {
		gap: 18px;
		padding: 8px 16px 8px 8px;
	}

	section.product-box .product-hero-info h1.product_title {
		font-size: 18px;
		line-height: 23px;
	}

	.product-hero-meta {
		justify-content: space-between;
		gap: 20px;
		width: 100%;
	}

	.product-hero-rating {
		gap: 4px;
	}

	.product-lead-time {
		min-height: 129px;
		padding: 24px 20px 24px 90px;
		border-radius: 14px;
	}

	.product-lead-time-image {
		width: 82px;
		height: 120px;
		bottom: 3px;
	}

	.product-lead-time-image img {
		height: 100%;
		object-fit: cover;
		object-position: right center;
	}

	.product-lead-time-body {
		gap: 8px;
	}

	.product-lead-time-body p {
		font-size: 12px;
		line-height: 18px;
	}

	.product-guarantees {
		flex-direction: column;
		gap: 12px;
		margin-top: 12px;
	}

	.product-guarantee {
		gap: 8px;
		padding: 24px;
		border-radius: 18px;
	}

	.product-guarantee .h4 {
		font-size: 18px;
		line-height: 22px;
	}

	section.product-box .option-head {
		margin-bottom: 5px;
	}

	section.product-box .option-block > span.option-value {
		flex: 1 1 calc(50% - 4px);
		height: 43px;
		padding: 12px 20px;
		font-size: 16px;
		line-height: 19px;
	}
}
