.sbm-popup-trigger,
.sbm-popup-floating-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: #2563eb;
	color: #334155;
	font-weight: 800;
	padding: 12px 18px;
	box-shadow: 0 14px 34px rgba(37,99,235,.28);
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.sbm-popup-trigger:hover,
.sbm-popup-floating-button:hover {
	background: #1d4ed8;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 18px 42px rgba(37,99,235,.34);
}
.sbm-popup-floating-button {
	position: fixed;
	z-index: 99997;
	right: 22px;
	bottom: 22px;
}
[dir="rtl"] .sbm-popup-floating-button,
html[dir="rtl"] .sbm-popup-floating-button,
body.rtl .sbm-popup-floating-button {
	right: auto;
	left: 22px;
}
.sbm-access-popup[hidden] { display: none !important; }
.sbm-access-popup {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	direction: rtl;
	font-family: inherit;
}
.sbm-access-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15,23,42,.42);
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity .2s ease;
}
.sbm-access-popup__panel {
	position: relative;
	z-index: 1;
	width: min(460px, calc(100vw - 28px));
	padding: 30px;
	border: 1px solid rgba(226,232,240,.88);
	border-radius: 24px;
	background: rgba(255,255,255,.98);
	box-shadow: 0 28px 80px rgba(15,23,42,.24);
	transform: translateY(14px) scale(.985);
	opacity: 0;
	transition: transform .22s ease, opacity .22s ease;
	box-sizing: border-box;
}
.sbm-access-popup.is-open .sbm-access-popup__overlay { opacity: 1; }
.sbm-access-popup.is-open .sbm-access-popup__panel { opacity: 1; transform: translateY(0) scale(1); }
.sbm-access-popup__close {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(203,213,225,.85);
	border-radius: 999px;
	background: #f8fafc;
	color: #64748b;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.sbm-access-popup h2 {
	margin: 0 0 10px;
	padding-left: 42px;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 900;
	color: #0f172a;
}
.sbm-access-popup__desc,
.sbm-access-popup__helper {
	margin: 0 0 18px;
	color: #64748b;
	line-height: 1.8;
	font-size: 14px;
}
.sbm-access-popup__form { display: grid; gap: 12px; }
.sbm-access-popup__phone input {
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	padding: 12px 15px;
	border: 1px solid rgba(203,213,225,.95);
	border-radius: 16px;
	background: #f8fafc;
	font-size: 16px;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.sbm-access-popup__phone input:focus {
	background: #fff;
	border-color: rgba(37,99,235,.72);
	box-shadow: 0 0 0 4px rgba(37,99,235,.13);
}
.sbm-access-popup__submit {
	min-height: 52px;
	border: 0;
	border-radius: 16px;
	background: #2563eb;
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(37,99,235,.24);
}
.sbm-access-popup__submit.is-loading { opacity: .72; cursor: wait; }
.sbm-access-popup__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.sbm-access-popup__message {
	display: none;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: #ecfdf5;
	color: #047857;
	font-weight: 800;
}
.sbm-access-popup__message.is-visible { display: block; }
.sbm-access-popup__helper { margin-top: 16px; margin-bottom: 0; font-size: 12px; }
.sbm-popup-mode-bottom_sheet { align-items: flex-end; }
.sbm-popup-mode-bottom_sheet .sbm-access-popup__panel {
	width: min(560px, calc(100vw - 18px));
	border-radius: 24px 24px 0 0;
	margin-bottom: 0;
}
@media (max-width: 640px) {
	.sbm-access-popup { align-items: flex-end; padding: 10px; }
	.sbm-access-popup__panel { width: 100%; border-radius: 24px 24px 16px 16px; padding: 26px 20px 22px; }
	.sbm-popup-floating-button { right: 14px; bottom: 14px; left: 14px; width: auto; }
	[dir="rtl"] .sbm-popup-floating-button,
	html[dir="rtl"] .sbm-popup-floating-button,
	body.rtl .sbm-popup-floating-button { right: 14px; left: 14px; }
}

/* v1.5.1: safer frontend popup layering and viewport scrolling */
body.sbm-modal-open {
	overflow: hidden !important;
}
.sbm-popup-floating-button {
	z-index: 999998 !important;
}
.sbm-access-popup {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	z-index: 999999 !important;
	box-sizing: border-box !important;
}
.sbm-access-popup__overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 0 !important;
}
.sbm-access-popup__panel {
	z-index: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	max-height: calc(100vh - 48px) !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
}
.sbm-access-popup__form,
.sbm-access-popup__submit {
	flex: 0 0 auto;
}
@media (max-width: 640px) {
	.sbm-access-popup {
		align-items: flex-end !important;
		padding: 10px !important;
	}
	.sbm-access-popup__panel {
		max-height: 90vh !important;
		padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
	}
}

/* v1.5.2 premium popup redesign and mobile-safe positioning */
:root {
	--sbm-popup-blue: #2563eb;
	--sbm-popup-blue-dark: #1d4ed8;
	--sbm-popup-text: #0f172a;
	--sbm-popup-muted: #64748b;
	--sbm-popup-border: rgba(203, 213, 225, .72);
}
.sbm-popup-trigger,
.sbm-popup-floating-button {
	position: relative;
	isolation: isolate;
	min-height: 48px;
	padding: 13px 21px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
	color: #334155;
	box-shadow: 0 16px 38px rgba(37, 99, 235, .30), inset 0 1px 0 rgba(255,255,255,.24) !important;
	letter-spacing: -.01em;
}
.sbm-popup-trigger::before,
.sbm-popup-floating-button::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
	pointer-events: none;
	z-index: -1;
}
.sbm-popup-trigger:hover,
.sbm-popup-floating-button:hover {
	background: linear-gradient(135deg, #1d4ed8, #0284c7) !important;
	color: #ffffff !important;
	box-shadow: 0 20px 46px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255,255,255,.26) !important;
}
.sbm-popup-floating-button {
	right: var(--sbm-popup-offset-side, 22px) !important;
	bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-offset-bottom, 24px)) !important;
	max-width: calc(100vw - (var(--sbm-popup-offset-side, 22px) * 2));
}
[dir="rtl"] .sbm-popup-floating-button,
html[dir="rtl"] .sbm-popup-floating-button,
body.rtl .sbm-popup-floating-button {
	right: auto !important;
	left: var(--sbm-popup-offset-side, 22px) !important;
}
.sbm-access-popup {
	padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)) !important;
}
.sbm-access-popup__overlay {
	background: rgba(15, 23, 42, .50) !important;
	backdrop-filter: blur(14px) saturate(130%) !important;
}
.sbm-access-popup__panel {
	width: min(478px, calc(100vw - 32px)) !important;
	max-height: calc(100vh - 48px) !important;
	padding: 0 !important;
	overflow: hidden !important;
	border-radius: 28px !important;
	border: 1px solid rgba(255,255,255,.72) !important;
	background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,250,252,.98)) !important;
	box-shadow: 0 34px 92px rgba(2, 6, 23, .30), 0 8px 30px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255,255,255,.86) !important;
}
.sbm-access-popup__content {
	position: relative;
	padding: 34px 34px 30px;
	text-align: center;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.sbm-access-popup__logo-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
}
.sbm-access-popup__logo {
	display: block;
	max-width: min(180px, 64vw);
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.sbm-access-popup__close {
	top: 18px !important;
	left: 18px !important;
	z-index: 3;
	width: 38px !important;
	height: 38px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(203,213,225,.76) !important;
	background: rgba(248,250,252,.86) !important;
	color: #64748b !important;
	font-size: 22px !important;
	box-shadow: 0 8px 18px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
.sbm-access-popup__close:hover,
.sbm-access-popup__close:focus {
	background: #fff !important;
	color: #0f172a !important;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(15,23,42,.12), 0 0 0 4px rgba(37,99,235,.10);
}
.sbm-access-popup h2 {
	margin: 0 0 12px !important;
	padding: 0 38px !important;
	color: var(--sbm-popup-text) !important;
	font-size: clamp(22px, 4vw, 28px) !important;
	line-height: 1.28 !important;
	font-weight: 950 !important;
	letter-spacing: -.025em;
}
.sbm-access-popup__desc {
	max-width: 36em;
	margin: 0 auto 22px !important;
	color: var(--sbm-popup-muted) !important;
	font-size: 14.5px !important;
	line-height: 1.9 !important;
}
.sbm-access-popup__form {
	gap: 13px !important;
	margin-top: 6px;
}
.sbm-access-popup__phone input {
	min-height: 58px !important;
	padding: 14px 17px !important;
	border-radius: 18px !important;
	border: 1px solid rgba(203, 213, 225, .86) !important;
	background: rgba(248,250,252,.9) !important;
	box-shadow: inset 0 1px 2px rgba(15,23,42,.04) !important;
	text-align: center;
	font-size: 17px !important;
}
.sbm-access-popup__phone input:focus {
	background: #fff !important;
	border-color: rgba(37,99,235,.68) !important;
	box-shadow: 0 0 0 5px rgba(37,99,235,.12), inset 0 1px 2px rgba(15,23,42,.03) !important;
}
.sbm-access-popup__submit {
	position: relative;
	min-height: 58px !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
	color: #ffffff !important;
	font-size: 15.5px !important;
	letter-spacing: -.01em;
	box-shadow: 0 16px 34px rgba(37,99,235,.26), inset 0 1px 0 rgba(255,255,255,.22) !important;
	transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.sbm-access-popup__submit:hover,
.sbm-access-popup__submit:focus {
	transform: translateY(-1px);
	box-shadow: 0 20px 42px rgba(37,99,235,.34), 0 0 0 5px rgba(37,99,235,.10), inset 0 1px 0 rgba(255,255,255,.26) !important;
}
.sbm-submit-spinner {
	display: none;
	width: 18px;
	height: 18px;
	margin-inline-start: 8px;
	border: 2px solid rgba(255,255,255,.42);
	border-top-color: #fff;
	border-radius: 999px;
	vertical-align: middle;
	animation: sbmSpin .75s linear infinite;
}
.sbm-access-popup__submit.is-loading .sbm-submit-spinner { display: inline-block; }
@keyframes sbmSpin { to { transform: rotate(360deg); } }
.sbm-access-popup__message {
	margin: 15px 0 0 !important;
	padding: 13px 15px !important;
	border: 1px solid rgba(5, 150, 105, .16);
	border-radius: 16px !important;
	background: linear-gradient(180deg, #ecfdf5, #f0fdf4) !important;
	color: #047857 !important;
	font-size: 13.5px;
}
.sbm-access-popup__helper {
	max-width: 36em;
	margin: 18px auto 0 !important;
	color: #7c8797 !important;
	font-size: 12.5px !important;
	line-height: 1.8 !important;
}
.sbm-popup-mode-bottom_sheet {
	align-items: flex-end !important;
}
.sbm-popup-mode-bottom_sheet .sbm-access-popup__panel {
	width: min(560px, calc(100vw - 18px)) !important;
	border-radius: 28px 28px max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 640px) {
	.sbm-popup-floating-button {
		right: var(--sbm-popup-offset-side, 14px) !important;
		left: var(--sbm-popup-offset-side, 14px) !important;
		bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-offset-mobile-bottom, 92px)) !important;
		width: auto !important;
		justify-content: center;
	}
	[dir="rtl"] .sbm-popup-floating-button,
	html[dir="rtl"] .sbm-popup-floating-button,
	body.rtl .sbm-popup-floating-button {
		right: var(--sbm-popup-offset-side, 14px) !important;
		left: var(--sbm-popup-offset-side, 14px) !important;
	}
	.sbm-access-popup {
		align-items: flex-end !important;
		padding: 10px 10px calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-mobile-safe, 18px)) !important;
	}
	.sbm-access-popup__panel {
		width: min(100%, calc(100vw - 20px)) !important;
		max-height: 90vh !important;
		border-radius: 28px 28px 22px 22px !important;
	}
	.sbm-access-popup__content {
		padding: 30px 20px 24px;
	}
	.sbm-access-popup h2 {
		padding: 0 34px !important;
	}
	.sbm-access-popup__logo {
		max-height: 58px;
	}
}

/* v1.5.3 floating trigger footer/mobile overlap fixes */
.sbm-popup-floating-button {
	position: fixed !important;
	z-index: 999998 !important;
	right: var(--sbm-popup-side-offset, 32px) !important;
	left: auto !important;
	bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-bottom-desktop, 32px)) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: auto !important;
	max-width: min(320px, calc(100vw - (var(--sbm-popup-side-offset, 32px) * 2))) !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
	pointer-events: auto !important;
	will-change: transform, opacity, bottom !important;
}
[dir="rtl"] .sbm-popup-floating-button,
html[dir="rtl"] .sbm-popup-floating-button,
body.rtl .sbm-popup-floating-button {
	right: auto !important;
	left: var(--sbm-popup-side-offset, 32px) !important;
}
body.sbm-footer-visible .sbm-popup-floating-button,
body.sbm-footer-avoid-fallback .sbm-popup-floating-button,
.sbm-popup-floating-button.sbm-footer-visible {
	bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-bottom-desktop, 32px) + var(--sbm-popup-footer-avoid-offset, 96px)) !important;
}
body.sbm-modal-open .sbm-popup-floating-button {
	opacity: 0 !important;
	transform: translateY(10px) scale(.96) !important;
	pointer-events: none !important;
}
.sbm-popup-floating-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: rgba(255,255,255,.18);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
	font-size: 13px;
	line-height: 1;
}
.sbm-popup-floating-button__text {
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (max-width: 640px) {
	.sbm-popup-floating-button {
		right: var(--sbm-popup-side-offset, 18px) !important;
		left: auto !important;
		bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-bottom-mobile, 96px)) !important;
		min-height: 44px !important;
		padding: 11px 16px !important;
		max-width: calc(100vw - (var(--sbm-popup-side-offset, 18px) * 2)) !important;
		font-size: 13.5px !important;
	}
	[dir="rtl"] .sbm-popup-floating-button,
	html[dir="rtl"] .sbm-popup-floating-button,
	body.rtl .sbm-popup-floating-button {
		right: auto !important;
		left: var(--sbm-popup-side-offset, 18px) !important;
	}
	body.sbm-footer-visible .sbm-popup-floating-button,
	body.sbm-footer-avoid-fallback .sbm-popup-floating-button,
	.sbm-popup-floating-button.sbm-footer-visible {
		bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sbm-popup-bottom-mobile, 96px) + var(--sbm-popup-footer-avoid-offset, 96px)) !important;
	}
	.sbm-popup-mobile-style-icon {
		width: 48px !important;
		height: 48px !important;
		padding: 0 !important;
		border-radius: 999px !important;
	}
	.sbm-popup-mobile-style-icon .sbm-popup-floating-button__text {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
	}
	.sbm-popup-mobile-style-full {
		right: var(--sbm-popup-side-offset, 18px) !important;
		left: var(--sbm-popup-side-offset, 18px) !important;
		width: auto !important;
		max-width: none !important;
	}
	[dir="rtl"] .sbm-popup-mobile-style-full,
	html[dir="rtl"] .sbm-popup-mobile-style-full,
	body.rtl .sbm-popup-mobile-style-full {
		right: var(--sbm-popup-side-offset, 18px) !important;
		left: var(--sbm-popup-side-offset, 18px) !important;
	}
	.sbm-popup-mobile-style-compact {
		max-width: min(240px, calc(100vw - (var(--sbm-popup-side-offset, 18px) * 2))) !important;
	}
	.sbm-popup-mobile-style-compact .sbm-popup-floating-button__text {
		max-width: 160px;
	}
}

/* v1.5.4 premium launcher and keyboard-safe popup refinements */
:root {
	--sbm-launcher-gradient-a: #1d4ed8;
	--sbm-launcher-gradient-b: #0ea5e9;
	--sbm-launcher-navy: #0f172a;
	--sbm-launcher-white: #ffffff;
	--sbm-launcher-shadow: 0 22px 48px rgba(15, 23, 42, .20), 0 10px 24px rgba(37, 99, 235, .22);
}
.sbm-popup-launcher.sbm-popup-floating-button {
	min-width: 58px !important;
	min-height: 58px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	gap: 10px !important;
	color: var(--sbm-launcher-white) !important;
	transform: translateZ(0);
	transition: opacity .24s ease, transform .24s ease, filter .24s ease, bottom .24s ease !important;
}
.sbm-popup-launcher.sbm-popup-floating-button::before,
.sbm-popup-launcher.sbm-popup-floating-button::after { content: none !important; }
.sbm-popup-launcher__orb {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--sbm-launcher-gradient-a), var(--sbm-launcher-gradient-b));
	color: #fff;
	box-shadow: var(--sbm-launcher-shadow), inset 0 1px 0 rgba(255,255,255,.28);
	overflow: hidden;
	isolation: isolate;
	transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, filter .28s ease;
}
.sbm-popup-launcher__orb::before,
.sbm-popup-launcher__bubble::before,
.sbm-access-popup__submit::before,
.sbm-preview-popup-submit::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.28) 45%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.20) 55%, transparent 100%);
	transform: translateX(-130%);
	transition: transform .36s ease;
	pointer-events: none;
	z-index: 0;
}
[dir="rtl"] .sbm-popup-launcher__orb::before,
html[dir="rtl"] .sbm-popup-launcher__orb::before,
body.rtl .sbm-popup-launcher__orb::before,
[dir="rtl"] .sbm-popup-launcher__bubble::before,
html[dir="rtl"] .sbm-popup-launcher__bubble::before,
body.rtl .sbm-popup-launcher__bubble::before,
[dir="rtl"] .sbm-access-popup__submit::before,
html[dir="rtl"] .sbm-access-popup__submit::before,
body.rtl .sbm-access-popup__submit::before { transform: translateX(130%); }
.sbm-popup-launcher__gift,
.sbm-popup-launcher__logo {
	position: relative;
	z-index: 1;
	display: block;
}
.sbm-popup-launcher__gift { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(15,23,42,.15)); }
.sbm-popup-launcher__logo {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	object-fit: cover;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.sbm-popup-launcher__bubble {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	max-width: min(280px, calc(100vw - 110px));
	min-height: 46px;
	padding: 10px 16px;
	border: 1px solid rgba(226,232,240,.88);
	border-radius: 999px;
	background: rgba(255,255,255,.96);
	color: #0f172a;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.35;
	box-shadow: 0 18px 42px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.88);
	backdrop-filter: blur(14px) saturate(120%);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transform-origin: center right;
	transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), max-width .28s ease, padding .28s ease, box-shadow .28s ease;
}
[dir="rtl"] .sbm-popup-launcher__bubble,
html[dir="rtl"] .sbm-popup-launcher__bubble,
body.rtl .sbm-popup-launcher__bubble { transform-origin: center left; }
.sbm-popup-launcher__bubble span { position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; }
.sbm-popup-launcher .sbm-popup-floating-button__text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
}
.sbm-popup-launcher:hover,
.sbm-popup-launcher:focus-visible { transform: translateY(-2px) !important; }
.sbm-popup-launcher:hover .sbm-popup-launcher__orb,
.sbm-popup-launcher:focus-visible .sbm-popup-launcher__orb {
	transform: translateY(-1px) scale(1.035);
	box-shadow: 0 26px 58px rgba(37,99,235,.32), 0 10px 24px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.30);
}
.sbm-popup-launcher:hover .sbm-popup-launcher__bubble,
.sbm-popup-launcher:focus-visible .sbm-popup-launcher__bubble { box-shadow: 0 22px 52px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.90); }
@media (hover: hover) and (pointer: fine) {
	.sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__orb::before,
	.sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__bubble::before,
	.sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__orb::before,
	.sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__bubble::before,
	.sbm-access-popup__submit:hover::before,
	.sbm-preview-popup-submit:hover::before { transform: translateX(130%); }
	[dir="rtl"] .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__orb::before,
	html[dir="rtl"] .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__orb::before,
	body.rtl .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__orb::before,
	[dir="rtl"] .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__bubble::before,
	html[dir="rtl"] .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__bubble::before,
	body.rtl .sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__bubble::before,
	[dir="rtl"] .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__orb::before,
	html[dir="rtl"] .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__orb::before,
	body.rtl .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__orb::before,
	[dir="rtl"] .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__bubble::before,
	html[dir="rtl"] .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__bubble::before,
	body.rtl .sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__bubble::before,
	[dir="rtl"] .sbm-access-popup__submit:hover::before,
	html[dir="rtl"] .sbm-access-popup__submit:hover::before,
	body.rtl .sbm-access-popup__submit:hover::before { transform: translateX(-130%); }
}
.sbm-launcher-animation-pulse .sbm-popup-launcher__orb { animation: sbmLauncherPulse 2.8s ease-in-out infinite; }
@keyframes sbmLauncherPulse {
	0%, 100% { box-shadow: var(--sbm-launcher-shadow), 0 0 0 0 rgba(37,99,235,.0); }
	50% { box-shadow: var(--sbm-launcher-shadow), 0 0 0 10px rgba(37,99,235,.12); }
}
.sbm-launcher-animation-shimmer .sbm-popup-launcher__orb::before { animation: sbmLauncherShimmer 2.8s ease-in-out infinite; }
@keyframes sbmLauncherShimmer {
	0%, 38% { transform: translateX(-130%); }
	62%, 100% { transform: translateX(130%); }
}
.sbm-popup-launcher.sbm-launcher-collapsed .sbm-popup-launcher__bubble,
.sbm-launcher-style-icon .sbm-popup-launcher__bubble,
.sbm-launcher-style-logo .sbm-popup-launcher__bubble {
	max-width: 0;
	padding-inline: 0;
	border-width: 0;
	opacity: 0;
	transform: translateX(10px) scale(.96);
	pointer-events: none;
}
[dir="rtl"] .sbm-popup-launcher.sbm-launcher-collapsed .sbm-popup-launcher__bubble,
html[dir="rtl"] .sbm-popup-launcher.sbm-launcher-collapsed .sbm-popup-launcher__bubble,
body.rtl .sbm-popup-launcher.sbm-launcher-collapsed .sbm-popup-launcher__bubble { transform: translateX(-10px) scale(.96); }
.sbm-launcher-style-logo .sbm-popup-launcher__orb,
.sbm-launcher-style-logo_bubble .sbm-popup-launcher__orb { background: #fff; }
.sbm-launcher-style-logo .sbm-popup-launcher__gift,
.sbm-launcher-style-logo_bubble .sbm-popup-launcher__gift { color: #2563eb; }
.sbm-launcher-side-right { right: var(--sbm-popup-side-offset, 32px) !important; left: auto !important; }
.sbm-launcher-side-left { left: var(--sbm-popup-side-offset, 32px) !important; right: auto !important; }
.sbm-access-popup__overlay { background: rgba(15,23,42,.56) !important; backdrop-filter: blur(16px) saturate(135%) !important; }
.sbm-access-popup__panel {
	box-shadow: 0 40px 110px rgba(2,6,23,.34), 0 14px 42px rgba(15,23,42,.20), inset 0 1px 0 rgba(255,255,255,.9) !important;
	transform: translateY(18px) scale(.97) !important;
	transition: transform .30s cubic-bezier(.2,.8,.2,1), opacity .26s ease !important;
}
.sbm-access-popup.is-open .sbm-access-popup__panel { transform: translateY(0) scale(1) !important; }
.sbm-access-popup__submit,
.sbm-preview-popup-submit {
	position: relative !important;
	isolation: isolate;
	overflow: hidden !important;
	color: #fff !important;
	text-shadow: 0 1px 1px rgba(15,23,42,.18);
}
.sbm-access-popup__submit .sbm-submit-text,
.sbm-preview-popup-submit { position: relative; z-index: 1; }
.sbm-access-popup__submit:disabled { color: rgba(255,255,255,.92) !important; }
.sbm-access-popup__phone input::placeholder { color: #94a3b8 !important; opacity: 1; }
body.sbm-popup-keyboard-open .sbm-access-popup { align-items: flex-end !important; }
body.sbm-popup-keyboard-open .sbm-access-popup__panel {
	max-height: min(92vh, calc(var(--sbm-viewport-height, 100vh) - 18px)) !important;
}
@media (max-width: 640px) {
	.sbm-popup-launcher.sbm-popup-floating-button {
		min-width: 52px !important;
		min-height: 52px !important;
		max-width: min(250px, calc(100vw - (var(--sbm-popup-side-offset, 18px) * 2))) !important;
	}
	.sbm-popup-launcher__orb { width: 52px; height: 52px; flex-basis: 52px; }
	.sbm-popup-launcher__gift { font-size: 21px; }
	.sbm-popup-launcher__logo { width: 38px; height: 38px; }
	.sbm-popup-launcher__bubble {
		min-height: 40px;
		max-width: min(168px, calc(100vw - 92px));
		padding: 8px 12px;
		font-size: 12.5px;
	}
	.sbm-popup-mobile-style-icon .sbm-popup-launcher__bubble,
	.sbm-popup-mobile-style-compact.sbm-launcher-autocollapse.sbm-launcher-collapsed .sbm-popup-launcher__bubble {
		display: none;
	}
	.sbm-popup-mobile-style-full.sbm-popup-launcher {
		justify-content: flex-start !important;
	}
	.sbm-popup-mobile-style-full .sbm-popup-launcher__bubble {
		max-width: calc(100vw - 110px);
	}
	.sbm-access-popup__panel {
		width: min(100%, calc(100vw - 20px)) !important;
		max-height: min(92vh, calc(var(--sbm-viewport-height, 100vh) - 18px)) !important;
		border-radius: 28px 28px 24px 24px !important;
	}
	.sbm-access-popup__content {
		padding: 28px 20px max(22px, calc(env(safe-area-inset-bottom, 0px) + 16px)) !important;
	}
	.sbm-access-popup h2 { font-size: 22px !important; }
	.sbm-access-popup__desc { font-size: 13.8px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.sbm-popup-launcher,
	.sbm-popup-launcher *,
	.sbm-access-popup,
	.sbm-access-popup * {
		animation: none !important;
		transition-duration: .01ms !important;
	}
}
.sbm-launcher-side-right[dir],
.sbm-launcher-side-right.sbm-popup-floating-button,
[dir="rtl"] .sbm-launcher-side-right.sbm-popup-floating-button,
html[dir="rtl"] .sbm-launcher-side-right.sbm-popup-floating-button,
body.rtl .sbm-launcher-side-right.sbm-popup-floating-button {
	right: var(--sbm-popup-side-offset, 32px) !important;
	left: auto !important;
}
.sbm-launcher-side-left.sbm-popup-floating-button,
[dir="rtl"] .sbm-launcher-side-left.sbm-popup-floating-button,
html[dir="rtl"] .sbm-launcher-side-left.sbm-popup-floating-button,
body.rtl .sbm-launcher-side-left.sbm-popup-floating-button {
	left: var(--sbm-popup-side-offset, 32px) !important;
	right: auto !important;
}
@media (max-width: 640px) {
	.sbm-launcher-side-right.sbm-popup-floating-button,
	[dir="rtl"] .sbm-launcher-side-right.sbm-popup-floating-button,
	html[dir="rtl"] .sbm-launcher-side-right.sbm-popup-floating-button,
	body.rtl .sbm-launcher-side-right.sbm-popup-floating-button {
		right: var(--sbm-popup-side-offset, 18px) !important;
		left: auto !important;
	}
	.sbm-launcher-side-left.sbm-popup-floating-button,
	[dir="rtl"] .sbm-launcher-side-left.sbm-popup-floating-button,
	html[dir="rtl"] .sbm-launcher-side-left.sbm-popup-floating-button,
	body.rtl .sbm-launcher-side-left.sbm-popup-floating-button {
		left: var(--sbm-popup-side-offset, 18px) !important;
		right: auto !important;
	}
}

/* v1.5.5 final launcher polish: SVG icons, custom colors, true color fill, focus rings */
.sbm-popup-launcher.sbm-popup-floating-button,
.sbm-popup-launcher.sbm-popup-floating-button:hover,
.sbm-popup-launcher.sbm-popup-floating-button:focus,
.sbm-popup-launcher.sbm-popup-floating-button:active,
.sbm-access-popup__submit,
.sbm-access-popup__submit:hover,
.sbm-access-popup__submit:focus,
.sbm-access-popup__submit:active,
.sbm-access-popup__close,
.sbm-access-popup__close:hover,
.sbm-access-popup__close:focus,
.sbm-access-popup__close:active {
	outline: none !important;
}
.sbm-popup-launcher.sbm-popup-floating-button:focus-visible .sbm-popup-launcher__orb,
.sbm-access-popup__submit:focus-visible,
.sbm-access-popup__close:focus-visible {
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .18), 0 18px 46px rgba(15, 23, 42, .18) !important;
}
.sbm-popup-launcher__orb {
	background: linear-gradient(135deg, var(--sbm-launcher-primary, #2563eb), var(--sbm-launcher-secondary, #7c3aed)) !important;
	color: var(--sbm-launcher-icon, #ffffff) !important;
}
.sbm-popup-launcher__svg {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--sbm-launcher-icon, #ffffff);
}
.sbm-popup-launcher__svg svg {
	display: block;
	width: 28px;
	height: 28px;
	stroke: currentColor;
}
.sbm-popup-launcher__logo + .sbm-popup-launcher__svg {
	display: none;
}
.sbm-popup-launcher__orb.sbm-launcher-image-failed .sbm-popup-launcher__svg {
	display: inline-flex;
}
.sbm-popup-launcher__gift {
	display: none !important;
}
.sbm-popup-launcher__bubble {
	background: var(--sbm-launcher-bubble-bg, #ffffff) !important;
	color: var(--sbm-launcher-bubble-text, #0f172a) !important;
	border-color: rgba(203, 213, 225, .72) !important;
}
.sbm-popup-launcher__bubble span,
.sbm-access-popup__submit .sbm-submit-text,
.sbm-preview-popup-submit {
	position: relative;
	z-index: 2;
}
.sbm-popup-launcher__orb::before,
.sbm-popup-launcher__bubble::before,
.sbm-access-popup__submit::before,
.sbm-preview-popup-submit::before {
	background: var(--sbm-popup-cta-hover, #7c3aed) !important;
	transform: scaleX(0) !important;
	transform-origin: left center !important;
	transition: transform .32s cubic-bezier(.2,.8,.2,1) !important;
	opacity: .98 !important;
}
[dir="rtl"] .sbm-popup-launcher__orb::before,
html[dir="rtl"] .sbm-popup-launcher__orb::before,
body.rtl .sbm-popup-launcher__orb::before,
[dir="rtl"] .sbm-popup-launcher__bubble::before,
html[dir="rtl"] .sbm-popup-launcher__bubble::before,
body.rtl .sbm-popup-launcher__bubble::before,
[dir="rtl"] .sbm-access-popup__submit::before,
html[dir="rtl"] .sbm-access-popup__submit::before,
body.rtl .sbm-access-popup__submit::before {
	transform: scaleX(0) !important;
	transform-origin: right center !important;
}
@media (hover: hover) and (pointer: fine) {
	.sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__orb::before,
	.sbm-launcher-animation-hover_fill:hover .sbm-popup-launcher__bubble::before,
	.sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__orb::before,
	.sbm-launcher-animation-bubble_slide_hover_fill:hover .sbm-popup-launcher__bubble::before,
	.sbm-access-popup__submit:hover::before,
	.sbm-preview-popup-submit:hover::before {
		transform: scaleX(1) !important;
	}
}
.sbm-launcher-animation-shimmer .sbm-popup-launcher__orb::before {
	animation: none !important;
}
.sbm-access-popup__submit,
.sbm-preview-popup-submit {
	background: var(--sbm-popup-cta-bg, #2563eb) !important;
	color: var(--sbm-popup-cta-text, #ffffff) !important;
	text-shadow: none !important;
}
.sbm-access-popup__submit:hover,
.sbm-access-popup__submit:focus-visible,
.sbm-preview-popup-submit:hover,
.sbm-preview-popup-submit:focus-visible {
	color: var(--sbm-popup-cta-text, #ffffff) !important;
}
.sbm-access-popup__submit:disabled,
.sbm-access-popup__submit.is-loading {
	color: var(--sbm-popup-cta-text, #ffffff) !important;
}
.sbm-popup-launcher.sbm-launcher-bubble-auto-shown .sbm-popup-launcher__bubble {
	will-change: transform, opacity, max-width;
}
@media (max-width: 640px) {
	.sbm-popup-mobile-style-icon .sbm-popup-launcher__bubble {
		display: none !important;
	}
	.sbm-popup-mobile-style-compact .sbm-popup-launcher__bubble {
		max-width: 132px;
		font-size: 12px;
	}
}

/* v1.5.6: combined initial-popup + launcher behavior */
body.sbm-launcher-hidden .sbm-popup-floating-button,
.sbm-popup-floating-button.sbm-launcher-hidden {
	opacity: 0 !important;
	transform: translateY(10px) scale(.94) !important;
	pointer-events: none !important;
}
.sbm-popup-mode-initial_popup_then_launcher .sbm-access-popup__panel {
	will-change: transform, opacity;
}
.sbm-popup-mode-initial_popup_then_launcher.is-open .sbm-access-popup__panel {
	transform: translateY(0) scale(1) !important;
}
.sbm-popup-mode-initial_popup_then_launcher .sbm-access-popup__overlay {
	transition: opacity .28s ease, backdrop-filter .28s ease;
}
@media (max-width: 782px) {
	.sbm-popup-mode-initial_popup_then_launcher .sbm-access-popup__panel {
		max-height: min(92vh, calc(var(--sbm-viewport-height, 100vh) - var(--sbm-popup-mobile-safe, 18px) - env(safe-area-inset-bottom, 0px))) !important;
	}
}

/* v1.5.7 initial popup/helper timing states */
.sbm-popup-launcher.sbm-launcher-collapsed .sbm-popup-launcher__bubble {
  pointer-events: none;
}
body.sbm-modal-open .sbm-popup-launcher__bubble {
  opacity: 0 !important;
  transform: translateX(10px) scale(.96) !important;
}
.rtl body.sbm-modal-open .sbm-popup-launcher__bubble,
body.rtl.sbm-modal-open .sbm-popup-launcher__bubble,
html[dir="rtl"] body.sbm-modal-open .sbm-popup-launcher__bubble {
  transform: translateX(-10px) scale(.96) !important;
}
.sbm-popup-launcher:focus-visible {
  outline: none !important;
}
