/* ---------- Hero CTA ---------- */
    .sl-idemo-cta { margin-top: 1.5rem; max-width: 480px; }
    .sl-idemo-cta-label {
        font-family: var(--font-display); font-weight: 600;
        font-size: 16px; color: #fff; margin: 0 0 16px;
        display: flex; align-items: center; gap: 8px;
    }
    .sl-idemo-cta-label .sl-idemo-spark {
        display: inline-flex; width: 22px; height: 22px; border-radius: 6px;
        background: linear-gradient(135deg, #7C3AED, #5B36F5); align-items: center; justify-content: center;
        box-shadow: 0 4px 14px rgba(91,54,245,0.5);
    }
    .sl-idemo-cta-label .sl-idemo-spark img { width: 14px; height: 14px; display: block; }
    .sl-idemo-form {
        position: relative; display: flex; align-items: stretch; gap: 8px;
        background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
        border-radius: 12px; padding: 6px; backdrop-filter: blur(6px);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        animation: sl-idemo-formglow 4.5s ease-in-out infinite;
    }
    @keyframes sl-idemo-formglow {
        0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
        50% { box-shadow: 0 0 20px 1px rgba(139,92,246,0.22); }
    }
    /* a flash of light circling the border */
    @property --sl-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
    .sl-idemo-form::before {
        content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
        background: conic-gradient(from var(--sl-ang), transparent 0 72%, rgba(196,181,253,0.35) 80%, #ffffff 88%, rgba(167,139,250,0.6) 95%, transparent 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor; mask-composite: exclude;
        animation: sl-idemo-flash 3.4s linear infinite;
    }
    @keyframes sl-idemo-flash { to { --sl-ang: 360deg; } }
    .sl-idemo-form:focus-within { border-color: rgba(255,255,255,0.18); box-shadow: none; }
    .sl-idemo-form input:focus, .sl-idemo-form input:focus-visible { outline: none !important; border: none !important; box-shadow: none !important; }
    @media (prefers-reduced-motion: reduce) { .sl-idemo-form, .sl-idemo-form::before { animation: none; } }
    .sl-idemo-prefix {
        display: flex; align-items: center; padding: 0 4px 0 10px;
        color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 500; user-select: none;
    }
    .sl-idemo-form input {
        flex: 1; min-width: 0; border: none; outline: none; background: transparent;
        color: #fff; font-size: 15px; font-family: var(--font-body); padding: 10px 4px;
    }
    .sl-idemo-form input::placeholder { color: rgba(255,255,255,0.45); }
    /* clear/reset button — only visible once you start typing */
    .sl-idemo-clear {
        flex-shrink: 0; display: none; align-self: center; align-items: center; justify-content: center;
        width: 26px; height: 26px; margin-right: 4px; padding: 0; border: none; cursor: pointer;
        border-radius: 50%; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
        transition: background 0.15s ease, color 0.15s ease;
    }
    .sl-idemo-clear svg { display: block; }
    .sl-idemo-clear:hover { background: rgba(255,255,255,0.22); color: #fff; }
    .sl-idemo-form.has-text .sl-idemo-clear { display: flex; }
    .sl-idemo-form button[type="submit"] {
        flex-shrink: 0; border: none; cursor: pointer; white-space: nowrap;
        background: linear-gradient(135deg, #7C3AED, #5B36F5); color: #fff;
        font-family: var(--font-display); font-weight: 600; font-size: 14px;
        padding: 0 18px; border-radius: 8px; transition: transform 0.15s ease, filter 0.15s ease;
    }
    .sl-idemo-form button[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .sl-idemo-form button[type="submit"]:active { transform: translateY(0); }
    .sl-idemo-hint { margin: 0.875rem 0 0; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.4; }
    .sl-idemo-form input { padding-left: 12px; }
    .sl-idemo-error { margin: 8px 2px 0; font-size: 13px; color: #fda4af; min-height: 0; }
    .sl-idemo-examples { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); }
    .sl-idemo-examples button { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.85); font-size: 13px; padding: 6px 12px; border-radius: 20px; cursor: pointer; font-family: var(--font-body); transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
    .sl-idemo-examples button:hover { background: rgba(124,58,237,0.28); border-color: #a78bfa; color: #fff; }

    /* On mobile the input card stays visible — submitting opens the lead-capture modal
       (the full browser-chrome demo is desktop-only and handled in slDemoStart). */
    /* "Like magic." gets a colourful, slow-moving gradient shimmer */
    .sl-idemo-magic { background: linear-gradient(110deg, #d8b4fe 0%, #f0abfc 20%, #a5b4fc 40%, #67e8f9 58%, #f0abfc 78%, #d8b4fe 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: slMagicShimmer 4.5s linear infinite; }
    @keyframes slMagicShimmer { to { background-position: 220% center; } }
    @media (prefers-reduced-motion: reduce) { .sl-idemo-magic { animation: none; } }
    @media (max-width: 1023px) { .sl-idemo-magic { display: none; } }

    /* ---------- Fullscreen overlay ---------- */
    .sl-idemo-overlay {
        position: fixed; inset: 0; z-index: 2147483000;
        display: flex; align-items: center; justify-content: center;
        padding: 16px;
        background: rgba(8, 6, 22, 0.8);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity 0.55s ease, visibility 0s linear 0.55s;
    }
    /* Closed, this is a full-screen subtree whose aurora, orbs and ripples keep
       animating behind visibility:hidden. Skip rendering it entirely until it
       opens, so it costs nothing on every page the demo sits on. */
    .sl-idemo-overlay:not(.is-open) { content-visibility: hidden; }
    .sl-idemo-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.4s ease, visibility 0s; }
    html.sl-idemo-lock, body.sl-idemo-lock { overflow: hidden; }

    /* Faux browser window — ~80% of the screen */
    .sl-idemo-window {
        position: relative; width: 84vw; height: 88vh; max-width: 1680px; max-height: 1040px;
        background: #0e0c1c; border-radius: 14px; overflow: hidden;
        border: 1px solid rgba(255,255,255,0.14);
        box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.4); display: flex; flex-direction: column;
        transform: translateY(16px) scale(0.985); opacity: 0;
        transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
    }
    /* JS sizes the window to a comfortable logical box and sets --sl-demo-scale so
       it scales down to fit short/narrow viewports (the content keeps full layout
       room and just renders smaller, instead of being squeezed and clipped). */
    .sl-idemo-overlay.is-open .sl-idemo-window { transform: translateY(0) scale(var(--sl-demo-scale, 1)); transform-origin: center center; opacity: 1; }

    .sl-idemo-toolbar {
        flex-shrink: 0; display: flex; align-items: center; gap: 14px;
        padding: 11px 14px; background: #2c2a3f; border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .sl-idemo-lights { display: flex; gap: 7px; }
    .sl-idemo-lights span { width: 12px; height: 12px; border-radius: 50%; display: block; }
    .sl-idemo-lights span:nth-child(1) { background: #ff5f57; }
    .sl-idemo-lights span:nth-child(2) { background: #febc2e; }
    .sl-idemo-lights span:nth-child(3) { background: #28c840; }
    .sl-idemo-addressbar {
        flex: 1; display: flex; align-items: center; gap: 8px;
        background: #1b1930; border-radius: 8px; padding: 7px 14px;
        color: rgba(255,255,255,0.75); font-size: 15px; font-family: var(--font-body);
        overflow: hidden; white-space: nowrap;
    }
    .sl-idemo-addressbar { position: relative; cursor: text; }
    .sl-idemo-addressbar svg { flex-shrink: 0; opacity: 0.6; }
    .sl-idemo-url-hint { margin-left: auto; flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.28); padding-left: 10px; }
    .sl-idemo-addressbar:hover .sl-idemo-url-hint { color: rgba(255,255,255,0.5); }
    .sl-idemo-addressbar.is-editing { overflow: visible; background: #221f3a; box-shadow: 0 0 0 2px rgba(124,58,237,0.55); }
    .sl-idemo-addressbar.is-editing > img, .sl-idemo-addressbar.is-editing > .sl-idemo-bar-lock, .sl-idemo-addressbar.is-editing > .sl-idemo-url, .sl-idemo-addressbar.is-editing > .sl-idemo-url-hint { visibility: hidden; }
    .sl-idemo-omni { display: none; }
    .sl-idemo-addressbar.is-editing .sl-idemo-omni { display: flex; align-items: center; position: absolute; inset: 0; z-index: 30; }
    .sl-idemo-omni-bar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 14px; }
    .sl-idemo-omni-bar svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 1; color: rgba(255,255,255,0.55); }
    .sl-idemo-omni-bar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: #fff; font-size: 15px; line-height: 1.4; height: auto; padding: 0; margin: 0; box-sizing: border-box; font-family: var(--font-body); }
    .sl-idemo-omni-bar input:focus, .sl-idemo-omni-bar input:focus-visible { outline: none !important; border: none !important; box-shadow: none !important; }
    .sl-idemo-omni-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #1b1930; border: 1px solid rgba(255,255,255,0.12); border-radius: 11px; padding: 6px; box-shadow: 0 24px 56px rgba(0,0,0,0.55); }
    .sl-idemo-omni-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.32); padding: 9px 10px 4px; }
    .sl-idemo-omni-menu button { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.85); font-family: var(--font-body); font-size: 14px; padding: 8px 10px; border-radius: 8px; transition: background 0.12s ease, color 0.12s ease; }
    .sl-idemo-omni-menu button:hover { background: rgba(255,255,255,0.08); color: #fff; }
    .sl-idemo-omni-ico { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
    .sl-idemo-addressbar .sl-idemo-bar-fav { width: 20px; height: 20px; flex-shrink: 0; border-radius: 5px; background: #fff; padding: 2px; box-sizing: border-box; object-fit: contain; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
    .sl-idemo-addressbar .sl-idemo-url { text-overflow: ellipsis; overflow: hidden; }
    .sl-idemo-close {
        flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; border: none; cursor: pointer;
        background: rgba(255,255,255,0.08); color: #fff; font-size: 20px; line-height: 1;
        display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
    }
    .sl-idemo-close:hover { background: rgba(255,255,255,0.18); }

    /* Stage */
    .sl-idemo-stage { position: relative; flex: 1; overflow: hidden; background: #f4f4f7; }
    .sl-idemo-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
    .sl-idemo-stage::after {
        content: ''; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(180deg, rgba(10,8,26,0.16) 0%, rgba(10,8,26,0) 20%, rgba(10,8,26,0) 60%, rgba(10,8,26,0.28) 100%);
        opacity: 0; transition: opacity 0.5s ease;
    }
    .sl-idemo-stage.is-ready::after { opacity: 1; }
    /* dim the captured site behind the SparkLayer layer (like the live demo) */
    .sl-idemo-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(12, 9, 30, 0.1); opacity: 0; transition: opacity 0.5s ease, background 0.4s ease; }
    .sl-idemo-stage.is-ready .sl-idemo-scrim { opacity: 1; }
    /* dim the captured site more while the widget panel is open; lighten when it's closed */
    .sl-idemo-stage.sl-widget-open .sl-idemo-scrim { background: rgba(12, 9, 30, 0.5); }

    /* Loading */
    .sl-idemo-loading {
        position: absolute; inset: 0; z-index: 5; overflow: hidden;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
        background: radial-gradient(circle at 50% 38%, #1a1735, #0c0a1c);
        color: #fff; text-align: center; padding: 24px; transition: opacity 0.4s ease; opacity: 1;
    }
    .sl-idemo-loading.is-hidden { opacity: 0; pointer-events: none; }
    /* breathing aurora glow */
    .sl-idemo-loading::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 50% 36%, rgba(124,58,237,0.28), transparent 70%), radial-gradient(45% 40% at 72% 72%, rgba(236,72,153,0.14), transparent 70%), radial-gradient(40% 40% at 26% 70%, rgba(59,130,246,0.12), transparent 70%); animation: sl-idemo-aurora 6s ease-in-out infinite alternate; }
    @keyframes sl-idemo-aurora { 0% { opacity: 0.65; transform: translateY(0) scale(1); } 100% { opacity: 1; transform: translateY(-12px) scale(1.05); } }
    @keyframes sl-idemo-spin { to { transform: rotate(360deg); } }
    /* glowing emblem orb */
    .sl-idemo-orb { position: relative; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; }
    .sl-idemo-orb::before { content: ''; position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.65), rgba(124,58,237,0)); filter: blur(9px); animation: sl-idemo-glow 2.2s ease-in-out infinite; }
    .sl-idemo-orb-ring { position: absolute; inset: 8px; border-radius: 50%; border: 2px solid rgba(167,139,250,0.55); animation: sl-idemo-ripple 2.6s cubic-bezier(0.16,1,0.3,1) infinite; }
    .sl-idemo-orb-ring:nth-child(2) { animation-delay: 1.3s; }
    .sl-idemo-orb-logo { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 16px; filter: drop-shadow(0 6px 16px rgba(124,58,237,0.6)); animation: sl-idemo-bob 2.6s ease-in-out infinite; }
    @keyframes sl-idemo-ripple { 0% { transform: scale(0.7); opacity: 0.85; } 100% { transform: scale(1.35); opacity: 0; } }
    @keyframes sl-idemo-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
    @keyframes sl-idemo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
    .sl-idemo-loading h4 { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 4px 0 0; color: #fff; }
    .sl-idemo-loading p { position: relative; margin: 0; font-size: 15.5px; color: rgba(255,255,255,0.62); max-width: 380px; line-height: 1.5; }
    /* animated checklist */
    .sl-idemo-checklist { position: relative; list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; text-align: left; }
    .sl-idemo-ci { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,0.4); transition: color .4s ease; }
    .sl-idemo-ci-mark { position: relative; width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.18); transition: border-color .4s ease, background .4s ease; }
    .sl-idemo-ci.is-active { color: #fff; }
    .sl-idemo-ci.is-active .sl-idemo-ci-mark { border-color: rgba(255,255,255,0.18); border-top-color: #a78bfa; border-right-color: #a78bfa; animation: sl-idemo-spin 0.7s linear infinite; }
    .sl-idemo-ci.is-done { color: rgba(255,255,255,0.85); }
    .sl-idemo-ci.is-done .sl-idemo-ci-mark { border-color: #16c172; background: #16c172; animation: none; }
    .sl-idemo-ci.is-done .sl-idemo-ci-mark::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

    /* fallback */
    .sl-idemo-fallback {
        position: absolute; inset: 0; z-index: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
        text-align: center; padding: 30px 46% 30px 30px; background: linear-gradient(135deg, #ede9fe, #f4f4f7);
    }
    .sl-idemo-fallback.is-shown { display: flex; }
    .sl-idemo-fallback h4 { font-family: var(--font-display); font-size: 20px; color: #0a0a1a; margin: 0; }
    .sl-idemo-fallback p { font-size: 14px; color: #5a5a66; max-width: 380px; margin: 0; line-height: 1.5; }

    /* ---------- SparkLayer chrome ---------- */
    .sl-idemo-chrome { position: absolute; inset: 0; z-index: 4; pointer-events: none; font-family: var(--font-body); }
    .sl-idemo-chrome > * { pointer-events: auto; }

    /* slim context strip */
    .sl-idemo-agentbar {
        position: absolute; top: 0; left: 0; right: 0; height: 34px;
        display: flex; align-items: center; gap: 10px; padding: 0 16px;
        color: #fff; font-size: 12.5px; background: linear-gradient(90deg, #5B36F5, #7C3AED);
        box-shadow: 0 4px 16px rgba(91,54,245,0.3);
        transform: translateY(-110%); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
    }
    .sl-idemo-chrome.is-live .sl-idemo-agentbar { transform: none; }
    .sl-idemo-agentbar .sl-idemo-ab-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
    .sl-idemo-agentbar .sl-idemo-ab-logo img { width: 18px; height: 18px; border-radius: 4px; }
    .sl-idemo-agentbar .sl-idemo-ab-favicon { width: 18px; height: 18px; flex-shrink: 0; border-radius: 4px; background: #fff; padding: 2px; box-sizing: border-box; object-fit: contain; vertical-align: middle; margin-right: 5px; }
    .sl-idemo-agentbar .sl-idemo-dot { opacity: 0.5; }

    /* floating B2B price injection on the page */
    .sl-idemo-floatcta {
        position: absolute; left: 6%; top: 44%; cursor: pointer;
        display: flex; align-items: center; gap: 14px;
        background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid #eceaf5;
        box-shadow: 0 18px 50px rgba(15,10,40,0.26);
        opacity: 0; transform: translateY(14px) scale(0.95); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s ease;
    }
    .sl-idemo-floatcta:hover { box-shadow: 0 22px 56px rgba(15,10,40,0.32); }
    .sl-idemo-chrome.is-live .sl-idemo-floatcta { opacity: 1; transform: none; transition-delay: 0.35s; }
    .sl-idemo-floatcta .sl-idemo-fc-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #5B36F5; margin-bottom: 1px; }
    .sl-idemo-floatcta .sl-idemo-fc-trade { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #0a0a1a; line-height: 1.15; }
    .sl-idemo-floatcta .sl-idemo-fc-rrp { font-size: 12.5px; color: #62627f; }
    .sl-idemo-floatcta .sl-idemo-fc-btn {
        background: #16a06a; color: #fff; border: none; cursor: pointer; border-radius: 8px;
        font-weight: 600; font-size: 13px; padding: 10px 14px; transition: background 0.15s ease;
    }
    .sl-idemo-floatcta .sl-idemo-fc-btn:hover { background: #138a5a; }

    /* launcher */
    .sl-idemo-launcher {
        position: absolute; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%;
        border: none; cursor: pointer; background: linear-gradient(135deg, #7C3AED, #5B36F5);
        box-shadow: 0 14px 38px rgba(91,54,245,0.6); display: flex; align-items: center; justify-content: center;
        opacity: 0; transform: scale(0.5); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1); z-index: 6;
    }
    .sl-idemo-chrome.is-live .sl-idemo-launcher { opacity: 1; transform: none; transition-delay: 0.15s; }
    .sl-idemo-launcher img { width: 46px; height: 46px; }
    .sl-idemo-launcher::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(167,139,250,0.6); animation: sl-idemo-pulse 2s ease-out infinite; }
    @keyframes sl-idemo-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

    /* "Get started" card on the left gutter, shown after the example order is placed */
    .sl-idemo-finishcta {
        position: absolute; left: 6%; top: 50%; z-index: 6; width: 320px; max-width: 40%;
        opacity: 0; pointer-events: none; transform: translateY(-50%) translateY(14px);
        transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
    }
    .sl-idemo-chrome.is-finished .sl-idemo-finishcta { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
    .sl-idemo-chrome.is-finished .sl-idemo-floatcta { opacity: 0 !important; pointer-events: none; }
    .sl-idemo-finishcta-inner {
        box-sizing: border-box; background: linear-gradient(160deg, #5B36F5 0%, #4226c9 100%);
        border-radius: 18px; padding: 28px 26px; box-shadow: 0 26px 64px rgba(43,28,143,0.5);
    }
    .sl-idemo-finishcta-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 14px; }
    .sl-idemo-finishcta-heading { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: #fff; margin: 0 0 10px; }
    .sl-idemo-finishcta-sub { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.82); margin: 0 0 20px; }
    .sl-idemo-finishcta-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 13px 16px; border: none; cursor: pointer; border-radius: 60px; font-family: var(--font-display); font-weight: 600; font-size: 14px; text-decoration: none !important; transition: background 0.15s ease, border-color 0.15s ease; }
    .sl-idemo-finishcta-btn--primary { background: #fff; color: #5B36F5; margin-bottom: 10px; }
    .sl-idemo-finishcta-btn--primary:hover { background: #f0ecff; }
    .sl-idemo-finishcta-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
    .sl-idemo-finishcta-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
    /* tailored case-study line + share link inside the finish CTA */
    .sl-idemo-finishcta-case { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.7); }
    .sl-idemo-finishcta-case a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
    .sl-idemo-finishcta-share { margin-top: 12px; width: 100%; background: transparent; border: none; cursor: pointer; color: rgba(255,255,255,0.8); font-family: var(--font-body); font-size: 12.5px; padding: 4px; transition: color 0.15s ease; }
    .sl-idemo-finishcta-share:hover { color: #fff; }
    .sl-idemo-finishcta-brand { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; }
    .sl-idemo-finishcta-brand img { width: 16px; height: 16px; border-radius: 4px; }

    /* agent-bar live host + favicon */
    .sl-idemo-agentbar .sl-idemo-ab-host:empty { display: none; }

    /* feature-unlock toast (top-centre of the stage) */
    .sl-idemo-toast {
        position: absolute; top: 46px; left: 50%; transform: translate(-50%, -14px); z-index: 7;
        display: flex; align-items: center; gap: 8px; max-width: 86%;
        background: rgba(13, 10, 31, 0.92); color: #fff; border: 1px solid rgba(255,255,255,0.12);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
        font-family: var(--font-body); font-size: 13px; padding: 9px 14px; border-radius: 999px;
        box-shadow: 0 14px 38px rgba(0,0,0,0.4); opacity: 0; pointer-events: none;
        transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    }
    .sl-idemo-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
    .sl-idemo-toast.is-orange { background: linear-gradient(135deg, #fb923c, #f97316); border-color: rgba(255,255,255,0.25); color: #fff; box-shadow: 0 14px 38px rgba(234,88,12,0.45); }
    .sl-idemo-toast.is-orange strong { color: #fff; }
    .sl-idemo-toast .sl-toast-cta { font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
    .sl-idemo-toast .sl-idemo-toast-x { flex-shrink: 0; pointer-events: auto; margin: -2px -4px -2px 2px; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: none; background: rgba(255,255,255,0.16); color: #fff; font-size: 15px; line-height: 1; border-radius: 50%; cursor: pointer; opacity: 0.85; transition: opacity 0.15s ease, background 0.15s ease; }
    .sl-idemo-toast .sl-idemo-toast-x:hover { opacity: 1; background: rgba(255,255,255,0.28); }
    .sl-idemo-toast em { font-style: normal; color: rgba(255,255,255,0.55); font-size: 12px; }
    .sl-idemo-toast .sl-idemo-toast-tick { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--sl-brand, #16c172); color: #fff; font-size: 11px; }

    /* the demo Book-a-Demo CTAs keep their gradient fill + get a light circling the border
       (same effect as the hero search field — see .sl-idemo-form::before) */
    .sl-idemo-demo-shimmer { position: relative; }
    .sl-idemo-demo-shimmer::before {
        content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; pointer-events: none; z-index: 1;
        background: conic-gradient(from var(--sl-ang), transparent 0 70%, rgba(255,255,255,0.45) 80%, #ffffff 88%, rgba(255,255,255,0.65) 95%, transparent 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor; mask-composite: exclude;
        animation: sl-idemo-flash 3.4s linear infinite;
    }
    @media (prefers-reduced-motion: reduce) { .sl-idemo-demo-shimmer::before { animation: none; } }

    /* exit-intent catch (above the avatar's z-2000 so the whole widget dims) */
    .sl-idemo-exit {
        position: absolute; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px;
        background: rgba(8, 6, 22, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    }
    .sl-idemo-exit.is-shown { display: flex; }
    .sl-idemo-exit-card {
        width: 100%; max-width: 400px; text-align: center; background: #15122b; border: 1px solid rgba(255,255,255,0.12);
        border-radius: 18px; padding: 28px 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
        transform: translateY(10px) scale(0.97); opacity: 0; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
    }
    .sl-idemo-exit.is-shown .sl-idemo-exit-card { transform: none; opacity: 1; }
    .sl-idemo-exit-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: #fff; margin: 0 0 8px; }
    .sl-idemo-exit-card p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.5; margin: 0 0 20px; }
    .sl-idemo-exit-card .sl-idemo-exit-book { display: block; width: 100%; padding: 14px; border: none; cursor: pointer; border-radius: 11px; background: linear-gradient(135deg, #7C3AED, #5B36F5); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; transition: filter 0.15s ease; }
    .sl-idemo-exit-card .sl-idemo-exit-book:hover { filter: brightness(1.08); }
    .sl-idemo-exit-card .sl-idemo-exit-alt { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 20px; }
    .sl-idemo-exit-card .sl-idemo-exit-back, .sl-idemo-exit-card .sl-idemo-exit-no { background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14.5px; transition: color 0.15s ease; padding: 0; }
    .sl-idemo-exit-card .sl-idemo-exit-back { color: rgba(255,255,255,0.9); font-weight: 500; }
    .sl-idemo-exit-card .sl-idemo-exit-back:hover { color: #fff; }
    .sl-idemo-exit-card .sl-idemo-exit-no { color: rgba(255,255,255,0.5); }
    .sl-idemo-exit-card .sl-idemo-exit-no:hover { color: rgba(255,255,255,0.8); }
    .sl-idemo-exit-card .sl-idemo-exit-sep { color: rgba(255,255,255,0.3); font-size: 13px; }
    .sl-idemo-exit-card .sl-idemo-exit-no:hover { color: rgba(255,255,255,0.85); }

    /* ---- value-first email capture sheet ("email me this demo") ---- */
    .sl-idemo-lead {
        position: absolute; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center;
        padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(8, 6, 22, 0);
        transition: opacity 0.3s ease, background 0.3s ease, visibility 0s linear 0.3s;
    }
    .sl-idemo-lead.is-shown { opacity: 1; visibility: visible; pointer-events: auto; background: rgba(8, 6, 22, 0.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity 0.3s ease, background 0.3s ease; }
    .sl-idemo-lead.is-shown.is-exit { background: rgba(8, 6, 22, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
    /* mobile standalone: the lead card is hoisted into the full-screen overlay (which already
       provides the scrim), so the desktop window is hidden and the card's own scrim is dropped */
    .sl-idemo-overlay.sl-idemo-mlead .sl-idemo-window { display: none; }
    .sl-idemo-overlay.sl-idemo-mlead .sl-idemo-lead { position: absolute; inset: 0; overflow-y: auto; }
    .sl-idemo-overlay.sl-idemo-mlead .sl-idemo-lead.is-shown { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .sl-idemo-lead-card {
        position: relative; pointer-events: auto; width: 100%; max-width: 400px; box-sizing: border-box;
        background: radial-gradient(125% 90% at 0% 0%, rgba(124,92,255,0.20) 0%, transparent 56%), #15122b;
        border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 24px 26px 22px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.07);
        transform: translateY(26px) scale(0.985); opacity: 0;
        transition: transform 0.42s cubic-bezier(0.16,1,0.3,1), opacity 0.42s ease;
    }
    .sl-idemo-lead.is-shown .sl-idemo-lead-card { transform: none; opacity: 1; }
    .sl-idemo-lead-x {
        position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: none; cursor: pointer;
        background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); border-radius: 8px; font-size: 18px; line-height: 1;
        display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease;
    }
    .sl-idemo-lead-x:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .sl-idemo-lead-eyebrow {
        display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
        letter-spacing: 0.06em; text-transform: uppercase; color: #b7a6ff; margin-bottom: 11px;
    }
    .sl-idemo-lead-eyebrow svg { width: 15px; height: 15px; }
    .sl-idemo-lead-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; color: #fff; margin: 0 0 8px; padding-right: 24px; }
    .sl-idemo-lead-title strong { font-weight: 600; color: #fff; }
    .sl-idemo-lead-sub { font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.74); margin: 0 0 16px; }
    .sl-idemo-lead-sub strong { color: #fff; font-weight: 600; }
    .sl-idemo-lead-fine { font-family: var(--font-body); font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,0.45); margin: 12px 0 0; }
    .sl-idemo-lead-skip { display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.15s ease; }
    .sl-idemo-lead-skip:hover { color: rgba(255,255,255,0.85); }
    /* success state */
    .sl-idemo-lead-done { display: none; text-align: center; padding: 6px 0 4px; }
    .sl-idemo-lead.is-done .sl-idemo-lead-main { display: none; }
    .sl-idemo-lead.is-done .sl-idemo-lead-done { display: block; }
    .sl-idemo-lead-check { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, #16c172, #0f9e63); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(15,158,99,0.45); }
    .sl-idemo-lead-check svg { width: 24px; height: 24px; }
    .sl-idemo-lead-done h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #fff; margin: 0 0 6px; }
    .sl-idemo-lead-done p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.74); margin: 0 0 16px; }
    .sl-idemo-lead-keep { background: none; border: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #b7a6ff; transition: color 0.15s ease; }
    .sl-idemo-lead-keep:hover { color: #fff; }
    /* HubSpot form restyled to sit seamlessly in the dark sheet */
    #slDemoLeadForm { font-family: var(--font-body); min-height: 92px; }
    #slDemoLeadForm form { display: flex; flex-direction: column; gap: 10px; }
    #slDemoLeadForm .hs-form-field { display: flex; flex-direction: column; margin: 0; }
    #slDemoLeadForm .hs-form-field > label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.66); margin-bottom: 5px; }
    #slDemoLeadForm .hs-form-field > label .hs-form-required { color: #f9a8d4; margin-left: 2px; }
    #slDemoLeadForm .input { margin: 0; }
    #slDemoLeadForm .hs-input {
        width: 100% !important; box-sizing: border-box; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
        border-radius: 10px; color: #fff; font-family: var(--font-body); font-size: 15px; padding: 12px 14px; outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }
    #slDemoLeadForm textarea.hs-input { min-height: 70px; resize: vertical; }
    #slDemoLeadForm .hs-input::placeholder { color: rgba(255,255,255,0.4); }
    #slDemoLeadForm .hs-input:focus { border-color: rgba(167,139,250,0.85); box-shadow: 0 0 0 3px rgba(124,92,255,0.22); background: rgba(255,255,255,0.1); }
    #slDemoLeadForm .hs-input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #221b40 inset; caret-color: #fff; }
    #slDemoLeadForm select.hs-input { appearance: none; -webkit-appearance: none; }
    /* travelling shimmer around the email field — same flash as the hero search + Book-a-Demo CTAs */
    #slDemoLeadForm .input { position: relative; border-radius: 10px; }
    #slDemoLeadForm .input::before {
        content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; pointer-events: none; z-index: 2;
        background: conic-gradient(from var(--sl-ang), transparent 0 72%, rgba(196,181,253,0.4) 80%, #ffffff 88%, rgba(167,139,250,0.65) 95%, transparent 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor; mask-composite: exclude;
        animation: sl-idemo-flash 3.4s linear infinite;
    }
    @media (prefers-reduced-motion: reduce) { #slDemoLeadForm .input::before { animation: none; } }
    #slDemoLeadForm .input .hs-input { position: relative; z-index: 1; }
    #slDemoLeadForm ul.inputs-list, #slDemoLeadForm ul.hs-error-msgs { list-style: none; margin: 5px 0 0; padding: 0; }
    #slDemoLeadForm .hs-error-msg, #slDemoLeadForm label.hs-error-msg { color: #fda4af; font-size: 12px; }
    #slDemoLeadForm .hs-button {
        margin-top: 2px; width: 100%; box-sizing: border-box; cursor: pointer; border: none; border-radius: 11px;
        background: linear-gradient(135deg, #7C3AED, #5B36F5); color: #fff; font-family: var(--font-display);
        font-weight: 600; font-size: 15px; padding: 13px 16px; transition: filter 0.15s ease, transform 0.1s ease;
    }
    #slDemoLeadForm .hs-button:hover { filter: brightness(1.08); }
    #slDemoLeadForm .hs-button:active { transform: translateY(1px); }
    #slDemoLeadForm .legal-consent-container, #slDemoLeadForm .hs-richtext { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.5); }
    #slDemoLeadForm .legal-consent-container a, #slDemoLeadForm .hs-richtext a { color: rgba(255,255,255,0.78); }
    #slDemoLeadForm .hs-form-booleancheckbox-display { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: rgba(255,255,255,0.6); }
    #slDemoLeadForm .submitted-message { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; }

    /* cart lines: one clean unit price — hide the strikethrough was-price and drop the
       green "discounted" colour (it read as confusing); the RRP line is kept */
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end .line-through { display: none; }
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end p .text-success { color: inherit !important; }
    /* keep the "Discounts" tier-pricing link green */
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end [role="button"].text-success,
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end [role="button"].text-success span { color: #00A372 !important; }
    /* keep long prices (high-magnitude currencies, e.g. kr) on one line so the layout doesn't break */
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end,
    #slDemoWidget [data-pane="account"] .divide-y .items-end { flex-shrink: 0; }
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end h4,
    #slDemoWidget [data-pane="order"] ul.divide-y .items-end p,
    #slDemoWidget [data-pane="account"] .divide-y .items-end h4,
    #slDemoWidget [data-pane="account"] .divide-y .items-end p { white-space: nowrap; flex-wrap: nowrap; }
    #slDemoWidget [data-pane="order"] ul.divide-y .grow,
    #slDemoWidget [data-pane="account"] .divide-y .grow { min-width: 0; }
    /* breathing room between the order-detail price lines (total / "Nx unit" / RRP) */
    #slDemoWidget [data-pane="account"] .divide-y .items-end p { margin-top: 4px; line-height: 1.45; }
    /* order-detail timeline: visually set sales-agent notes apart from the customer's */
    #slDemoWidget .sl-tl-agent-box { background: #f5f3ff; border-color: #c4b5fd; line-height: 1.3; }
    #slDemoWidget .sl-tl-paybox { line-height: 1.3; }
    #slDemoWidget .sl-tl-paybox p { margin: 0; }
    #slDemoWidget .sl-tl-agent-role { color: #6d28d9; }
    #slDemoWidget .sl-tl-agent-icon { color: #7c3aed; }
    /* product names + thumbnails are display-only in the demo — not clickable links */
    #slDemoWidget .grow h4 button { pointer-events: none; cursor: default; text-decoration: none !important; }
    #slDemoWidget [data-pane="order"] a[style*="background-image"],
    #slDemoWidget [data-pane="account"] a[style*="background-image"] { pointer-events: none; cursor: default; }
    /* soft fade from the scrolling cart list into the subtotal box */
    #slDemoWidget #slDemoCartFoot .sl-idemo-cart-fade { position: absolute; left: 0; top: -24px; height: 24px; width: 100%; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; z-index: 1; }

    /* confirm dialog (Clear cart) — light, in keeping with the SparkLayer UI */
    .sl-idemo-confirm { position: absolute; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 22px; }
    .sl-idemo-confirm.is-shown { display: flex; }
    .sl-idemo-confirm-scrim { position: absolute; inset: 0; background: rgba(8, 6, 22, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
    .sl-idemo-confirm-card { position: relative; z-index: 1; width: 100%; max-width: 360px; background: #fff; border: 1px solid #e2e2e6; border-radius: 12px; padding: 20px; box-shadow: 0 24px 64px rgba(15,10,40,0.34); transform: translateY(8px) scale(0.98); opacity: 0; transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease; }
    .sl-idemo-confirm.is-shown .sl-idemo-confirm-card { transform: none; opacity: 1; }
    .sl-idemo-confirm-card h4 { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 18px; color: #1a1730; }
    .sl-idemo-confirm-card > p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #555; font-family: var(--font-body); }
    .sl-idemo-confirm-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
    .sl-idemo-confirm-card .sl-idemo-confirm-btn { cursor: pointer; border-radius: 8px; padding: 9px 16px; font-family: var(--sl-body); font-size: 14px; font-weight: 500; border: 1px solid transparent; line-height: 1; transition: filter .15s ease, background .15s ease; }
    .sl-idemo-confirm-card .sl-idemo-confirm-cancel { background: #fff; border-color: #d9d9e0; color: #444; }
    .sl-idemo-confirm-card .sl-idemo-confirm-cancel:hover { background: #f3f3f5; }
    .sl-idemo-confirm-card .sl-idemo-confirm-ok { background: #e11d48; color: #fff; }
    .sl-idemo-confirm-card .sl-idemo-confirm-ok:hover { filter: brightness(1.06); }

    /* trade-price "snap-in" reveal on the cart */
    @keyframes sl-idemo-pricepop { 0% { transform: scale(0.6); opacity: 0; } 55% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
    #slDemoWidget [data-pane="order"].sl-priced ul.divide-y .items-end .text-success { animation: sl-idemo-pricepop 0.6s cubic-bezier(0.16,1,0.3,1) both; transform-origin: right center; }
    #slDemoWidget [data-pane="order"].sl-priced ul.divide-y > div:nth-child(2) .items-end .text-success { animation-delay: 0.08s; }
    #slDemoWidget [data-pane="order"].sl-priced ul.divide-y > div:nth-child(3) .items-end .text-success { animation-delay: 0.16s; }
    #slDemoWidget [data-pane="order"].sl-priced ul.divide-y > div:nth-child(4) .items-end .text-success { animation-delay: 0.24s; }

    /* replay-tour button */
    .sl-idemo-tourbtn {
        position: absolute; left: 20px; bottom: 22px; z-index: 6;
        display: inline-flex; align-items: center; gap: 7px;
        background: linear-gradient(135deg, #fb923c, #f97316); color: #fff;
        border: none; cursor: pointer; border-radius: 22px; padding: 10px 16px;
        font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
        box-shadow: 0 10px 28px rgba(234,88,12,0.45);
        opacity: 0; transform: translateY(8px); pointer-events: none;
        transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), filter 0.2s ease, box-shadow 0.3s ease;
    }
    .sl-idemo-chrome.is-live .sl-idemo-tourbtn { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.3s; }
    .sl-idemo-chrome.is-live .sl-idemo-tourbtn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 40px rgba(234,88,12,0.55); transition-delay: 0s; }
    .sl-idemo-chrome.is-live .sl-idemo-tourbtn:active { transform: translateY(0); transition-duration: 0.08s; }
    .sl-idemo-tourbtn.is-hidden { opacity: 0 !important; pointer-events: none !important; transform: translateY(8px); }
    .sl-idemo-tourbtn .sl-idemo-tour-spark { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
    .sl-idemo-tourbtn:hover .sl-idemo-tour-spark { transform: rotate(14deg) scale(1.14); }

    /* ======== SparkLayer widget (faithful replica) ======== */
    .sl-w {
        position: absolute; top: 0; right: 0; bottom: 0; width: 700px; max-width: 94%;
        --sl-purple: #5B36F5; --sl-purple-d: #370cec; --sl-green: #00AF76; --sl-green-d: #00935f;
        --sl-blue: #0E00D4; --sl-instock: #00A372; --sl-sub: #555; --sl-head: 'Geist', sans-serif; --sl-body: 'Geist', sans-serif;
        background: #fff; box-shadow: -22px 0 64px rgba(15,10,40,0.24);
        display: flex; flex-direction: column; color: #222; font-family: var(--sl-body); font-size: 14px;
        transform: translateX(105%); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), width 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .sl-w.is-open { transform: none; }
    .sl-w.is-wide { width: 1000px; }
    .sl-w *, .sl-w *::before, .sl-w *::after { box-sizing: border-box; }

    /* tab bar — active tab uses a purple underline */
    .sl-w-tabs { display: flex; align-items: stretch; background: #f3f3f5; flex-shrink: 0; border-bottom: 1px solid #e2e2e6; }
    .sl-w-tab {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; position: relative;
        border: none; background: transparent; cursor: pointer; padding: 16px 10px; margin-bottom: -1px;
        font-family: var(--sl-body); font-size: 15px; font-weight: 400; color: #555; border-bottom: 2px solid transparent;
    }
    .sl-w-tab svg { width: 18px; height: 18px; }
    .sl-w-tab.is-active { background: #fff; color: #000; font-weight: 500; border-bottom-color: var(--sl-purple); }
    .sl-w-avatar { display: flex; align-items: center; gap: 6px; padding: 0 14px 0 12px; background: #f3f3f5; color: #9a9aa4; }
    .sl-w-avatar .sl-w-av-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--sl-purple); color: #fff; font-size: 12.5px; font-weight: 500; font-family: var(--sl-body); display: flex; align-items: center; justify-content: center; }
    .sl-w-avatar .sl-w-av-ico { width: 14px; height: 14px; opacity: 0.7; }

    /* content header */
    .sl-w-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; flex-shrink: 0; }
    .sl-w-head h3 { margin: 0; font-family: var(--sl-head); font-weight: 500; font-size: 24px; color: #000; }
    .sl-w-head .sl-w-head-act { background: none; border: none; cursor: pointer; color: #555; font-size: 13.5px; font-family: var(--sl-body); display: inline-flex; align-items: center; gap: 7px; }
    .sl-w-head .sl-w-head-act svg { width: 14px; height: 14px; }
    .sl-w-head .sl-w-head-act.is-link { color: var(--sl-purple); }

    /* search */
    .sl-w-search { display: flex; gap: 9px; padding: 2px 20px 14px; flex-shrink: 0; }
    .sl-w-search .sl-w-searchbox { flex: 1; display: flex; align-items: center; gap: 9px; border: 1px solid #ccc; border-radius: 6px; padding: 11px 13px; color: #888; font-size: 13.5px; background: #fff; }
    .sl-w-search .sl-w-searchbox svg { width: 15px; height: 15px; }
    .sl-w-search .sl-w-options { border: 1px solid #ccc; border-radius: 6px; background: #fff; padding: 0 14px; font-size: 13.5px; color: #333; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap; }

    .sl-w-body { flex: 1; overflow-y: auto; }
    .sl-w-pane { display: none; }
    .sl-w-pane.is-active { display: block; }

    /* cart line items — measured 1:1 from the live SparkLayer drawer */
    .sl-w-line { display: flex; gap: 14px; padding: 14px 20px; border-top: 1px solid #e5e7eb; }
    .sl-w-thumb { width: 82px; height: 82px; border-radius: 6px; flex-shrink: 0; background: #f4f4f4 center/cover no-repeat; overflow: hidden; }
    .sl-w-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .sl-w-li-main { flex: 1; min-width: 0; }
    .sl-w-li-name { font-family: var(--sl-head); font-size: 16px; font-weight: 500; color: #000; line-height: 1.5; }
    .sl-w-li-sku { font-size: 14px; color: var(--sl-sub); margin-top: 2px; line-height: 1.4; }
    .sl-w-li-stock { font-size: 14px; color: var(--sl-instock); margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
    .sl-w-li-stock::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: var(--sl-instock); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.4-4-4 1.4-1.5 2.6 2.6 5.5-5.5 1.5 1.4Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.4-4-4 1.4-1.5 2.6 2.6 5.5-5.5 1.5 1.4Z'/%3E%3C/svg%3E") center/contain no-repeat; }
    .sl-w-li-stock .sl-w-count { background: var(--sl-instock); color: #fff; border-radius: 6px; padding: 2px 6px; font-size: 11px; line-height: 1.2; }
    .sl-w-li-controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
    .sl-w-stepper { display: inline-flex; align-items: stretch; height: 39px; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; background: #fff; }
    .sl-w-stepper button { width: 35px; min-width: 35px; height: 100%; border: none; background: #fff; color: #999; font-size: 18px; cursor: pointer; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; }
    .sl-w-stepper button:hover { background: #f6f6f6; color: #555; }
    .sl-w-stepper input { width: 54px; height: 100%; text-align: center; border: none; border-left: 1px solid #ccc; border-right: 1px solid #ccc; outline: none; font-size: 14px; font-family: var(--sl-body); color: #555; padding: 0; background: #fff; -moz-appearance: textfield; }
    .sl-w-stepper input::-webkit-outer-spin-button, .sl-w-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .sl-w-trash { border: none; background: none; cursor: pointer; color: #b0b0b0; width: 34px; height: 39px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
    .sl-w-trash:hover { color: #e0463c; background: #fbecea; }
    .sl-w-trash svg { width: 18px; height: 18px; }
    .sl-w-li-price { text-align: right; flex-shrink: 0; }
    .sl-w-li-total { font-family: var(--sl-head); font-size: 16px; font-weight: 500; color: #000; }
    .sl-w-li-unit { font-size: 13px; color: #555; margin-top: 5px; }
    .sl-w-li-unit s { color: #999; margin-right: 5px; }
    .sl-w-li-unit .sl-w-li-b2b { color: var(--sl-instock); }
    .sl-w-li-rrp { font-size: 13px; color: #999; margin-top: 2px; }

    .sl-w-promo { margin: 12px 20px; padding: 9px 12px; background: #f4f1ff; border-radius: 6px; font-size: 12.5px; color: #444; display: flex; align-items: center; gap: 9px; }
    .sl-w-promo .sl-w-promo-tag { background: var(--sl-purple); color: #fff; font-size: 10.5px; font-weight: 500; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; flex-shrink: 0; }

    /* footer / totals */
    .sl-w-foot { position: sticky; bottom: 0; z-index: 5; border-top: 1px solid #e5e5e5; padding: 14px 20px 18px; background: #fff; box-shadow: 0 -6px 18px rgba(20,15,40,0.05); }
    .sl-w-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; color: #555; margin-bottom: 6px; }
    .sl-w-row.sl-w-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid #eee; }
    .sl-w-row.sl-w-total span:first-child { color: #000; font-weight: 500; font-family: var(--sl-head); }
    .sl-w-row.sl-w-total strong { font-family: var(--sl-head); font-size: 18px; color: #000; font-weight: 500; }
    .sl-w-subtotal-big { font-family: var(--sl-head); font-size: 20px; color: #000; font-weight: 500; }

    /* buttons */
    .sl-w-btn { width: 100%; border: none; cursor: pointer; padding: 14px; border-radius: 6px; font-family: var(--sl-head); font-weight: 600; font-size: 17px; transition: background 0.15s ease; }
    .sl-w-btn-green { background: var(--sl-green); color: #fff; }
    .sl-w-btn-green:hover { background: var(--sl-green-d); }
    .sl-w-btn-ghost { background: #fff; color: var(--sl-purple); border: 1px solid #d8d0f6; }
    .sl-w-btn-ghost:hover { background: #f6f3ff; }

    /* step indicator */
    .sl-w-steps { display: flex; align-items: flex-start; justify-content: space-between; padding: 14px 18px 4px; }
    .sl-w-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
    .sl-w-step:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px; background: #e6e6ec; z-index: 0; }
    .sl-w-step.is-done:not(:last-child)::after { background: #5B36F5; }
    .sl-w-step .sl-w-step-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #e6e6ec; color: #8a8a99; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
    .sl-w-step.is-active .sl-w-step-dot { background: #5B36F5; color: #fff; }
    .sl-w-step.is-done .sl-w-step-dot { background: #5B36F5; color: #fff; }
    .sl-w-step .sl-w-step-label { font-size: 11px; color: #8a8a99; text-align: center; }
    .sl-w-step.is-active .sl-w-step-label, .sl-w-step.is-done .sl-w-step-label { color: #5B36F5; font-weight: 500; }

    /* checkout form bits */
    .sl-w-section { padding: 14px 18px 4px; }
    .sl-w-section h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #14141c; }
    .sl-w-section .sl-w-sec-link { float: right; font-size: 13px; color: #5B36F5; font-weight: 500; cursor: pointer; }
    .sl-w-opt {
        display: flex; align-items: center; gap: 12px; border: 1px solid #e3e3ea; border-radius: 10px;
        padding: 13px 14px; margin-bottom: 8px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
    }
    .sl-w-opt.is-sel { border-color: #5B36F5; background: #f7f5ff; }
    .sl-w-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfcfda; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .sl-w-opt.is-sel .sl-w-radio { border-color: #5B36F5; background: #5B36F5; }
    .sl-w-opt.is-sel .sl-w-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
    .sl-w-opt .sl-w-opt-main { flex: 1; }
    .sl-w-opt .sl-w-opt-title { font-size: 13.5px; color: #1a1a22; font-weight: 500; }
    .sl-w-opt .sl-w-opt-sub { font-size: 12px; color: #9a9aa6; }
    .sl-w-opt .sl-w-opt-price { font-size: 13.5px; color: #14141c; font-weight: 600; }
    .sl-w-opt .sl-w-opt-ico { color: #b0b0bd; }
    .sl-w-input { width: 100%; border: 1px solid #e3e3ea; border-radius: 9px; padding: 11px 13px; font-size: 13.5px; font-family: var(--font-body); color: #1a1a22; outline: none; }
    .sl-w-input::placeholder { color: #adadb8; }
    .sl-w-upload { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e3e3ea; border-radius: 9px; padding: 9px 13px; font-size: 13px; color: #4a4a57; background: #fff; cursor: pointer; }
    .sl-w-help { font-size: 11.5px; color: #a0a0ab; margin: 6px 0 0; }
    .sl-w-agree { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #4a4a57; margin: 4px 0 12px; cursor: pointer; }
    .sl-w-check { width: 19px; height: 19px; border-radius: 5px; border: 2px solid #cfcfda; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
    .sl-w-agree.is-checked .sl-w-check { background: #5B36F5; border-color: #5B36F5; }
    .sl-w-agree a { color: #5B36F5; }

    /* complete state */
    .sl-w-complete { padding: 40px 24px; text-align: center; }
    .sl-w-complete .sl-w-tick { width: 76px; height: 76px; border-radius: 50%; background: #16c0e0; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
    .sl-w-complete .sl-w-tick svg { width: 38px; height: 38px; }
    .sl-w-complete h3 { font-family: var(--font-body); font-weight: 700; font-size: 22px; color: #14141c; margin: 0 0 10px; }
    .sl-w-complete p { font-size: 13.5px; color: #6a6a76; line-height: 1.55; max-width: 320px; margin: 0 auto 20px; }

    /* recent orders table */
    /* My Account panel */
    .sl-acc { padding: 0 20px 20px; }
    .sl-acc-sec { margin-top: 20px; }
    .sl-acc-sec h4 { margin: 0 0 11px; font-family: var(--sl-head); font-weight: 500; font-size: 16px; color: #000; }
    .sl-acc-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
    .sl-acc-sec-head h4 { margin: 0; }
    .sl-acc-viewall { color: var(--sl-purple); font-size: 14px; cursor: pointer; font-family: var(--sl-body); }
    .sl-acc-filters { display: flex; gap: 18px; margin-bottom: 4px; border-bottom: 1px solid #ededed; }
    .sl-acc-filters button { border: none; background: none; cursor: pointer; font-family: var(--sl-body); font-size: 13px; color: #555; padding: 0 0 9px; margin-bottom: -1px; border-bottom: 2px solid transparent; white-space: nowrap; }
    .sl-acc-filters button span { color: #aaa; }
    .sl-acc-filters button.is-active { color: var(--sl-purple); border-bottom-color: var(--sl-purple); }
    .sl-acc-filters button.is-active span { color: var(--sl-purple); }
    .sl-acc-table { width: 100%; border-collapse: collapse; font-size: 13px; font-family: var(--sl-body); }
    .sl-acc-table th { text-align: left; padding: 9px 6px; color: #222; font-weight: 500; font-size: 12.5px; border-bottom: 1px solid #ededed; }
    .sl-acc-table th:last-child, .sl-acc-table td:last-child { text-align: right; }
    .sl-acc-table td { padding: 11px 6px; border-bottom: 1px solid #f3f3f3; color: #333; vertical-align: middle; }
    .sl-acc-table a { color: var(--sl-purple); text-decoration: none; }
    .sl-acc-pill { display: inline-block; padding: 3.5px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 400; color: #fff; white-space: nowrap; }
    .sl-acc-pill.blue { background: var(--sl-blue); } .sl-acc-pill.green { background: var(--sl-instock); } .sl-acc-pill.red { background: #d9342b; } .sl-acc-pill.grey { background: #6a6a78; }
    .sl-acc-actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
    .sl-acc-actions .sl-acc-act { border: 1px solid #ddd; background: #fff; border-radius: 6px; font-size: 12px; color: #444; padding: 5px 9px; cursor: pointer; font-family: var(--sl-body); display: inline-flex; align-items: center; gap: 5px; }
    .sl-acc-actions .sl-acc-trash { border: none; background: none; padding: 4px; color: #b6b6b6; cursor: pointer; display: inline-flex; }
    .sl-acc-actions .sl-acc-trash:hover { color: #e0463c; }
    .sl-acc-actions svg { width: 15px; height: 15px; }
    .sl-acc-fin { display: flex; gap: 12px; border: 1px solid #ededed; border-radius: 8px; padding: 13px 15px; }
    .sl-acc-fin > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
    .sl-acc-fin span { font-size: 11.5px; color: #888; }
    .sl-acc-fin strong { font-size: 14px; color: #111; font-weight: 500; font-family: var(--sl-head); }
    .sl-acc-fin-note { font-size: 11.5px; color: #999; margin: 9px 0 0; line-height: 1.45; }
    .sl-acc-details { display: flex; flex-direction: column; gap: 13px; }
    .sl-acc-details > div span { display: block; font-size: 11.5px; color: #888; margin-bottom: 2px; }
    .sl-acc-details > div p { margin: 0; font-size: 14px; color: #222; }
    .sl-acc-details > div p a { color: var(--sl-purple); text-decoration: none; }

    /* caption + toast */
    /* conversion footer */
    .sl-idemo-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; background: #16142a; border-top: 1px solid rgba(255,255,255,0.07); }
    .sl-idemo-foot-note { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.5); }
    .sl-idemo-foot-ctas { display: flex; align-items: center; gap: 12px; }
    .sl-idemo-foot-lead { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.7); opacity: 0; transition: opacity 0.6s ease; }
    .sl-idemo-foot-lead.is-shown { opacity: 1; }
    .sl-idemo-foot-btn, .sl-idemo-foot-btn:hover { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; padding: 9px 18px; border-radius: 60px; text-decoration: none !important; transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease; white-space: nowrap; }
    .sl-idemo-foot-demo { background: linear-gradient(135deg, #ec4899, #7c3aed, #4f46e5); color: #fff; }
    .sl-idemo-foot-demo:hover { filter: brightness(1.08); }
    .sl-idemo-foot-free { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
    .sl-idemo-foot-free:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
    @media (max-width: 860px) { .sl-idemo-foot-note { display: none; } }

    /* ---------- Guided coachmark tour ---------- */
    .sl-idemo-spot { position: absolute; z-index: 2999; border: 2px solid #f97316; border-radius: 10px; box-shadow: 0 0 0 4px rgba(249,115,22,0.22); pointer-events: none; opacity: 0; transition: opacity .25s ease, left .35s cubic-bezier(0.16,1,0.3,1), top .35s cubic-bezier(0.16,1,0.3,1), width .35s ease, height .35s ease; }
    .sl-idemo-spot.is-shown { opacity: 1; }
    .sl-idemo-coach { position: absolute; z-index: 3000; width: 272px; background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; border-radius: 14px; padding: 15px 16px 13px; box-shadow: 0 18px 50px rgba(234,88,12,0.4); font-family: var(--font-body); font-size: 14px; line-height: 1.35; opacity: 0; pointer-events: none; transform: translateY(6px) scale(0.98); transition: opacity .25s ease, transform .25s ease, left .35s cubic-bezier(0.16,1,0.3,1), top .35s cubic-bezier(0.16,1,0.3,1); }
    .sl-idemo-coach.is-shown { opacity: 1; pointer-events: auto; transform: none; }
    .sl-idemo-coach::after { content: ''; position: absolute; width: 0; height: 0; border: 9px solid transparent; }
    .sl-idemo-coach.point-right::after { top: var(--arrow-top, 26px); right: -17px; border-left-color: #f97316; }
    .sl-idemo-coach.point-left::after { top: var(--arrow-top, 26px); left: -17px; border-right-color: #fb923c; }
    .sl-idemo-coach.point-up::after { left: var(--arrow-left, 26px); top: -17px; border-bottom-color: #fb923c; }
    .sl-idemo-coach.point-down::after { left: var(--arrow-left, 26px); bottom: -17px; border-top-color: #f97316; }
    .sl-idemo-coach-body { margin: 0 0 11px; }
    .sl-idemo-coach-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .sl-idemo-coach-dots { display: flex; flex-wrap: wrap; gap: 5px; }
    .sl-idemo-coach-btns { display: flex; gap: 6px; }
    .sl-idemo-coach-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.45); display: block; }
    .sl-idemo-coach-dots i.on { background: #fff; }
    .sl-idemo-coach button.next, .sl-idemo-coach button.back, .sl-idemo-coach button.skip { border: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; border-radius: 8px; padding: 7px 13px; transition: filter .15s ease; white-space: nowrap; }
    .sl-idemo-coach button.next { background: #fff; color: #ea580c; }
    .sl-idemo-coach button.next:hover { filter: brightness(0.95); }
    .sl-idemo-coach button.back { background: rgba(255,255,255,0.18); color: #fff; }
    .sl-idemo-coach button.skip { background: transparent; color: rgba(255,255,255,0.9); font-weight: 500; padding: 7px 4px; }
    .sl-idemo-coach-x { position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.18); border: none; border-radius: 50%; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; opacity: 0.9; transition: opacity 0.15s ease, background 0.15s ease; }
    .sl-idemo-coach-x:hover { opacity: 1; background: rgba(255,255,255,0.3); }
    /* centred intro variant (no arrow, a touch wider, with a bold lead-in) */
    .sl-idemo-coach.is-intro { width: 340px; padding: 18px 18px 16px; }
    .sl-idemo-coach-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 7px; }
    /* no progress dots on the intro; stack the actions, primary centred on top */
    .sl-idemo-coach.is-intro .sl-idemo-coach-dots { display: none; }
    .sl-idemo-coach.is-intro .sl-idemo-coach-foot { align-items: center; margin-top: 6px; }
    .sl-idemo-coach.is-intro .sl-idemo-coach-btns { flex-direction: column-reverse; align-items: center; gap: 9px; width: 100%; }
    .sl-idemo-coach.is-intro .sl-idemo-coach-btns button { white-space: nowrap; }
    .sl-idemo-coach.is-intro .sl-idemo-coach-btns button.next { font-size: 13.5px; padding: 9px 26px; }
    .sl-idemo-coach.is-intro .sl-idemo-coach-btns button.skip { font-family: var(--font-body); font-weight: 500; padding: 2px 4px; }
    /* in-widget hover tooltips (payment status, qty rules) */
    #slDemoWidget .sl-tip { position: relative; }
    #slDemoWidget .sl-tip-inline { cursor: pointer; }
    #slDemoWidget .sl-pay-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; cursor: default; }
    #slDemoWidget .sl-pay-dot.is-paid { background: #00A372; }
    #slDemoWidget .sl-pay-dot.is-unpaid { background: #0E00D4; }
    #slDemoWidget .sl-tip[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); background: #14141c; color: #fff; font-family: var(--font-body); font-size: 12px; font-weight: 500; line-height: 1.3; padding: 6px 10px; border-radius: 7px; white-space: nowrap; z-index: 200; box-shadow: 0 6px 18px rgba(0,0,0,0.22); pointer-events: none; }
    #slDemoWidget .sl-tip[data-tip]:hover::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); border: 5px solid transparent; border-top-color: #14141c; z-index: 200; pointer-events: none; }
    /* snappy, glitch-free tab switching + keep tabs on top of the hit-test */
    #slDemoWidget header nav button { transition: opacity 0.15s ease, background-color 0.15s ease; position: relative; z-index: 1; }
    /* search auto-complete overlay */
    #slDemoWidget .sl-ac { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid #cccccc; border-radius: 6px; box-shadow: 0 18px 44px rgba(15,10,40,0.18); font-family: var(--font-body); }
    #slDemoWidget .sl-ac-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid #eee; }
    #slDemoWidget .sl-ac-row:first-child { border-top: 0; }
    #slDemoWidget .sl-ac-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: 6px; background: #f4f4f4 center/cover no-repeat; }
    #slDemoWidget .sl-ac-main { flex: 1; min-width: 0; }
    #slDemoWidget .sl-ac-name { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: #000; }
    #slDemoWidget .sl-ac-name b { color: #5B36F5; font-weight: 500; }
    #slDemoWidget .sl-ac-sub { font-size: 12.5px; color: #555; margin-top: 1px; }
    #slDemoWidget .sl-ac-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #00A372; font-weight: 500; flex-shrink: 0; }
    #slDemoWidget .sl-ac-stock i { width: 9px; height: 9px; border-radius: 50%; background: #00A372; display: block; }
    #slDemoWidget .sl-ac-price { text-align: right; flex-shrink: 0; font-size: 12.5px; color: #555; }
    #slDemoWidget .sl-ac-price .u { color: #000; }
    #slDemoWidget .sl-ac-price .disc { color: #00A372; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
    #slDemoWidget .sl-ac-add { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer; background: #5B36F5; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 13px; padding: 8px 13px; border-radius: 6px; transition: filter 0.15s ease; }
    #slDemoWidget .sl-ac-add:hover { filter: brightness(1.08); }
    #slDemoWidget .sl-ac-empty { padding: 16px 14px; font-size: 13.5px; color: #555; }
    #slDemoWidget .sl-ac-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 21; border: none; background: none; cursor: pointer; color: #999; font-size: 18px; line-height: 1; padding: 4px; display: none; }
    #slDemoWidget .sl-ac-clear.is-shown { display: block; }
    /* tier-pricing (Discounts) tooltip */
    #slDemoWidget .sl-disc-tip { position: absolute; bottom: calc(100% + 10px); right: 0; z-index: 80; width: max-content; min-width: 232px; max-width: min(360px, 80vw); background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; box-shadow: 0 16px 44px rgba(15,10,40,0.22); padding: 11px 12px; text-align: left; cursor: default; }
    #slDemoWidget .sl-disc-tip::after { content: ''; position: absolute; top: 100%; right: 22px; border: 7px solid transparent; border-top-color: #fff; }
    #slDemoWidget .sl-disc-head { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: #000; margin-bottom: 8px; }
    #slDemoWidget .sl-disc-head span { color: #00A372; }
    #slDemoWidget .sl-disc-head-ico { display: inline-flex; }
    #slDemoWidget .sl-disc-head-ico svg { width: 15px; height: 15px; }
    #slDemoWidget .sl-disc-tip table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-body); font-size: 12px; border: 1px solid #e8e8ea; border-radius: 7px; overflow: hidden; }
    #slDemoWidget .sl-disc-tip thead { background: #eef0f2; }
    #slDemoWidget .sl-disc-tip th { text-align: left; color: #333; font-weight: 500; padding: 6px 9px; white-space: nowrap; }
    #slDemoWidget .sl-disc-tip td { padding: 6px 9px; border-top: 1px solid #f0f0f2; color: #222; white-space: nowrap; }
    #slDemoWidget .sl-disc-tip tbody tr:first-child td { border-top: 0; }
    #slDemoWidget .sl-disc-tip .save { color: #00A372; font-weight: 500; }
    /* cleaner "AI" badges in the Actions menu */
    #slDemoWidget [class*="from-indigo-700"] { background-image: linear-gradient(120deg, #4f46e5, #db2777) !important; border-radius: 5px; padding: 2px 7px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.3; }
    /* checkout bottom-sheets: `justify-end` clips the top unreachably when the content
       is taller than the panel — push the sheet down with margin-top:auto instead, so
       short screens can scroll all the way up to it */
    #slDemoWidget [data-step] { justify-content: flex-start; }
    #slDemoWidget [data-step] > .relative { margin-top: auto; }
    /* keep the account avatar a circle even when the customer name wraps to 2 lines */
    #slDemoWidget #slDemoAvatarMenu .rounded-full.bg-button { width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-self: flex-start; aspect-ratio: 1 / 1; }
    /* size to the (short) customer label so it stays a tidy single line */
    #slDemoWidget #slDemoAvatarMenu { width: max-content; min-width: 13rem; max-width: 20rem; }
    /* order detail: the "My Account" crumb is a <button>; match the plain-text h1
       metrics so the title doesn't shift when opening an order */
    #slDemoWidget #slDemoOrderDetail header h1 button,
    #slDemoWidget [data-pane="customers"] header h1 button { line-height: inherit; vertical-align: baseline; padding: 0; border: 0; }
    /* pin the title to the top of its header row in both views so it doesn't nudge
       down when the detail row is taller (extra breadcrumb / Actions button) */
    #slDemoWidget #slDemoAccountMain > main > header > h1,
    #slDemoWidget #slDemoOrderDetail > main > header > h1 { align-self: flex-start; }
    /* cart footer breathing room (the sm:pt-* utilities aren't all compiled) */
    /* Address Book: truncate the address so it doesn't run under the hover edit/delete icons */
    #slDemoWidget [data-pane="account"] li.group.relative .flex.justify-between > p:first-child {
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline-end: 4.5rem; min-width: 0;
    }
    #slDemoWidget #slDemoCartFoot { padding-top: 1.25rem !important; padding-bottom: 0.85rem !important; }
    @media (min-width: 640px) { #slDemoWidget #slDemoCartFoot { padding-top: 1.25rem !important; padding-bottom: 1.1rem !important; } }
    /* shipping step footer: trim the bottom padding to match the cart step */
    #slDemoWidget [data-step="shipping"] > .bg-lightest { padding-bottom: 0.85rem !important; }
    @media (min-width: 640px) { #slDemoWidget [data-step="shipping"] > .bg-lightest { padding-bottom: 1.1rem !important; } }

    /* ---------- Sales Agent mode ---------- */
    /* agent-only elements (extra tab, banners, Submit Quote, dashboard) hide in customer mode */
    #slDemoWidget:not(.is-agent) .sl-agent-el { display: none !important; }
    /* agent mode: tabs are icon-only (drop the text labels) */
    #slDemoWidget.is-agent header nav button > span:last-child { display: none !important; }
    /* footer mode toggle */
    .sl-idemo-modewrap { display: flex; align-items: center; gap: 10px; }
    .sl-idemo-mode-label { font-size: 12px; color: rgba(255,255,255,0.5); font-family: var(--font-body); white-space: nowrap; }
    #slDemoWidget .sl-agent-pricebtn { display: inline-flex; align-items: center; background: none; border: none; cursor: pointer; padding: 0; margin-left: 2px; opacity: 0.5; transition: opacity 0.15s ease; }
    #slDemoWidget .sl-agent-pricebtn:hover { opacity: 1; }
    .sl-idemo-mode-plan { display: none; font-size: 12px; font-weight: 600; color: #ece8ff; background: rgba(124,58,237,0.42); border: 1px solid rgba(167,139,250,0.6); border-radius: 999px; padding: 4px 11px; font-family: var(--font-body); white-space: nowrap; }
    .sl-idemo-modewrap.is-agent-mode .sl-idemo-mode-plan { display: inline-flex; align-items: center; line-height: 1; padding: 9px 12px; }
    .sl-idemo-modetoggle { display: inline-flex; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 3px; gap: 2px; }
    .sl-idemo-modetoggle button { border: none; background: transparent; color: rgba(255,255,255,0.72); font-family: var(--font-body); font-size: 12.5px; font-weight: 500; padding: 6px 13px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .15s ease, color .15s ease; white-space: nowrap; }
    .sl-idemo-modetoggle button svg { width: 14px; height: 14px; }
    .sl-idemo-modetoggle button:hover { color: #fff; }
    /* explanatory tooltips on the Customer / Sales Agent toggle */
    .sl-idemo-modetoggle button[data-modetip] { position: relative; }
    .sl-idemo-modetoggle button[data-modetip]::after { content: attr(data-modetip); position: absolute; left: 50%; bottom: calc(100% + 11px); transform: translateX(-50%) translateY(4px); width: 190px; white-space: normal; background: #15131f; color: #eceaf5; border: 1px solid rgba(255,255,255,0.12); font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 1.45; text-align: center; padding: 9px 12px; border-radius: 10px; box-shadow: 0 14px 38px rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16,1,0.3,1); z-index: 60; }
    .sl-idemo-modetoggle button[data-modetip]::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%) translateY(4px); border: 6px solid transparent; border-top-color: #15131f; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16,1,0.3,1); z-index: 60; }
    .sl-idemo-modetoggle button[data-modetip]:hover::after, .sl-idemo-modetoggle button[data-modetip]:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }
    .sl-idemo-modetoggle button.is-on { background: #fff; color: #1a1330; }
    .sl-idemo-modetoggle button.is-on:hover { color: #1a1330; }
    @media (max-width: 1180px) { .sl-idemo-mode-label { display: none; } }
