/* SX Age Gate & Lead Capture – popups, wheel, bar, chat button, order notifications.
   Colours, fonts and radius come from the theme via the --sxag-* variables set in gate.js. */

/* ------------------------------------------------------------------ */
/* Shared resets                                                       */
/* ------------------------------------------------------------------ */
#sxag-pops, #sxag-bar, #sxag-chat, #sxag-toasts, #sxag-minbar { font-family: var(--sxag-font); color: var(--sxag-text); -webkit-font-smoothing: antialiased; }
:is(#sxag-pops, #sxag-bar, #sxag-chat, #sxag-toasts, #sxag-minbar) * { box-sizing: border-box; }
:is(#sxag-pops, #sxag-bar, #sxag-chat, #sxag-toasts) :is(p, h2, ul, li, form, label) { margin: 0; padding: 0; border: 0; background: none; text-transform: none; letter-spacing: normal; }
:is(#sxag-pops, #sxag-bar, #sxag-chat, #sxag-toasts) ul { list-style: none; }
:is(#sxag-pops, #sxag-bar, #sxag-chat, #sxag-toasts) svg { display: block; width: 1em; height: 1em; flex: none; }
:is(#sxag-pops, #sxag-bar, #sxag-chat) [hidden] { display: none !important; }
#sxag-pops .sxag-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
html.sxag-pop-lock, html.sxag-pop-lock body { overflow: hidden !important; }

/* ------------------------------------------------------------------ */
/* Popup shell                                                         */
/* ------------------------------------------------------------------ */
#sxag-pops .sxag-pop { position: fixed; z-index: 2147483500; font-size: 15px; line-height: 1.5; text-align: left; }
#sxag-pops .sxag-pop--modal {
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(9, 11, 15, .62);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .25s;
}
#sxag-pops .sxag-pop--modal.is-open { opacity: 1; }
#sxag-pops .sxag-pop--modal[hidden] { display: none; }
#sxag-pops .sxag-pop__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: calc(100vh - 10px);
	max-height: calc(100dvh - 10px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--sxag-bg);
	color: var(--sxag-text);
	border-radius: var(--sxag-radius) var(--sxag-radius) 0 0;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
	outline: none;
	transform: translateY(40px);
	transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
#sxag-pops .sxag-pop.is-open .sxag-pop__card { transform: none; }
#sxag-pops .sxag-pop__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sxag-bg);
	color: var(--sxag-muted);
	font-size: 18px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	cursor: pointer;
}
#sxag-pops .sxag-pop__close:hover { color: var(--sxag-text); background: var(--sxag-tint); }

/* Media column (image, product photo, wheel) */
#sxag-pops .sxag-pop__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sxag-tint);
	max-height: 220px;
	overflow: hidden;
}
#sxag-pops .sxag-pop__media img { display: block; width: 100%; height: 100%; max-height: 220px; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
#sxag-pops .sxag-pop--sale .sxag-pop__media img { object-fit: contain; padding: 16px; background: #fff; }

/* Body */
#sxag-pops .sxag-pop__body { padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
#sxag-pops .sxag-pop__badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--sxag-primary);
	color: var(--sxag-on-primary);
	font-family: var(--sxag-btn-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
}
#sxag-pops .sxag-pop__title {
	margin: 0 0 6px;
	padding-right: 30px;
	font-family: var(--sxag-heading-font);
	font-weight: var(--sxag-heading-weight);
	font-size: clamp(21px, 5.4vw, 27px);
	line-height: 1.18;
	letter-spacing: -.01em;
	color: var(--sxag-heading);
	outline: none;
}
#sxag-pops .sxag-pop__text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--sxag-muted); }
#sxag-pops .sxag-pop__form { display: grid; gap: 10px; }
#sxag-pops .sxag-pop__form .sxag__check { margin: 0; }
#sxag-pops .sxag-pop__form .sxag__error { margin: 0; }
#sxag-pops .sxag-pop__cta { margin-top: 4px; }
#sxag-pops a.sxag__btn,
#sxag-pops a.sxag__btn:hover,
#sxag-pops a.sxag__btn:visited { color: var(--sxag-on-primary); text-decoration: none; }
#sxag-pops .sxag-pop__dismiss {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 8px 0 0;
	padding: 8px;
	border: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-size: 13.5px;
	color: var(--sxag-muted);
	cursor: pointer;
	text-align: center;
}
#sxag-pops .sxag-pop__dismiss:hover { color: var(--sxag-text); text-decoration: underline; }
#sxag-pops .sxag-pop__check-text a, #sxag-pops .sxag__check-text a { color: var(--sxag-accent-text); }

/* Success */
#sxag-pops .sxag-pop__step--done { text-align: center; padding-top: 6px; }
#sxag-pops .sxag-pop__done-icon { display: flex; justify-content: center; color: var(--sxag-primary); margin-bottom: 8px; }
#sxag-pops .sxag-pop__done-icon svg { width: 56px; height: 56px; }
#sxag-pops .sxag-pop__step--done .sxag-pop__title { padding-right: 0; }
#sxag-pops .sxag-pop__prize {
	margin: 4px 0 10px;
	font-family: var(--sxag-heading-font);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--sxag-accent-text);
}
#sxag-pops .sxag__code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 auto 14px; padding: 8px 8px 8px 16px; max-width: 360px; border: 2px dashed var(--sxag-primary); border-radius: var(--sxag-field-radius); background: var(--sxag-primary-soft); }
#sxag-pops .sxag__code-value { padding: 0; background: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 19px; font-weight: 700; letter-spacing: .08em; color: var(--sxag-text); user-select: all; overflow-wrap: anywhere; }
#sxag-pops .sxag__copy { flex: none; min-height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: calc(var(--sxag-field-radius) - 4px); background: var(--sxag-primary); color: var(--sxag-on-primary); font-family: var(--sxag-btn-font); font-size: 14px; font-weight: 600; cursor: pointer; }
#sxag-pops .sxag-pop__finish { margin-top: 4px; }

/* Countdown */
.sxag-countdown { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.sxag-countdown__label { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sxag-accent-text); }
.sxag-countdown__label svg { width: 15px; height: 15px; }
.sxag-countdown__unit { display: inline-flex; flex-direction: column; align-items: center; min-width: 46px; padding: 6px 4px 4px; border-radius: 8px; background: var(--sxag-tint); border: 1px solid var(--sxag-border); line-height: 1; }
.sxag-countdown__unit b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 19px; font-weight: 700; color: var(--sxag-heading); font-variant-numeric: tabular-nums; }
.sxag-countdown__unit i { margin-top: 3px; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--sxag-muted); }
.sxag-countdown.is-over { opacity: .5; }

/* Product */
#sxag-pops .sxag-pop__product { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--sxag-field-radius); background: var(--sxag-tint); }
#sxag-pops .sxag-pop__pname { font-weight: 600; color: var(--sxag-heading); text-decoration: none; }
#sxag-pops .sxag-pop__price { font-weight: 700; color: var(--sxag-heading); white-space: nowrap; }
#sxag-pops .sxag-pop__price del { opacity: .55; font-weight: 400; margin-right: 4px; }
#sxag-pops .sxag-pop__price ins { text-decoration: none; color: var(--sxag-accent-text); }
#sxag-pops .sxag-pop__plist { display: grid; gap: 8px; margin: 0 0 12px; }
#sxag-pops .sxag-pop__plist a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: var(--sxag-field-radius); background: var(--sxag-tint); text-decoration: none; color: var(--sxag-text); }
#sxag-pops .sxag-pop__plist img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: #fff; }
#sxag-pops .sxag-pop__plist .sxag-pop__pname { font-size: 14px; }
#sxag-pops .sxag-pop__code-note { margin: 0 0 12px; font-size: 13px; color: var(--sxag-muted); }

/* Social buttons (popups, gate success, chat) */
.sxag-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
.sxag-social--stack { display: grid; grid-template-columns: 1fr; }
.sxag-social__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 10px 18px;
	border-radius: var(--sxag-btn-radius);
	font-family: var(--sxag-btn-font);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none !important;
	color: #fff !important;
	transition: filter .15s, transform .1s;
}
.sxag-social__btn svg { width: 22px; height: 22px; }
.sxag-social__btn:hover { filter: brightness(1.06); }
.sxag-social__btn:active { transform: translateY(1px); }
.sxag-social__btn--tg { background: #229ed9; }
.sxag-social__btn--wa { background: #1faa59; }
#sxag-pops .sxag-pop__perk { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13.5px; color: var(--sxag-muted); }
#sxag-pops .sxag-pop__perk svg { color: var(--sxag-accent-text); width: 18px; height: 18px; }
#sxag-gate .sxag-social { margin: 0 auto 16px; max-width: 380px; }

/* Spin wheel */
#sxag-pops .sxag-pop--spin .sxag-pop__media { max-height: none; padding: 22px 16px 10px; background: radial-gradient(circle at 50% 40%, var(--sxag-primary-soft), transparent 70%), var(--sxag-tint); }
.sxag-wheel { position: relative; width: min(240px, 62vw); aspect-ratio: 1; margin: 0 auto; }
.sxag-wheel__svg { width: 100% !important; height: 100% !important; display: block; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .18)); }
.sxag-wheel__a { fill: var(--sxag-primary); }
.sxag-wheel__b { fill: var(--sxag-bg); }
.sxag-wheel__ta { fill: var(--sxag-on-primary); font-weight: 700; font-family: var(--sxag-btn-font); letter-spacing: .02em; }
.sxag-wheel__tb { fill: var(--sxag-heading); font-weight: 700; font-family: var(--sxag-btn-font); letter-spacing: .02em; }
.sxag-wheel__rim { fill: none; stroke: var(--sxag-heading); stroke-opacity: .15; stroke-width: 3; }
.sxag-wheel__hub { position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--sxag-bg); border: 4px solid var(--sxag-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.sxag-wheel__pointer { position: absolute; left: 50%; top: -6px; z-index: 2; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 24px solid var(--sxag-heading); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
#sxag-pops .is-spinning .sxag__btn { pointer-events: none; opacity: .85; }
#sxag-pops .is-spinning .sxag-pop__close, #sxag-pops .is-spinning .sxag-pop__dismiss { visibility: hidden; }

/* ---- Slide-in (phones: bottom card) ---- */
#sxag-pops .sxag-pop--slidein { left: 10px; right: 10px; bottom: calc(10px + var(--sxag-inset, 0px)); opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
#sxag-pops .sxag-pop--slidein.is-open { opacity: 1; transform: none; }
#sxag-pops .sxag-pop--slidein[hidden] { display: none; }
#sxag-pops .sxag-pop--slidein .sxag-pop__card { border-radius: var(--sxag-radius); max-height: 70vh; box-shadow: 0 16px 50px -10px rgba(0, 0, 0, .4); transform: none; }
#sxag-pops .sxag-pop--slidein .sxag-pop__media { max-height: 140px; }
#sxag-pops .sxag-pop--slidein .sxag-pop__media img { max-height: 140px; }
#sxag-pops .sxag-pop--slidein .sxag-pop__body { padding: 18px 18px 14px; }
#sxag-pops .sxag-pop--slidein .sxag-pop__title { font-size: 19px; }
#sxag-pops .sxag-pop--slidein .sxag-pop__text { font-size: 14px; margin-bottom: 12px; }

#sxag-pops .is-closing { opacity: 0 !important; }

/* ------------------------------------------------------------------ */
/* Tablet and up                                                       */
/* ------------------------------------------------------------------ */
@media (min-width: 640px) {
	#sxag-pops .sxag-pop--modal { align-items: center; padding: 24px; }
	#sxag-pops .sxag-pop--modal .sxag-pop__card { width: min(480px, 100%); max-height: calc(100dvh - 48px); border-radius: var(--sxag-radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); transform: translateY(14px) scale(.97); }
	#sxag-pops .sxag-pop--modal.is-open .sxag-pop__card { transform: none; }
	#sxag-pops .sxag-pop__body { padding: 30px 32px 22px; }
	#sxag-pops .sxag-pop--slidein { left: auto; right: 22px; bottom: calc(22px + var(--sxag-inset, 0px)); width: 370px; }
}
@media (min-width: 860px) {
	#sxag-pops .sxag-pop--modal.sxag-pop--media .sxag-pop__card { flex-direction: row; width: min(820px, 100%); }
	#sxag-pops .sxag-pop--modal.sxag-pop--media .sxag-pop__media { flex: 0 0 44%; max-height: none; }
	#sxag-pops .sxag-pop--modal.sxag-pop--media .sxag-pop__media img { max-height: none; height: 100%; min-height: 100%; }
	#sxag-pops .sxag-pop--modal.sxag-pop--media .sxag-pop__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 38px 30px; }
	#sxag-pops .sxag-pop--modal.sxag-pop--spin .sxag-pop__media { padding: 30px; }
	#sxag-pops .sxag-pop--modal .sxag-wheel { width: 300px; }
	#sxag-pops .sxag-pop--modal .sxag-pop__title { font-size: 30px; }
}
@media (max-height: 560px) {
	#sxag-pops .sxag-pop__media { display: none; }
	#sxag-pops .sxag-pop--spin .sxag-pop__media { display: flex; padding: 8px; }
	#sxag-pops .sxag-pop--spin .sxag-wheel { width: 150px; }
}
@media (max-width: 380px) {
	#sxag-pops .sxag-pop__body { padding: 18px 16px 14px; }
	.sxag-countdown__unit { min-width: 40px; }
}

/* ------------------------------------------------------------------ */
/* Announcement bar                                                    */
/* ------------------------------------------------------------------ */
#sxag-bar {
	position: relative;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	padding: 9px 48px 9px 16px;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
	background: var(--sxag-primary);
	color: var(--sxag-on-primary);
}
#sxag-bar.sxag-bar--dark { background: #111318; color: #fff; }
#sxag-bar.sxag-bar--tint { background: var(--sxag-tint); color: var(--sxag-heading); border-bottom: 1px solid var(--sxag-border); }
#sxag-bar[hidden] { display: none; }
#sxag-bar .sxag-bar__text { font-weight: 600; }
#sxag-bar .sxag-bar__link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
#sxag-bar .sxag-countdown { margin: 0; gap: 4px; }
#sxag-bar .sxag-countdown__label { color: inherit; opacity: .9; font-size: 11.5px; }
#sxag-bar .sxag-countdown__unit { min-width: 0; flex-direction: row; gap: 2px; padding: 3px 6px; background: rgba(255, 255, 255, .16); border: 0; border-radius: 6px; }
#sxag-bar.sxag-bar--tint .sxag-countdown__unit { background: var(--sxag-bg); border: 1px solid var(--sxag-border); }
#sxag-bar .sxag-countdown__unit b { font-size: 13px; color: inherit; }
#sxag-bar .sxag-countdown__unit i { margin: 0; font-size: 10px; color: inherit; opacity: .8; }
#sxag-bar .sxag-bar__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .85; }
#sxag-bar .sxag-bar__close:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
@media (max-width: 600px) {
	#sxag-bar { font-size: 13px; padding: 8px 42px 8px 12px; }
	#sxag-bar .sxag-countdown__label { display: none; }
}

/* ------------------------------------------------------------------ */
/* Chat button                                                         */
/* ------------------------------------------------------------------ */
#sxag-chat { position: fixed; bottom: calc(18px + var(--sxag-lift, 0px) + var(--sxag-inset, 0px)); right: 18px; z-index: 2147483400; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 15px; }
#sxag-chat.sxag-chat--left { right: auto; left: 18px; align-items: flex-start; }
#sxag-chat[hidden] { display: none; }
#sxag-chat .sxag-chat__launcher {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 56px;
	min-height: 0;
	margin: 0;
	padding: 0 20px 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--sxag-primary);
	color: var(--sxag-on-primary);
	font-family: var(--sxag-btn-font);
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .35);
	cursor: pointer;
	transition: transform .15s;
}
#sxag-chat .sxag-chat__launcher:hover { transform: translateY(-2px); }
#sxag-chat .sxag-chat__launcher svg { width: 26px; height: 26px; }
#sxag-chat .sxag-chat__launcher .sxag-chat__x { display: none; }
#sxag-chat.is-open .sxag-chat__launcher .sxag-chat__ico { display: none; }
#sxag-chat.is-open .sxag-chat__launcher .sxag-chat__x { display: block; width: 20px; height: 20px; }
#sxag-chat .sxag-chat__panel { width: 290px; padding: 16px; border-radius: var(--sxag-radius); background: var(--sxag-bg); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .35); border: 1px solid var(--sxag-border); animation: sxag-up .2s ease-out; }
#sxag-chat .sxag-chat__title { margin: 0 0 4px; font-family: var(--sxag-heading-font); font-weight: var(--sxag-heading-weight); font-size: 17px; color: var(--sxag-heading); }
#sxag-chat .sxag-chat__sub { margin: 0 0 12px; font-size: 13.5px; color: var(--sxag-muted); }
#sxag-chat .sxag-chat__item { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 11px 12px; border-radius: var(--sxag-field-radius); background: var(--sxag-tint); color: var(--sxag-heading); text-decoration: none; font-weight: 600; transition: transform .1s; }
#sxag-chat .sxag-chat__item:hover { transform: translateX(2px); }
#sxag-chat .sxag-chat__item i { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-style: normal; }
#sxag-chat .sxag-chat__item i svg { width: 21px; height: 21px; }
#sxag-chat .sxag-chat__item--wa i { background: #1faa59; }
#sxag-chat .sxag-chat__item--tg i { background: #229ed9; }
#sxag-chat .sxag-chat__item--mail i { background: var(--sxag-primary); color: var(--sxag-on-primary); }
#sxag-chat .sxag-chat__item small { display: block; font-weight: 400; font-size: 12px; color: var(--sxag-muted); }
#sxag-chat .sxag-chat__bubble { position: relative; max-width: 250px; padding: 12px 34px 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--sxag-bg); color: var(--sxag-text); font-size: 14px; line-height: 1.4; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .3); border: 1px solid var(--sxag-border); animation: sxag-up .25s ease-out; }
#sxag-chat.sxag-chat--left .sxag-chat__bubble { border-radius: 14px 14px 14px 4px; }
#sxag-chat .sxag-chat__bubble-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; min-height: 0; padding: 0; margin: 0; border: 0; background: none; color: var(--sxag-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
html.sxag-pop-open #sxag-chat, html.sxag-active #sxag-chat { display: none; }
@media (max-width: 600px) {
	#sxag-chat { bottom: calc(12px + var(--sxag-lift, 0px) + var(--sxag-inset, 0px)); right: 12px; }
	#sxag-chat.sxag-chat--left { left: 12px; }
	#sxag-chat .sxag-chat__launcher { width: 56px; padding: 0; justify-content: center; }
	#sxag-chat .sxag-chat__launcher .sxag-chat__label { display: none; }
	#sxag-chat .sxag-chat__panel { width: calc(100vw - 24px); max-width: 340px; }
	#sxag-chat.sxag-chat--hide-mobile { display: none; }
}
@keyframes sxag-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/* Recent-order notifications                                          */
/* ------------------------------------------------------------------ */
#sxag-toasts { position: fixed; left: 18px; bottom: calc(18px + var(--sxag-inset, 0px)); z-index: 2147483300; display: grid; gap: 8px; pointer-events: none; }
#sxag-toasts .sxag-toast {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 320px;
	max-width: calc(100vw - 36px);
	padding: 10px 14px 10px 10px;
	border-radius: var(--sxag-field-radius);
	background: var(--sxag-bg);
	border: 1px solid var(--sxag-border);
	box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .3);
	color: var(--sxag-text);
	text-decoration: none;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .35s, transform .35s;
}
#sxag-toasts .sxag-toast.is-in { opacity: 1; transform: none; }
#sxag-toasts .sxag-toast img { width: 48px; height: 48px; flex: none; object-fit: cover; border-radius: 8px; background: var(--sxag-tint); }
#sxag-toasts .sxag-toast__body { display: flex; flex-direction: column; min-width: 0; }
#sxag-toasts .sxag-toast__text { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--sxag-heading); }
#sxag-toasts .sxag-toast__time { margin-top: 2px; font-size: 12px; color: var(--sxag-muted); }
html.sxag-active #sxag-toasts, html.sxag-pop-open #sxag-toasts { display: none; }
@media (max-width: 600px) {
	#sxag-toasts { left: 10px; right: 84px; bottom: calc(12px + var(--sxag-inset, 0px)); }
	#sxag-toasts .sxag-toast { width: auto; }
}

/* ------------------------------------------------------------------ */
/* Minimum order progress (cart)                                       */
/* ------------------------------------------------------------------ */
#sxag-minbar { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--sxag-field-radius); background: var(--sxag-tint); border: 1px solid var(--sxag-border); color: var(--sxag-heading); font-size: 14.5px; }
#sxag-minbar .sxag-minbar__track { height: 8px; margin-top: 10px; border-radius: 99px; background: var(--sxag-border); overflow: hidden; }
#sxag-minbar .sxag-minbar__fill { height: 100%; border-radius: 99px; background: var(--sxag-primary); transition: width .4s; }
#sxag-minbar.is-met { background: var(--sxag-primary-soft); }

@media (prefers-reduced-motion: reduce) {
	#sxag-pops .sxag-pop, #sxag-pops .sxag-pop__card, #sxag-toasts .sxag-toast { transition: none !important; }
}

/* ------------------------------------------------------------------ */
/* Live chat sharing the corner                                        */
/* ------------------------------------------------------------------ */
#sxag-chat .sxag-chat__item--live { width: 100%; border: 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
#sxag-chat .sxag-chat__item--live i { background: var(--sxag-primary); color: var(--sxag-on-primary); }
#sxag-chat .sxag-chat__dot { display: inline-block; width: 7px; height: 7px; margin: 0 5px 1px 0; border-radius: 50%; background: #1faa59; box-shadow: 0 0 0 3px rgba(31, 170, 89, .2); }
/* A live chat bubble usually sits bottom-right: keep slide-ins and notices clear of it. */
html.sxag-has-live #sxag-pops .sxag-pop--slidein { bottom: calc(96px + var(--sxag-inset, 0px)); }
#sxag-chat.sxag-chat--left ~ #sxag-toasts { bottom: calc(90px + var(--sxag-inset, 0px)); }
@media (max-width: 639px) {
	html.sxag-has-live #sxag-pops .sxag-pop--slidein { bottom: calc(84px + var(--sxag-inset, 0px)); }
	#sxag-chat.sxag-chat--left ~ #sxag-toasts { bottom: calc(80px + var(--sxag-inset, 0px)); left: 10px; right: 10px; }
}
/* Live chat windows must cover our button, never the other way round. */
#sxag-chat.sxag-chat--has-live { z-index: 999990; }
html.sxag-live-open #sxag-chat { display: none; }
