.act-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
}

.act-lightbox[hidden] {
	display: none;
}

.act-lightbox-inner {
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.act-lightbox-img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius-md, 8px);
	display: block;
}

.act-lightbox-close {
	position: fixed;
	top: 1.25rem;
	right: 1.25rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.act-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.act-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.act-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

.act-lightbox-prev {
	left: 1.25rem;
}

.act-lightbox-next {
	right: 1.25rem;
}

.act_custom_lightbox img,
.act_custom_lightbox a {
	cursor: zoom-in;
}
