.korki-promo {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.korki-promo.is-visible {
	opacity: 1;
}

.korki-promo__box {
	position: relative;
	width: min(800px, 100%);
	transform: scale(0.96);
	transition: transform 0.25s ease;
}

.korki-promo.is-visible .korki-promo__box {
	transform: scale(1);
}

.korki-promo--mobile .korki-promo__box {
	width: min(360px, 100%);
}

.korki-promo__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.korki-promo__box a {
	display: block;
}

.korki-promo__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 26px;
	line-height: 34px;
	cursor: pointer;
	z-index: 1;
}

.korki-promo--mobile .korki-promo__close {
	top: 8px;
	right: 8px;
}

html.korki-promo-open,
html.korki-promo-open body {
	overflow: hidden;
}
