.flexbuild-quickview {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
}

.flexbuild-quickview.is-open {
	display: block;
}

.flexbuild-quickview__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.5 );
}

.flexbuild-quickview__box {
	position: relative;
	max-width: 720px;
	width: 90%;
	margin: 5vh auto;
	background: #fff;
	border-radius: 8px;
	padding: 2rem;
	display: flex;
	gap: 1.5rem;
	max-height: 85vh;
	overflow-y: auto;
}

.flexbuild-quickview__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	border: none;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.flexbuild-quickview__image {
	width: 40%;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 6px;
}

.flexbuild-quickview__price {
	font-size: 1.2rem;
	font-weight: 600;
	color: var( --wp--preset--color--accent, #0073e6 );
}

.flexbuild-quickview__link {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
}

body.flexbuild-quickview-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.flexbuild-quickview__box {
		flex-direction: column;
	}
	.flexbuild-quickview__image {
		width: 100%;
	}
}
