/* Simple Image Viewer - see image-viewer.js */

.simple-image-viewer {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 60px 20px;
	box-sizing: border-box;
	z-index: 100000;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.simple-image-viewer.is-open {
	opacity: 1;
}

.simple-image-viewer img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.simple-image-viewer__close {
	position: fixed;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.simple-image-viewer__close:hover,
.simple-image-viewer__close:focus {
	background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 575px) {
	.simple-image-viewer {
		padding: 60px 12px;
	}
	.simple-image-viewer__close {
		top: 12px;
		right: 12px;
	}
}
