/* ==========================================================================
   Gallery Lightbox Navigation — prev/next arrows + counter
   Sits inside .wp-lightbox-overlay — z-index must beat the scrim (2000000)
   ========================================================================== */

.gallery-lightbox-nav__btn {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999999999;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.5) !important;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease, opacity 0.18s ease;
	backdrop-filter: blur(8px);
}
.gallery-lightbox-nav__btn:hover {
	background: rgba(0, 0, 0, 0.7) !important;
}
.gallery-lightbox-nav__btn:disabled {
	opacity: 0.25;
	cursor: default;
}
.gallery-lightbox-nav__btn--prev {
	left: 16px;
}
.gallery-lightbox-nav__btn--next {
	right: 16px;
}

.gallery-lightbox-nav__counter {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999999999;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	padding: 6px 16px;
	border-radius: 999px;
}

/* Mobile: smaller buttons, tighter to edges */
@media (max-width: 768px) {
	.gallery-lightbox-nav__btn {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.gallery-lightbox-nav__btn--prev {
		left: 8px;
	}
	.gallery-lightbox-nav__btn--next {
		right: 8px;
	}
}
