/* Visualprint Installer — lightbox styles. */

img[data-vpi-lightbox] {
	cursor: zoom-in;
	transition: opacity 0.15s ease;
}
img[data-vpi-lightbox]:hover {
	opacity: 0.92;
}

.vpi-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 24, 35, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 32px 24px;
	box-sizing: border-box;
	cursor: zoom-out;
	animation: vpi-lightbox-fade 0.18s ease;
}

.vpi-lightbox-figure {
	margin: 0;
	max-width: min(92vw, 1400px);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.vpi-lightbox-figure img {
	max-width: 100%;
	max-height: 82vh;
	width: auto;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
	object-fit: contain;
	cursor: default;
	display: block;
}

.vpi-lightbox-figure figcaption {
	color: #ffffff;
	font-family: "Outfit", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
	max-width: 720px;
	opacity: 0.88;
}

.vpi-lightbox-close {
	position: absolute;
	top: 16px;
	right: 22px;
	background: transparent;
	border: 0;
	color: #ffffff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	padding: 8px 14px;
	font-family: "Outfit", Helvetica, Arial, sans-serif;
}
.vpi-lightbox-close:hover {
	opacity: 0.75;
}

@keyframes vpi-lightbox-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
