/* LP PitchPrint Upgrade – lightbox overlay */
.lp-ppv-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.75);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lp-ppv-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Kader past zich aan de afbeelding */
.lp-ppv-lightbox-box {
	position: relative;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Afbeelding: kader zo groot als de afbeelding (max viewport) */
.lp-ppv-lightbox-box--image {
	width: fit-content;
	height: fit-content;
	max-width: min(95vw, 1200px);
	max-height: 85vh;
}

.lp-ppv-lightbox-box--image img {
	display: block;
	max-width: 100%;
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	vertical-align: middle;
}

.lp-ppv-lightbox-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.lp-ppv-lightbox-close:hover {
	background: rgba(0, 0, 0, 0.75);
}

.lp-ppv-lightbox-close::before {
	content: "×";
}

/* Galerij (voor/achterkant): pijlen links en rechts */
.lp-ppv-lightbox-box--gallery {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lp-ppv-lightbox-prev,
.lp-ppv-lightbox-next {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.lp-ppv-lightbox-prev:hover,
.lp-ppv-lightbox-next:hover {
	background: rgba(0, 0, 0, 0.75);
}

.lp-ppv-lightbox-prev::before {
	content: "‹";
}

.lp-ppv-lightbox-next::before {
	content: "›";
}
