/**
 * Super Spend More, Save More Pro - storefront styles.
 */

:root {
	--ssmsm-accent: #4f46e5;
	--ssmsm-accent-2: #12b76a;
	--ssmsm-ink: #14181f;
	--ssmsm-muted: #5c6675;
	--ssmsm-line: #e3e6ec;
	--ssmsm-surface: #ffffff;
	--ssmsm-soft: #f2f4f8;
	--ssmsm-radius: 14px;
	--ssmsm-shadow: 0 1px 2px rgba(20, 24, 31, .06), 0 8px 24px -12px rgba(20, 24, 31, .18);
}

.ssmsm-icon {
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
}

/* ---------------------------------------------------------------------
   Progress panel
   ------------------------------------------------------------------ */

.ssmsm-mount--cart,
.ssmsm-mount--shortcode {
	margin: 0 0 24px;
}

.ssmsm-panel {
	box-sizing: border-box;
	background: var(--ssmsm-surface);
	border: 1px solid var(--ssmsm-line);
	border-radius: var(--ssmsm-radius);
	padding: 16px 18px 18px;
	color: var(--ssmsm-ink);
	font-size: 15px;
	line-height: 1.45;
	box-shadow: var(--ssmsm-shadow);
}

.ssmsm-panel * {
	box-sizing: border-box;
}

.ssmsm-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.ssmsm-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ssmsm-panel__title .ssmsm-icon {
	color: var(--ssmsm-accent);
	align-self: center;
}

.ssmsm-panel.is-unlocked .ssmsm-panel__title .ssmsm-icon,
.ssmsm-panel.is-max .ssmsm-panel__title .ssmsm-icon {
	color: var(--ssmsm-accent-2);
}

.ssmsm-panel__amounts {
	font-variant-numeric: tabular-nums;
	color: var(--ssmsm-muted);
	font-size: 14px;
	white-space: nowrap;
}

.ssmsm-panel__amounts b {
	color: var(--ssmsm-ink);
	font-weight: 600;
}

.ssmsm-panel__amounts .amount {
	text-decoration: none;
}

.ssmsm-track {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: var(--ssmsm-soft);
	overflow: hidden;
}

.ssmsm-track__fill {
	display: block;
	height: 100%;
	min-width: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	transition: width .55s cubic-bezier(.22, .68, .32, 1);
}

.ssmsm-panel.is-start .ssmsm-track__fill {
	min-width: 0;
}

.ssmsm-panel__message {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--ssmsm-muted);
}

.ssmsm-panel.is-unlocked .ssmsm-panel__message,
.ssmsm-panel.is-max .ssmsm-panel__message {
	color: var(--ssmsm-ink);
}

.ssmsm-panel__meta {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--ssmsm-muted);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   Floating widget
   ------------------------------------------------------------------ */

.ssmsm-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 330px;
	max-width: calc(100vw - 32px);
	z-index: 9998;
}

.ssmsm-float.is-hidden {
	display: none;
}

.ssmsm-float .ssmsm-panel {
	padding-right: 40px;
	box-shadow: 0 2px 6px rgba(20, 24, 31, .08), 0 20px 40px -20px rgba(20, 24, 31, .45);
}

.ssmsm-float__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ssmsm-muted);
	cursor: pointer;
}

.ssmsm-float__close:hover,
.ssmsm-float__close:focus-visible {
	background: var(--ssmsm-soft);
	color: var(--ssmsm-ink);
}

.ssmsm-float__close svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 600px) {
	.ssmsm-float {
		right: 0;
		left: 0;
		bottom: 0;
		width: auto;
		max-width: none;
	}

	.ssmsm-float .ssmsm-panel {
		border-radius: 16px 16px 0 0;
		border-bottom: 0;
	}
}

/* ---------------------------------------------------------------------
   Toasts
   ------------------------------------------------------------------ */

.ssmsm-toasts {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 340px;
	max-width: calc(100vw - 32px);
	pointer-events: none;
}

.ssmsm-toast {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 15px;
	border-radius: 12px;
	background: var(--ssmsm-ink);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7);
	pointer-events: auto;
	animation: ssmsm-toast-in .32s cubic-bezier(.2, .8, .3, 1);
}

.ssmsm-toast--win {
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
}

.ssmsm-toast.is-out {
	animation: ssmsm-toast-out .25s ease forwards;
}

.ssmsm-toast .ssmsm-icon {
	margin-top: 2px;
}

@keyframes ssmsm-toast-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(.98);
	}
}

@keyframes ssmsm-toast-out {
	to {
		opacity: 0;
		transform: translateY(8px);
	}
}

@media (max-width: 600px) {
	.ssmsm-toasts {
		left: 12px;
		right: 12px;
		bottom: auto;
		top: 12px;
		width: auto;
	}
}

/* ---------------------------------------------------------------------
   Product badges
   ------------------------------------------------------------------ */

.woocommerce ul.products li.product {
	position: relative;
}

/* Overlay positions: on the photo, for grid layouts with large images. */

.ssmsm-badge-wrap--overlay {
	position: absolute;
	top: 10px;
	z-index: 2;
	max-width: calc(100% - 20px);
}

.ssmsm-badge-wrap--overlay.is-left {
	left: 10px;
}

.ssmsm-badge-wrap--overlay.is-right {
	right: 10px;
}

/* In-flow positions: for list layouts and small thumbnails, where anything
   sitting on the image would cover it. */

.ssmsm-badge-wrap--inline {
	display: block;
	max-width: 100%;
}

.ssmsm-badge-wrap--inline.is-before-title {
	margin: 0 0 8px;
}

.ssmsm-badge-wrap--inline.is-after-price {
	margin: 8px 0 0;
}

.ssmsm-badge__state {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.ssmsm-badge__state--locked {
	display: inline-flex;
	background: rgba(255, 255, 255, .92);
	color: var(--ssmsm-muted);
	border: 1px solid var(--ssmsm-line);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.ssmsm-badge__state--open {
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	color: #fff;
}

.ssmsm-badge__state--open em {
	font-style: normal;
	font-weight: 500;
	opacity: .85;
}

.ssmsm-badge__label {
	display: inline;
}

/* Compact: price and icon only, for cards with very little room. */

.ssmsm-badge--compact .ssmsm-badge__label {
	display: none;
}

.ssmsm-badge--compact .ssmsm-badge__state {
	padding: 4px 8px;
	gap: 4px;
}

.ssmsm-badge--compact .ssmsm-badge__state--locked .ssmsm-icon {
	margin: 0;
}

.ssmsm-badge__state .amount {
	color: inherit;
	text-decoration: none;
}

body.ssmsm-has-slots .ssmsm-badge__state--locked {
	display: none;
}

body.ssmsm-has-slots .ssmsm-badge__state--open {
	display: inline-flex;
}

/* ---------------------------------------------------------------------
   Single product note
   ------------------------------------------------------------------ */

.ssmsm-product-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px dashed var(--ssmsm-line);
	border-radius: 12px;
	background: var(--ssmsm-soft);
	font-size: 14px;
	color: var(--ssmsm-ink);
}

.ssmsm-product-note__locked,
.ssmsm-product-note__open {
	display: none;
	align-items: flex-start;
	gap: 9px;
}

.ssmsm-product-note__locked {
	display: flex;
}

.ssmsm-product-note .ssmsm-icon {
	margin-top: 2px;
	color: var(--ssmsm-accent);
}

.ssmsm-product-note .amount {
	white-space: nowrap;
}

body.ssmsm-has-slots .ssmsm-product-note {
	border-style: solid;
	border-color: var(--ssmsm-accent-2);
	background: #f4fbf7;
	border-color: color-mix(in srgb, var(--ssmsm-accent-2) 45%, var(--ssmsm-line));
	background: color-mix(in srgb, var(--ssmsm-accent-2) 8%, #fff);
}

body.ssmsm-has-slots .ssmsm-product-note__locked {
	display: none;
}

body.ssmsm-has-slots .ssmsm-product-note__open {
	display: flex;
}

body.ssmsm-has-slots .ssmsm-product-note .ssmsm-icon {
	color: var(--ssmsm-accent-2);
}

/* ---------------------------------------------------------------------
   Cart lines
   ------------------------------------------------------------------ */

.ssmsm-line-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef8f2;
	color: #0b6b41;
	background: color-mix(in srgb, var(--ssmsm-accent-2) 12%, #fff);
	color: color-mix(in srgb, var(--ssmsm-accent-2) 70%, #000);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.ssmsm-was {
	display: inline-block;
	margin-right: 6px;
	opacity: .55;
	font-weight: 400;
}

/* ---------------------------------------------------------------------
   Preferences
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.ssmsm-track__fill,
	.ssmsm-toast {
		transition: none;
		animation: none;
	}
}

@media (prefers-color-scheme: dark) {
	.ssmsm-panel {
		--ssmsm-surface: #171b22;
		--ssmsm-ink: #f2f4f8;
		--ssmsm-muted: #9aa4b4;
		--ssmsm-line: #2a3039;
		--ssmsm-soft: #222831;
		color: var(--ssmsm-ink);
	}
}

/* ---------------------------------------------------------------------
   Cart line price split
   ------------------------------------------------------------------ */

.ssmsm-split {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.35;
}

.ssmsm-now {
	background: none;
	font-weight: 600;
	text-decoration: none;
}

/* ---------------------------------------------------------------------
   Block cart and checkout
   ------------------------------------------------------------------ */

.ssmsm-mount--blocks {
	margin: 0 0 20px;
}

.wc-block-components-sidebar .ssmsm-mount--blocks .ssmsm-panel,
.wp-block-woocommerce-checkout .ssmsm-mount--blocks .ssmsm-panel {
	border-radius: 12px;
}

/* ---------------------------------------------------------------------
   Offers link
   ------------------------------------------------------------------ */

.ssmsm-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--ssmsm-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.ssmsm-panel__link:hover,
.ssmsm-panel__link:focus-visible {
	color: var(--ssmsm-accent);
	border-bottom-color: currentColor;
}

.ssmsm-panel__link svg {
	width: 15px;
	height: 15px;
	transition: transform .18s ease;
}

.ssmsm-panel__link:hover svg {
	transform: translateX(3px);
}

.ssmsm-panel.is-unlocked .ssmsm-panel__link,
.ssmsm-panel.is-max .ssmsm-panel__link {
	color: color-mix(in srgb, var(--ssmsm-accent-2) 75%, #000);
}

/* ---------------------------------------------------------------------
   Offers listing shell
   The product cards come from the theme, so nothing here styles them.
   ------------------------------------------------------------------ */

.ssmsm-offers {
	margin: 0 0 32px;
}

.ssmsm-offers__head {
	margin-bottom: 14px;
}

.ssmsm-offers__title {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	letter-spacing: -0.02em;
}

.ssmsm-offers .ssmsm-mount--shortcode {
	margin-bottom: 22px;
}

@media (prefers-reduced-motion: reduce) {
	.ssmsm-panel__link svg {
		transition: none;
	}

	.ssmsm-panel__link:hover svg {
		transform: none;
	}
}

/* ---------------------------------------------------------------------
   Third-party layouts
   The badge is appended to the layout plugin's own price element, so it
   has to sit inline and never escape the card.
   ------------------------------------------------------------------ */

.ssmsm-badge-wrap--price {
	display: inline-flex;
	position: static;
	max-width: 100%;
	margin-left: 8px;
	vertical-align: middle;
}

.ssmsm-badge-wrap--price .ssmsm-badge__state {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.ssmsm-badge-wrap--price {
		display: flex;
		margin: 6px 0 0;
	}
}

/* ---------------------------------------------------------------------
   Page builder widgets
   ------------------------------------------------------------------ */

.ssmsm-badge-wrap--inline.is-standalone {
	display: inline-flex;
	margin: 0;
}

.ssmsm-widget .ssmsm-product-note {
	margin: 0;
}

.ssmsm-widget .ssmsm-badge__state {
	display: none;
}

.ssmsm-widget .ssmsm-badge__state--locked {
	display: inline-flex;
}

body.ssmsm-has-slots .ssmsm-widget .ssmsm-badge__state--locked {
	display: none;
}

body.ssmsm-has-slots .ssmsm-widget .ssmsm-badge__state--open {
	display: inline-flex;
}

/* ---------------------------------------------------------------------
   Reward picker
   ------------------------------------------------------------------ */

.ssmsm-panel__pick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	font-family: inherit;
}

.ssmsm-panel__pick:hover,
.ssmsm-panel__pick:focus-visible {
	filter: brightness(1.06);
	color: #fff;
}

.ssmsm-picker[hidden] {
	display: none;
}

.ssmsm-picker {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.ssmsm-picker__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.ssmsm-picker__dialog {
	position: relative;
	width: min(760px, 100%);
	max-height: min(80vh, 720px);
	display: flex;
	flex-direction: column;
	background: var(--ssmsm-surface, #fff);
	border-radius: 16px;
	box-shadow: 0 30px 60px -25px rgba(16, 24, 40, .7);
	overflow: hidden;
}

.ssmsm-picker__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px 16px;
	border-bottom: 1px solid var(--ssmsm-line, #e3e6ec);
}

.ssmsm-picker__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.ssmsm-picker__lead {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-picker__close {
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ssmsm-muted, #5c6675);
	cursor: pointer;
}

.ssmsm-picker__close:hover,
.ssmsm-picker__close:focus-visible {
	background: var(--ssmsm-soft, #f2f4f8);
}

.ssmsm-picker__close svg {
	width: 16px;
	height: 16px;
}

.ssmsm-picker__body {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	padding: 20px 22px 24px;
	overflow-y: auto;
}

.ssmsm-picker__status {
	grid-column: 1 / -1;
	margin: 0;
	padding: 20px 0;
	text-align: center;
	color: var(--ssmsm-muted, #5c6675);
	font-size: 14px;
}

.ssmsm-pick {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ssmsm-pick__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--ssmsm-soft, #f2f4f8);
}

.ssmsm-pick__name {
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.ssmsm-pick__price {
	margin: 0;
	font-size: 13px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-pick__price ins {
	background: none;
	color: var(--ssmsm-ink, #14181f);
	font-weight: 700;
	text-decoration: none;
}

.ssmsm-pick__add {
	margin-top: auto;
	padding: 8px 12px;
	border: 1px solid var(--ssmsm-accent);
	border-radius: 8px;
	background: transparent;
	color: var(--ssmsm-accent);
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.ssmsm-pick__add:hover:not([disabled]),
.ssmsm-pick__add:focus-visible {
	background: var(--ssmsm-accent);
	color: #fff;
}

.ssmsm-pick__add[disabled] {
	opacity: .6;
	cursor: default;
}

.ssmsm-pick__done {
	margin-top: auto;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--ssmsm-soft, #f2f4f8);
	color: var(--ssmsm-muted, #5c6675);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.ssmsm-pick.is-added .ssmsm-pick__image {
	outline: 2px solid var(--ssmsm-accent-2);
	outline-offset: 2px;
}

body.ssmsm-picker-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.ssmsm-picker {
		padding: 0;
		place-items: end stretch;
	}

	.ssmsm-picker__dialog {
		width: 100%;
		max-height: 88vh;
		border-radius: 16px 16px 0 0;
	}

	.ssmsm-picker__body {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	}
}

/* =====================================================================
   Theme isolation
   =====================================================================
   The floating widget, the toasts and the picker sit on top of whatever
   the theme has built, so they are the parts most likely to be hit by a
   stray theme rule. Three defences:

   1. A reset, so nothing the theme sets on buttons, links, headings or
      paragraphs leaks in.
   2. Every visual property re-declared at a higher specificity than the
      reset, so our own styling still lands.
   3. !important on the handful of structural properties a theme must not
      be allowed to change: position, stacking, offsets and transform.

   Specificity: the reset is 0-2-0, so everything below uses the doubled
   root class plus a child class, giving 0-3-0.
   ================================================================== */

.ssmsm-isolate.ssmsm-isolate,
.ssmsm-isolate.ssmsm-isolate * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	border-radius: 0;
	color: inherit;
	font: inherit;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-shadow: none;
	text-decoration: none;
	text-indent: 0;
	text-align: left;
	list-style: none;
	float: none;
	clear: none;
	animation: none;
	transition: none;
	min-width: 0;
	min-height: 0;
	max-width: none;
	max-height: none;
	vertical-align: baseline;
	opacity: 1;
	visibility: visible;
	transform: none;
	filter: none;
	text-wrap: wrap;
}

/* ---- Structural: these a theme must not override ---- */

.ssmsm-isolate.ssmsm-float,
.ssmsm-isolate.ssmsm-toasts,
.ssmsm-isolate.ssmsm-picker {
	position: fixed !important;
	z-index: var(--ssmsm-z, 2147482000) !important;
	transform: none !important;
	filter: none !important;
	float: none !important;
	clip: auto !important;
	clip-path: none !important;
	pointer-events: auto;
}

.ssmsm-isolate.ssmsm-float {
	top: auto !important;
	left: auto !important;
	right: 20px !important;
	bottom: 20px !important;
	width: 330px !important;
	max-width: calc(100vw - 32px) !important;
	display: block !important;
}

.ssmsm-isolate.ssmsm-float.is-hidden {
	display: none !important;
}

.ssmsm-isolate.ssmsm-toasts {
	top: auto !important;
	right: auto !important;
	left: 20px !important;
	bottom: 20px !important;
	width: 340px !important;
	max-width: calc(100vw - 32px) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px;
	pointer-events: none;
}

.ssmsm-isolate.ssmsm-picker {
	inset: 0 !important;
	display: grid !important;
	place-items: center;
	padding: 20px;
}

.ssmsm-isolate.ssmsm-picker[hidden] {
	display: none !important;
}

/* ---- The panel, when it sits inside the floating widget ---- */

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel {
	display: block;
	padding: 16px 40px 18px 18px;
	border: 1px solid var(--ssmsm-line, #e3e6ec);
	border-radius: var(--ssmsm-radius, 14px);
	background: var(--ssmsm-surface, #fff);
	color: var(--ssmsm-ink, #14181f);
	font-size: 15px;
	line-height: 1.45;
	box-shadow: 0 2px 6px rgba(20, 24, 31, .08), 0 20px 40px -20px rgba(20, 24, 31, .45);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__amounts {
	font-size: 14px;
	color: var(--ssmsm-muted, #5c6675);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__amounts b {
	font-weight: 600;
	color: var(--ssmsm-ink, #14181f);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-track {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: var(--ssmsm-soft, #f2f4f8);
	overflow: hidden;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-track__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	transition: width .55s cubic-bezier(.22, .68, .32, 1);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__message {
	margin-top: 12px;
	font-size: 14px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__meta {
	margin-top: 6px;
	font-size: 13px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--ssmsm-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-panel__pick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	padding: 10px 18px;
	border-radius: 10px;
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	text-transform: none;
	width: auto;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-float__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: none;
	color: var(--ssmsm-muted, #5c6675);
	cursor: pointer;
	line-height: 1;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-float__close:hover {
	background: var(--ssmsm-soft, #f2f4f8);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-icon {
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
}

/* ---- Toasts ---- */

.ssmsm-isolate.ssmsm-isolate .ssmsm-toast {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 15px;
	border-radius: 12px;
	background: var(--ssmsm-ink, #14181f);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7);
	pointer-events: auto;
	animation: ssmsm-toast-in .32s cubic-bezier(.2, .8, .3, 1);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-toast--win {
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-toast.is-out {
	animation: ssmsm-toast-out .25s ease forwards;
}

/* ---- Picker ---- */

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .55);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__dialog {
	position: relative;
	width: min(760px, 100%);
	max-height: min(80vh, 720px);
	display: flex;
	flex-direction: column;
	background: var(--ssmsm-surface, #fff);
	color: var(--ssmsm-ink, #14181f);
	border-radius: 16px;
	box-shadow: 0 30px 60px -25px rgba(16, 24, 40, .7);
	overflow: hidden;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px 16px;
	border-bottom: 1px solid var(--ssmsm-line, #e3e6ec);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__lead {
	margin-top: 4px;
	font-size: 13px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__close {
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--ssmsm-muted, #5c6675);
	cursor: pointer;
	line-height: 1;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__close svg {
	width: 16px;
	height: 16px;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__body {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	padding: 20px 22px 24px;
	overflow-y: auto;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__status {
	grid-column: 1 / -1;
	padding: 20px 0;
	text-align: center;
	color: var(--ssmsm-muted, #5c6675);
	font-size: 14px;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--ssmsm-soft, #f2f4f8);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__name {
	margin-top: 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__price {
	font-size: 13px;
	color: var(--ssmsm-muted, #5c6675);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__price del {
	text-decoration: line-through;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__price ins {
	color: var(--ssmsm-ink, #14181f);
	font-weight: 700;
	text-decoration: none;
	background: none;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__add {
	margin-top: auto;
	padding: 8px 12px;
	border: 1px solid var(--ssmsm-accent);
	border-radius: 8px;
	background: none;
	color: var(--ssmsm-accent);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	width: auto;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__add:hover {
	background: var(--ssmsm-accent);
	color: #fff;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__done {
	margin-top: auto;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--ssmsm-soft, #f2f4f8);
	color: var(--ssmsm-muted, #5c6675);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

/* ---- Small screens ---- */

@media (max-width: 600px) {
	.ssmsm-isolate.ssmsm-float {
		right: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		width: auto !important;
		max-width: none !important;
	}

	.ssmsm-isolate.ssmsm-isolate .ssmsm-panel {
		border-radius: 16px 16px 0 0;
	}

	.ssmsm-isolate.ssmsm-toasts {
		top: 12px !important;
		bottom: auto !important;
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
	}

	.ssmsm-isolate.ssmsm-picker {
		padding: 0;
		place-items: end stretch;
	}

	.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__dialog {
		width: 100%;
		max-height: 88vh;
		border-radius: 16px 16px 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssmsm-isolate.ssmsm-isolate .ssmsm-track__fill,
	.ssmsm-isolate.ssmsm-isolate .ssmsm-toast {
		transition: none;
		animation: none;
	}
}


/* Cards keep a common structure so a row never staggers. */

.ssmsm-isolate.ssmsm-isolate .ssmsm-picker__body {
	align-items: start;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick {
	height: 100%;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-pick__name {
	overflow-wrap: anywhere;
}

/* Collapsed floating widget: a small button that brings it back. */

.ssmsm-isolate.ssmsm-isolate .ssmsm-float__reopen {
	display: none;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 52px;
	height: 52px;
	margin-left: auto;
	border-radius: 50%;
	background: linear-gradient(120deg, var(--ssmsm-accent), var(--ssmsm-accent-2));
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(20, 24, 31, .8);
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-float__reopen .ssmsm-icon {
	width: 22px;
	height: 22px;
}

.ssmsm-isolate.ssmsm-isolate .ssmsm-float__reopen-count:not(:empty) {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ssmsm-ink, #14181f);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.ssmsm-isolate.ssmsm-float.is-collapsed {
	width: auto !important;
	display: flex !important;
	justify-content: flex-end;
}

.ssmsm-isolate.ssmsm-float.is-collapsed .ssmsm-mount--float,
.ssmsm-isolate.ssmsm-float.is-collapsed .ssmsm-float__close {
	display: none !important;
}

.ssmsm-isolate.ssmsm-float.is-collapsed .ssmsm-float__reopen {
	display: flex;
}

@media (max-width: 600px) {
	.ssmsm-isolate.ssmsm-float.is-collapsed {
		right: 16px !important;
		left: auto !important;
		bottom: 16px !important;
	}
}
