/* Compiled from assets/scss/fabrex-product-style.scss. */
/* WooCommerce compatibility layer for the Fabreex product layout. */
.woocommerce div.product.product {
	display: grid;
	gap: 15px;
	grid-template-columns: 2.32fr 4fr 1fr;
}

.woocommerce div.product .product_title.entry-title {
	color: var(--black);
	font-size: 26px;
	font-weight: 700;
	line-height: 30px;
	margin: 30px 0;
	text-align: left;
	text-wrap: pretty;
}

.woocommerce div.product form.cart {
	margin: 0;
}

.woocommerce div.product form.cart table.variations {
	border: 0;
	margin: 0;
}

.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
	border: 0;
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce div.product form.cart table.variations .label,
.woocommerce div.product form.cart table.variations label,
.woocommerce div.product form.cart .reset_variations,
.woocommerce div.product form.cart .reset_variations_alert,
.woocommerce div.product .woocommerce-variation-description,
.woocommerce div.product .woocommerce-variation-price,
.woocommerce div.product .woocommerce-variation-availability,
.woocommerce div.product .wcvbp-label,
.woocommerce div.product .wcvbp-group-title {
	display: none !important;
}

.woocommerce div.product .single_variation_wrap {
	margin-top: auto;
}

.woocommerce div.product .woocommerce-variation-add-to-cart.variations_button {
	display: block;
}

.woocommerce div.product .single_add_to_cart_button.button,
.woocommerce div.product button.single_add_to_cart_button {
	background-color: #d92929;
	border: none;
	box-sizing: border-box;
	color: var(--white);
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	line-height: 38px;
	margin: 0;
	outline: none;
	padding: 0 30px;
	text-align: center;
	text-transform: uppercase;
	transition: .1s ease-in-out;
	width: 100%;
}

.woocommerce div.product .single_add_to_cart_button.button:hover,
.woocommerce div.product button.single_add_to_cart_button:hover {
	background-color: var(--gray);
}

.woocommerce div.product .single_add_to_cart_button.button.disabled,
.woocommerce div.product .single_add_to_cart_button.button:disabled {
	cursor: not-allowed;
	opacity: .6;
}

.constructor-characteristic-prise-span .price,
.constructor-characteristic-current-price .price,
.constructor-characteristic-current-price p {
	margin: 0;
}

.constructor-characteristic-current-price,
.constructor-characteristic-current-price .amount {
	color: var(--black);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}

.constructor-characteristic-total-value,
.constructor-characteristic-total-value .amount {
	color: var(--black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.constructor-characteristic-count-number {
	all: unset;
	box-sizing: border-box;
	color: var(--black);
	font-size: 16px;
	line-height: 16px;
	min-width: 34px;
	text-align: center;
}

.constructor-characteristic-count-number::-webkit-outer-spin-button,
.constructor-characteristic-count-number::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.constructor-characteristic-count-number[type="number"] {
	-moz-appearance: textfield;
}

.constructor-characteristic-count-input-btn {
	align-items: center;
	color: var(--black);
	display: flex;
	justify-content: center;
	transition: .3s;
}

.constructor-characteristic-count-input-btn:hover {
	opacity: .5;
}

.product-constructor-application {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.product-constructor-application-title {
	font-size: 16px;
	font-weight: 500;
}

.product-constructor-application-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.product-constructor-application-item {
	color: var(--black);
	display: block;
	position: relative;
	text-decoration: none;
}

.product-constructor-application-item img {
	cursor: help;
	display: block;
	height: 35px;
	object-fit: contain;
	width: 35px;
}

.product-constructor-application-item-text {
	background-color: var(--white);
	border-radius: 2px;
	color: var(--black);
	font-size: 12px;
	font-weight: 500;
	left: 0;
	max-width: 120px;
	opacity: 0;
	padding: 3px 6px;
	pointer-events: none;
	position: absolute;
	top: 100%;
	transition: .8s;
	width: max-content;
	z-index: 20;
}

.product-constructor-application-item:hover .product-constructor-application-item-text {
	opacity: 1;
	pointer-events: all;
}

.woocommerce div.product .wcvbp-select-hidden {
	display: none;
}

.woocommerce div.product .wcvbp-wrap,
.woocommerce div.product .wcvbp-group {
	margin: 0;
}

.woocommerce div.product .wcvbp-group + .wcvbp-group {
	margin-top: 20px;
}

.woocommerce div.product .wcvbp-buttons,
.woocommerce div.product .constructor-info-column__color-choice-color {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.woocommerce div.product .wcvbp-group-instock > .constructor-info-column__color-stock {
	border: 0;
	color: inherit;
	height: auto;
	line-height: normal;
	margin-bottom: 10px;
	text-align: left;
	width: auto;
}

.woocommerce div.product .wcvbp-group > .constructor-info-column__color {
	margin-bottom: 10px;
}

.woocommerce div.product .constructor-info-column__color-choice-title {
	margin-bottom: 10px;
}

.woocommerce div.product .wcvbp-button {
	align-items: center;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: help;
	display: inline-flex;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: .5s;
}

.woocommerce div.product .wcvbp-color-button {
	aspect-ratio: 1;
	background: var(--wcvbp-color, transparent);
	border: 0;
	border-radius: 0;
	color: transparent;
	height: 20px;
	min-height: 20px;
	min-width: 20px;
	overflow: visible;
	position: relative;
	width: 20px;
}

.woocommerce div.product .wcvbp-color-button:hover {
	border-color: transparent;
	transform: none;
}

.woocommerce div.product .wcvbp-color-button.is-active {
	background: var(--wcvbp-color, transparent);
	border-radius: 50%;
	box-shadow: none;
	filter: drop-shadow(3px 6px 6px rgba(0, 0, 0, .22));
}

.woocommerce div.product .wcvbp-button.is-disabled,
.woocommerce div.product .wcvbp-button:disabled {
	cursor: not-allowed;
	opacity: .35;
}

.woocommerce div.product .wcvbp-color-button.wcvbp-button-preorder::after {
	display: none;
}

.woocommerce div.product .wcvbp-color-button::before {
	background: #666;
	border-radius: 2px;
	bottom: calc(100% + 5px);
	color: #fff;
	content: attr(title);
	font-size: 12px;
	font-weight: 500;
	left: 50%;
	max-width: 160px;
	opacity: 0;
	padding: 3px 6px;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%);
	transition: .3s;
	width: max-content;
	z-index: 40;
}

.woocommerce div.product .wcvbp-color-button:hover::before {
	opacity: 1;
}

.woocommerce .woocommerce-breadcrumb {
	color: rgb(118, 124, 130);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 20px;
	overflow: auto;
}

.woocommerce .woocommerce-breadcrumb a {
	color: rgb(118, 124, 130);
	text-decoration: none;
	transition: color .3s;
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: rgb(51, 54, 57);
}

.product-img__wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
}

.product-img-big {
	height: 360px;
	position: relative;
	width: 100%;
}

.product-img-big > :not(.product-img-big-heart) {
	height: 100%;
	left: 50%;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: .5s;
	width: 100%;
}

.product-img-big > ._show {
	opacity: 1;
	pointer-events: all;
}

.product-img-big-heart {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 5;
}

.picture-zoom {
	align-items: center;
	cursor: none;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.picture-zoom-lsitener {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 4;
}

.picture-zoom__original {
	display: block;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	width: 100%;
}

.picture-zoom__original._hide {
	opacity: 0;
	position: absolute;
	width: unset;
}

.picture-zoom__lens {
	background: #fff;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	transition: opacity .15s;
	z-index: 6;
}

.picture-zoom__result-img {
	border-radius: 50%;
	box-shadow: inset 0 4px 4px rgba(255, 255, 255, .2);
	height: 100%;
	max-width: none;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.product-img-list {
	display: grid;
	gap: 15px;
	grid-auto-rows: 90px;
	grid-template-columns: repeat(3, 1fr);
}

.product-img-list img {
	cursor: pointer;
	height: 100%;
	object-fit: cover;
	opacity: .65;
	transition: opacity .25s, box-shadow .25s;
	width: 100%;
}

.product-img-list img._current,
.product-img-list img:hover {
	box-shadow: inset 0 0 0 2px #d92929;
	opacity: 1;
}

@media screen and (max-width: 1199px) {
	.woocommerce div.product.product {
		grid-template-columns: 2fr 4fr;
	}
}

@media screen and (max-width: 915px) {
	.woocommerce div.product.product {
		grid-template-columns: 1fr;
	}
}
