.jc-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.jc-lightbox-overlay.is-open {
	display: block;
	opacity: 1;
}

.jc-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.jc-lightbox-container {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	box-sizing: border-box;
}

.jc-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	text-align: center;
	z-index: 2;
	transform: scale(0.96);
	transition: transform 0.2s ease;
}

.jc-lightbox-overlay.is-open .jc-lightbox-content {
	transform: scale(1);
}

.jc-lightbox-image {
	display: block;
	max-width: 90vw;
	max-height: 80vh;
	margin: 0 auto;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	background: #fff;
}

.jc-lightbox-caption {
	margin-top: 0.75rem;
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
}

.jc-lightbox-close,
.jc-lightbox-prev,
.jc-lightbox-next {
	position: absolute;
	z-index: 3;
	border: 0;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	padding: 0.75rem 1rem;
	font-size: 2rem;
	line-height: 1;
	border-radius: 0.25rem;
}

.jc-lightbox-close:hover,
.jc-lightbox-prev:hover,
.jc-lightbox-next:hover {
	background: rgba(0, 0, 0, 0.7);
}

.jc-lightbox-close {
	top: 1rem;
	right: 1rem;
}

.jc-lightbox-prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.jc-lightbox-next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

body.jc-lightbox-open {
	overflow: hidden;
}

a.jc-lightbox-link img {
	cursor: zoom-in;
}