/* Woo Listings — Room Image Lightbox */

.room-image-group .room-image,
.room-image-group .room-image-extra {
	cursor: zoom-in;
}

html.wl-lightbox-lock,
html.wl-lightbox-lock body {
	overflow: hidden;
}

.wl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 150ms ease-out;
}

.wl-lightbox.is-open {
	display: flex;
	opacity: 1;
}

.wl-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.wl-lightbox__stage {
	position: relative;
	margin: 0;
	max-width: min(92vw, 1400px);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.wl-lightbox__img {
	display: block;
	max-width: 92vw;
	max-height: 86vh;
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	pointer-events: auto;
}

.wl-lightbox__counter {
	color: #fff;
	font-size: 13px;
	margin-top: 10px;
	opacity: 0.8;
	pointer-events: none;
	text-align: center;
}

.wl-lightbox__close,
.wl-lightbox__nav {
	position: absolute;
	color: #fff;
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 120ms ease-out, transform 120ms ease-out, opacity 120ms ease-out;
	padding: 0;
}

.wl-lightbox__nav {
	background: rgba(0, 0, 0, 0.45);
}

.wl-lightbox__close {
	background: transparent;
	top: 16px;
	right: 16px;
	font-size: 32px;
}

.wl-lightbox__close:hover {
	background: transparent;
	opacity: 0.85;
}

.wl-lightbox__nav:hover {
	background: rgba(0, 0, 0, 0.75);
}

.wl-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.wl-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.wl-lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.wl-lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 600px) {
	.wl-lightbox__nav {
		width: 38px;
		height: 38px;
		font-size: 24px;
	}
	.wl-lightbox__nav--prev { left: 6px; }
	.wl-lightbox__nav--next { right: 6px; }
	.wl-lightbox__close { top: 10px; right: 10px; }
}
