.dcs-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.dcs-popup[hidden] {
	display: none;
}
.dcs-popup.is-open {
	opacity: 1;
}
.dcs-popup__box {
	position: relative;
	max-width: min(560px, 100%);
	max-height: 100%;
	transform: translateY(12px);
	transition: transform 0.25s ease;
}
.dcs-popup.is-open .dcs-popup__box {
	transform: none;
}
.dcs-popup__box img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 40px);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
}
.dcs-popup__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #222;
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.dcs-popup__close:hover {
	background: #eee;
}
@media (max-width: 600px) {
	.dcs-popup__close {
		top: -10px;
		right: -6px;
	}
}
