/*
Theme Name:     Lisa Eva Maria Child
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Crescospec
Author URI:     
Template:       hello-elementor
Version:        0.1.0
*/
.cs-product-gallery__lightbox[hidden] {
	display: none;
}

.cs-product-gallery__lightbox {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100dvh;
	margin: 0;
	padding: 32px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 250ms ease,
		visibility 250ms ease;
}

.cs-product-gallery__lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cs-product-gallery__lightbox-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(20, 14, 14, 0.92);
}

.cs-product-gallery__lightbox-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(1100px, calc(100vw - 160px));
	height: min(90dvh, 900px);
}

.cs-product-gallery__lightbox-image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.cs-product-gallery__lightbox-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.cs-product-gallery__lightbox-close,
.cs-product-gallery__lightbox-prev,
.cs-product-gallery__lightbox-next {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.cs-product-gallery__lightbox-close {
	top: 0;
	right: 0;
}

.cs-product-gallery__lightbox-prev,
.cs-product-gallery__lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.cs-product-gallery__lightbox-prev {
	left: -64px;
}

.cs-product-gallery__lightbox-next {
	right: -64px;
}

html.cs-product-gallery-lightbox-open,
body.cs-product-gallery-lightbox-open {
	overflow: hidden;
	overscroll-behavior: none;
}

@media (max-width: 1023px) {
	.cs-product-gallery__lightbox {
		padding: 16px;
	}

	.cs-product-gallery__lightbox-dialog {
		width: calc(100vw - 32px);
		height: calc(100dvh - 32px);
	}

	.cs-product-gallery__lightbox-close,
	.cs-product-gallery__lightbox-prev,
	.cs-product-gallery__lightbox-next {
		width: 44px;
		height: 44px;
	}

	.cs-product-gallery__lightbox-close {
		top: 8px;
		right: 8px;
	}

	.cs-product-gallery__lightbox-prev {
		left: 8px;
	}

	.cs-product-gallery__lightbox-next {
		right: 8px;
	}
}



