.lop-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba( 11, 11, 11, 0.97 );
	display: flex;
	align-items: center;
	justify-content: center;
}

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

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

.lop-lightbox__img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	display: block;
}

.lop-lightbox__close,
.lop-lightbox__arrow {
	position: absolute;
	background: transparent;
	border: 0;
	padding: 0;
	color: var( --wp--preset--color--foreground );
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	line-height: 1;
	transition: opacity 0.25s ease;
}

.lop-lightbox__close:hover,
.lop-lightbox__arrow:hover {
	opacity: 0.7;
}

.lop-lightbox__close {
	top: 8px;
	right: 8px;
	font-size: 32px;
}

.lop-lightbox__arrow {
	top: 50%;
	transform: translateY( -50% );
	font-size: 24px;
}

.lop-lightbox__arrow--prev {
	left: 8px;
}

.lop-lightbox__arrow--next {
	right: 8px;
}

.lop-lightbox__arrow[hidden] {
	display: none;
}

.lop-lightbox__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX( -50% );
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8d8c87;
}
