/* Listing single: full-screen image lightbox */
.sknp-lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	padding: 3rem 0.75rem 2.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sknp-lb-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

body.sknp-lb-open {
	overflow: hidden;
}

.sknp-lb-stage {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
	min-height: 0;
	touch-action: pan-y;
}

.sknp-lb-img {
	max-width: 100%;
	max-height: calc(100vh - 6rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 0.25rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.sknp-lb-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.sknp-lb-close:hover,
.sknp-lb-close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.sknp-lb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 3rem;
	height: 3rem;
	border: none;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.sknp-lb-nav:hover,
.sknp-lb-nav:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.sknp-lb-prev {
	left: 0.5rem;
}

.sknp-lb-next {
	right: 0.5rem;
}

.sknp-lb-nav[hidden] {
	display: none;
}

.sknp-lb-counter {
	position: absolute;
	bottom: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.sknp-lb-trigger {
	cursor: zoom-in;
}

.sknp-lb-trigger:focus-visible {
	outline: 3px solid #104210;
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.sknp-lb-prev {
		left: 1rem;
	}

	.sknp-lb-next {
		right: 1rem;
	}
}
