.pdl-promo {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: grid;
	place-items: center;
	padding: 24px 16px;
}

.pdl-promo[hidden] {
	display: none;
}

html.pdl-promo-open {
	overflow: hidden;
}

.pdl-promo__shade {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.72);
}

.pdl-promo__card {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(380px, calc(100vw - 32px));
	max-height: min(86vh, 760px);
	overflow: auto;
	padding: 30px 40px;
	border-radius: 8px;
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	text-align: center;
	direction: rtl;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
	animation: pdl-promo-in 0.45s cubic-bezier(0, 0.87, 0.58, 1);
}

.pdl-promo__x {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.pdl-promo__title,
.pdl-promo__offer,
.pdl-promo__code {
	margin: 0;
	background: #000;
	color: #fff;
	font-weight: 800;
	line-height: 1.35;
}

.pdl-promo__title {
	padding: 8px 12px;
	font-size: 32px;
	letter-spacing: 0.04em;
}

.pdl-promo__art {
	display: block;
	width: 100%;
	height: auto;
	margin: 16px 0 10px;
}

.pdl-promo__offer {
	padding: 10px 12px 0;
	font-size: 22px;
}

.pdl-promo__code {
	padding: 0 12px 10px;
	font-size: 26px;
	letter-spacing: 0.08em;
}

@media (max-width: 767px) {
	.pdl-promo__card {
		padding: 30px;
	}

	.pdl-promo__title {
		font-size: 26px;
	}

	.pdl-promo__offer {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdl-promo__card {
		animation: none;
	}
}

@keyframes pdl-promo-in {
	from {
		opacity: 0;
		transform: translateY(-48px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
