/* Machon Nadav quick view: structural base. The look comes from the theme (assets/mn-quickview.css). */

html.yith-quick-view-is-open,
html.yith-quick-view-is-open body {
	overflow: hidden;
}

.yith-quick-view.yith-modal {
	position: fixed;
	inset: 0;
	z-index: 1400;
	visibility: hidden;
	opacity: 0;
	text-align: center;
	transition: opacity 0.3s, visibility 0.3s;
}

.yith-quick-view.yith-modal::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 0;
}

.yith-quick-view.yith-modal .yith-quick-view-overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.8 );
}

.yith-quick-view.yith-modal .yith-quick-view-overlay p {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: 0;
	transform: translateY( -50% );
	color: #fff;
	text-align: center;
}

.yith-quick-view.yith-modal .yith-wcqv-wrapper {
	display: inline-block;
	vertical-align: middle;
	visibility: hidden;
	text-align: start;
}

.yith-quick-view.yith-modal .yith-wcqv-main {
	position: relative;
	height: 100%;
	opacity: 0;
	background: #fff;
	transform: scale( 0.7 );
	transition: opacity 0.3s, transform 0.3s;
}

.yith-quick-view.yith-modal.loading {
	visibility: visible;
	opacity: 1;
}

.yith-quick-view.yith-modal.open,
.yith-quick-view.yith-modal.open .yith-wcqv-wrapper {
	visibility: visible;
	opacity: 1;
}

.yith-quick-view.yith-modal.open .yith-wcqv-main {
	opacity: 1;
	transform: scale( 1 );
}

@media ( prefers-reduced-motion: reduce ) {
	.yith-quick-view.yith-modal,
	.yith-quick-view.yith-modal .yith-wcqv-main {
		transition: none;
	}
}

.yith-wcqv-head {
	position: absolute;
	top: 3px;
	right: 3px;
	z-index: 10;
}

.yith-quick-view-close {
	display: block;
	width: 24px;
	height: 24px;
	overflow: hidden;
	text-indent: -99999px;
	cursor: pointer;
}

.yith-wcqv-button {
	display: inline-block;
	cursor: pointer;
}

.yith-quick-view.yith-modal .yith-quick-view-content {
	height: 100%;
	overflow-y: auto;
}

.yith-quick-view-content.woocommerce div.product {
	height: 100%;
}

.yith-quick-view .yith-quick-view-content.woocommerce div.summary {
	display: inline-block;
	box-sizing: border-box;
	float: none;
	height: auto;
	max-height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	overflow-y: auto;
}

.yith-quick-view-content.woocommerce div.summary-content {
	padding: 20px;
}

.yith-quick-view-content.woocommerce div.summary h1 {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 700;
	color: #222;
}

.yith-quick-view-content.woocommerce div.summary .price {
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: 700;
	color: #222;
}

.yith-quick-view-content.woocommerce div.summary .price del {
	font-size: 80%;
	opacity: 0.5;
}

.yith-quick-view-content.woocommerce div.summary .price del,
.yith-quick-view-content.woocommerce div.summary .price ins {
	display: inline-block;
	background: none;
}

.yith-quick-view-content.woocommerce div.summary div[itemprop="description"] {
	font-size: 15px;
	color: #222;
}

.yith-quick-view-content.woocommerce div.summary .woocommerce-product-rating,
.yith-quick-view-content.woocommerce div.summary .single_variation {
	margin-bottom: 15px;
}

.yith-quick-view-content.woocommerce div.summary .woocommerce-product-rating .star-rating {
	height: 14px;
	font-size: 14px;
	color: #f7c104;
}

.yith-quick-view-content div.woocommerce-product-rating a.woocommerce-review-link {
	display: none;
}

.yith-quick-view-content.woocommerce div.summary form.cart {
	margin-bottom: 25px;
}

.yith-quick-view-content.woocommerce div.summary div.quantity,
.yith-quick-view-content.woocommerce div.summary .single_add_to_cart_button {
	display: inline-block;
	margin-inline-end: 15px;
}

.yith-quick-view-content.woocommerce div.summary table.variations {
	border: 0;
	margin-bottom: 0;
}

.yith-quick-view-content.woocommerce div.summary table.variations td {
	display: block;
	padding: 0;
	border: 0;
	margin-bottom: 10px;
}

.yith-quick-view-content.woocommerce div.product form.cart .variations select {
	float: none;
	width: auto;
}

.yith-quick-view-content.woocommerce div.entry-summary a.reset_variations {
	visibility: hidden;
}
