:root {
	--lft-promo-blue: #1267d6;
	--lft-promo-navy: #1e3760;
	--lft-promo-green: #08a958;
}

.lft-promotion-offer {
	width: min(100%, 450px);
	margin: 14px 0 22px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: 0 4px 14px rgba(30, 55, 96, .06);
	box-sizing: border-box;
	color: var(--lft-promo-text, #52676e);
}

.lft-promotion-offer__header {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 3px 10px;
	box-sizing: border-box;
	border-radius: 10px 10px 0 0;
	background: var(--lft-promo-title, #1e3760);
	text-align: center;
}

.lft-promotion-offer__header h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 3px 7px;
	margin: 0 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: .015em;
	text-transform: uppercase;
}

.lft-promotion-offer__separator {
	display: none;
}

.lft-promotion-offer__benefits {
	display: grid;
	gap: 0;
	margin: 0 !important;
	padding: 6px 11px 7px !important;
	box-sizing: border-box;
	border: 1px solid var(--lft-promo-border, #bdd8f5);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: #fff;
	background: color-mix(in srgb, var(--lft-promo-bg, #eef6ff) 28%, #fff);
	list-style: none !important;
}

.lft-promotion-offer__benefits li {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 23px;
	margin: 0 !important;
	box-sizing: border-box;
	font-size: 12.5px;
	line-height: 1.35;
}

.lft-promotion-offer__benefits li > span:last-child { min-width: 0; }

.lft-promotion-offer__check {
	display: inline-flex;
	flex: 0 0 15px;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	color: var(--lft-promo-check, #08a958);
}

.lft-promotion-offer__check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.lft-promotion-timer { display: inline-flex; align-items: center; min-width: 72px; color: var(--lft-promo-title, #1e3760); font-size: .96em; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lft-promotion-offer__header .lft-promotion-timer { color: rgba(255, 255, 255, .92); }

.lft-promotion-coupon { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; white-space: nowrap; }
.lft-promotion-coupon__code { display: inline-flex; align-items: center; height: 22px; min-height: 22px; padding: 0 7px; box-sizing: border-box; border: 1px solid rgba(30, 55, 96, .18); border-radius: 5px; background: #fff; color: var(--lft-promo-navy); font-size: .91em; line-height: 1; }
.lft-promotion-coupon__button { display: inline-flex; align-items: center; justify-content: center; height: 22px; min-height: 22px; margin: 0 !important; padding: 0 8px !important; box-sizing: border-box; border: 0; border-radius: 5px; background: var(--lft-promo-button-bg, var(--lft-promo-blue)) !important; color: var(--lft-promo-button-color, #fff) !important; font-size: 10px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: .01em; cursor: pointer; }
.lft-promotion-coupon__button[disabled]:not(.is-applied) { cursor: wait; opacity: .72; }
.lft-promotion-coupon__button.is-applied { background: transparent !important; color: var(--lft-promo-applied, var(--lft-promo-green)) !important; cursor: default; opacity: 1; }

.lft-promotion-header { display: flex; align-items: center; justify-content: center; min-height: var(--lft-promo-header-height, 30px); padding: 4px 14px; background: var(--lft-promo-header-bg, var(--lft-promo-navy)); color: #fff; box-sizing: border-box; }
.lft-promotion-header__inner { width: 100%; text-align: center; font-size: 13px; line-height: 1.35; }
.lft-promotion-header__inner p { margin: 0 !important; }
.lft-promotion-header .lft-promotion-coupon__code { background: #fff; }
.lft-promotion-scarcity { margin: 0 0 6px; color: var(--lft-promo-scarcity-color, #52676e); font-size: var(--lft-promo-scarcity-size, 15px); line-height: 1.35; }
.lft-promotion-toast { position: fixed; right: 18px; bottom: 18px; z-index: 100000; max-width: min(360px, calc(100vw - 36px)); padding: 12px 15px; border-radius: 10px; background: #102d50; box-shadow: 0 14px 35px rgba(10, 30, 55, .24); color: #fff; font-size: 13px; line-height: 1.4; }
.lft-promotion-toast.is-error { background: #b42318; }

html.lft-promotion-modal-open { overflow: hidden; }

.lft-promotion-popup {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	display: grid;
	padding: 22px;
	place-items: center;
	background: rgba(14, 35, 61, .72);
	opacity: 0;
	transition: opacity .18s ease;
}

.lft-promotion-popup.is-visible { opacity: 1; }

.lft-promotion-popup__dialog {
	position: relative;
	width: min(100%, 440px);
	padding: 30px 30px 28px;
	box-sizing: border-box;
	border: 1px solid rgba(184, 207, 233, .7);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 26px 80px rgba(8, 28, 52, .28);
	color: #1e2d3d;
	text-align: center;
	transform: translateY(8px) scale(.985);
	transition: transform .2s ease;
}

.lft-promotion-popup.is-visible .lft-promotion-popup__dialog { transform: translateY(0) scale(1); }

.lft-promotion-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	max-width: 32px;
	max-height: 32px;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center;
	border: 0;
	border-radius: 999px !important;
	background: #f2f6fa;
	color: #53687d;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.lft-promotion-popup__close:hover,
.lft-promotion-popup__close:focus-visible { background: #e7eef6; color: #1e3760; outline: 2px solid rgba(18, 103, 214, .18); }

.lft-promotion-popup__success {
	display: grid;
	width: 54px;
	height: 54px;
	margin: 0 auto 17px;
	place-items: center;
	border-radius: 50%;
	background: #e7f8ef;
	color: var(--lft-promo-green);
}

.lft-promotion-popup__success svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }

.lft-promotion-popup__title {
	margin: 0 0 8px !important;
	color: #172b45 !important;
	font-size: 23px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
}

.lft-promotion-popup__message {
	margin: 0 0 20px !important;
	color: #617286;
	font-size: 14px;
	line-height: 1.55;
}

.lft-promotion-popup__message strong { color: var(--lft-promo-blue); font-size: 15px; letter-spacing: .035em; }

.lft-promotion-popup__timer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0 0 22px;
	padding: 11px 14px;
	border-radius: 9px;
	background: #fff2ef;
	color: #b42318;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.lft-promotion-popup__timer .lft-promotion-timer { min-width: 84px; color: inherit; font-size: 14px; }

.lft-promotion-popup__continue {
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 9px;
	background: var(--lft-promo-blue);
	box-shadow: 0 8px 20px rgba(18, 103, 214, .2);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.lft-promotion-popup__continue:hover { background: #0c58ba; transform: translateY(-1px); }
.lft-promotion-popup__continue:focus-visible { outline: 3px solid rgba(18, 103, 214, .22); outline-offset: 3px; }

@media (max-width: 600px) {
	.lft-promotion-offer { width: 100%; border-radius: 10px; }
	.lft-promotion-offer__header { min-height: 26px; padding: 2px 9px; }
	.lft-promotion-offer__header h2 { font-size: 12.5px !important; }
	.lft-promotion-offer__benefits { padding: 5px 9px 6px !important; }
	.lft-promotion-offer__benefits li { min-height: 22px; font-size: 12px; }
	.lft-promotion-header__inner { font-size: calc(13px * var(--lft-promo-mobile-scale, .85)); }
	.lft-promotion-popup { padding: 14px; }
	.lft-promotion-popup__dialog { padding: 26px 20px 22px; border-radius: 15px; }
	.lft-promotion-popup__title { padding: 0 24px; font-size: 20px !important; }
	.lft-promotion-popup__timer { align-items: center; flex-direction: column; gap: 3px; }
	.lft-promotion-popup__continue { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.lft-promotion-toast { scroll-behavior: auto; }
	.lft-promotion-popup,
	.lft-promotion-popup__dialog,
	.lft-promotion-popup__continue { transition: none; }
	.lft-promotion-popup__continue:hover { transform: none; }
}
