.mlv-gift[hidden] {
	display: none !important;
}

.mlv-gift {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: grid;
	place-items: center;
	padding: 24px 18px;
	box-sizing: border-box;
}

body.mlv-gift-open {
	overflow: hidden;
}

.mlv-gift__backdrop {
	position: absolute;
	inset: 0;
	cursor: pointer;
	background: rgba(14, 28, 42, 0.28);
}

.mlv-gift__dialog {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
	max-height: calc(100vh - 36px);
	max-height: calc(100dvh - 36px);
	opacity: 0;
	transform: translateY(16px) scale(0.985);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.mlv-gift.is-open .mlv-gift__dialog {
	opacity: 1;
	transform: none;
}

.mlv-gift__backdrop {
	opacity: 0;
	transition: opacity 0.45s ease;
}

.mlv-gift.is-open .mlv-gift__backdrop {
	opacity: 1;
}

.mlv-gift__close {
	position: absolute;
	top: -6px;
	right: -6px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	background: #fff;
	color: #5d6d96;
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(36, 24, 48, 0.18);
}

.mlv-gift__close:hover,
.mlv-gift__close:focus-visible {
	background: #7f90bb;
	color: #fff;
}

.mlv-gift__close:focus-visible,
.mlv-gift__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.mlv-gift__frame {
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 28px 70px rgba(24, 14, 36, 0.38);
}

.mlv-gift__frame-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	border: 1px solid rgba(255, 255, 255, 0.95);
	background: #e89db9;
	overflow: hidden;
}

.mlv-gift__visual {
	min-height: 100%;
	background: #7f90bb;
}

.mlv-gift__visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	object-fit: cover;
	object-position: center;
}

.mlv-gift__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 64px 42px 48px;
	text-align: center;
	color: #fff;
	background: #e89db9;
}

.mlv-gift__panel::before,
.mlv-gift__panel::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.92);
}

.mlv-gift__panel::before {
	inset: 14px;
}

.mlv-gift__panel::after {
	inset: 18px;
}

.mlv-gift__eyebrow,
.mlv-gift__title,
.mlv-gift__text,
.mlv-gift__until,
.mlv-gift__cta {
	font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-style: normal;
}

.mlv-gift__eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 16px;
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.28em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mlv-gift__eyebrow::after {
	content: "";
	display: block;
	width: 42px;
	height: 1px;
	margin: 14px auto 0;
	background: rgba(255, 255, 255, 0.85);
}

.mlv-gift h2.mlv-gift__title {
	position: relative;
	z-index: 1;
	margin: 0 0 16px !important;
	color: #fff !important;
	font-family: "Libre Baskerville", Georgia, "Times New Roman", serif !important;
	font-size: 40px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.mlv-gift__text {
	position: relative;
	z-index: 1;
	max-width: 28em;
	margin: 0 0 26px;
	color: #fff;
	font-size: 16px;
	line-height: 1.65;
}

.mlv-gift__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px 22px;
	border: 1px solid #fff;
	background: #fff;
	color: #5d6d96;
	font-size: 13px;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mlv-gift__cta:hover,
.mlv-gift__cta:focus-visible {
	background: #7f90bb;
	border-color: #7f90bb;
	color: #fff;
}

.mlv-gift__until {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 14px;
	font-style: italic;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.mlv-gift {
		padding: 16px 12px;
		align-items: start;
	}

	.mlv-gift__dialog {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		overflow: auto;
	}

	.mlv-gift__close {
		top: 8px;
		right: 8px;
	}

	.mlv-gift__frame-inner {
		grid-template-columns: 1fr;
	}

	.mlv-gift__visual img {
		min-height: 0;
		height: 220px;
	}

	.mlv-gift__panel {
		padding: 36px 26px 30px;
	}

	.mlv-gift h2.mlv-gift__title {
		font-size: 32px !important;
	}
}

@media (max-height: 720px) and (min-width: 761px) {
	.mlv-gift__visual img {
		min-height: 360px;
	}

	.mlv-gift__panel {
		padding: 42px 32px 32px;
	}

	.mlv-gift h2.mlv-gift__title {
		font-size: 34px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mlv-gift__dialog,
	.mlv-gift__backdrop,
	.mlv-gift__cta {
		transition: none;
	}
}
