/* BudgetTravel Clean Lightbox Styles (<1.5KB) */
.bt-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(10, 12, 16, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	user-select: none;
	touch-action: pan-y;
}

.bt-lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.bt-lightbox-stage {
	position: relative;
	max-width: 94vw;
	max-height: 84vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bt-lightbox-img {
	max-width: 94vw;
	max-height: 84vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
	transition: transform 0.2s ease, opacity 0.2s ease;
	transform: scale(0.96);
	opacity: 0;
}

.bt-lightbox-overlay.active .bt-lightbox-img {
	transform: scale(1);
	opacity: 1;
}

/* Close & Nav Buttons */
.bt-lightbox-btn {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, transform 0.15s ease;
	z-index: 10;
}

.bt-lightbox-btn:hover {
	background: rgba(255, 255, 255, 0.28);
	transform: scale(1.08);
}

.bt-lightbox-btn:active {
	transform: scale(0.95);
}

.bt-lightbox-close {
	top: 18px;
	right: 18px;
}

.bt-lightbox-prev {
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.bt-lightbox-prev:hover {
	transform: translateY(-50%) scale(1.08);
}

.bt-lightbox-next {
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.bt-lightbox-next:hover {
	transform: translateY(-50%) scale(1.08);
}

.bt-lightbox-info {
	position: absolute;
	bottom: 14px;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 24px;
	box-sizing: border-box;
	color: #e2e8f0;
	font-size: 14px;
	pointer-events: none;
}

.bt-lightbox-caption {
	max-width: 75%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bt-lightbox-counter {
	font-weight: 600;
	background: rgba(0, 0, 0, 0.45);
	padding: 4px 10px;
	border-radius: 12px;
	letter-spacing: 0.5px;
}

/* Hover hint strictly on gallery images */
.gallery .bt-lightbox-zoomable,
.gallery-item img,
.gallery-icon img,
.wp-block-gallery img,
.blocks-gallery-grid img {
	cursor: zoom-in;
}

@media (max-width: 640px) {
	.bt-lightbox-btn {
		width: 40px;
		height: 40px;
	}
	.bt-lightbox-prev { left: 8px; }
	.bt-lightbox-next { right: 8px; }
	.bt-lightbox-close { top: 12px; right: 12px; }
	.bt-lightbox-info {
		bottom: 8px;
		padding: 0 14px;
		font-size: 12px;
	}
}

