/* ============================================
   Price Zone — ціна, кількість, кнопка купівлі,
   консультація, мобільна липучка
   ============================================ */

/* Price Block - Start */
section.product-box .product-price-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

section.product-box .product-price-block .price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	width: fit-content;
	margin: 0;
	font-family: var(--font-family-2);
	font-size: 36px;
	line-height: 47px;
	font-weight: 600;
	color: var(--black);
}

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

section.product-box .product-price-block .price del {
	display: flex;
	align-items: center;
	color: var(--gray-text);
	font-size: 24px;
	line-height: 29px;
	font-weight: 500;
	text-decoration-line: line-through;
}

section.product-box .product-bundle-note {
	font-size: 16px;
	line-height: 19px;
	color: var(--black);
}
/* Price Block - End */

/* Buy Group - Start */
section.product-box .buy-group {
	display: flex;
	align-items: center;
	gap: 47px;
	width: 100%;
}

section.product-box .buy-group .items-group {
	align-items: center;
	gap: 18px;
	width: fit-content;
}

section.product-box .buy-group .btn {
	--btn-pad: 32px;
}

section.product-box .buy-group .custom-quantity-input {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 172px;
	height: calc(var(--btn-height) + 2 * var(--btn-ring) + 2px);
	padding: 16px 24px;
	background: transparent;
	border: 1px solid var(--input-border);
	border-radius: var(--radius-pill);
}

section.product-box .buy-group .custom-quantity-input .quantity-btn {
	width: 24px;
	height: 24px;
	padding: 0;
	background: transparent;
	border: 0;
	color: transparent;
	cursor: pointer;
	background-color: var(--black);
	-webkit-mask: url(/wp-content/themes/shop/img/icons/plus.svg) no-repeat center / contain;
	mask: url(/wp-content/themes/shop/img/icons/plus.svg) no-repeat center / contain;
	transition: all 0.3s ease;
}

section.product-box .buy-group .custom-quantity-input .quantity-btn.minus {
	-webkit-mask-image: url(/wp-content/themes/shop/img/icons/minus.svg);
	mask-image: url(/wp-content/themes/shop/img/icons/minus.svg);
}

@media not all and (pointer: coarse) {
	section.product-box .buy-group .custom-quantity-input .quantity-btn:hover {
		background-color: var(--primary-ring);
	}
}

section.product-box .buy-group .custom-quantity-input .quantity-display {
	width: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	text-align: center;
	font-size: 18px;
	line-height: 22px;
	color: var(--black);
}

section.product-box .product-consult {
	font-size: 20px;
	line-height: 24px;
	color: var(--black);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: all 0.3s ease;
}

@media not all and (pointer: coarse) {
	section.product-box .product-consult:hover {
		color: var(--primary-ring);
	}
}

section.product-box .btn-cart.in-cart:not(.go-variation-in-cart) {
	pointer-events: none !important;
}

@media (max-width: 1680px) {
	section.product-box .product-price-block .price {
		font-size: 28px;
		line-height: 36px;
	}

	section.product-box .product-price-block .price del {
		font-size: 20px;
		line-height: 24px;
	}

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

	section.product-box .buy-group {
		gap: 28px;
	}

	section.product-box .buy-group .btn {
		--btn-height: 43px;
		--btn-ring: 6px;
		--btn-pad: 28px;
	}

	section.product-box .buy-group .custom-quantity-input {
		width: 157px;
		height: 56px;
		padding: 0 20px;
	}

	section.product-box .buy-group .custom-quantity-input .quantity-display {
		font-size: 16px;
		line-height: 19px;
	}

	section.product-box .product-consult {
		font-size: 18px;
		line-height: 22px;
	}
}

@media (max-width: 1279px) {
	section.product-box .product-price-block .price {
		font-size: 18px;
		line-height: 23px;
	}

	section.product-box .product-price-block .price del {
		font-size: 16px;
		line-height: 19px;
	}

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

	section.product-box .buy-group {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	section.product-box .buy-group .items-group {
		flex-direction: row;
		gap: 18px;
		width: 100%;
	}

	section.product-box .buy-group .btn {
		--btn-height: 34px;
		--btn-ring: 4px;
		--btn-pad: 20px;
	}

	section.product-box .buy-group .custom-quantity-input {
		width: 94px;
		height: 44px;
		flex-shrink: 0;
		padding: 0 16px;
	}

	section.product-box .buy-group .custom-quantity-input .quantity-btn {
		width: 16px;
		height: 16px;
	}

	section.product-box .buy-group .custom-quantity-input .quantity-display {
		width: 24px;
		font-size: 16px;
		line-height: 19px;
	}

	section.product-box .buy-group .items-group .btn {
		width: 100%;
	}

	section.product-box .product-consult {
		font-size: 16px;
		line-height: 19px;
		text-align: center;
	}
}
/* Buy Group - End */

/* Scroll Price - Start */
section.product-box .mob.scroll-price {
	position: fixed;
	bottom: 0;
	left: 0;
	background: var(--light-gray);
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 16px;
	align-items: center;
	box-shadow: 0px 0px 24px 0px var(--shadow-soft);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease-in-out;
	z-index: 99999;
}

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;
	margin: 0;
	font-family: var(--font-family-2);
}

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

section.product-box .mob.scroll-price .scroll-price-info {
	display: flex;
	align-items: baseline;
	gap: 2px;
	min-width: 0;
}

section.product-box .mob.scroll-price .scroll-price-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

section.product-box .mob.scroll-price .scroll-price-qty {
	flex-shrink: 0;
}

section.product-box .mob.scroll-price .scroll-price-btn.disabled {
	pointer-events: none;
	opacity: 0.6;
}
/* Scroll Price - End */

/* Consult Lightbox - Start */
.consult-lightbox .lightbox-section {
	width: 743px;
	max-width: calc(100vw - 32px);
	padding: 64px 40px;
	border-radius: var(--radius-large);
}

.consult-lightbox .lightbox-content {
	gap: 64px;
	padding-right: 0;
}

.consult-lightbox .close-lightbox .icon-mask {
	width: 16px;
	height: 16px;
	color: var(--black);
}

.consult-lightbox .consult-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.consult-lightbox .consult-head p {
	max-width: 375px;
}

.consult-lightbox .consult-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.consult-lightbox .consult-field {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.consult-lightbox .consult-label {
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: 22px;
	color: var(--black);
}

.consult-lightbox .consult-form .form-input {
	height: 60px;
	border-radius: var(--radius-pill);
}

.consult-lightbox .consult-form .btn {
	margin-top: 24px;
}

@media (max-width: 1680px) {
	.consult-lightbox .lightbox-section {
		width: 620px;
		padding: 52px 36px;
	}

	.consult-lightbox .lightbox-content {
		gap: 52px;
	}

	.consult-lightbox .consult-label {
		font-size: 16px;
		line-height: 19px;
	}

	.consult-lightbox .consult-field {
		gap: 20px;
	}

	.consult-lightbox .consult-form .form-input {
		height: 52px;
	}
}

@media (max-width: 1279px) {
	.consult-lightbox .lightbox-section {
		width: 343px;
		padding: 36px 24px;
	}

	.consult-lightbox .lightbox-content {
		gap: 36px;
	}

	.consult-lightbox .consult-field {
		gap: 12px;
	}

	.consult-lightbox .consult-label {
		font-size: 14px;
		line-height: 17px;
	}

	.consult-lightbox .consult-form .form-input {
		height: 48px;
	}

	.consult-lightbox .consult-form .btn {
		margin-top: 12px;
	}
}
/* Consult Lightbox - End */

/* Одиниця виміру, фасовка, довідкові таблиці - Start */
.product-unit {
	color: var(--gray-text);
	font-weight: 400;
}

.product-packaging {
	color: var(--gray-text);
	margin-top: 4px;
}

.reference-tables {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.reference-table-call {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media not all and (pointer: coarse) {
	.reference-table-call:hover {
		text-decoration: none;
	}
}

.reference-table-desc {
	color: var(--gray-text);
	margin-bottom: 16px;
}

.reference-table-image {
	margin-bottom: 16px;
}

.reference-table-scroll {
	overflow-x: auto;
}

.reference-table {
	border-collapse: collapse;
	width: 100%;
}

.reference-table th,
.reference-table td {
	border: 1px solid var(--border);
	padding: 10px 14px;
	text-align: left;
	white-space: nowrap;
}

.reference-table th {
	background: var(--light-gray);
	font-weight: 600;
}
/* Одиниця виміру, фасовка, довідкові таблиці - End */
