/* ═══════════════════════════════════════════
   LIGHTBOX — Gallery lightbox overlay
   ═══════════════════════════════════════════ */

.lb {
	position: fixed;
	inset: 0;
	background: rgba(15,18,26,.97);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.lb[hidden] { display: none; }

.lb-img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
}

.lb .close {
	position: absolute;
	top: 24px;
	right: 24px;
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}

.lb .close:hover {
	background: var(--coral);
	border-color: var(--coral);
}

.lb .nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	color: #fff;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}

.lb .nav-btn:hover {
	background: var(--coral);
	border-color: var(--coral);
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb .count {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,.7);
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: .18em;
}

/* ── Responsive ── */
@media (max-width: 760px) {
	.lb {
		padding: 16px;
	}

	.lb .nav-btn {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.lb-prev { left: 8px; }
	.lb-next { right: 8px; }

	.lb .close {
		top: 12px;
		right: 12px;
		width: 36px;
		height: 36px;
		font-size: 18px;
	}
}
