/* shop.html inline style block 1 (from line 41) */
/* Theme Variables (Copied from Prompts Poetry) */
        :root {
            /* Light Mode Defaults */
            --bg-color: #eef2f7;
            --shop-light-page-bg: #eef2f7;
            --text-main: #1e293b;
            --text-dim: #94a3b8;
            --text-bold: #0f172a;
            --card-bg: #f8fafc;
            --card-border: #e2e8f0;
            --accent-purple: #9b5de5;
            --font-serif: 'Playfair Display', serif;
            --font-sans: 'Outfit', sans-serif;
            --accent-color: #3b82f6;
            --shop-media-accent: #5f8fc7;
            --shop-media-shell-bg: #e8f2ff;
            --shop-skeleton-shell-bg: #f1f7ff;
            --shop-mobile-browser-chrome-bottom-gap: 0px;
            --app-modal-backdrop: rgba(31, 76, 118, 0.20);
            --app-modal-backdrop-filter: blur(8px) saturate(108%);
            --public-light-modal-backdrop: var(--app-modal-backdrop);
            --public-light-modal-backdrop-filter: var(--app-modal-backdrop-filter);
        }

        [data-theme="dark"] {
            /* Dark Mode Overrides */
            --bg-color: #000000;
            /* Pure Black Background */
            --text-main: #f1f5f9;
            --text-dim: #94a3b8;
            --text-bold: #ffffff;
            --card-bg: rgba(30, 41, 59, 0.7);
            /* Slightly transparent for starry sky */
            --card-border: rgba(255, 255, 255, 0.08);
            --accent-purple: #a78bfa;
            --accent-color: #60a5fa;
            --starry-blue: #5d9fd8;
            /* Navigation bar background */
            --bg-nav: #000000;
            --shop-media-accent: #7db5ea;
            --shop-media-shell-bg: #182634;
            --shop-skeleton-shell-bg: #182634;
            --app-modal-backdrop: rgba(34, 41, 52, 0.48);
            --app-modal-backdrop-filter: blur(6px) saturate(106%);
        }

        /* Keep overscroll and theme transitions aligned with the current page theme. */
        html,
        body {
            background-color: var(--site-theme-chrome-color, var(--bg-color)) !important;
        }

        .shop-page {
            min-height: 100vh;
            background: var(--site-theme-chrome-color, var(--bg-color));
            color: var(--text-main);
            position: relative;
            overflow-x: hidden;
        }

        body.shop-page #starryCanvas {
            position: fixed;
            top: -10vh;
            left: -10vw;
            width: 120vw;
            height: 120vh;
            z-index: 0;
            opacity: 0;
            pointer-events: none;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            will-change: transform, opacity;
            transition: opacity 1.5s ease;
        }

        [data-theme="dark"] body.shop-page #starryCanvas {
            opacity: 1;
        }

        /* Shop Card Styles (Prompt Card Style) */
        .shop-card {
            position: relative;
            overflow: visible;
            padding: 0;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            /*
             * 让 .shop-card 始终处于 promoted compositor layer：
             *   - base 的 transform 与入场结束态 translate3d(0,0,0) 一致；
             *   - cleanup 移除 .shop-card-filter-enter / .is-visible 时，transform 不变化，
             *     父 layer 不降级 → 子 breathe-frame 不会因父层重栅格化而被横向亚像素吸附
             *     （这是之前 “水平对齐抖一次” 的根因之一）。
             */
            transform: translate3d(0, 0, 0);
            will-change: transform;
        }

        .shop-card-breathe-frame {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            min-height: 0;
            /* translate3d 强制提前创建独立合成层，避免 will-change 后置触发时的一次性 layer 重建。 */
            transform: translate3d(0, 0, 0);
            backface-visibility: hidden;
            will-change: transform;
            overflow: visible;
            contain: layout;
            /* isolation: isolate 强制独立 stacking context，
               不受父 .shop-card z-index / class 变化引起的 compositor 重排影响。 */
            isolation: isolate;
        }

        .shop-card-breathe-shell {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            transition:
                box-shadow 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.42s ease;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            min-height: 0;
        }

        .shop-card:hover .shop-card-breathe-shell {
            box-shadow:
                0 22px 46px rgba(93, 159, 216, 0.22),
                0 0 0 1px rgba(93, 159, 216, 0.58),
                0 0 0 3px rgba(93, 159, 216, 0.18);
            border-color: rgba(93, 159, 216, 0.94);
        }

        @media (min-width: 769px) {
            .shop-card.user-product-card {
                min-height: 357px;
            }
        }

        .shop-card--interactive {
            cursor: pointer;
        }

        .shop-card--sold-out {
            cursor: not-allowed;
        }

        .shop-card--interactive:focus-visible {
            outline: none;
        }

        .shop-card--interactive:focus-visible .shop-card-breathe-shell {
            box-shadow: 0 0 0 3px rgba(93, 159, 216, 0.2), 0 14px 34px rgba(93, 159, 216, 0.24);
            border-color: rgba(117, 190, 255, 0.9);
        }

        .shop-card--sold-out:focus-visible {
            outline: none;
        }

        .shop-card--sold-out:focus-visible .shop-card-breathe-shell {
            box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18), 0 14px 34px rgba(248, 113, 113, 0.18);
            border-color: rgba(248, 113, 113, 0.62);
        }

        .shop-card.shop-card--spotlight .shop-card-breathe-shell {
            border-color: rgba(251, 191, 36, 0.92);
            box-shadow:
                0 0 0 4px rgba(251, 191, 36, 0.18),
                0 18px 42px rgba(251, 191, 36, 0.16);
        }

        [data-theme="dark"] .shop-card .shop-card-breathe-shell {
            border-color: transparent;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .shop-card:hover .shop-card-breathe-shell {
            box-shadow:
                0 22px 46px rgba(0, 0, 0, 0.42),
                0 0 0 1px rgba(125, 181, 234, 0.32);
            border-color: rgba(125, 181, 234, 0.58);
        }

        [data-theme="dark"] .shop-card.shop-card--spotlight .shop-card-breathe-shell {
            border-color: rgba(251, 191, 36, 0.96);
            box-shadow:
                0 0 0 4px rgba(251, 191, 36, 0.24),
                0 20px 44px rgba(251, 191, 36, 0.2);
        }

        /* Inner Elements */
        .shop-card-image {
            width: 100%;
            height: 160px;
            background: var(--shop-media-shell-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-bottom: 1px solid var(--card-border);
        }

        .shop-inline-store-title-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: #10b981;
        }

        .shop-card-image-cover {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .shop-card-image-cover,
        .shop-card-thumb,
        .shop-icon-wrapper>* {
            transition: transform 0.6s ease, opacity 0.4s ease;
            transform-origin: center;
        }

        .shop-card:hover .shop-card-image-cover,
        .shop-card:hover .shop-card-thumb,
        .shop-card:hover .shop-icon-wrapper>* {
            transform: scale(1.09);
        }

        .shop-card-icon {
            color: var(--shop-media-accent);
        }

        .shop-card-icon--font {
            font-size: 24px;
        }

        .shop-card-icon--cover {
            font-size: 5rem;
            line-height: 1;
        }

        .shop-cover-icon-svg {
            width: 104px;
            height: 104px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: rgba(188, 199, 214, 0.96);
            filter: drop-shadow(0 4px 18px rgba(15, 23, 42, 0.12));
            flex: 0 0 auto;
        }

        .shop-cover-icon-svg svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .shop-card-icon--fallback {
            font-size: 24px;
            color: var(--shop-media-accent);
        }

        .shop-card-thumb {
            border-radius: 8px;
        }

        .shop-icon-wrapper {
            /* Now used as a fallback container or inner icon style */
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--shop-media-shell-bg);
            color: var(--shop-media-accent);
            font-size: 3rem;
            margin-bottom: 0;
            border-radius: 0;
            /* No radius for cover */
        }

        .shop-content-padding {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        [data-theme="dark"] .shop-icon-wrapper {
            background: var(--shop-media-shell-bg);
        }

        .shop-stock-badge {
            font-size: 12px;
            font-weight: 500;
            padding: 4px 10px;
            border-radius: 20px;
        }

        .shop-stock-badge--floating {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 10;
        }

        .shop-stock-badge.in-stock {
            color: #4ade80;
            background: rgba(40, 40, 40, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(74, 222, 128, 0.3);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            font-weight: 600;
        }

        .shop-stock-badge.out-of-stock {
            color: #ff6b6b;
            background: rgba(40, 40, 40, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 107, 107, 0.3);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            font-weight: 600;
        }

        .shop-card-title {
            margin: 0 0 8px 0;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-bold);
            font-family: var(--font-display);
            line-height: 1.3;
        }

        .shop-card-desc {
            margin: 0;
            font-size: 0.9rem;
            color: var(--text-dim);
            line-height: 1.6;
            height: 44px;
            /* Limit to 2 lines approximately */
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .shop-card-desc--placeholder {
            visibility: hidden;
        }

        .shop-card-price {
            font-weight: 800;
            color: #f59e0b;
            font-size: 1.25rem;
            font-family: var(--font-display);
        }

        .shop-card-price span {
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-dim);
            margin-left: 2px;
        }

        .shop-card-original-price {
            text-decoration: line-through;
            text-decoration-color: currentColor;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.8em;
            margin-right: 6px;
        }

        .shop-card-original-price--flash {
            text-decoration-color: #ef4444;
            text-decoration-thickness: 2px;
        }

        .shop-agent-badge {
            position: absolute;
            bottom: 12px;
            left: 12px;
            z-index: 10;
            font-size: 11px;
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
            padding: 2px 6px;
            border-radius: 4px;
            border: 1px solid rgba(16, 185, 129, 0.4);
        }

        .shop-card-footer {
            margin-top: auto;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .shop-card-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            flex-wrap: wrap;
        }

        .shop-buy-btn {
            border: none;
            padding: 9px 18px;
            border-radius: 24px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.1s ease;
            font-family: var(--font-sans);
            min-height: 42px;
            white-space: nowrap;
        }

        .shop-card-cart-trigger {
            width: 54px;
            height: 54px;
            padding: 0;
            border: 0;
            background: transparent;
            cursor: pointer;
            border-radius: 20px;
            display: grid;
            place-items: center;
            transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
        }

        .shop-card-cart-trigger:hover {
            transform: translateY(-2px) scale(1.02);
            filter: brightness(1.04);
        }

        .shop-card-cart-trigger:focus-visible {
            outline: none;
        }

        .shop-card-cart-trigger:focus-visible {
            box-shadow: 0 0 0 3px rgba(255, 208, 145, 0.16);
        }

        .shop-card-cart-trigger__shell {
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
            border-radius: 20px;
            border: 0;
            background: transparent;
            color: #ffbf1f;
            box-shadow: none;
            transition: color 0.24s ease, filter 0.24s ease;
        }

        .shop-card-cart-trigger:hover .shop-card-cart-trigger__shell {
            color: #ffd95c;
            filter: drop-shadow(0 10px 18px rgba(255, 179, 34, 0.24));
        }

        .shop-card-cart-trigger.is-disabled,
        .shop-card-cart-trigger:disabled {
            cursor: not-allowed;
            transform: none !important;
            filter: none !important;
        }

        .shop-card-cart-trigger.is-disabled .shop-card-cart-trigger__shell,
        .shop-card-cart-trigger:disabled .shop-card-cart-trigger__shell {
            color: rgba(148, 163, 184, 0.82);
            opacity: 0.96;
            filter: none;
        }

        .shop-card-cart-trigger__icon {
            width: 24px;
            height: 24px;
            display: block;
        }

        .shop-add-cart-btn {
            background: rgba(255, 255, 255, 0.05);
            color: rgba(241, 245, 249, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .shop-add-cart-btn:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.14);
        }

        .shop-btn-primary {
            background: var(--accent-purple);
            color: white;
            box-shadow: 0 4px 12px rgba(155, 93, 229, 0.3);
        }

        .shop-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(155, 93, 229, 0.5);
            filter: brightness(1.1);
        }

        .shop-btn-disabled {
            background: var(--text-dim);
            color: white;
            opacity: 0.5;
            cursor: not-allowed;
        }

        .shop-card .shop-buy-btn:disabled,
        .shop-card .shop-buy-btn[disabled] {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
            filter: none !important;
            box-shadow: none !important;
        }

        .shop-card--in-cart .shop-card-breathe-shell {
            border-color: rgba(255, 214, 143, 0.14);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
        }

        .shop-status-message {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-align: center;
            padding: 20px;
            color: rgba(255, 255, 255, 0.72);
        }

        .shop-status-message--full {
            grid-column: 1 / -1;
            padding: 40px 20px;
        }

        .shop-status-message--error {
            color: rgba(255, 100, 100, 0.8);
        }

        .shop-status-message--muted {
            color: rgba(255, 255, 255, 0.4);
        }

        .visually-hidden-h1 {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Success Modal Content Card Styles */
        .content-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 12px;
        }

        .content-card[data-shop-copy-content] {
            cursor: pointer;
            transition: all 0.2s;
        }

        .content-card[data-shop-copy-content]:hover {
            border-color: rgba(107, 158, 206, 0.5);
            background: rgba(255, 255, 255, 0.08);
        }

        .content-card--shop-copy {
            margin-bottom: 0 !important;
            padding: 10px 6px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px !important;
        }

        .content-card--shop-copy[hidden] {
            display: none !important;
        }

        .content-card .item-name {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 14px;
            color: #fff;
            margin-bottom: 10px;
        }

        .content-card .item-content-box {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            padding: 12px;
        }

        .content-card .item-content-box--plain {
            padding: 0 !important;
            width: 100%;
            background: transparent !important;
            border-radius: 0 !important;
        }

        .content-card .item-text {
            font-family: monospace;
            font-size: 13px;
            color: #22c55e;
            word-break: break-all;
            line-height: 1.5;
        }

        .content-card .item-text--centered {
            text-align: center;
            letter-spacing: 0.5px;
            line-height: 1.3;
        }

        .shop-success-content-grid {
            width: 100%;
        }

        .shop-success-content-grid--double {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .shop-success-content-grid--stacked {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .shop-expand-toggle-row {
            margin-top: 12px;
            text-align: center;
        }

        .shop-expand-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 16px;
            border-radius: 20px;
            transition: all 0.2s;
        }

        .shop-expand-toggle:hover {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.16);
        }

        .shop-expand-toggle-icon {
            font-size: 10px;
        }

        .shop-success-toast[data-shop-toast-global="1"] {
            position: fixed;
            left: 50%;
            bottom: max(80px, calc(env(safe-area-inset-bottom) + 80px));
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: max-content;
            max-width: min(560px, calc(100vw - 32px));
            min-height: 44px;
            padding: 12px 24px;
            border-radius: 50px;
            border: 1px solid #10b981;
            background: rgba(20, 20, 20, 0.9);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            color: #ffffff;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.35;
            letter-spacing: 0.5px;
            text-align: center;
            pointer-events: none;
            white-space: nowrap;
            opacity: 0;
            transform: translateX(-50%) translateY(20px);
            transition:
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease;
            z-index: 999999;
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
        }

        .shop-success-toast[data-shop-toast-global="1"]::before {
            content: '✓';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            flex: 0 0 auto;
            margin-right: 2px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #ffffff;
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="error"] {
            border-color: #ef4444;
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="error"]::before {
            content: '!';
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="info"] {
            border-color: #ffffff;
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="info"]::before {
            content: 'i';
            background: rgba(255, 255, 255, 0.16);
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="sold-out"] {
            border-color: rgba(239, 68, 68, 0.82);
            background: rgba(255, 255, 255, 0.96);
            color: #111827;
            box-shadow: 0 8px 32px rgba(15, 23, 42, 0.16);
        }

        .shop-success-toast[data-shop-toast-global="1"][data-variant="sold-out"]::before {
            content: '';
            width: 18px;
            height: 18px;
            border: 0;
            border-radius: 0;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.2 5.2 14.8 14.8M14.8 5.2 5.2 14.8' fill='none' stroke='%23dc2626' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
            color: transparent;
            box-shadow: none;
        }

        .shop-success-toast[data-shop-toast-global="1"].is-visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        @media (max-width: 640px) {
            .shop-success-toast[data-shop-toast-global="1"] {
                bottom: max(80px, calc(env(safe-area-inset-bottom) + 80px));
                max-width: calc(100vw - 28px);
                padding: 12px 18px;
                font-size: 14px;
                white-space: normal;
            }
        }

        /* Legacy modal toast markup keeps the same class; global storefront toast uses the stronger bottom placement above. */
        .shop-success-toast:not([data-shop-toast-global="1"]) {
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 13px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 999999;
        }

        .shop-success-toast:not([data-shop-toast-global="1"]).is-visible {
            opacity: 1;
        }

        .shop-success-summary-bar {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 18px;
            padding: 0 2px 2px;
            text-align: left;
        }

        .shop-success-summary-bar__copy {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .shop-success-summary-bar__label {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(226, 232, 240, 0.58);
        }

        .shop-success-summary-bar__count {
            font-size: 18px;
            font-weight: 700;
            color: rgba(248, 250, 252, 0.96);
        }

        .shop-success-summary-bar__actions {
            margin: 0 0 0 auto;
            flex: 0 0 auto;
        }

        .shop-success-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .shop-success-item {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 11px 13px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
            text-align: left;
        }

        .shop-success-item__surface {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 0;
            position: relative;
            padding-right: 0;
            border-radius: 14px;
            cursor: pointer;
            transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
        }

        .shop-success-item__surface:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.015);
        }

        .shop-success-item.is-content-expanded .shop-success-item__surface {
            background: rgba(255, 255, 255, 0.02);
        }

        .shop-success-item__header {
            display: flex;
            align-items: stretch;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 0;
            min-width: 0;
        }

        .shop-success-item__heading {
            display: flex;
            align-items: stretch;
            gap: 12px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .shop-success-item__thumb,
        .shop-success-item__icon {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            flex: 0 0 auto;
        }

        .shop-success-item__thumb {
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(15, 23, 42, 0.42);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
        }

        .shop-success-item__icon {
            display: grid;
            place-items: center;
            background: rgba(255, 214, 102, 0.12);
            border: 1px solid rgba(255, 214, 102, 0.16);
            color: #ffd45d;
            box-shadow:
                0 12px 22px rgba(255, 214, 102, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
            font-size: 18px;
        }

        .shop-success-item__copy {
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 6px;
            align-self: stretch;
            padding: 1px 0 2px;
        }

        .shop-success-item__title-row {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }

        .shop-success-item__title {
            margin: 0;
            color: #ffffff;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.24;
            word-break: break-word;
            min-width: 0;
            flex: 1 1 auto;
        }

        .shop-success-item__footer-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4px 10px;
            min-width: 0;
            margin-top: auto;
            padding-top: 14px;
            transform: translateY(10px);
        }

        .shop-success-item__submeta {
            display: flex;
            min-width: 0;
        }

        .shop-success-item__order-id,
        .shop-success-item__reveal-code {
            appearance: none;
            border: none;
            padding: 0;
            margin: 0;
            background: transparent;
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
            max-width: 100%;
            min-width: 0;
            font-size: 11px;
            line-height: 1.4;
            color: rgba(191, 212, 255, 0.88);
            cursor: pointer;
            text-align: left;
            border-radius: 0;
            box-shadow: none;
            transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease, text-shadow 0.16s ease;
        }

        .shop-success-item__order-id:hover,
        .shop-success-item__reveal-code:hover {
            color: rgba(224, 234, 255, 0.98);
            transform: translateX(1px);
            text-shadow: 0 0 12px rgba(125, 162, 255, 0.12);
        }

        .shop-success-item__order-id:focus-visible,
        .shop-success-item__reveal-code:focus-visible {
            outline: none;
            text-shadow: 0 0 12px rgba(125, 162, 255, 0.16);
        }

        .shop-success-item__reveal-code .shop-success-item__submeta-label {
            color: currentColor;
            font-weight: 700;
        }

        .shop-success-item__reveal-code {
            position: relative;
            top: 0;
        }

        .shop-success-item__submeta-label {
            flex: 0 0 auto;
            color: rgba(148, 163, 184, 0.6);
            font-weight: 500;
        }

        .shop-success-item__submeta-value {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            color: currentColor;
            overflow-wrap: anywhere;
            word-break: break-all;
        }

        .shop-success-item__actions {
            position: static;
            flex: 0 0 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: space-between;
            align-self: stretch;
            gap: 8px;
            margin-left: 16px;
        }

        .shop-success-item__toolbar {
            --shop-success-toolbar-height: 30px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            flex-wrap: wrap;
            max-width: 300px;
            min-height: var(--shop-success-toolbar-height);
        }

        .shop-success-item__action-tags {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
        }

        .shop-success-item__copy-btn {
            width: var(--shop-success-toolbar-height);
            height: var(--shop-success-toolbar-height);
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.05);
            color: rgba(241, 245, 249, 0.9);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
            transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
        }

        .shop-success-item__copy-btn:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.14);
            box-shadow:
                0 10px 18px rgba(0, 0, 0, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .shop-success-item__copy-btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.16);
        }

        .shop-success-item__time {
            position: relative;
            top: 0;
            transform: translateY(10px);
            margin-top: auto;
            padding-top: 14px;
            max-width: none;
            font-size: 10px;
            line-height: 1.35;
            color: rgba(148, 163, 184, 0.6);
            text-align: right;
        }

        .shop-success-item__meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            align-content: flex-start;
            gap: 3px;
        }

        .shop-success-item__meta--inline {
            margin-top: 0;
            gap: 4px;
        }

        .shop-success-item__tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 26px;
            padding: 4px 9px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.01em;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: rgba(226, 232, 240, 0.78);
        }

        button.shop-success-item__tag {
            appearance: none;
            font: inherit;
            cursor: pointer;
            transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
        }

        .shop-success-item__tag--quantity {
            color: rgba(255, 243, 205, 0.92);
            border-color: rgba(251, 191, 36, 0.16);
            background: rgba(251, 191, 36, 0.08);
        }

        .shop-success-item__meta--inline .shop-success-item__tag--quantity {
            min-height: 18px;
            padding: 0 7px;
            font-size: 9px;
            font-weight: 600;
        }

        #shopSuccessModal .shop-success-item__tag--notice {
            height: var(--shop-success-toolbar-height, 30px);
            min-height: var(--shop-success-toolbar-height, 30px);
            flex: 0 0 auto;
            align-self: center;
            padding: 0 11px;
            border-radius: 999px;
            font-size: var(--shop-success-pill-font-size, 10px);
            line-height: 1;
            font-weight: 500;
            letter-spacing: -0.02em;
            white-space: nowrap;
            color: #ffd78f;
            border-color: rgba(255, 214, 102, 0.15);
            background: rgba(255, 214, 102, 0.07);
        }

        #shopSuccessModal .shop-success-item__tag--usage {
            height: var(--shop-success-toolbar-height, 30px);
            min-height: var(--shop-success-toolbar-height, 30px);
            flex: 0 0 auto;
            align-self: center;
            padding: 0 11px;
            border-radius: 999px;
            font-size: var(--shop-success-pill-font-size, 10px);
            line-height: 1;
            font-weight: 500;
            letter-spacing: -0.02em;
            white-space: nowrap;
            color: rgba(187, 247, 208, 0.96);
            border-color: rgba(74, 222, 128, 0.15);
            background: rgba(34, 197, 94, 0.07);
        }

        #shopSuccessModal .shop-success-item__tag-label {
            display: inline-block;
            font-size: var(--shop-success-pill-font-size, 10px);
            line-height: 1;
            font-weight: inherit;
            letter-spacing: 0;
            transform: none;
            white-space: nowrap;
        }

        .shop-success-item__tag--notice:hover,
        .shop-success-item__tag--usage:hover {
            transform: none;
        }

        .shop-success-item__tag--notice:hover {
            border-color: rgba(255, 214, 102, 0.22);
            background: rgba(255, 214, 102, 0.1);
            box-shadow: none;
        }

        .shop-success-item__tag--usage:hover {
            border-color: rgba(74, 222, 128, 0.22);
            background: rgba(34, 197, 94, 0.1);
            box-shadow: none;
        }

        .shop-success-item__tag--notice:focus-visible,
        .shop-success-item__tag--usage:focus-visible {
            outline: none;
        }

        .shop-success-item__tag--notice:focus-visible {
            box-shadow: 0 0 0 3px rgba(255, 214, 102, 0.16);
        }

        .shop-success-item__tag--usage:focus-visible {
            box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.16);
        }

        .shop-success-item__tag--notice.is-active {
            border-color: rgba(255, 214, 102, 0.24);
            background: rgba(255, 214, 102, 0.12);
            box-shadow: none;
        }

        .shop-success-item__tag--usage.is-active {
            border-color: rgba(74, 222, 128, 0.24);
            background: rgba(34, 197, 94, 0.12);
            box-shadow: none;
        }

        .shop-success-item__body {
            min-height: 0;
        }

        .shop-success-item__content-grid {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 6px;
            min-height: 0;
            overflow: hidden;
            transform: translateY(-4px);
            opacity: 0;
            transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
        }

        .shop-success-item__content-card {
            min-width: 0;
            padding: 8px 10px !important;
            border-radius: 10px !important;
            justify-content: flex-start;
            border-color: rgba(134, 239, 172, 0.08);
            background: rgba(10, 14, 20, 0.42);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.04),
                0 10px 24px rgba(0, 0, 0, 0.12);
        }

        .shop-success-item__content-card[data-shop-copy-content]:hover {
            border-color: rgba(134, 239, 172, 0.18);
            background: rgba(12, 18, 26, 0.5);
        }

        .shop-success-item__content-card .item-text {
            color: #d8ffe4;
            line-height: 1.55;
            text-align: left;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .shop-success-item__content-card .item-text--centered {
            text-align: left;
        }

        .shop-success-item__disclosures {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .shop-success-item__content-panel,
        .shop-success-item__notes-panel,
        .shop-success-item__usage-panel {
            -webkit-overflow-scrolling: touch;
            padding: 9px 10px;
            border-radius: 12px;
        }

        .shop-success-item__content-panel {
            display: grid;
            grid-template-rows: 0fr;
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-4px);
            pointer-events: none;
            background: rgba(12, 18, 26, 0.26);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-color: transparent;
            transition:
                grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.18s ease,
                transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.22s ease,
                visibility 0s linear 0.28s;
        }

        .shop-success-item__notes-panel,
        .shop-success-item__usage-panel {
            background: rgba(12, 18, 26, 0.26);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(226, 232, 240, 0.88);
        }

        .shop-success-item.is-content-expanded .shop-success-item__content-panel {
            grid-template-rows: 1fr;
            max-height: min(24vh, 210px);
            padding-top: 9px;
            padding-bottom: 9px;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
            border-color: rgba(255, 255, 255, 0.06);
            transition:
                grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.2s ease 0.04s,
                transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.22s ease,
                visibility 0s;
        }

        .shop-success-item__notes-panel:not([hidden]),
        .shop-success-item__usage-panel:not([hidden]) {
            max-height: none;
            min-height: 0;
            overflow: visible;
        }

        .shop-success-item.is-content-expanded .shop-success-item__content-grid {
            opacity: 1;
            transform: translateY(0);
        }

        .shop-success-item:not(.is-content-expanded) .shop-success-item__content-panel {
            max-height: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            border-color: transparent !important;
        }

        .shop-success-item__content-panel[hidden],
        .shop-success-item__notes-panel[hidden],
        .shop-success-item__usage-panel[hidden] {
            display: none !important;
        }

        .shop-success-item__notes-panel a {
            color: #bcd7ff;
        }

        .shop-success-item__usage-panel a {
            color: #bcd7ff;
        }

        .shop-success-warning__mount {
            width: 100%;
        }

        #shopSuccessModal .shop-success-scroll-stage-warning {
            margin-top: auto;
            padding-top: 8px;
        }

        #shopSuccessModal #purchasedWarning {
            margin: auto 0 0 !important;
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

        .shop-success-warning {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 12px;
            align-items: flex-start;
            width: 100%;
            padding: 12px 14px;
            border-radius: 18px;
            background: rgba(251, 191, 36, 0.07);
            border: 1px solid rgba(251, 191, 36, 0.14);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
            text-align: left;
        }

        .shop-success-warning__icon {
            width: 28px;
            height: 28px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.1);
            border: 1px solid rgba(251, 191, 36, 0.14);
            box-shadow: none;
            font-size: 12px;
        }

        .shop-success-warning__content {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .shop-success-warning__header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4px 8px;
        }

        .shop-success-warning__eyebrow {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: rgba(255, 222, 164, 0.5);
        }

        .shop-success-warning__title {
            font-size: 13px;
            font-weight: 700;
            line-height: 1.2;
            color: rgba(255, 242, 207, 0.92);
        }

        .shop-success-warning__summary {
            margin: 0;
            font-size: 12px;
            line-height: 1.55;
            color: rgba(255, 238, 200, 0.72);
        }

        .shop-success-warning__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .shop-success-warning__chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 24px;
            padding: 0 9px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            line-height: 1;
            letter-spacing: 0.01em;
        }

        .shop-success-warning__chip i {
            font-size: 11px;
            opacity: 0.9;
        }

        .shop-success-warning__chip--product {
            color: #fff0c7;
            background: rgba(251, 191, 36, 0.09);
            border: 1px solid rgba(251, 191, 36, 0.14);
        }

        .shop-success-warning__chip--reason {
            color: #ffd7cd;
            background: rgba(248, 113, 113, 0.08);
            border: 1px solid rgba(248, 113, 113, 0.14);
        }

        /* Product Name Tooltip Dot (in header) */
        .product-name-dot {
            position: relative;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.2s;
            padding: 4px 8px;
            user-select: none;
        }

        .product-name-dot:hover {
            opacity: 1;
        }

        .product-name-dot::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: calc(100% + 8px);
            right: 0;
            background: rgba(30, 33, 40, 0.98);
            color: #fff;
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 13px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.15s, visibility 0.15s;
            pointer-events: none;
            z-index: 99999;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .product-name-dot:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Quantity Stepper (Ultra-minimal) */
        .shop-quantity-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
        }

        .shop-quantity-label {
            display: none;
        }

        .shop-quantity-control {
            display: inline-flex;
            align-items: center;
            gap: 0;
        }

        .shop-qty-btn {
            width: 44px;
            height: 44px;
            border: none;
            background: transparent;
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s ease;
            font-size: 1.5rem;
            font-weight: 300;
        }

        .shop-qty-btn:hover {
            color: #fff;
            transform: scale(1.1);
        }

        .shop-qty-btn:active {
            transform: scale(0.95);
        }

        .shop-qty-input {
            width: 60px;
            height: 44px;
            text-align: center;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            border-radius: 8px;
            color: #fff;
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 600;
            outline: none;
            margin: 0 8px;
        }

        .shop-qty-input:focus {
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
        }

        /* Remove number spinner arrows */
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }

        input[type=number] {
            -moz-appearance: textfield;
            appearance: textfield;
        }



        /* Shop Specific Styles */
        .shop-main {
            max-width: 1600px;
            margin: 120px auto 40px;
            padding: 0 5vw;
            transition: padding-right 0.28s ease;
        }

        .shop-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            z-index: 10;
        }

        .shop-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .shop-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .shop-cart-anchor {
            position: fixed;
            right: 40px;
            bottom: 56px;
            z-index: 110;
            width: 264px;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 16px;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(12, 17, 24, 0.42);
            color: #f8fbff;
            overflow: hidden;
            isolation: isolate;
            cursor: pointer;
            backdrop-filter: blur(24px) saturate(1.18);
            -webkit-backdrop-filter: blur(24px) saturate(1.18);
            box-shadow:
                0 26px 56px rgba(0, 0, 0, 0.26),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 -1px 0 rgba(255, 255, 255, 0.02);
            transition:
                transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease,
                box-shadow 0.28s ease,
                border-color 0.24s ease,
                background 0.24s ease;
        }

        .shop-cart-anchor[hidden] {
            display: none !important;
        }

        .shop-cart-anchor::before {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            background: rgba(255, 255, 255, 0.015);
            pointer-events: none;
            transition: background 0.24s ease, opacity 0.24s ease;
        }

        .shop-cart-anchor:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 223, 181, 0.14);
            background: rgba(12, 17, 24, 0.54);
            box-shadow:
                0 32px 68px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 223, 181, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 -1px 0 rgba(255, 255, 255, 0.02);
        }

        .shop-cart-anchor:hover::before {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
        }

        .shop-cart-anchor:focus-visible {
            outline: none;
            transform: translateY(-3px);
            border-color: rgba(255, 223, 181, 0.18);
            box-shadow:
                0 0 0 3px rgba(255, 214, 143, 0.14),
                0 28px 62px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 -1px 0 rgba(255, 255, 255, 0.02);
        }

        .shop-cart-anchor:active {
            transform: translateY(-1px) scale(0.992);
        }

        .shop-cart-anchor__pulse {
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            border: 1px solid rgba(255, 200, 132, 0.18);
            opacity: 0.62;
            animation: shop-cart-anchor-pulse 2.4s ease-in-out infinite;
        }

        @keyframes shop-cart-anchor-pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.24;
            }

            50% {
                transform: scale(1.03);
                opacity: 0.56;
            }
        }

        .shop-cart-anchor__icon,
        .shop-cart-anchor__copy,
        .shop-cart-anchor__hint {
            position: relative;
            z-index: 1;
        }

        .shop-cart-anchor__icon {
            width: 42px;
            height: 42px;
            flex: 0 0 auto;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #ffe2c3;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transition:
                transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.24s ease,
                border-color 0.24s ease,
                color 0.24s ease,
                box-shadow 0.24s ease;
        }

        .shop-cart-anchor__icon i {
            transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
        }

        .shop-cart-anchor__badge {
            display: none;
        }

        .shop-cart-anchor__copy {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .shop-cart-anchor__copy strong {
            font-size: 15px;
        }

        .shop-cart-anchor__copy span,
        .shop-cart-anchor__hint {
            font-size: 12px;
            color: rgba(226, 232, 240, 0.72);
        }

        .shop-cart-anchor__hint {
            margin-left: auto;
            white-space: nowrap;
        }

        .shop-cart-anchor:hover .shop-cart-anchor__icon,
        .shop-cart-anchor:focus-visible .shop-cart-anchor__icon {
            transform: translateY(-1px) scale(1.04);
            background: rgba(255, 226, 195, 0.12);
            border-color: rgba(255, 223, 181, 0.14);
            color: #ffe9d0;
            box-shadow:
                0 12px 22px rgba(255, 193, 122, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }

        .shop-cart-anchor:hover .shop-cart-anchor__icon i,
        .shop-cart-anchor:focus-visible .shop-cart-anchor__icon i {
            transform: scale(1.06) rotate(-8deg);
            filter: drop-shadow(0 10px 14px rgba(255, 193, 122, 0.28));
        }

        .shop-cart-anchor:hover .shop-cart-anchor__pulse,
        .shop-cart-anchor:focus-visible .shop-cart-anchor__pulse {
            opacity: 0.8;
            border-color: rgba(255, 214, 143, 0.22);
            animation-duration: 1.8s;
        }

        .shop-cart-anchor.is-feedback {
            border-color: rgba(255, 214, 143, 0.2);
            box-shadow:
                0 34px 72px rgba(0, 0, 0, 0.32),
                0 0 0 1px rgba(255, 214, 143, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 -1px 0 rgba(255, 255, 255, 0.02);
        }

        .shop-cart-anchor.is-feedback .shop-cart-anchor__pulse {
            opacity: 0.94;
            border-color: rgba(255, 214, 143, 0.28);
            animation-duration: 0.72s;
        }

        .shop-cart-anchor.is-feedback .shop-cart-anchor__icon {
            background: rgba(255, 226, 195, 0.15);
            border-color: rgba(255, 223, 181, 0.18);
            box-shadow:
                0 14px 28px rgba(255, 193, 122, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
            animation: shop-cart-anchor-icon-bounce 620ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .shop-cart-anchor.is-feedback .shop-cart-anchor__icon i {
            filter: drop-shadow(0 10px 16px rgba(255, 193, 122, 0.32));
            animation: shop-cart-anchor-basket-wiggle 620ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        @keyframes shop-cart-anchor-icon-bounce {
            0% {
                transform: translateY(0) scale(1);
            }

            22% {
                transform: translateY(-5px) scale(1.12);
            }

            48% {
                transform: translateY(0) scale(0.96);
            }

            72% {
                transform: translateY(-1px) scale(1.05);
            }

            100% {
                transform: translateY(0) scale(1);
            }
        }

        @keyframes shop-cart-anchor-basket-wiggle {
            0%, 100% {
                transform: rotate(0deg) scale(1);
            }

            18% {
                transform: rotate(-10deg) scale(1.08);
            }

            36% {
                transform: rotate(8deg) scale(1.1);
            }

            56% {
                transform: rotate(-6deg) scale(1.04);
            }

            78% {
                transform: rotate(3deg) scale(1.02);
            }
        }

        body[data-shop-cart-open="true"] .shop-cart-anchor {
            opacity: 0;
            pointer-events: none;
            transform: translateY(16px);
        }

        body.shop-page[data-shop-cart-open="true"] .chat-widget-fab {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        body.shop-page[data-shop-purchase-modal-open="true"] .chat-widget-fab,
        body.shop-page:has(#shopPurchaseModal.active) .chat-widget-fab {
            z-index: 9998 !important;
            pointer-events: none !important;
        }

        .shop-cart-backdrop {
            position: fixed;
            inset: 0;
            z-index: 104;
            border: 0;
            background: transparent;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.26s ease, visibility 0s linear 0.26s;
        }

        body[data-shop-cart-open="true"] .shop-cart-backdrop {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            background: var(--app-modal-backdrop, var(--public-light-modal-backdrop, rgba(31, 76, 118, 0.20)));
            backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
            -webkit-backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
            transition-delay: 0s;
        }

        .shop-cart-drawer {
            position: fixed;
            top: 116px;
            right: 12px;
            bottom: 24px;
            width: min(424px, calc(100vw - 24px));
            z-index: 105;
            display: flex;
            flex-direction: column;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(14, 20, 29, 0.96) 0%, rgba(8, 12, 18, 0.98) 100%);
            backdrop-filter: blur(22px);
            -webkit-backdrop-filter: blur(22px);
            box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
            transform: translateX(calc(100% + 24px));
            opacity: 0;
            pointer-events: none;
            max-width: 100%;
            overflow: hidden;
            transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
        }

        body[data-shop-cart-open="true"] .shop-cart-drawer {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
        }

        body.shop-page.shop-cart-force-hidden .shop-cart-backdrop {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            transition: none !important;
        }

        body.shop-page.shop-cart-force-hidden .shop-cart-drawer {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            transform: translateX(calc(100% + 24px)) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            transition: none !important;
        }

        .shop-cart-drawer__header {
            position: relative;
            z-index: 1;
            padding: 6px 22px 0;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 0;
            border-bottom: none;
            box-shadow: none;
            background: transparent;
        }

        .shop-cart-drawer__footer {
            padding: 22px 22px 0;
        }

        .shop-cart-drawer__heading {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            min-width: 0;
            transform: translateY(10px);
        }

        .shop-cart-drawer__eyebrow,
        .shop-cart-checkout__eyebrow {
            font-size: 11px;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: rgba(148, 163, 184, 0.78);
            font-family: 'Outfit', sans-serif;
        }

        .shop-cart-drawer__label {
            margin: 0;
            color: rgba(244, 247, 252, 0.96);
            font-size: 17px;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        .shop-cart-drawer__title {
            margin: 0 auto;
            width: 44px;
            height: 44px;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-radius: 14px;
            border: 1px solid rgba(255, 196, 76, 0.03);
            background:
                radial-gradient(circle at 50% 28%, rgba(255, 203, 79, 0.14) 0%, rgba(255, 203, 79, 0.038) 40%, transparent 68%),
                rgba(14, 20, 29, 0.14);
            box-shadow:
                0 6px 14px rgba(0, 0, 0, 0.08),
                0 0 22px rgba(255, 191, 31, 0.09),
                inset 0 1px 0 rgba(255, 255, 255, 0.014);
            color: transparent;
            font-size: 0;
            line-height: 0;
            letter-spacing: 0;
            user-select: none;
            transform: translateY(10px) scale(1.12);
        }

        .shop-cart-drawer__title::before {
            content: '';
            width: 21px;
            height: 21px;
            display: block;
            background: linear-gradient(180deg, #ffd95c 0%, #ffbf1f 55%, #f5a200 100%);
            filter:
                drop-shadow(0 5px 9px rgba(255, 179, 34, 0.18))
                drop-shadow(0 0 7px rgba(255, 191, 31, 0.12));
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='black' d='M0 24C0 10.7 10.7 0 24 0l45.5 0c22.2 0 41.5 15.2 46.7 36.8L122 64 552 64c15.4 0 29.9 7.4 38.9 19.9s11.3 28.7 6.2 43.1l-55.2 160c-7.1 20.6-26.5 34.5-48.3 34.5l-277.1 0c-22.2 0-41.5-15.2-46.7-36.8L124.2 96 24 96C10.7 96 0 85.3 0 72L0 24zM128 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336 48a48 48 0 1 1 0-96 48 48 0 1 1 0 96z'/%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 576 512'%3E%3Cpath fill='black' d='M0 24C0 10.7 10.7 0 24 0l45.5 0c22.2 0 41.5 15.2 46.7 36.8L122 64 552 64c15.4 0 29.9 7.4 38.9 19.9s11.3 28.7 6.2 43.1l-55.2 160c-7.1 20.6-26.5 34.5-48.3 34.5l-277.1 0c-22.2 0-41.5-15.2-46.7-36.8L124.2 96 24 96C10.7 96 0 85.3 0 72L0 24zM128 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336 48a48 48 0 1 1 0-96 48 48 0 1 1 0 96z'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .shop-cart-drawer__title::after {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            border: 1px solid rgba(255, 255, 255, 0.01);
            pointer-events: none;
        }

        .shop-cart-checkout__hint {
            margin: 10px 0 0;
            color: rgba(226, 232, 240, 0.74);
            font-size: 13px;
            line-height: 1.65;
        }

        .shop-cart-drawer__body {
            flex: 1;
            padding: 0 22px 0;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
        }

        .shop-cart-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            min-width: 0;
            max-width: 100%;
        }

        .shop-cart-list[hidden],
        .shop-cart-empty[hidden] {
            display: none !important;
        }

        .shop-cart-item {
            padding: 16px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transform-origin: center;
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
        }

        .shop-cart-item__top,
        .shop-cart-item__footer,
        .shop-cart-item__heading,
        .shop-cart-summary__row,
        .shop-cart-checkout__summary-row,
        .shop-cart-checkout__item-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
        }

        .shop-cart-item__thumb,
        .shop-cart-item__icon {
            width: 46px;
            height: 46px;
            flex: 0 0 auto;
            border-radius: 16px;
            display: grid;
            place-items: center;
            background: rgba(255, 255, 255, 0.08);
            object-fit: cover;
        }

        .shop-cart-item__icon {
            color: #ffe2c3;
        }

        .shop-cart-item__heading {
            flex: 1 1 auto;
            min-width: 0;
            justify-content: flex-start;
        }

        .shop-cart-item__copy {
            flex: 1 1 auto;
            min-width: 0;
        }

        .shop-cart-item__title,
        .shop-cart-checkout__item-title {
            display: block;
            max-width: 100%;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.35;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .shop-cart-item__title-btn {
            padding: 0;
            border: 0;
            background: none;
            color: inherit;
            text-align: left;
            cursor: pointer;
            transition: color 0.18s ease, opacity 0.18s ease;
        }

        .shop-cart-item__title-btn:hover {
            color: #f8fbff;
        }

        .shop-cart-item__title-btn:focus-visible {
            outline: none;
            color: #f8fbff;
        }

        .shop-cart-item__title-btn:disabled {
            cursor: default;
            opacity: 0.9;
        }

        .shop-cart-item__subtitle {
            display: block;
            max-width: 100%;
            margin-top: 4px;
            font-size: 13px;
            color: rgba(226, 232, 240, 0.68);
            line-height: 1.55;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .shop-cart-item__remove {
            width: 30px;
            height: 30px;
            min-width: 30px;
            min-height: 30px;
            flex: 0 0 30px;
            align-self: flex-start;
            display: grid;
            place-items: center;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
            color: rgba(255, 103, 103, 0.9);
            cursor: pointer;
            font-size: 24px;
            line-height: 1;
            font-weight: 700;
            border-radius: 10px;
            transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .shop-cart-item__remove-icon {
            position: relative;
            width: 12px;
            height: 12px;
            display: block;
        }

        .shop-cart-item__remove-icon::before,
        .shop-cart-item__remove-icon::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 2px;
            border-radius: 999px;
            background: currentColor;
            transform-origin: center;
        }

        .shop-cart-item__remove-icon::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .shop-cart-item__remove-icon::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .shop-cart-item__remove:hover {
            color: #ff8b8b;
            background: rgba(255, 103, 103, 0.08);
            border-color: rgba(255, 103, 103, 0.16);
            box-shadow: 0 8px 16px rgba(255, 103, 103, 0.08);
            transform: translateY(-1px);
        }

        .shop-cart-item__remove:focus-visible {
            outline: none;
            border-color: rgba(255, 103, 103, 0.22);
            box-shadow: 0 0 0 3px rgba(255, 103, 103, 0.16);
        }

        .shop-cart-item__remove:disabled,
        .shop-cart-item__pill:disabled {
            cursor: default;
            opacity: 0.58;
        }

        .shop-cart-item.is-removing {
            pointer-events: none;
            animation: shop-cart-item-remove-slide 280ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes shop-cart-item-remove-slide {
            0% {
                opacity: 1;
                transform: translateX(0) scale(1);
                filter: blur(0);
            }

            100% {
                opacity: 0;
                transform: translateX(-34px) scale(0.98);
                filter: blur(2px);
            }
        }

        .shop-cart-item__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .shop-cart-item__pill,
        .shop-cart-checkout__item-pill {
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(226, 232, 240, 0.74);
        }

        .shop-cart-item__pill--toggle {
            cursor: pointer;
            transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
        }

        .shop-cart-item__pill--toggle:hover {
            transform: translateY(-1px);
        }

        .shop-cart-item__pill--toggle:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        .shop-cart-item__pill--stock {
            margin-right: auto;
        }

        .shop-cart-item__pill--notice,
        .shop-cart-checkout__item-pill--notice {
            background: rgba(255, 214, 102, 0.12);
            border-color: rgba(255, 214, 102, 0.18);
            color: #ffd78f;
        }

        .shop-cart-item__pill--usage,
        .shop-cart-checkout__item-pill--usage {
            background: rgba(114, 229, 208, 0.12);
            border-color: rgba(114, 229, 208, 0.16);
            color: #b7fff2;
        }

        .shop-cart-item__pill--discount,
        .shop-cart-checkout__item-pill--discount {
            background: rgba(244, 114, 182, 0.14);
            border-color: rgba(244, 114, 182, 0.2);
            color: #f9a8d4;
        }

        .shop-cart-item__pill--toggle.is-active.shop-cart-item__pill--notice {
            background: rgba(255, 214, 102, 0.18);
            border-color: rgba(255, 214, 102, 0.28);
            box-shadow: 0 10px 18px rgba(255, 214, 102, 0.08);
        }

        .shop-cart-item__pill--toggle.is-active.shop-cart-item__pill--usage {
            background: rgba(114, 229, 208, 0.18);
            border-color: rgba(114, 229, 208, 0.26);
            box-shadow: 0 10px 18px rgba(114, 229, 208, 0.08);
        }

        .shop-cart-item__pill--toggle.is-active.shop-cart-item__pill--discount {
            background: rgba(244, 114, 182, 0.18);
            border-color: rgba(244, 114, 182, 0.3);
            box-shadow: 0 10px 18px rgba(244, 114, 182, 0.1);
        }

        .shop-cart-item__disclosures {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 12px;
        }

        @keyframes shop-cart-disclosure-enter {
            0% {
                opacity: 0;
                transform: translateY(-10px) scaleY(0.92);
            }

            100% {
                opacity: 1;
                transform: translateY(0) scaleY(1);
            }
        }

        .shop-cart-item__panel {
            padding: 12px 14px;
            border-radius: 16px;
            font-size: 13px;
            line-height: 1.6;
            max-height: min(24vh, 220px);
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
            word-break: break-word;
            overflow-wrap: anywhere;
            transform-origin: top center;
            animation: shop-cart-disclosure-enter 0.26s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .shop-cart-item__panel[hidden] {
            display: none !important;
        }

        .shop-cart-item__panel--notice {
            background: rgba(255, 214, 102, 0.08);
            border: 1px solid rgba(255, 214, 102, 0.14);
            color: #ffd78f;
        }

        .shop-cart-item__panel--usage {
            background: rgba(114, 229, 208, 0.08);
            border: 1px solid rgba(114, 229, 208, 0.14);
            color: #b7fff2;
        }

        .shop-cart-item__panel--discounts {
            background: rgba(244, 114, 182, 0.08);
            border: 1px solid rgba(244, 114, 182, 0.14);
            color: rgba(249, 168, 212, 0.94);
        }

        #shopSuccessModal .shop-success-item__notes-panel,
        #shopSuccessModal .shop-success-item__usage-panel {
            max-height: none;
            min-height: 0;
            overflow: visible;
            overscroll-behavior: auto;
            background: rgba(12, 18, 26, 0.26);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(226, 232, 240, 0.88);
        }

        .shop-cart-item__discount-stack {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .shop-cart-item__discount-stack-head {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .shop-cart-item__discount-stack-title {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: #ffd5ea;
        }

        .shop-cart-item__discount-stack-hint {
            font-size: 11px;
            color: rgba(255, 225, 239, 0.74);
        }

        .shop-cart-item__discount-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .shop-cart-item__discount-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .shop-cart-item__discount-copy {
            min-width: 0;
            flex: 1 1 auto;
        }

        .shop-cart-item__discount-title {
            font-size: 13px;
            font-weight: 700;
            color: #ffd9ed;
        }

        .shop-cart-item__discount-meta {
            margin-top: 2px;
            font-size: 11px;
            color: rgba(255, 225, 239, 0.68);
            word-break: break-all;
        }

        .shop-cart-item__discount-amount {
            flex: 0 0 auto;
            font-size: 12px;
            font-weight: 700;
            color: #b7fff2;
            white-space: nowrap;
        }

        .shop-cart-item__panel > :first-child {
            margin-top: 0 !important;
        }

        .shop-cart-item__panel > :last-child {
            margin-bottom: 0 !important;
        }

        .shop-cart-item__footer {
            align-items: flex-end;
            margin-top: 14px;
        }

        .shop-cart-item__price strong {
            display: block;
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            letter-spacing: -0.03em;
        }

        .shop-cart-item__price span,
        .shop-cart-checkout__item-meta {
            font-size: 12px;
            color: rgba(226, 232, 240, 0.58);
        }

        .shop-cart-item__discount-note {
            display: block;
            margin-top: 4px;
            font-size: 12px;
            color: rgba(110, 231, 183, 0.86);
        }

        .shop-cart-checkout__discount-note {
            font-size: 12px;
            color: rgba(110, 231, 183, 0.86);
        }

        .shop-cart-item__quantity {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .shop-cart-item__qty-btn {
            width: 28px;
            height: 28px;
            border: 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            cursor: pointer;
        }

        .shop-cart-item__qty-btn[disabled] {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .shop-cart-item__qty-value {
            min-width: 24px;
            text-align: center;
            font-size: 14px;
            font-weight: 700;
        }

        .shop-cart-empty {
            min-height: 320px;
            display: grid;
            place-items: center;
            text-align: center;
            padding: 20px;
        }

        .shop-cart-empty__icon {
            width: 64px;
            height: 64px;
            display: grid;
            place-items: center;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.06);
            font-size: 22px;
            color: #f6c78d;
            margin: 0 auto 18px;
        }

        .shop-cart-empty h4 {
            margin: 0;
            font-size: 1.2rem;
        }

        .shop-cart-empty p {
            margin: 12px 0 0;
            color: rgba(226, 232, 240, 0.68);
            line-height: 1.65;
        }

        .shop-cart-drawer__footer {
            margin-top: auto;
            padding-bottom: 22px;
            background:
                linear-gradient(180deg, rgba(8, 12, 18, 0) 0%, rgba(8, 12, 18, 0.84) 20%, rgba(8, 12, 18, 0.98) 100%);
            border-bottom-left-radius: 30px;
            border-bottom-right-radius: 30px;
        }

        .shop-cart-summary,
        .shop-cart-checkout__summary {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px 18px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .shop-cart-summary__row,
        .shop-cart-checkout__summary-row {
            align-items: baseline;
            font-size: 14px;
            color: rgba(226, 232, 240, 0.72);
        }

        .shop-cart-summary__row strong,
        .shop-cart-checkout__summary-row strong {
            color: #fff;
            font-size: 16px;
        }

        .shop-cart-actions,
        .shop-cart-checkout__actions {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }

        .shop-cart-btn {
            flex: 1;
            min-height: 50px;
            min-width: 0;
            border-radius: 18px;
            will-change: transform;
            transition:
                transform 0.14s ease,
                box-shadow 0.18s ease,
                background-color 0.18s ease,
                border-color 0.18s ease,
                filter 0.14s ease,
                color 0.18s ease,
                opacity 0.18s ease;
        }

        .shop-cart-btn--ghost {
            background: rgba(255, 255, 255, 0.05);
            color: #f8fbff;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow:
                0 10px 22px rgba(0, 0, 0, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .shop-cart-btn--primary {
            background-color: #67d975;
            border: 1px solid rgba(173, 247, 186, 0.3);
            color: #062811;
            box-shadow:
                0 14px 26px rgba(0, 0, 0, 0.18),
                0 6px 14px rgba(34, 197, 94, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(0, 0, 0, 0.08);
        }

        @media (hover: hover) and (pointer: fine) {
            .shop-cart-btn--ghost:hover:not([disabled]) {
                transform: translateY(-1px);
                background: rgba(255, 255, 255, 0.11);
                border-color: rgba(255, 255, 255, 0.18);
                color: #ffffff;
                box-shadow:
                    0 14px 24px rgba(15, 23, 42, 0.24),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }

            .shop-cart-btn--primary:hover:not([disabled]) {
                transform: translateY(-1px);
                filter: brightness(1.03);
                box-shadow:
                    0 15px 26px rgba(0, 0, 0, 0.2),
                    0 5px 14px rgba(74, 222, 128, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.22),
                    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
            }
        }

        .shop-cart-btn:focus-visible {
            outline: none;
        }

        .shop-cart-btn--ghost:focus-visible {
            border-color: rgba(255, 255, 255, 0.18);
            box-shadow:
                0 0 0 3px rgba(255, 255, 255, 0.08),
                0 14px 24px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .shop-cart-btn--primary:focus-visible {
            border-color: rgba(201, 251, 210, 0.5);
            box-shadow:
                0 0 0 3px rgba(74, 222, 128, 0.2),
                0 15px 26px rgba(0, 0, 0, 0.2),
                0 5px 14px rgba(74, 222, 128, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.22),
                inset 0 -1px 0 rgba(0, 0, 0, 0.08);
        }

        .shop-cart-btn--ghost:active:not([disabled]) {
            transform: translateY(0);
            filter: brightness(0.98);
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.14);
            box-shadow:
                0 8px 16px rgba(0, 0, 0, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .shop-cart-btn--primary:active:not([disabled]) {
            transform: translateY(0);
            filter: brightness(0.98);
            box-shadow:
                0 9px 18px rgba(0, 0, 0, 0.18),
                0 4px 10px rgba(34, 197, 94, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .shop-cart-btn[disabled] {
            opacity: 0.45;
            cursor: not-allowed;
        }

        .shop-cart-checkout-modal {
            width: min(calc(100% - 40px), 620px) !important;
            max-width: 620px !important;
            padding: 24px;
        }

        .shop-cart-checkout__header {
            text-align: left;
            margin-bottom: 18px;
        }

        .shop-cart-checkout__list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-height: min(42vh, 360px);
            padding-right: 4px;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
        }

        .shop-cart-checkout__item {
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
        }

        .shop-cart-checkout__item-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 8px;
        }

        .shop-cart-checkout__notice {
            margin-top: 14px;
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(255, 214, 102, 0.08);
            border: 1px solid rgba(255, 214, 102, 0.14);
            color: #ffd78f;
            font-size: 13px;
            line-height: 1.65;
            text-align: left;
        }

        @media (max-width: 1180px) {
            .shop-cart-drawer {
                right: 40px;
                width: min(404px, calc(100vw - 24px));
            }
        }

        @media (max-width: 720px) {
            body[data-shop-cart-open="true"] {
                overflow: hidden;
            }

            body.shop-page .chat-widget-fab {
                bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
            }

            .shop-cart-anchor {
                left: auto;
                right: 16px;
                bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
                width: 56px;
                height: 56px;
                min-width: 56px;
                padding: 0;
                justify-content: center;
                gap: 0;
                border-radius: 18px;
                transform: none;
            }

            .shop-cart-anchor__pulse,
            .shop-cart-anchor__copy,
            .shop-cart-anchor__hint {
                display: none !important;
            }

            .shop-cart-anchor__icon {
                width: 100%;
                height: 100%;
                border: 0;
                border-radius: inherit;
                background: transparent;
                box-shadow: none;
            }

            .shop-cart-anchor__icon i {
                font-size: 24px;
                line-height: 1;
            }

            body[data-shop-cart-open="true"] .shop-cart-anchor {
                transform: translateY(18px);
            }

            body[data-shop-cart-open="true"] .shop-cart-backdrop {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                background: var(--app-modal-backdrop, var(--public-light-modal-backdrop, rgba(31, 76, 118, 0.20)));
                backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
                -webkit-backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
                transition-delay: 0s;
            }

            .shop-cart-drawer {
                top: auto;
                left: 50%;
                right: auto;
                bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
                width: min(calc(100% - 28px), 620px);
                max-height: min(78dvh, 760px);
                border-radius: 30px 30px 26px 26px;
                transform: translate(-50%, calc(100% + 36px));
                overflow: hidden;
            }

            body[data-shop-cart-open="true"] .shop-cart-drawer {
                transform: translate(-50%, 0);
            }

            body.shop-page.shop-cart-force-hidden .shop-cart-drawer {
                transform: translate(-50%, calc(100% + 36px)) !important;
            }

            .shop-cart-drawer__header {
                display: flex;
                align-items: flex-start;
                justify-content: center;
                gap: 0;
                top: auto;
                padding: 5px 18px 0;
            }

            .shop-cart-drawer__heading {
                display: flex;
                justify-content: flex-start;
                transform: translateY(8px);
            }

            .shop-cart-drawer__label {
                font-size: 15px;
            }

            .shop-cart-drawer__title {
                width: 34px;
                height: 34px;
                margin-top: 0;
                border-radius: 12px;
                transform: translateY(8px) scale(1.12);
            }

            .shop-cart-drawer__title::before {
                width: 16px;
                height: 16px;
            }

            .shop-cart-drawer__body {
                padding: 0 18px 18px;
            }

            .shop-cart-actions,
            .shop-cart-checkout__actions {
                flex-direction: row;
                align-items: stretch;
                gap: 10px;
            }

            .shop-cart-btn {
                min-height: 48px;
                padding-inline: 12px;
            }

            .shop-card-footer {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }

            .shop-cart-item__footer {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                flex-wrap: nowrap;
            }

            .shop-cart-item__price {
                min-width: 0;
                flex: 1 1 auto;
            }

            .shop-cart-item__price strong {
                font-size: 1.08rem;
            }

            .shop-cart-item__quantity {
                flex: 0 0 auto;
                width: 136px;
                justify-content: space-between;
                padding: 5px 8px;
                gap: 10px;
            }

            .shop-cart-item__qty-btn {
                width: 30px;
                height: 30px;
                font-size: 17px;
            }

            .shop-cart-item__qty-value {
                min-width: 22px;
                font-size: 14px;
            }

            .shop-card-actions {
                width: auto;
                flex: 0 0 auto;
                justify-content: flex-end;
            }

            .shop-card-cart-trigger {
                width: 50px;
                height: 50px;
            }

            .shop-cart-anchor:hover {
                transform: translateY(-3px);
            }

            .shop-cart-anchor:focus-visible {
                transform: translateY(-2px);
            }

            .shop-cart-anchor:active {
                transform: translateY(0) scale(0.96);
            }
        }

        /* Modal Buttons */
        .shop-btn {
            border: none;
            border-radius: 12px;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
        }

        .shop-btn-primary {
            background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
            color: #052e16;
            box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
        }

        .shop-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(74, 222, 128, 0.4);
            filter: brightness(1.1);
        }

        .shop-purchase-step-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid rgba(147, 197, 253, 0.2);
            background: rgba(96, 165, 250, 0.12);
            color: #bfdbfe;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .shop-purchase-actions {
            display: flex;
            align-items: stretch;
            gap: 12px;
            width: 100%;
        }

        .shop-purchase-actions--single {
            justify-content: space-between;
        }

        #purchaseAddToCartBtn,
        #purchaseBackBtn {
            flex: 0 0 148px;
            min-height: 44px;
            padding: 10px 16px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow:
                0 12px 24px rgba(15, 23, 42, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition:
                transform 0.14s ease,
                background-color 0.14s ease,
                border-color 0.14s ease,
                box-shadow 0.14s ease,
                filter 0.14s ease;
        }

        #purchaseAddToCartBtn:hover,
        #purchaseBackBtn:hover {
            transform: translateY(0.5px);
            filter: brightness(0.995) saturate(1.01);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.18);
            box-shadow:
                0 4px 10px rgba(15, 23, 42, 0.06),
                inset 0 1px 3px rgba(15, 23, 42, 0.045),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        #purchaseAddToCartBtn,
        #nextPurchaseStepBtn,
        #confirmPurchaseBtn {
            min-height: 44px;
            padding: 10px 16px;
            border-radius: 999px;
            will-change: transform;
        }

        #nextPurchaseStepBtn {
            flex: 0 0 136px;
            box-shadow:
                0 8px 18px rgba(15, 23, 42, 0.1),
                0 3px 8px rgba(74, 222, 128, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
            transition:
                transform 0.14s ease,
                box-shadow 0.14s ease,
                filter 0.14s ease;
        }

        #confirmPurchaseBtn {
            flex: 1 1 auto;
            box-shadow:
                0 8px 18px rgba(15, 23, 42, 0.1),
                0 3px 8px rgba(74, 222, 128, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
            transition:
                transform 0.14s ease,
                box-shadow 0.14s ease,
                filter 0.14s ease;
        }

        #nextPurchaseStepBtn:hover,
        #confirmPurchaseBtn:hover {
            transform: translateY(0.5px);
            filter: brightness(0.995) saturate(1.01);
            box-shadow:
                0 4px 10px rgba(15, 23, 42, 0.06),
                inset 0 1px 3px rgba(15, 23, 42, 0.045),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        #purchaseAddToCartBtn:active,
        #nextPurchaseStepBtn:active,
        #confirmPurchaseBtn:active,
        #purchaseBackBtn:active {
            transform: translateY(0);
            filter: brightness(0.98);
        }

        #nextPurchaseStepBtn:active,
        #confirmPurchaseBtn:active {
            transform: translateY(0.5px);
            box-shadow:
                0 3px 8px rgba(15, 23, 42, 0.05),
                inset 0 1px 3px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        #purchaseAddToCartBtn:active,
        #purchaseBackBtn:active {
            transform: translateY(0.5px);
            box-shadow:
                0 3px 8px rgba(15, 23, 42, 0.05),
                inset 0 1px 3px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        #purchaseAddToCartBtn i,
        #purchaseBackBtn i,
        #nextPurchaseStepBtn i,
        #confirmPurchaseBtn i {
            font-size: 14px;
        }

        #purchaseAddToCartBtn span,
        #purchaseBackBtn span,
        #nextPurchaseStepBtn span,
        #confirmPurchaseBtn span {
            font-size: 14px;
        }

        .shop-purchase-confirm-card {
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.22)),
                rgba(15, 23, 42, 0.28);
            box-shadow:
                0 20px 40px rgba(2, 6, 23, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .shop-purchase-confirm-card {
            padding: 18px;
        }

        .shop-purchase-confirm-card__title {
            font-size: 14px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.94);
            margin-bottom: 14px;
        }

        .shop-purchase-confirm-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .shop-purchase-confirm-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            color: rgba(226, 232, 240, 0.86);
            font-size: 14px;
        }

        .shop-purchase-confirm-row strong {
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            text-align: right;
            word-break: break-word;
        }

        .shop-purchase-confirm-row--total {
            margin-top: 6px;
            padding-top: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
        }

        .shop-purchase-confirm-row--total strong {
            color: #86efac;
            font-size: 16px;
        }

        .shop-purchase-stage-sku {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .shop-sku-selector__label {
            font-size: 13px;
            font-weight: 700;
            color: rgba(226, 232, 240, 0.84);
        }

        .shop-sku-selector__options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
            gap: 10px;
        }

        .shop-sku-option {
            min-width: 0;
            min-height: 64px;
            padding: 10px 12px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.075);
            color: rgba(255, 255, 255, 0.92);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 5px;
            text-align: left;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
        }

        .shop-sku-option:hover:not(:disabled) {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(134, 239, 172, 0.34);
        }

        .shop-sku-option.is-selected {
            border-color: rgba(134, 239, 172, 0.72);
            background: rgba(34, 197, 94, 0.14);
            box-shadow:
                0 0 0 3px rgba(34, 197, 94, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .shop-sku-option.is-disabled,
        .shop-sku-option:disabled {
            cursor: not-allowed;
            opacity: 0.48;
        }

        .shop-sku-option__name {
            max-width: 100%;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        .shop-sku-option__meta {
            max-width: 100%;
            font-size: 12px;
            line-height: 1.25;
            color: rgba(203, 213, 225, 0.78);
            overflow-wrap: anywhere;
        }

        #shopPurchaseModal .modal-content>.shop-purchase-stage,
        #shopPurchaseModal .shop-purchase-config-panel>.shop-purchase-stage,
        #shopPurchaseModal .shop-purchase-dock>.shop-purchase-stage,
        #shopSuccessModal .shop-success-modal>.shop-success-stage,
        #shopSuccessModal .shop-success-scroll>.shop-success-scroll-stage {
            will-change: opacity, transform;
        }

        #shopPurchaseModal .modal-content>.shop-purchase-stage,
        #shopPurchaseModal .shop-purchase-config-panel>.shop-purchase-stage,
        #shopPurchaseModal .shop-purchase-dock>.shop-purchase-stage {
            transition: none;
        }

        #shopSuccessModal .shop-success-modal>.shop-success-scroll {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
            will-change: auto !important;
        }

        #shopSuccessModal .shop-success-scroll>.shop-success-scroll-stage {
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }

        #shopPurchaseModal:not(.active) .modal-content>.shop-purchase-stage,
        #shopPurchaseModal:not(.active) .shop-purchase-config-panel>.shop-purchase-stage,
        #shopPurchaseModal:not(.active) .shop-purchase-dock>.shop-purchase-stage,
        #shopSuccessModal:not(.active) .shop-success-modal>.shop-success-stage,
        #shopSuccessModal:not(.active) .shop-success-scroll>.shop-success-scroll-stage {
            opacity: 0 !important;
            transform: translate3d(0, 14px, 0) !important;
        }

        #shopPurchaseModal.active .modal-content>.shop-purchase-stage,
        #shopPurchaseModal.active .shop-purchase-config-panel>.shop-purchase-stage,
        #shopPurchaseModal.active .shop-purchase-dock>.shop-purchase-stage {
            opacity: 1;
            transform: translate3d(0, 0, 0);
            animation: none;
        }

        #shopPurchaseModal .modal-content>.shop-purchase-stage--opening-stagger,
        #shopPurchaseModal .shop-purchase-config-panel>.shop-purchase-stage--opening-stagger,
        #shopPurchaseModal .shop-purchase-dock>.shop-purchase-stage--opening-stagger,
        #shopPurchaseModal .shop-purchase-stage--opening-stagger .shop-sku-selector__header {
            opacity: 0;
            transform: translate3d(0, 14px, 0);
            animation: none;
        }

        #shopPurchaseModal .shop-purchase-stage--opening-stagger .shop-sku-option--pill,
        #shopPurchaseModal .shop-purchase-stage--opening-stagger .shop-sku-spec-option {
            opacity: 0;
            transform: translate3d(0, 0, 0);
            animation: none;
        }

        #shopPurchaseModal.active .modal-content>.shop-purchase-stage--opening-stagger,
        #shopPurchaseModal.active .shop-purchase-config-panel>.shop-purchase-stage--opening-stagger,
        #shopPurchaseModal.active .shop-purchase-dock>.shop-purchase-stage--opening-stagger {
            animation: shopPurchaseStaggeredRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-selector__header {
            animation: shopPurchaseStaggeredRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill,
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option {
            animation: shopPurchaseSkuTagFadeIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill.is-disabled,
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill:disabled,
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option.is-disabled,
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option:disabled {
            animation-name: shopPurchaseSkuDisabledFadeIn;
        }

        #shopSuccessModal.active .shop-success-modal>.shop-success-stage,
        #shopSuccessModal.active .shop-success-scroll>.shop-success-scroll-stage {
            opacity: 1 !important;
            transform: translate3d(0, 0, 0) !important;
        }

        /* 20260525_SHOP_PURCHASE_STAGGER_RHYTHM_1
           外层 stage 统一 60ms 等距节奏，SKU 内部子项统一 40ms 等距节奏，
           原来 80/120/40/40/60/60ms 的混乱间距导致"标题→内容"和"内容→内容"
           视觉不协调。 */
        #shopPurchaseModal.active .shop-purchase-stage-header {
            animation-delay: 0s !important;
            transition-delay: 0s !important;
        }

        @media (min-width: 769px) {
            #shopPurchaseModal .shop-purchase-stage-header.shop-purchase-stage--opening-stagger {
                opacity: 1;
                transform: translate3d(0, 0, 0);
                animation: none;
            }

            #shopPurchaseModal .shop-purchase-stage-header > #purchaseStageTitle,
            #shopPurchaseModal .shop-purchase-stage-header > #modalProductName {
                will-change: opacity, transform;
            }

            #shopPurchaseModal:not(.active) .shop-purchase-stage-header > #purchaseStageTitle,
            #shopPurchaseModal:not(.active) .shop-purchase-stage-header > #modalProductName,
            #shopPurchaseModal .shop-purchase-stage-header.shop-purchase-stage--opening-stagger > #purchaseStageTitle,
            #shopPurchaseModal .shop-purchase-stage-header.shop-purchase-stage--opening-stagger > #modalProductName {
                opacity: 0;
                transform: translate3d(0, 14px, 0);
            }

            #shopPurchaseModal.active .shop-purchase-stage-header.shop-purchase-stage--opening-stagger > #purchaseStageTitle {
                animation: shopPurchaseStaggeredRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
                animation-delay: 0.03s !important;
            }

            #shopPurchaseModal.active .shop-purchase-stage-header.shop-purchase-stage--opening-stagger > #modalProductName {
                animation: shopPurchaseStaggeredRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
                animation-delay: 0.09s !important;
            }

            #shopPurchaseModal.active.shop-purchase-stages-settled .shop-purchase-stage-header > #purchaseStageTitle,
            #shopPurchaseModal.active.shop-purchase-stages-settled .shop-purchase-stage-header > #modalProductName {
                animation: none !important;
                opacity: 1 !important;
                transform: translate3d(0, 0, 0) !important;
            }
        }

        #shopPurchaseModal.active .shop-purchase-stage-sku {
            animation-delay: 0.08s !important;
            transition-delay: 0.08s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-quantity {
            animation-delay: 0.2s !important;
            transition-delay: 0.2s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-notes {
            animation-delay: 0.24s !important;
            transition-delay: 0.24s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-summary {
            animation-delay: 0.28s !important;
            transition-delay: 0.28s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-discount {
            animation-delay: 0.34s !important;
            transition-delay: 0.34s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-action {
            animation-delay: 0.4s !important;
            transition-delay: 0.4s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage-sku.shop-purchase-stage--opening-stagger {
            opacity: 1;
            transform: translate3d(0, 0, 0);
            animation: none;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-selector__header {
            animation-delay: 0.06s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill:nth-of-type(1),
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option:nth-of-type(1) {
            animation-delay: 0.14s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill:nth-of-type(2),
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option:nth-of-type(2) {
            animation-delay: 0.18s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill:nth-of-type(3),
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option:nth-of-type(3) {
            animation-delay: 0.22s !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-option--pill:nth-of-type(n+4),
        #shopPurchaseModal.active .shop-purchase-stage--opening-stagger .shop-sku-spec-option:nth-of-type(n+4) {
            animation-delay: 0.26s !important;
        }

        @keyframes shopPurchaseStaggeredRise {
            from {
                opacity: 0;
                transform: translate3d(0, 14px, 0);
            }

            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        @keyframes shopPurchaseSkuTagFadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes shopPurchaseSkuDisabledFadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 0.42;
            }
        }

        @media (min-width: 769px) and (prefers-reduced-motion: reduce) {
            #shopPurchaseModal .shop-purchase-stage-header > #purchaseStageTitle,
            #shopPurchaseModal .shop-purchase-stage-header > #modalProductName {
                animation: none !important;
                opacity: 1 !important;
                transform: translate3d(0, 0, 0) !important;
            }
        }

        #shopSuccessModal.active .shop-success-stage-icon {
            transition-delay: 0.08s !important;
        }

        #shopSuccessModal.active .shop-success-stage-title {
            transition-delay: 0.16s !important;
        }

        #shopSuccessModal.active .shop-success-scroll-stage-meta {
            transition-delay: 0.28s !important;
        }

        #shopSuccessModal.active .shop-success-scroll-stage-content {
            transition-delay: 0.36s !important;
        }

        #shopSuccessModal.active .shop-success-scroll-stage-usage {
            transition-delay: 0.46s !important;
        }

        #shopSuccessModal.active .shop-success-scroll-stage-warning {
            transition-delay: 0.54s !important;
        }

        #shopSuccessModal.active .shop-success-stage-actions {
            transition-delay: 0.64s !important;
        }

        .shop-btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .shop-btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            transform: translateY(-2px);
        }

        .shop-btn-feedback-success {
            background: #4ade80 !important;
            color: #fff !important;
        }

        .shop-wholesale-badge {
            font-size: 12px;
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 6px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            vertical-align: middle;
            line-height: 1;
        }

        .shop-wholesale-badge__icon {
            font-size: 10px;
        }

        .shop-discount-message {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 8px;
            font-size: 13px;
        }

        .shop-discount-message[hidden] {
            display: none !important;
        }

        .shop-discount-message--error {
            color: #ef4444;
        }

        .shop-discount-message--success {
            color: #10b981;
        }

        .shop-discount-message--warning {
            color: #f59e0b;
        }

        .shop-discount-message--info {
            color: #60a5fa;
        }

        .shop-discount-assets-shell {
            display: grid;
            gap: 12px;
            margin-top: 12px;
        }

        .shop-discount-assets-group {
            display: grid;
            gap: 8px;
        }

        .shop-discount-assets-group__title {
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.58);
        }

        .shop-discount-assets-grid {
            display: grid;
            gap: 8px;
        }

        .shop-discount-asset-card {
            width: 100%;
            padding: 10px 12px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
            text-align: left;
            display: grid;
            align-items: start;
            position: relative;
            gap: 5px;
            transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
        }

        .shop-discount-asset-card:hover:not(.is-disabled):not(:disabled) {
            transform: translateY(-1px);
            border-color: rgba(255, 255, 255, 0.22);
            background: rgba(255, 255, 255, 0.09);
        }

        .shop-discount-asset-card.is-selected {
            border-color: rgba(16, 185, 129, 0.55);
            background: rgba(16, 185, 129, 0.12);
        }

        .shop-discount-asset-card.is-disabled,
        .shop-discount-asset-card:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .shop-discount-asset-card.has-product-targets {
            opacity: 0.88;
            cursor: default;
        }

        .shop-discount-asset-card.has-product-targets .shop-discount-asset-card__cta {
            color: rgba(255, 255, 255, 0.82);
        }

        .shop-discount-asset-card__top {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: flex-start;
            gap: 6px 10px;
            font-size: 14px;
            line-height: 1.25;
        }

        .shop-discount-asset-card__identity {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            min-width: 0;
        }

        .shop-discount-asset-card__identity strong {
            min-width: 0;
            max-width: 100%;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        .shop-discount-asset-card__benefit {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 8px;
            border-radius: 999px;
            border: 1px solid rgba(244, 114, 182, 0.24);
            background: rgba(244, 114, 182, 0.12);
            color: #f9a8d4;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            white-space: nowrap;
        }

        .shop-discount-asset-card__stacking {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 8px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            white-space: nowrap;
            border: 1px solid transparent;
        }

        .shop-discount-asset-card__stacking--exclusive {
            border-color: rgba(251, 191, 36, 0.26);
            background: rgba(251, 191, 36, 0.12);
            color: #fcd34d;
        }

        .shop-discount-asset-card__stacking--stackable {
            border-color: rgba(45, 212, 191, 0.24);
            background: rgba(45, 212, 191, 0.12);
            color: #99f6e4;
        }

        .shop-discount-asset-card__cta {
            display: inline-flex;
            align-items: center;
            justify-self: end;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.2;
            white-space: nowrap;
        }

        .shop-discount-asset-card__disclosure {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            margin-left: auto;
            max-width: min(58%, 220px);
        }

        .shop-discount-asset-card__chevron {
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
            transform: rotate(0deg);
            transition:
                transform 0.22s ease,
                background 0.22s ease,
                box-shadow 0.22s ease;
        }

        .shop-discount-asset-card__chevron::before {
            content: '';
            width: 6px;
            height: 6px;
            border-right: 2px solid rgba(255, 255, 255, 0.68);
            border-bottom: 2px solid rgba(255, 255, 255, 0.68);
            transform: rotate(45deg) translateY(-1px);
            transition: border-color 0.22s ease;
        }

        .shop-discount-asset-card--collapsible {
            padding: 0;
            gap: 0;
            overflow: hidden;
            opacity: 1;
            transition:
                border-color 0.22s ease,
                background 0.22s ease,
                box-shadow 0.22s ease,
                transform 0.22s ease;
        }

        .shop-discount-asset-card--collapsible.is-disabled {
            opacity: 1;
        }

        .shop-discount-asset-card--collapsible[open] {
            border-color: rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.08);
        }

        .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__chevron {
            transform: rotate(180deg);
            background: rgba(187, 247, 208, 0.1);
            box-shadow: inset 0 0 0 1px rgba(187, 247, 208, 0.2);
        }

        .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__chevron::before {
            border-color: rgba(187, 247, 208, 0.88);
        }

        .shop-discount-asset-card__summary {
            position: relative;
            list-style: none;
            display: grid;
            gap: 6px;
            padding: 10px 58px 10px 12px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .shop-discount-asset-card--collapsible .shop-discount-asset-card__disclosure {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            margin-left: 0;
            max-width: none;
        }

        .shop-discount-asset-card__summary-reason {
            font-size: 12px;
            line-height: 1.45;
            color: rgba(255, 232, 163, 0.92);
        }

        .shop-discount-asset-card__summary::-webkit-details-marker {
            display: none;
        }

        .shop-discount-asset-card__summary::marker {
            content: '';
        }

        .shop-discount-asset-card__summary:focus-visible {
            outline: 2px solid rgba(187, 247, 208, 0.42);
            outline-offset: -2px;
        }

        .shop-discount-asset-card__fold {
            display: grid;
            opacity: 0;
            border-top: 1px solid transparent;
            background: rgba(255, 255, 255, 0.025);
            transition: border-top-color 0.22s ease;
        }

        .shop-discount-asset-card__fold-inner {
            overflow: hidden;
            display: grid;
            gap: 10px;
            padding: 0 12px;
            transform: translateY(-8px);
            transition: none;
        }

        .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__summary {
            background: rgba(255, 255, 255, 0.02);
        }

        .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__fold {
            opacity: 1;
            border-top-color: rgba(255, 255, 255, 0.08);
        }

        .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__fold-inner {
            padding: 10px 12px 12px;
            transform: translateY(0);
        }

        .shop-discount-asset-card--collapsible.is-collapsing .shop-discount-asset-card__summary {
            background: transparent;
        }

        .shop-discount-asset-card--collapsible.is-collapsing .shop-discount-asset-card__chevron {
            transform: rotate(0deg);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        }

        .shop-discount-asset-card--collapsible.is-collapsing .shop-discount-asset-card__chevron::before {
            border-color: rgba(255, 255, 255, 0.68);
        }

        .shop-discount-asset-card__meta {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.35;
        }

        .shop-discount-asset-card__hint {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.84);
            line-height: 1.35;
        }

        .shop-discount-asset-card__targets {
            display: grid;
            gap: 6px;
            margin-top: 2px;
        }

        .shop-discount-asset-card__targets--static {
            grid-template-columns: minmax(0, 1fr);
            align-items: start;
            gap: 4px 8px;
            margin-top: 0;
        }

        .shop-discount-asset-card__targets--static .shop-discount-asset-card__targets-label {
            display: none;
        }

        .shop-discount-asset-card__targets-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .shop-discount-asset-card__targets-label {
            font-size: 11px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.52);
        }

        .shop-discount-asset-card__targets-count {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.44);
        }

        .shop-discount-asset-card__targets-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 6px;
        }

        .shop-discount-asset-card__target-link {
            appearance: none;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 10px;
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.025);
            color: #e2e8f0;
            border-radius: 12px;
            padding: 9px 12px;
            font-size: 12px;
            line-height: 1.35;
            text-align: left;
            cursor: pointer;
            transition:
                border-color 0.18s ease,
                background 0.18s ease,
                transform 0.18s ease;
        }

        .shop-discount-asset-card__target-link:hover {
            transform: translateY(-1px);
            border-color: rgba(187, 247, 208, 0.22);
            background: rgba(255, 255, 255, 0.04);
        }

        .shop-discount-asset-card__target-link:focus-visible {
            outline: 2px solid rgba(187, 247, 208, 0.42);
            outline-offset: 2px;
        }

        .shop-discount-asset-card__target-name {
            font-size: 13px;
            font-weight: 650;
            color: #f8fafc;
            min-width: 0;
            text-align: left;
        }

        .shop-discount-asset-card__target-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-height: 24px;
            padding: 0 2px;
            border-radius: 999px;
            border: 0;
            background: transparent;
            font-size: 11px;
            font-weight: 650;
            color: rgba(187, 247, 208, 0.82);
            white-space: nowrap;
            text-align: right;
        }

        .shop-discount-asset-card__target-action::after {
            content: '';
            width: 5px;
            height: 5px;
            border-top: 1.5px solid currentColor;
            border-right: 1.5px solid currentColor;
            transform: rotate(45deg);
            opacity: 0.82;
        }

        .shop-discount-asset-card__scope {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.76);
            line-height: 1.35;
            min-width: 0;
            padding: 0;
            border-radius: 0;
            background: transparent;
            overflow-wrap: anywhere;
            text-align: left;
        }

        .shop-discount-assets-empty {
            margin-top: 12px;
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.62);
            font-size: 12px;
            line-height: 1.5;
        }

        .shop-price-waterfall-panel {
            margin-top: 10px;
        }

        .shop-price-waterfall {
            display: grid;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 16px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .shop-price-waterfall__header {
            display: grid;
            gap: 8px;
        }

        .shop-price-waterfall__title {
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.62);
        }

        .shop-price-waterfall__policy {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .shop-price-waterfall__policy-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.78);
            font-size: 11px;
        }

        .shop-price-waterfall__rows {
            display: grid;
            gap: 8px;
        }

        .shop-price-waterfall__row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .shop-price-waterfall__row-copy {
            display: grid;
            gap: 3px;
            min-width: 0;
        }

        .shop-price-waterfall__row-copy strong {
            font-size: 13px;
            color: #fff;
        }

        .shop-price-waterfall__row-copy span {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.62);
            line-height: 1.4;
        }

        .shop-price-waterfall__row-value {
            font-size: 14px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.88);
            white-space: nowrap;
        }

        .shop-price-waterfall__row--discount .shop-price-waterfall__row-value {
            color: #10b981;
        }

        .shop-price-waterfall__row--total .shop-price-waterfall__row-value {
            color: #fbbf24;
            font-size: 16px;
        }

        .shop-price-waterfall__footer {
            font-size: 11px;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.6);
        }

        .shop-btn:active {
            transform: translateY(0);
            filter: brightness(0.9);
        }

        /* Quantity Input Reset */
        .shop-quantity-input {
            width: 50px;
            text-align: center;
            background: transparent;
            border: none;
            color: #fff;
            font-weight: 700;
            font-family: 'Outfit', sans-serif;
            font-size: 1.2rem;
            -moz-appearance: textfield;
            appearance: textfield;
        }

        .shop-quantity-input::-webkit-outer-spin-button,
        .shop-quantity-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .shop-quantity-input:focus {
            outline: none;
        }

        .shop-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 24px;
            position: relative;
        }

        .shop-grid-transition-layer {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
        }

        .shop-card-filter-motion-lock {
            animation: none !important;
            transition: none !important;
            will-change: transform, opacity;
        }

        .shop-card-filter-hidden {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        .shop-card-filter-moving {
            z-index: 2;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        /*
         * 入场/退出 transform 还原到 .shop-card：呼吸 transform 在子 breathe-frame，
         * 父子各自一个 transform 来源，互不打断；并且 .shop-card 始终是 promoted
         * layer，cleanup 后 transform 回到 base 的 translate3d(0,0,0)（与终态等价），
         * 不会降层、不引起子层重栅格化。
         * .shop-card-filter-enter 上不再加 z-index，避免 stacking context 出现/消失。
         */
        .shop-card-filter-enter {
            opacity: 0;
            transform: translate3d(0, 20px, 0);
        }

        .shop-card-filter-enter.is-visible {
            opacity: 1;
            transform: translate3d(0, 0, 0);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .shop-card-filter-exit {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

        .shop-card-filter-exit.is-leaving {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .shop-card-transition-clone {
            position: absolute;
            margin: 0 !important;
            pointer-events: none;
            z-index: 1;
            opacity: 1;
            animation: none !important;
            will-change: transform, opacity;
            backface-visibility: hidden;
            transform: translate3d(0, 0, 0) scale(1);
            transition:
                opacity 0.34s ease-in var(--shop-card-filter-delay, 0ms),
                transform 0.44s cubic-bezier(0.4, 0, 0.2, 1) var(--shop-card-filter-delay, 0ms);
        }

        .shop-card-transition-clone--moving {
            z-index: 3;
            transition:
                transform 0.82s cubic-bezier(0.2, 0.72, 0.24, 1) var(--shop-card-filter-delay, 0ms),
                opacity 0.18s ease-in var(--shop-card-filter-delay, 0ms);
        }

        .shop-card-transition-clone--exit {
            z-index: 1;
        }

        .shop-card-transition-clone.is-exiting {
            opacity: 0;
            transform: translate3d(0, 18px, 0) scale(0.988);
        }

        .shop-grid.is-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: clamp(240px, 34vh, 400px);
            padding: clamp(8px, 1.8vw, 18px) 0;
            transition: min-height 0.24s ease, padding 0.24s ease;
        }

        .shop-empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-align: center;
            width: min(100%, 360px);
            padding: 0 12px;
        }

        .shop-empty-icon {
            width: 62px;
            height: 62px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(107, 158, 206, 0.28), rgba(96, 165, 250, 0.12));
            border: 1px solid rgba(147, 197, 253, 0.24);
            color: #93c5fd;
            box-shadow: 0 18px 40px rgba(96, 165, 250, 0.12);
            font-size: 1.4rem;
            line-height: 1;
        }

        .shop-empty-title {
            margin: 0;
            color: rgba(226, 232, 240, 0.96);
            font-size: clamp(1.12rem, 1.5vw, 1.3rem);
            font-weight: 600;
            letter-spacing: 0.01em;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .shop-main {
                padding: 100px 20px calc(40px + env(safe-area-inset-bottom)) 20px;
                margin-top: 0;
            }

            .shop-header {
                display: none;
            }

            .shop-title {
                font-size: 2rem;
            }

            .shop-grid {
                grid-template-columns: repeat(1, minmax(0, 1fr));
                gap: 14px;
            }

            .shop-card-breathe-shell {
                border-radius: 18px;
            }

            .shop-card-image {
                aspect-ratio: 21 / 9;
                height: auto;
            }

            .skeleton-card .skeleton-image-shell {
                aspect-ratio: 21 / 9;
                height: auto;
            }

            .shop-content-padding {
                padding: 16px;
            }

            .shop-card-title {
                margin-bottom: 6px;
                font-size: 1rem;
            }

            .shop-card-desc {
                font-size: 0.82rem;
                line-height: 1.5;
                height: 40px;
            }

            .shop-card-price {
                font-size: 1.05rem;
            }

            .shop-card-price span {
                font-size: 0.72rem;
            }

            .shop-card-footer {
                padding-top: 14px;
                gap: 10px;
            }

            .shop-card-cart-trigger {
                width: 42px;
                height: 42px;
                border-radius: 16px;
            }

            .shop-card-cart-trigger__icon {
                width: 19px;
                height: 19px;
            }

            .shop-grid.is-empty {
                min-height: clamp(180px, 26vh, 260px);
                padding: 6px 0 2px;
            }
        }

        /* Home Button (Replica from Prompts Page) */
        .home-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            box-sizing: border-box;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

            /* Fixed Position (Top Left) */
            position: fixed;
            top: 28px;
            left: 30px;
            z-index: 100;

            /* Styles adapted for Dark Theme primarily, as Shop is dark-themed */
            color: rgba(255, 255, 255, 0.85);
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(8px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .home-btn i {
            font-size: 1.1rem;
        }

        /* Nav Logo SVG inside home button */
        .home-btn.nav-logo svg {
            width: 24px;
            height: 24px;
        }

        .home-btn:hover {
            background: rgba(15, 23, 42, 0.8);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        /* Standardized Premium Modal (Frosted Glass) */
        .premium-modal {
            max-width: 380px !important;
            background: rgba(30, 41, 59, 0.75);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            border-radius: 24px;
            color: #fff;
        }

        #shopPurchaseModal .modal-content {
            width: min(calc(100% - 40px), 620px) !important;
            max-width: 620px !important;
            box-sizing: border-box;
            background:
                linear-gradient(180deg, rgba(14, 20, 29, 0.96) 0%, rgba(8, 12, 18, 0.98) 100%) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow:
                0 34px 80px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
        }

        #shopSuccessModal .modal-content {
            width: min(calc(100% - 56px), 1040px) !important;
            max-width: 1040px !important;
            box-sizing: border-box;
            padding: 26px clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 34px) !important;
            border-radius: 30px !important;
        }

        #shopSuccessModal .modal-content.shop-success-modal {
            --shop-success-action-font-size: 12px;
            --shop-success-pill-font-size: 10px;
            text-align: center;
            display: flex;
            flex-direction: column;
            position: relative;
            background:
                linear-gradient(180deg, rgba(14, 20, 29, 0.96) 0%, rgba(8, 12, 18, 0.985) 100%) !important;
            backdrop-filter: blur(22px) saturate(0.92) !important;
            -webkit-backdrop-filter: blur(22px) saturate(0.92) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow:
                0 34px 80px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
            height: min(840px, calc(100dvh - 40px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
            max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
            overflow: hidden;
        }

        .shop-success-scroll {
            display: flex;
            flex-direction: column;
            gap: 24px;
            min-height: 0;
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
            padding-right: 8px;
            margin-right: -8px;
            padding-bottom: 4px;
        }

        /* 20260428_PUBLIC_TOUCH_PAN_LOCK_1 */
        #shopSuccessModal .shop-success-content-shell,
        #shopSuccessModal.has-usage-instructions .shop-success-content-shell {
            max-height: none !important;
            overflow: visible !important;
            min-width: 0;
            max-width: 100%;
        }

        #shopSuccessModal .shop-success-content-shell--plain {
            margin: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            text-align: left !important;
            word-break: normal !important;
            max-height: none !important;
            overflow: visible !important;
            min-width: 0;
            max-width: 100%;
        }

        #shopSuccessModal .shop-success-content {
            font-family: inherit !important;
            font-size: inherit !important;
            color: inherit !important;
            white-space: normal !important;
            overflow: visible !important;
            min-width: 0;
            max-width: 100%;
            overflow-wrap: anywhere;
        }

        .shop-success-actions {
            display: flex;
            gap: 10px;
            margin-top: 0;
        }

        .shop-success-actions .shop-btn {
            flex: 0 0 auto;
        }

        #shopSuccessModal .shop-success-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 10px;
            width: auto;
            margin: 0;
        }

        #shopSuccessModal .shop-success-actions .shop-btn {
            flex: 0 0 auto;
            min-width: 0;
            min-height: 40px;
            padding: 8px 14px;
            border-radius: 999px;
            box-shadow:
                0 10px 18px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
        }

        #shopSuccessModal .shop-success-actions .shop-btn i {
            font-size: 14px;
        }

        #shopSuccessModal .shop-success-actions .shop-btn span {
            font-size: var(--shop-success-action-font-size);
        }

        #shopSuccessModal #copyContentBtn {
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.18),
                0 4px 12px rgba(74, 222, 128, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
        }

        #shopSuccessModal #exportContentBtn {
            background: #ffffff !important;
            color: #111827 !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.16),
                0 4px 10px rgba(255, 255, 255, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.96);
        }

        #shopSuccessModal #exportContentBtn i,
        #shopSuccessModal #exportContentBtn span {
            color: inherit !important;
        }

        .shop-success-usage-card {
            padding: 15px;
            text-align: left;
            line-height: 1.7;
            justify-content: flex-start;
            align-items: stretch;
            cursor: text !important;
            transition: none !important;
            -webkit-user-select: text !important;
            user-select: text !important;
            -webkit-touch-callout: default !important;
            min-height: 0;
            min-width: 0;
            max-width: 100%;
            overflow-wrap: anywhere;
        }

        .shop-success-usage-card,
        .shop-success-usage-card *,
        #usageInstructionsContent,
        #usageInstructionsContent *,
        #purchaseNotesContent,
        #purchaseNotesContent *,
        #purchaseUsageContent,
        #purchaseUsageContent * {
            -webkit-user-select: text !important;
            user-select: text !important;
        }

        .shop-success-usage-card::before,
        .shop-success-usage-card:hover::before {
            opacity: 0 !important;
        }

        .shop-success-usage-card:hover {
            transform: none !important;
            background: rgba(255, 255, 255, 0.03) !important;
            border-color: rgba(255, 255, 255, 0.08) !important;
            border-top-color: rgba(255, 255, 255, 0.15) !important;
            border-left-color: rgba(255, 255, 255, 0.15) !important;
            box-shadow:
                0 20px 40px -10px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.01) !important;
        }

        #usageInstructionsContent,
        #purchaseUsageContent {
            cursor: text;
            -webkit-touch-callout: default;
            min-height: 0;
        }

        #usageInstructionsContent a {
            color: #60a5fa;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease, opacity 0.2s ease;
            border-bottom: 1px solid transparent;
            cursor: pointer;
        }

        #purchaseNotesContent a,
        #purchaseUsageContent a {
            color: #60a5fa;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease, opacity 0.2s ease;
            border-bottom: 1px solid transparent;
            cursor: pointer;
        }

        #usageInstructionsContent a:hover {
            color: #93c5fd;
            opacity: 0.9;
        }

        #purchaseNotesContent a:hover,
        #purchaseUsageContent a:hover {
            color: #93c5fd;
            opacity: 0.9;
        }

        .shop-rich-link {
            color: #6b9ece;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        #shopPurchaseModal .shop-success-usage-card {
            max-height: min(32vh, 220px);
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
        }

        #shopPurchaseModal .shop-success-usage-card::-webkit-scrollbar {
            width: 7px;
        }

        #shopPurchaseModal .shop-success-usage-card::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 999px;
        }

        #shopPurchaseModal .shop-success-usage-card::-webkit-scrollbar-thumb {
            background: rgba(107, 158, 206, 0.45);
            border-radius: 999px;
        }

        #shopPurchaseModal .shop-success-usage-card::-webkit-scrollbar-thumb:hover {
            background: rgba(107, 158, 206, 0.65);
        }

        #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card,
        #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card:hover,
        #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card,
        #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card:hover {
            transform: none !important;
            box-shadow: none !important;
        }

        #shopPurchaseModal {
            --shop-purchase-overlay-height: 100dvh;
            --shop-purchase-viewport-top: 0px;
            --shop-purchase-viewport-left: 0px;
            --shop-purchase-viewport-width: 100vw;
            --shop-purchase-translate-y: 0px;
            --shop-purchase-scale: 0.95;
            top: var(--shop-purchase-viewport-top) !important;
            left: var(--shop-purchase-viewport-left) !important;
            right: auto !important;
            bottom: auto !important;
            width: var(--shop-purchase-viewport-width) !important;
            height: var(--shop-purchase-overlay-height) !important;
            min-height: var(--shop-purchase-overlay-height) !important;
            overflow: hidden !important;
            overscroll-behavior: none !important;
            box-sizing: border-box !important;
        }

        html.shop-purchase-modal-lock,
        body.shop-purchase-modal-lock {
            overflow: hidden !important;
            overscroll-behavior: none !important;
            background: var(--shop-purchase-theme-chrome-color, var(--site-theme-chrome-color, var(--bg-color))) !important;
        }

        body.shop-purchase-modal-lock {
            position: fixed !important;
            top: var(--shop-purchase-lock-top, 0px) !important;
            left: 0;
            right: 0;
            width: 100%;
        }

        #shopPurchaseModal.shop-purchase-force-hidden,
        #shopPurchaseModal[hidden] {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            transition: none !important;
        }

        #shopCartCheckoutModal.shop-modal-force-hidden,
        #shopSuccessModal.shop-modal-force-hidden {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            transition: none !important;
        }

        #shopCartCheckoutModal.shop-modal-force-hidden .modal-content,
        #shopSuccessModal.shop-modal-force-hidden .modal-content {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            transition: none !important;
            animation: none !important;
        }

        #shopPurchaseModal.active {
            --shop-purchase-scale: 1;
        }

        #shopPurchaseModal .modal-content {
            margin: auto !important;
            position: relative !important;
            top: auto !important;
            transform: translate3d(0, var(--shop-purchase-translate-y, 0px), 0) scale(var(--shop-purchase-scale, 0.95)) !important;
            transition: none !important;
            will-change: transform, height !important;
        }

        #shopPurchaseModal .modal-content.shop-purchase-height-locked {
            height: var(--shop-purchase-dock-height) !important;
            max-height: var(--shop-purchase-dock-height) !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
        }

        #shopPurchaseModal .modal-content.shop-purchase-notes-height-animating,
        #shopPurchaseModal.active .modal-content.shop-purchase-notes-height-animating,
        #shopPurchaseModal.active:focus-within .modal-content.shop-purchase-notes-height-animating,
        #shopPurchaseModal.ios-focus-lock .modal-content.shop-purchase-notes-height-animating,
        #shopPurchaseModal.keyboard-docked .modal-content.shop-purchase-notes-height-animating {
            overflow: hidden !important;
            transition:
                height 240ms cubic-bezier(0.22, 1, 0.36, 1),
                max-height 240ms cubic-bezier(0.22, 1, 0.36, 1) !important;
        }

        #shopPurchaseModal.active .modal-content,
        #shopPurchaseModal.active:focus-within .modal-content,
        #shopPurchaseModal.ios-focus-lock .modal-content,
        #shopPurchaseModal.keyboard-docked .modal-content {
            transform: translate3d(0, var(--shop-purchase-translate-y, 0px), 0) scale(1) !important;
            animation: none !important;
        }

        #shopPurchaseModal.active:not(:focus-within):not(.ios-focus-lock):not(.keyboard-docked) .modal-content {
            transition: transform 0.3s ease-out !important;
        }

        #shopPurchaseModal.shop-purchase-opening-stable .modal-content,
        #shopPurchaseModal.shop-purchase-opening-stable.active .modal-content,
        #shopPurchaseModal.shop-purchase-opening-stable.active:not(:focus-within):not(.ios-focus-lock):not(.keyboard-docked) .modal-content,
        #shopPurchaseModal.shop-purchase-opening-stable.keyboard-docked .modal-content,
        #shopPurchaseModal.shop-purchase-opening-stable .modal-content.shop-purchase-height-locked,
        #shopPurchaseModal.shop-purchase-opening-stable .modal-content.shop-purchase-sheet-animating,
        #shopPurchaseModal.shop-purchase-opening-stable .modal-content.shop-purchase-notes-height-animating {
            transition: none !important;
        }

        #shopPurchaseModal.shop-purchase-opening-stable .shop-purchase-stage[hidden] {
            animation: none !important;
            transition: none !important;
        }

        #shopPurchaseModal.active .shop-purchase-stage--opening-settled {
            animation: none !important;
        }

        #shopPurchaseModal.active.shop-purchase-stages-settled .modal-content>.shop-purchase-stage,
        #shopPurchaseModal.active.shop-purchase-stages-settled .shop-purchase-config-panel>.shop-purchase-stage,
        #shopPurchaseModal.active.shop-purchase-stages-settled .shop-purchase-dock>.shop-purchase-stage {
            animation: none !important;
            transition-delay: 0s !important;
        }

        #shopPurchaseModal.shop-purchase-opening-stable .shop-purchase-discount,
        #shopPurchaseModal.shop-purchase-opening-stable .shop-purchase-discount__fold,
        #shopPurchaseModal.shop-purchase-opening-stable .shop-purchase-discount__fold-inner {
            transition: none !important;
        }

        @media (max-width: 768px) {
            #shopPurchaseModal .modal-content {
                width: calc(100% - 40px) !important;
                max-width: 620px !important;
                max-height: min(760px, calc(100dvh - 112px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
                display: flex !important;
                flex-direction: column;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                overscroll-behavior: contain;
                overscroll-behavior-x: none;
                -webkit-overflow-scrolling: touch;
                touch-action: pan-y;
                scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
                border-radius: 30px !important;
                padding: 24px 20px calc(20px + env(safe-area-inset-bottom)) !important;
            }

            #shopSuccessModal .modal-content {
                width: calc(100% - 24px) !important;
                max-width: 680px !important;
                border-radius: 28px !important;
                padding: 22px 16px calc(18px + env(safe-area-inset-bottom)) !important;
            }

            #shopPurchaseModal .modal-content,
            #shopPurchaseModal.active .modal-content,
            #shopPurchaseModal.active:focus-within .modal-content,
            #shopPurchaseModal.ios-focus-lock .modal-content,
            #shopPurchaseModal.keyboard-docked .modal-content {
                margin: auto !important;
                position: relative !important;
                top: auto !important;
                transform: translate3d(0, var(--shop-purchase-translate-y, 0px), 0) scale(1) !important;
                transition: none !important;
                will-change: transform, height !important;
            }

            #shopPurchaseModal .modal-content.shop-purchase-notes-height-animating,
            #shopPurchaseModal.active .modal-content.shop-purchase-notes-height-animating,
            #shopPurchaseModal.active:focus-within .modal-content.shop-purchase-notes-height-animating,
            #shopPurchaseModal.ios-focus-lock .modal-content.shop-purchase-notes-height-animating,
            #shopPurchaseModal.keyboard-docked .modal-content.shop-purchase-notes-height-animating {
                overflow: hidden !important;
                transition:
                    height 240ms cubic-bezier(0.22, 1, 0.36, 1),
                    max-height 240ms cubic-bezier(0.22, 1, 0.36, 1) !important;
            }

            #shopPurchaseModal .shop-purchase-stage-header,
            #shopPurchaseModal .shop-purchase-stage-sku,
            #shopPurchaseModal .shop-purchase-stage-quantity,
            #shopPurchaseModal .shop-purchase-stage-discount,
            #shopPurchaseModal .shop-purchase-stage-summary,
            #shopPurchaseModal .shop-purchase-stage-action {
                flex: 0 0 auto;
            }

            #shopPurchaseModal #purchaseNotesBox,
            #shopPurchaseModal #purchaseUsageBox {
                display: flex;
                flex: 0 0 auto;
                flex-direction: column;
                min-height: 0;
                overflow: visible;
            }

            #shopPurchaseModal #purchaseNotesBox.is-expanded,
            #shopPurchaseModal #purchaseUsageBox.is-expanded {
                flex: 1 1 auto;
                margin-bottom: 18px !important;
                overflow: visible;
            }

            #shopPurchaseModal #purchaseNotesBox:not(.is-expanded),
            #shopPurchaseModal #purchaseUsageBox:not(.is-expanded) {
                flex: 0 0 auto;
                overflow: visible;
            }

            #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card,
            #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card {
                flex: 1 1 auto;
                min-height: 96px;
                max-height: clamp(160px, 34dvh, 320px);
                overflow-y: auto;
                overflow-x: hidden;
                overscroll-behavior: contain;
                overscroll-behavior-x: none;
                -webkit-overflow-scrolling: touch;
                touch-action: pan-y;
            }

            #shopPurchaseModal .shop-purchase-stage-action {
                position: relative;
                z-index: 6;
                box-sizing: border-box;
                width: 100%;
                margin: 0;
                padding: 14px 0 0;
                background: transparent;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }

            #shopPurchaseModal .shop-purchase-stage-action .shop-purchase-actions {
                position: relative;
                z-index: 1;
                width: 100%;
                margin-inline: auto;
            }

            #shopPurchaseModal .modal-content.shop-purchase-sheet-animating,
            #shopPurchaseModal.active .modal-content.shop-purchase-sheet-animating,
            #shopPurchaseModal.active:focus-within .modal-content.shop-purchase-sheet-animating,
            #shopPurchaseModal.ios-focus-lock .modal-content.shop-purchase-sheet-animating,
            #shopPurchaseModal.keyboard-docked .modal-content.shop-purchase-sheet-animating {
                transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1) !important;
            }

            #shopSuccessModal .modal-content.shop-success-modal {
                display: flex;
                flex-direction: column;
                position: relative;
                height: auto !important;
                min-height: 0 !important;
                max-height: min(640px, calc(100dvh - 128px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
                overflow: hidden;
            }

            #shopSuccessModal .shop-success-scroll {
                flex: 0 1 auto;
                overflow-y: auto;
                overflow-x: hidden;
                gap: 18px;
                min-height: 0;
                max-height: calc(100dvh - 244px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
                padding-right: 4px;
                margin-right: -4px;
                padding-bottom: 0;
                overscroll-behavior: contain;
                overscroll-behavior-x: none;
                -webkit-overflow-scrolling: touch;
                touch-action: pan-y;
            }

            #shopSuccessModal .shop-success-content-shell {
                max-height: none !important;
                overflow: visible !important;
            }

            #shopSuccessModal .shop-success-content-shell--plain {
                background: transparent !important;
                border: none !important;
                box-shadow: none !important;
                padding: 0 !important;
            }

            #shopSuccessModal .shop-success-actions {
                position: static;
                width: auto;
                max-width: none;
                margin: 0;
                display: flex;
                gap: 8px;
                align-items: center;
                justify-content: flex-end;
            }

            #shopSuccessModal .shop-success-actions .shop-btn {
                min-width: 0;
                min-height: 36px;
                padding: 7px 12px;
                border-radius: 999px;
                box-shadow:
                    0 10px 18px rgba(0, 0, 0, 0.18),
                    inset 0 1px 0 rgba(255, 255, 255, 0.18);
            }

            #shopSuccessModal .shop-success-actions .shop-btn i {
                font-size: 12px;
            }

            #shopSuccessModal .shop-success-actions .shop-btn span {
                font-size: var(--shop-success-action-font-size);
            }

            #shopSuccessModal #copyContentBtn {
                box-shadow:
                    0 14px 28px rgba(0, 0, 0, 0.18),
                    0 4px 12px rgba(74, 222, 128, 0.28),
                    inset 0 1px 0 rgba(255, 255, 255, 0.22);
            }

            #shopSuccessModal #exportContentBtn {
                background: #ffffff !important;
                color: #111827 !important;
                border: 1px solid rgba(255, 255, 255, 0.95) !important;
                box-shadow:
                    0 14px 28px rgba(0, 0, 0, 0.16),
                    0 4px 10px rgba(255, 255, 255, 0.28),
                    inset 0 1px 0 rgba(255, 255, 255, 0.96);
            }

            #shopSuccessModal #exportContentBtn i,
            #shopSuccessModal #exportContentBtn span {
                color: inherit !important;
            }

            .shop-success-summary-bar {
                padding: 0 2px;
                gap: 10px;
            }

            .shop-success-summary-bar__label {
                font-size: 10px;
                letter-spacing: 0.16em;
            }

            .shop-success-summary-bar__count {
                font-size: 15px;
            }

            .shop-success-summary-bar__actions {
                margin-left: auto;
            }

            .shop-success-item {
                padding: 12px;
                border-radius: 18px;
            }

            .shop-success-item__header {
                align-items: stretch;
                gap: 10px;
            }

            .shop-success-item__heading {
                align-items: stretch;
                gap: 10px;
            }

            .shop-success-item__thumb,
            .shop-success-item__icon {
                width: 40px;
                height: 40px;
                border-radius: 12px;
            }

            .shop-success-item__title {
                font-size: 14px;
            }

            .shop-success-item__submeta {
                min-width: 0;
            }

            .shop-success-item__order-id,
            .shop-success-item__reveal-code,
            .shop-success-item__submeta-label,
            .shop-success-item__submeta-value {
                font-size: 10px;
            }

            .shop-success-item__surface {
                padding-right: 0;
            }

            .shop-success-item__actions {
                gap: 8px;
                margin-left: 10px;
            }

            .shop-success-item__toolbar {
                --shop-success-toolbar-height: 26px;
                gap: 6px;
                max-width: 220px;
            }

            .shop-success-item__action-tags {
                gap: 5px;
            }

            .shop-success-item__time {
                padding-top: 10px;
                transform: translateY(10px);
                font-size: 9px;
            }

            .shop-success-item__meta {
                gap: 3px;
            }

            .shop-success-item__tag {
                font-size: 10px;
                min-height: 24px;
                padding: 4px 7px;
            }

            #shopSuccessModal .shop-success-item__tag--notice,
            #shopSuccessModal .shop-success-item__tag--usage {
                min-height: var(--shop-success-toolbar-height, 26px);
                height: var(--shop-success-toolbar-height, 26px);
                padding: 0 9px;
                font-size: var(--shop-success-pill-font-size, 10px);
            }

            #shopSuccessModal .shop-success-item__tag-label {
                font-size: var(--shop-success-pill-font-size, 10px);
            }

            .shop-success-warning {
                grid-template-columns: 1fr;
                gap: 8px;
                padding: 11px 12px;
            }

            .shop-success-warning__icon {
                width: 26px;
                height: 26px;
                border-radius: 9px;
            }

            .shop-success-warning__title {
                font-size: 12px;
            }

            .shop-success-warning__summary {
                font-size: 11px;
            }

            .shop-purchase-actions {
                flex-direction: column;
            }

            #shopPurchaseModal [data-purchase-step="configure"] .shop-purchase-actions--single {
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: stretch;
                gap: 10px;
            }

            #purchaseAddToCartBtn,
            #purchaseBackBtn,
            #nextPurchaseStepBtn,
            #confirmPurchaseBtn {
                min-height: 38px;
                padding: 8px 12px;
            }

            #purchaseAddToCartBtn i,
            #purchaseBackBtn i,
            #nextPurchaseStepBtn i,
            #confirmPurchaseBtn i {
                font-size: 12px;
            }

            #purchaseAddToCartBtn span,
            #purchaseBackBtn span,
            #nextPurchaseStepBtn span,
            #confirmPurchaseBtn span {
                font-size: 12px;
            }

            #purchaseAddToCartBtn,
            #purchaseBackBtn {
                flex-basis: auto;
            }

            #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn,
            #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn {
                flex: 1 1 0;
                min-width: 0;
                justify-content: center;
                border-radius: 18px;
            }

            #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn span,
            #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn span {
                white-space: nowrap;
            }

            .shop-purchase-confirm-card {
                padding: 16px;
            }

            .shop-purchase-discount {
                margin: 14px 8px 14px;
            }

            .shop-purchase-discount__field {
                display: block;
            }

            .shop-purchase-discount__input-wrap,
            .shop-purchase-discount__action {
                border-radius: 12px;
            }

            .shop-purchase-discount__input-wrap {
                min-height: 50px;
                padding: 4px;
                gap: 4px;
            }

            .shop-purchase-discount__input {
                font-size: 14px;
                height: 40px;
                padding: 0 12px;
            }

            .shop-purchase-discount__action {
                min-width: 82px;
                min-height: 40px;
                padding: 0 12px;
                font-size: 12px;
            }
        }

        @media (max-width: 600px) {
            #shopPurchaseModal .modal-content {
                width: min(calc(100% - 24px), 700px) !important;
            }
        }

        #shopSuccessModal.has-usage-instructions {
            --shop-success-action-bottom: auto;
            --shop-success-action-width: auto;
            --shop-success-action-clearance: 0px;
            --shop-success-usage-gap: clamp(10px, calc(-6px + 2vw), 24px);
            --shop-success-usage-max-height: clamp(300px, calc(360px - 4vw), 336px);
        }

        #shopSuccessModal.has-usage-instructions .modal-content.shop-success-modal {
            display: flex;
            flex-direction: column;
            position: relative;
            height: min(840px, calc(100dvh - 40px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
            max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
            overflow: hidden;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-scroll {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
            padding-right: 6px;
            margin-right: -6px;
            padding-bottom: 0;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-content-shell {
            max-height: none !important;
            overflow: visible !important;
        }

        #shopSuccessModal.has-usage-instructions #usageInstructionsBox {
            margin-bottom: var(--shop-success-usage-gap) !important;
        }

        .shop-order-history-item {
            padding: 12px 16px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 14px;
        }

        .shop-order-history-main {
            flex: 1;
            min-width: 0;
        }

        .shop-order-history-header {
            display: flex;
            align-items: center;
            margin-bottom: 4px;
            gap: 8px;
        }

        .shop-order-history-icon {
            flex-shrink: 0;
        }

        .shop-order-history-icon--image {
            width: 24px;
            height: 24px;
            border-radius: 4px;
        }

        .shop-order-history-icon--font {
            color: #6b9ece;
        }

        .shop-order-history-name {
            font-weight: 600;
            font-size: 14px;
            color: #fff;
        }

        .shop-order-history-meta {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
        }

        .shop-order-history-points {
            color: #fbbf24;
        }

        .shop-order-history-view {
            padding: 6px 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #fff;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .shop-order-history-view:hover {
            background: rgba(255, 255, 255, 0.16);
            transform: translateY(-1px);
        }

        #shopSuccessModal.has-usage-instructions .shop-success-actions {
            position: static;
            left: auto;
            right: auto;
            bottom: auto;
            width: auto;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
            z-index: auto;
            display: flex;
            gap: 8px;
            margin-top: 0;
            align-items: center;
            justify-content: flex-end;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-actions .shop-btn {
            min-width: 0;
            min-height: 36px;
            padding: 7px 12px;
            border-radius: 999px;
            box-shadow:
                0 10px 18px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
        }

        #shopSuccessModal.has-usage-instructions .shop-success-actions .shop-btn i {
            font-size: 12px;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-actions .shop-btn span {
            font-size: var(--shop-success-action-font-size);
        }

        #shopSuccessModal.has-usage-instructions #copyContentBtn {
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.18),
                0 4px 12px rgba(74, 222, 128, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
        }

        #shopSuccessModal.has-usage-instructions #exportContentBtn {
            background: #ffffff !important;
            color: #111827 !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.16),
                0 4px 10px rgba(255, 255, 255, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.96);
        }

        #shopSuccessModal.has-usage-instructions #exportContentBtn i,
        #shopSuccessModal.has-usage-instructions #exportContentBtn span {
            color: inherit !important;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-usage-card {
            max-height: min(42vh, var(--shop-success-usage-max-height));
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
            contain: layout paint;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-usage-card::-webkit-scrollbar {
            width: 6px;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-usage-card::-webkit-scrollbar-track {
            background: transparent;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-usage-card::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.16);
            border-radius: 999px;
        }

        #shopSuccessModal.has-usage-instructions .shop-success-usage-card::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.24);
        }

        @media (max-width: 768px) {
            #shopSuccessModal.has-usage-instructions {
                --shop-success-action-bottom: auto;
                --shop-success-action-clearance: 0px;
                --shop-success-usage-gap: 12px;
                --shop-success-usage-max-height: 320px;
            }

            #shopSuccessModal.has-usage-instructions .modal-content.shop-success-modal {
                height: auto !important;
                min-height: 0 !important;
                max-height: min(640px, calc(100dvh - 128px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
            }

            #shopSuccessModal.has-usage-instructions .shop-success-scroll {
                flex: 0 1 auto;
                max-height: calc(100dvh - 244px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
            }
        }


/* shop.html inline style block 2 (from line 1235) */
#starryCanvas {
            position: fixed;
            top: -10vh;
            left: 0;
            width: 100vw;
            height: 120vh;
            z-index: -1;
            pointer-events: none;
            opacity: 1;
        }

        /* Breathing (Water Flow) Animation */
        @keyframes breathe {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-6px);
            }
        }

        .shop-card-breathe-frame.shop-card-breathe-frame--breathing {
            animation: breathe 4s ease-in-out infinite;
            animation-delay: var(--breathe-delay, 0s);
            will-change: transform;
        }

        .shop-card:hover .shop-card-breathe-frame.shop-card-breathe-frame--breathing {
            animation-play-state: paused;
        }

        .shop-card.flash-sale-card .shop-card-breathe-shell {
            border-color: rgba(239, 68, 68, 0.3);
        }

        @keyframes urgentPulse {

            0%,
            100% {
                color: #f87171;
                text-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
                transform: scale(1);
            }

            50% {
                color: #ff3b30;
                text-shadow: 0 0 16px rgba(255, 59, 48, 0.8), 0 0 4px #ff3b30;
                transform: scale(1.05);
            }
        }

        .flash-badge-glass {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 10;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 20px;
            /* Capsule shape matching stock */
            background: rgba(40, 40, 40, 0.6);
            /* Match stock background */
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(248, 113, 113, 0.3);
            /* Reddish border */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 6px;
            color: #f87171;
            font-family: 'Outfit', 'Monaco', monospace;
            /* Tech vibe for numbers */
            overflow: hidden;
        }

        /* Cyber-like scanline effect inside badge */
        .flash-badge-glass::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: skewX(-20deg);
            animation: scanline 2.5s infinite;
        }

        @keyframes scanline {
            0% {
                left: -100%;
            }

            20% {
                left: 200%;
            }

            100% {
                left: 200%;
            }
        }

        .flash-badge-glass .flash-sale-badge__label {
            color: #ff3b30;
            font-family: var(--font-sans);
            font-weight: 800;
            letter-spacing: 0;
            animation: urgentPulse 0.8s ease-in-out infinite;
            filter: drop-shadow(0 0 4px rgba(255, 59, 48, 0.8));
        }

        .flash-badge-glass .countdown-timer {
            font-variant-numeric: tabular-nums;
            /* Monospaced numbers to stop jittering */
        }

        .tier-badge-glass {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 10;
            font-size: 12px;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: 20px;
            background: rgba(40, 40, 40, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(125, 211, 252, 0.34);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            color: #7dd3fc;
            font-family: var(--font-sans);
            letter-spacing: 0;
        }

        @media (prefers-reduced-motion: reduce) {
            .shop-card-breathe-frame.shop-card-breathe-frame--breathing,
            .shop-card-filter-enter,
            .shop-card-filter-enter .shop-card-breathe-frame,
            .shop-card-filter-exit,
            .shop-card-filter-exit .shop-card-breathe-frame,
            .shop-card-filter-moving,
            .shop-card-transition-clone {
                animation: none !important;
                transition: none !important;
                opacity: 1 !important;
                transform: none !important;
                translate: 0 0 !important;
            }

            .shop-card-filter-hidden {
                opacity: 1 !important;
            }
        }

        /* Skeleton Loading Styles */
        @keyframes shopSkeletonShimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        @keyframes shopSkeletonSweep {
            0% {
                transform: translate3d(-160%, 0, 0) skewX(-18deg);
                opacity: 0;
            }

            14% {
                opacity: 0.14;
            }

            46% {
                opacity: 0.74;
            }

            72% {
                opacity: 0.2;
            }

            100% {
                transform: translate3d(160%, 0, 0) skewX(-18deg);
                opacity: 0;
            }
        }

        .skeleton {
            background: linear-gradient(90deg,
                    rgba(255, 255, 255, 0.03) 25%,
                    rgba(255, 255, 255, 0.08) 50%,
                    rgba(255, 255, 255, 0.03) 75%);
            background-size: 200% 100%;
            animation: shopSkeletonShimmer 1.5s infinite;
            border-radius: 8px;
        }

        body.shop-page .skeleton {
            position: relative;
            overflow: hidden;
            background:
                linear-gradient(180deg,
                    rgba(255, 255, 255, 0.05) 0%,
                    rgba(255, 255, 255, 0.025) 100%),
                linear-gradient(180deg,
                    rgba(15, 23, 42, 0.84) 0%,
                    rgba(15, 23, 42, 0.68) 100%);
            background-size: 100% 100%, 100% 100%;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
            border-radius: 10px;
        }

        body.shop-page .skeleton-card::after {
            content: '';
            position: absolute;
            inset: -8% -42%;
            pointer-events: none;
            background: linear-gradient(104deg,
                    transparent 30%,
                    rgba(255, 255, 255, 0.014) 40%,
                    rgba(255, 255, 255, 0.075) 46%,
                    rgba(255, 255, 255, 0.2) 50%,
                    rgba(255, 255, 255, 0.075) 54%,
                    rgba(255, 255, 255, 0.014) 60%,
                    transparent 70%);
            transform: translate3d(-160%, 0, 0) skewX(-18deg);
            opacity: 0;
            will-change: transform, opacity;
            animation: shopSkeletonSweep 1.72s cubic-bezier(0.38, 0, 0.22, 1) infinite;
            z-index: 2;
        }

        .skeleton-filter {
            width: 60px;
            height: 36px;
            border-radius: 20px;
        }

        body.shop-page .skeleton-filter {
            width: 112px;
            height: auto;
            padding: 8px 18px;
            min-height: 36px;
            border-radius: 999px;
            box-sizing: border-box;
            display: inline-flex;
            align-items: center;
        }

        .skeleton-card {
            border-radius: 16px;
            overflow: hidden;
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        body.shop-page .skeleton-card {
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 332px;
            background: linear-gradient(180deg,
                    rgba(19, 26, 40, 0.98) 0%,
                    rgba(22, 31, 47, 0.94) 100%);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow:
                0 16px 32px rgba(2, 6, 23, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        .skeleton-image-shell {
            position: relative;
            height: 160px;
            overflow: hidden;
            border-bottom: 1px solid rgba(148, 163, 184, 0.12);
            background: var(--shop-skeleton-shell-bg);
        }

        body.shop-page .skeleton-card:nth-child(2n)::after {
            animation-delay: -0.24s;
        }

        body.shop-page .skeleton-card:nth-child(3n)::after {
            animation-delay: -0.52s;
        }

        body.shop-page .skeleton-card:nth-child(4n)::after {
            animation-delay: -0.8s;
        }

        @media (prefers-reduced-motion: reduce) {
            body.shop-page .skeleton-card::after {
                animation: none;
                opacity: 0.12;
                transform: none;
            }
        }

        .skeleton-content {
            padding: 24px;
        }

        body.shop-page .skeleton-content {
            display: flex;
            flex: 1;
            flex-direction: column;
            gap: 10px;
        }

        .skeleton-title {
            height: 20px;
            width: 68%;
            border-radius: 10px;
        }

        .skeleton-desc {
            height: 14px;
            width: 90%;
        }

        .skeleton-desc--short {
            width: 62%;
            margin-bottom: 10px;
        }

        .skeleton-footer {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 16px;
            margin-top: auto;
            padding-top: 18px;
        }

        .skeleton-price-value {
            width: 34px;
            height: 26px;
            border-radius: 10px;
        }

        .skeleton-btn {
            width: 92px;
            height: 36px;
            border-radius: 999px;
            flex: 0 0 auto;
        }


/* shop.html inline style block 3 (from line 1549) */
.category-filters {
                    display: flex;
                    gap: 10px;
                    margin: 0 auto 22px;
                    padding: 6px 0;
                    justify-content: center;
                    flex-wrap: wrap;
                    width: min(100%, 980px);
                    transition: gap 0.24s ease, margin-bottom 0.24s ease, padding 0.24s ease;
                    /* Auto wrap for mobile/narrow screens */
                }

                .shop-main .filter-tab {
                    padding: 8px 20px;
                    border-radius: 20px;
                    background: rgba(0, 0, 0, 0.05);
                    /* Light mode default */
                    border: 1px solid rgba(0, 0, 0, 0.1);
                    color: #64748b;
                    /* Slate-500 */
                    cursor: pointer;
                    font-size: 14px;
                    flex: 0 0 auto;
                    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, padding 0.24s ease, font-size 0.24s ease;
                    white-space: nowrap;
                    backdrop-filter: blur(10px);
                    -webkit-tap-highlight-color: transparent;
                    /* Prevent iOS tap highlight */
                }

                /* Only apply hover effects on devices that support hover (not touch) */
                @media (hover: hover) {
                    .shop-main .filter-tab:hover {
                        background: rgba(0, 0, 0, 0.1);
                        color: #1e293b;
                        transform: translateY(-2px);
                        box-shadow: 0 4px 12px rgba(107, 158, 206, 0.15), 0 0 20px rgba(107, 158, 206, 0.1);
                    }

                    [data-theme="dark"] .shop-main .filter-tab:hover {
                        background: rgba(255, 255, 255, 0.15);
                        color: #fff;
                        box-shadow: 0 4px 12px rgba(107, 158, 206, 0.25), 0 0 20px rgba(107, 158, 206, 0.15);
                    }
                }

                /* Dark Mode Overrides */
                [data-theme="dark"] .shop-main .filter-tab {
                    background: rgba(255, 255, 255, 0.05);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    color: rgba(255, 255, 255, 0.6);
                }

                .shop-main .filter-tab.active {
                    background: #6b9ece;
                    border-color: #6b9ece;
                    color: #fff;
                    box-shadow: 0 4px 15px rgba(107, 158, 206, 0.3);
                }

                @media (max-width: 980px) {
                    .category-filters {
                        justify-content: center;
                        flex-wrap: wrap;
                        width: min(100%, 760px);
                        margin: 0 auto 18px;
                        padding: 4px 0 8px;
                        gap: 8px;
                    }
                }

                @media (max-width: 768px) {
                    .category-filters {
                        width: 100%;
                        margin: 0 auto 16px;
                        padding: 2px 0 6px;
                        gap: 8px;
                    }

                    .shop-main .filter-tab {
                        padding: 8px 16px;
                        font-size: 13px;
                    }

                    .shop-main .filter-tab.active {
                        box-shadow: 0 4px 12px rgba(107, 158, 206, 0.24);
                    }
                }

/* BEGIN 20260324_INLINE_STYLE_ATTRS_BATCH_1 shop.html */
/* Extracted inline style attributes from shop.html. */
.shop-inline-style-attr-1 { margin-bottom: 20px; }
.shop-inline-style-attr-2 { width:50px; }
.shop-inline-style-attr-3 { width:70px; }
.shop-inline-style-attr-4 { width:55px; }
.shop-inline-style-attr-5 { text-align: center; margin-bottom: 20px; }
.shop-inline-style-attr-6 { font-size: 1.2rem; margin-bottom: 5px; }
.shop-inline-style-attr-7 { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.shop-inline-style-attr-8 { margin: 15px 10px; text-align: left; }
.shop-inline-style-attr-9 { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 5px; }
.shop-inline-style-attr-10 { display: flex; gap: 8px; }
.shop-inline-style-attr-11 { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); color: #fff; outline: none; transition: border-color 0.2s; }
.shop-inline-style-attr-12 { padding: 0 16px; border-radius: 8px; background: rgba(107, 158, 206, 0.2); color: #6b9ece; border: 1px solid rgba(107, 158, 206, 0.3); cursor: pointer; font-weight: 500; transition: all 0.2s; white-space: nowrap; }
.shop-inline-style-attr-13 { font-size: 12px; margin-top: 6px; }
.shop-inline-style-attr-14 { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; padding: 0 10px; }
.shop-inline-style-attr-15 { text-align: left; }
.shop-inline-style-attr-16 { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.shop-inline-style-attr-17 { font-family: 'Outfit'; color: #fbbf24; }
.shop-purchase-price-note { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 6px; font-family: var(--font-sans); font-size: 0.72rem; line-height: 1.35; color: rgba(255,255,255,0.48); }
.shop-purchase-price-note[hidden] { display: none !important; }
.shop-purchase-price-note__original span { color: rgba(255,255,255,0.54); text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.shop-purchase-price-note__tier-row { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.shop-purchase-price-note__tier { color: rgba(56,189,248,0.95); font-weight: 800; }
.shop-purchase-price-note--tier .shop-purchase-price-note__original span { text-decoration-color: #0ea5e9; }
.shop-tier-rules-popover-wrap { position: relative; display: inline-flex; align-items: center; }
.shop-tier-rules-help { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid rgba(56,189,248,0.42); background: rgba(14,165,233,0.12); color: #38bdf8; font-family: 'Outfit'; font-size: 0.75rem; font-weight: 800; line-height: 1; cursor: help; padding: 0; }
.shop-tier-rules-help:focus-visible { outline: 2px solid rgba(56,189,248,0.45); outline-offset: 2px; }
.shop-tier-rules-popover { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 50; min-width: 168px; max-width: min(260px, 68vw); padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(125,211,252,0.24); background: rgba(15,23,42,0.94); box-shadow: 0 16px 34px rgba(15,23,42,0.26); color: rgba(226,232,240,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease; }
.shop-tier-rules-popover::after { content: ''; position: absolute; left: 8px; top: 100%; border-width: 6px 6px 0 6px; border-style: solid; border-color: rgba(15,23,42,0.94) transparent transparent transparent; }
.shop-tier-rules-popover-wrap:hover .shop-tier-rules-popover,
.shop-tier-rules-popover-wrap:focus-within .shop-tier-rules-popover,
.shop-tier-rules-popover-wrap.is-open .shop-tier-rules-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.shop-tier-rules-popover__title { display: block; margin-bottom: 5px; color: #7dd3fc; font-weight: 800; white-space: nowrap; }
.shop-tier-rules-popover__rule { display: block; white-space: nowrap; color: rgba(226,232,240,0.88); }
.shop-inline-style-attr-18 { text-align: right; }
.shop-inline-style-attr-19 { font-family: 'Outfit'; font-size: 1.4rem; color: #4ade80; font-weight: 700; }
.shop-inline-style-attr-20 { font-size: 0.9rem; font-weight: 500; }
.shop-inline-style-attr-21 { margin: 0 10px 20px; }
.shop-inline-style-attr-22 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: rgba(255,255,255,0.68); font-size: 0.96rem; text-align: left; }
.shop-inline-style-attr-23 { color: #fbbf24; }
.shop-purchase-usage-icon { color: #22c55e; }
.shop-inline-style-attr-24 { white-space: pre-wrap; font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.75; }
.shop-inline-style-attr-25 { width: 100%; }
.shop-inline-style-attr-26 { z-index: 99999; }
.shop-inline-style-attr-29 { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.shop-inline-style-attr-30 { font-size: 8px; color: #60a5fa; }
.shop-inline-style-attr-31 { margin-bottom: 20px; padding: 15px; word-break: break-all; user-select: text; text-align: left; max-height: 280px; overflow-y: auto; }
.shop-inline-style-attr-32 { font-family: monospace; font-size: 14px; color: #fff; white-space: pre-wrap; overflow-x: auto; }
.shop-inline-style-attr-33 { margin-bottom: 20px; }
.shop-inline-style-attr-34 { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.shop-inline-style-attr-35 { color: #60a5fa; }
.shop-inline-style-attr-36 { font-size: 13px; color: rgba(255,255,255,0.85); white-space: pre-wrap; word-break: break-word; }
.shop-inline-style-attr-37 { margin-bottom: 20px; padding: 12px; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); text-align: left; }
.shop-inline-style-attr-13[hidden],
.shop-inline-style-attr-21[hidden],
.shop-inline-style-attr-33[hidden],
.shop-inline-style-attr-37[hidden] { display: none !important; }
.shop-inline-style-attr-38 { display: flex; gap: 10px; align-items: flex-start; }
.shop-inline-style-attr-39 { color: #fbbf24; margin-top: 3px; }
.shop-inline-style-attr-40 { color: #fbbf24; font-size: 13px; line-height: 1.4; }
.shop-inline-style-attr-41 { font-weight: 600; margin-bottom: 2px; }
.shop-inline-style-attr-42 { flex: 1; }
/* END 20260324_INLINE_STYLE_ATTRS_BATCH_1 shop.html */

.shop-purchase-notes-title {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.shop-purchase-notes-toggle {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    width: 38px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.shop-purchase-notes-toggle:focus-visible {
    color: rgba(255, 255, 255, 0.9);
    outline: none;
}

.shop-purchase-notes-toggle:focus-visible .shop-purchase-notes-toggle__switch {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 3px rgba(107, 158, 206, 0.14);
}

.shop-purchase-notes-toggle__switch {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.shop-purchase-notes-toggle__knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.shop-purchase-notes-toggle.is-active {
    color: #dbeafe;
}

.shop-purchase-notes-toggle.is-active .shop-purchase-notes-toggle__switch {
    background: #22c55e;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.shop-purchase-notes-toggle.is-active .shop-purchase-notes-toggle__knob {
    transform: translateX(14px);
    background: #ffffff;
}

#shopPurchaseModal #purchaseNotesCard[hidden],
#shopPurchaseModal #purchaseUsageCard[hidden] {
    display: none !important;
}

.shop-purchase-discount {
    margin: 18px 10px 16px;
    text-align: left;
}

.shop-purchase-discount__label {
    margin-bottom: 8px;
    padding-left: 2px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(226, 232, 240, 0.48);
}

.shop-purchase-discount__field {
    display: block;
}

.shop-purchase-discount__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 54px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(13, 18, 26, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}

.shop-purchase-discount__input-wrap::before {
    display: none;
}

.shop-purchase-discount__input-wrap:hover {
    border-color: rgba(148, 163, 184, 0.15);
    background: rgba(14, 20, 29, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shop-purchase-discount__input-wrap:focus-within {
    border-color: rgba(148, 163, 184, 0.1);
    background: rgba(13, 18, 26, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shop-purchase-discount__input {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
    height: 44px;
    padding: 0 16px 0 14px;
    border: none;
    outline: none;
    border-radius: 14px;
    background: rgba(19, 26, 36, 0.9);
    color: #f8fafc;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.shop-purchase-discount__input::placeholder {
    color: rgba(148, 163, 184, 0.58);
    font-weight: 400;
}

#shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:focus,
#shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:focus-visible {
    border: 1px solid rgba(125, 181, 234, 0.34) !important;
    box-shadow: none !important;
    outline: none !important;
}

.shop-purchase-discount__action {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.12);
    color: rgba(220, 252, 231, 0.9);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition:
        border-color 0.16s ease,
        background-color 0.16s ease,
        color 0.16s ease;
}

.shop-purchase-discount__action:hover:not(:disabled) {
    border-color: rgba(52, 211, 153, 0.24);
    background: rgba(52, 211, 153, 0.16);
    color: rgba(236, 253, 245, 0.96);
}

.shop-purchase-discount__action:active:not(:disabled) {
    background: rgba(52, 211, 153, 0.13);
}

.shop-purchase-discount__action:disabled {
    cursor: wait;
    opacity: 0.62;
}

.shop-purchase-discount__action i {
    font-size: 13px;
}

.shop-purchase-discount__feedback {
    margin-top: 10px;
    font-size: 12px;
}

/* Light theme storefront polish. Navigation is intentionally untouched. */
html:not([data-theme="dark"]),
html:not([data-theme="dark"]) body.shop-page {
    background-color: var(--site-theme-chrome-color, var(--shop-light-page-bg, #eef2f7)) !important;
}

html:not([data-theme="dark"]) body.shop-page {
    --shop-light-surface: #ffffff;
    --shop-light-soft: #f8fafc;
    --shop-light-soft-strong: #f1f5f9;
    --shop-light-border: rgba(15, 23, 42, 0.08);
    --shop-light-border-strong: rgba(15, 23, 42, 0.12);
    --shop-light-text: #172033;
    --shop-light-muted: rgba(23, 32, 51, 0.62);
    --shop-light-faint: rgba(23, 32, 51, 0.42);
    --shop-light-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    background: var(--site-theme-chrome-color, var(--shop-light-page-bg, #eef2f7));
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page #starryCanvas {
    opacity: 0;
    visibility: hidden;
}

html:not([data-theme="dark"]) body.shop-page .shop-main {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-title {
    background: linear-gradient(135deg, #172033 0%, #4f78aa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-subtitle {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-card .shop-card-breathe-shell,
html:not([data-theme="dark"]) body.shop-page .skeleton-card {
    background: var(--shop-light-surface);
    border-color: var(--shop-light-border);
    box-shadow: var(--shop-light-shadow);
}

html:not([data-theme="dark"]) body.shop-page .shop-card:hover .shop-card-breathe-shell {
    border-color: rgba(107, 158, 206, 0.3);
    box-shadow: 0 22px 52px rgba(32, 72, 112, 0.12);
}

html:not([data-theme="dark"]) body.shop-page .shop-card--in-cart .shop-card-breathe-shell {
    border-color: rgba(245, 158, 11, 0.24);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.08),
        0 0 0 3px rgba(245, 158, 11, 0.08);
}

@media (max-width: 768px) {
    body.shop-page .shop-card.user-product-card .shop-card-breathe-shell {
        transition:
            box-shadow 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            border-color 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            background 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            filter 0.42s ease;
    }

    body.shop-page .shop-card.user-product-card.shop-card-filter-enter {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    body.shop-page .shop-card.user-product-card.shop-card-filter-enter.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    body.shop-page .shop-card.user-product-card.shop-card-filter-moving {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

}

html:not([data-theme="dark"]) body.shop-page .shop-card-original-price {
    color: rgba(23, 32, 51, 0.38);
}

html:not([data-theme="dark"]) body.shop-page .shop-add-cart-btn,
html:not([data-theme="dark"]) body.shop-page .shop-btn-secondary,
html:not([data-theme="dark"]) body.shop-page #purchaseAddToCartBtn,
html:not([data-theme="dark"]) body.shop-page #purchaseBackBtn {
    background: #ffffff;
    color: #31506f;
    border: 1px solid rgba(49, 80, 111, 0.14);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html:not([data-theme="dark"]) body.shop-page .shop-add-cart-btn:hover,
html:not([data-theme="dark"]) body.shop-page .shop-btn-secondary:hover,
html:not([data-theme="dark"]) body.shop-page #purchaseAddToCartBtn:hover,
html:not([data-theme="dark"]) body.shop-page #purchaseBackBtn:hover {
    background: var(--shop-light-soft);
    color: #172033;
    border-color: rgba(49, 80, 111, 0.22);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseAddToCartBtn:hover,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseBackBtn:hover {
    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.06),
        inset 0 1px 3px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseAddToCartBtn:active,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseBackBtn:active {
    box-shadow:
        0 3px 8px rgba(15, 23, 42, 0.05),
        inset 0 1px 3px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-actions .shop-btn {
    box-shadow:
        0 5px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-actions .shop-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 7px 14px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal #copyContentBtn {
    box-shadow:
        0 6px 14px rgba(34, 197, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal #copyContentBtn:hover {
    box-shadow:
        0 8px 16px rgba(34, 197, 94, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: brightness(1.04);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal #exportContentBtn {
    border-color: rgba(226, 232, 240, 0.95) !important;
    box-shadow:
        0 5px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal #exportContentBtn:hover {
    background: #ffffff !important;
    box-shadow:
        0 7px 14px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .shop-status-message,
html:not([data-theme="dark"]) body.shop-page .shop-status-message--muted {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-status-message--error {
    color: #dc2626;
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"] {
    background: rgba(255, 255, 255, 0.94);
    color: var(--shop-light-text);
    border-color: rgba(16, 185, 129, 0.26);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"][data-variant="error"] {
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.24);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"][data-variant="info"] {
    color: #31506f;
    border-color: rgba(107, 158, 206, 0.24);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"][data-variant="info"]::before {
    background: rgba(107, 158, 206, 0.14);
    color: #31506f;
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"][data-variant="sold-out"] {
    color: #111827;
    border-color: rgba(239, 68, 68, 0.72);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast[data-shop-toast-global="1"][data-variant="sold-out"]::before {
    border: 0;
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-success-toast:not([data-shop-toast-global="1"]) {
    background: rgba(255, 255, 255, 0.94);
    color: var(--shop-light-text);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

html:not([data-theme="dark"]) body.shop-page .shop-empty-title,
html:not([data-theme="dark"]) body.shop-page .content-card .item-name,
html:not([data-theme="dark"]) body.shop-page .shop-success-summary-bar__count,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__title,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__title,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item-title,
html:not([data-theme="dark"]) body.shop-page .shop-cart-empty h4,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-confirm-card__title {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-summary-bar__label,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__submeta,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__time,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__footer-meta,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__subtitle,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__price span,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item-meta,
html:not([data-theme="dark"]) body.shop-page .shop-cart-empty p,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__hint,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-confirm-row,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-7,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-9,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-16,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-22,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-24,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-29,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-34,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-36,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__label {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-item__reveal-code {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-success-item__reveal-code:hover,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__reveal-code:focus-visible {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .content-card,
html:not([data-theme="dark"]) body.shop-page .shop-success-item,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-confirm-card,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item,
html:not([data-theme="dark"]) body.shop-page .shop-cart-summary,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__summary {
    background: var(--shop-light-soft);
    border-color: var(--shop-light-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .content-card .item-content-box,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__notes-panel,
html:not([data-theme="dark"]) body.shop-page .shop-success-item__usage-panel,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__notes-panel,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__usage-panel {
    background: #ffffff;
    border-color: var(--shop-light-border);
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__content-panel {
    max-height: min(46vh, 420px);
    background: #edf4fb;
    border-color: rgba(49, 80, 111, 0.14);
    color: rgba(23, 32, 51, 0.74);
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__notes-panel:not([hidden]),
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__usage-panel:not([hidden]) {
    max-height: none;
    min-height: 0;
    overflow: visible;
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__content-card,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__content-card[data-shop-copy-content]:hover {
    padding: 0 !important;
    background: transparent;
    border-color: transparent;
    color: rgba(23, 32, 51, 0.74);
    box-shadow: none;
    transform: none;
}

html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__content-card .item-text,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .shop-success-item__content-card .item-text * {
    font-family: inherit;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(23, 32, 51, 0.74);
    -webkit-text-fill-color: rgba(23, 32, 51, 0.74);
}

[data-theme="dark"] body.shop-page #shopSuccessModal .shop-success-item__content-panel {
    background: rgba(18, 26, 36, 0.58);
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

[data-theme="dark"] body.shop-page #shopSuccessModal .shop-success-item__content-card,
[data-theme="dark"] body.shop-page #shopSuccessModal .shop-success-item__content-card[data-shop-copy-content]:hover {
    padding: 0 !important;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

[data-theme="dark"] body.shop-page #shopSuccessModal .shop-success-item__content-card .item-text,
[data-theme="dark"] body.shop-page #shopSuccessModal .shop-success-item__content-card .item-text * {
    font-family: inherit;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.88);
    -webkit-text-fill-color: rgba(226, 232, 240, 0.88);
}

html:not([data-theme="dark"]) body.shop-page .shop-expand-toggle {
    background: var(--shop-light-soft);
    color: var(--shop-light-muted);
    border: 1px solid var(--shop-light-border);
}

html:not([data-theme="dark"]) body.shop-page .shop-expand-toggle:hover {
    background: var(--shop-light-soft-strong);
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .skeleton,
html:not([data-theme="dark"]) body.shop-page .skeleton-title,
html:not([data-theme="dark"]) body.shop-page .skeleton-desc,
html:not([data-theme="dark"]) body.shop-page .skeleton-price-value,
html:not([data-theme="dark"]) body.shop-page .skeleton-btn {
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
    background-size: 200% 100%;
}

html:not([data-theme="dark"]) body.shop-page .skeleton-image-shell {
    background: #f8fafc;
    border-bottom-color: var(--shop-light-border);
}

html:not([data-theme="dark"]) body.shop-page .skeleton-card::after {
    background: linear-gradient(104deg,
            transparent 30%,
            rgba(255, 255, 255, 0.15) 40%,
            rgba(255, 255, 255, 0.65) 50%,
            rgba(255, 255, 255, 0.15) 60%,
            transparent 70%);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor {
    background: rgba(255, 255, 255, 0.88);
    color: var(--shop-light-text);
    border-color: var(--shop-light-border);
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(241, 245, 249, 0.18));
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor:hover,
html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor.is-feedback {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow:
        0 26px 58px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(245, 158, 11, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor__icon {
    background: #fff7ed;
    border-color: rgba(245, 158, 11, 0.18);
    color: #d97706;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor__copy span,
html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor__hint {
    color: var(--shop-light-muted);
}

@media (max-width: 1180px) {
    body.shop-page {
        --shop-mobile-floating-glass-bg: rgba(0, 0, 0, 0.48);
        --shop-mobile-floating-glass-border: rgba(255, 255, 255, 0.055);
        --shop-mobile-floating-glass-filter: var(--glass-blur-heavy, blur(20px)) saturate(150%);
        --shop-mobile-floating-glass-shadow:
            0 2px 8px rgba(0, 0, 0, 0.12),
            inset 0 0.5px 0 rgba(255, 255, 255, 0.025);
    }

    html:not([data-theme="dark"]) body.shop-page {
        --shop-mobile-floating-glass-bg: rgba(255, 255, 255, 0.76);
        --shop-mobile-floating-glass-border: rgba(15, 23, 42, 0.065);
        --shop-mobile-floating-glass-shadow:
            0 2px 8px rgba(15, 23, 42, 0.045),
            inset 0 0.5px 0 rgba(255, 255, 255, 0.34);
    }

    body.shop-page .shop-cart-anchor,
    body.shop-page .shop-cart-anchor:hover,
    body.shop-page .shop-cart-anchor:focus-visible,
    body.shop-page .shop-cart-anchor.is-feedback,
    body.shop-page .chat-widget-fab,
    body.shop-page .chat-widget-fab:hover,
    body.shop-page .chat-widget-fab:active,
    body.shop-page .chat-widget-fab:focus,
    body.shop-page .chat-widget-fab:focus-visible {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border: 1px solid var(--shop-mobile-floating-glass-border) !important;
        border-radius: 18px !important;
        background: var(--shop-mobile-floating-glass-bg) !important;
        background-color: var(--shop-mobile-floating-glass-bg) !important;
        backdrop-filter: var(--shop-mobile-floating-glass-filter) !important;
        -webkit-backdrop-filter: var(--shop-mobile-floating-glass-filter) !important;
        box-shadow: var(--shop-mobile-floating-glass-shadow) !important;
    }

    body.shop-page .chat-widget-fab {
        top: auto !important;
        right: 16px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
        transform: none !important;
        display: block !important;
        box-sizing: border-box;
        overflow: visible;
        isolation: isolate;
    }

    body.shop-page .shop-cart-anchor {
        left: auto;
        right: 16px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
        padding: 0;
        justify-content: center;
        gap: 0;
        transform: none;
    }

    body.shop-page .shop-cart-anchor__pulse,
    body.shop-page .shop-cart-anchor__copy,
    body.shop-page .shop-cart-anchor__hint {
        display: none !important;
    }

    body.shop-page .shop-cart-anchor__icon {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: inherit;
    }

    body.shop-page .shop-cart-anchor__icon i {
        font-size: 24px;
        line-height: 1;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__robot,
    body.shop-page .chat-widget-fab.chat-widget-fab--peek.chat-widget-fab--ambient-retracted .chat-widget-fab__robot {
        top: 5px !important;
        left: 0 !important;
        right: auto !important;
        width: 56px !important;
        height: 46px !important;
        transform: none !important;
        z-index: 1;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek:active .chat-widget-fab__robot {
        transform: scale(0.96) !important;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__glow {
        inset: 8px 8px 5px;
        opacity: 0.14;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__shadow {
        right: 12px;
        top: 42px;
        opacity: 0.1;
    }

    body.shop-page .shop-cart-anchor::before,
    body.shop-page .shop-cart-anchor:hover::before {
        background: transparent !important;
    }

    body.shop-page .shop-cart-anchor__icon,
    body.shop-page .shop-cart-anchor:hover .shop-cart-anchor__icon,
    body.shop-page .shop-cart-anchor:focus-visible .shop-cart-anchor__icon {
        position: relative;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        color: #d97706;
    }

    .shop-cart-anchor__badge {
        position: absolute;
        top: 7px;
        right: 7px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        display: inline-grid;
        place-items: center;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.58);
        background: rgba(217, 119, 6, 0.94);
        color: #fffaf2;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
        box-shadow: none;
        transform: translate(20%, -20%);
    }

    .shop-cart-anchor__badge[hidden] {
        display: none !important;
    }

    html[data-theme="dark"] body.shop-page .shop-cart-anchor__icon,
    html[data-theme="dark"] body.shop-page .shop-cart-anchor:hover .shop-cart-anchor__icon,
    html[data-theme="dark"] body.shop-page .shop-cart-anchor:focus-visible .shop-cart-anchor__icon {
        color: #ffd39a;
    }

    html[data-theme="dark"] body.shop-page .shop-cart-anchor__badge {
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 211, 154, 0.92);
        color: #2a1602;
    }
}

html:not([data-theme="dark"]) body.shop-page[data-shop-cart-open="true"] .shop-cart-backdrop {
    background: rgba(248, 250, 252, 0.62);
    backdrop-filter: blur(12px) saturate(1.04);
    -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer {
    background: rgba(255, 255, 255, 0.96);
    color: var(--shop-light-text);
    border-color: var(--shop-light-border);
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 20%, #ffffff 100%);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__title {
    border-color: rgba(245, 158, 11, 0.24);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__title::before {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 58%, #d97706 100%);
    filter:
        drop-shadow(0 5px 9px rgba(245, 158, 11, 0.22))
        drop-shadow(0 0 6px rgba(251, 191, 36, 0.18));
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__title::after {
    border-color: transparent;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__label,
html:not([data-theme="dark"]) body.shop-page .shop-cart-summary__row strong,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__summary-row strong {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-drawer__eyebrow,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__eyebrow,
html:not([data-theme="dark"]) body.shop-page .shop-cart-summary__row,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__summary-row {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item {
    background: #ffffff;
    border-color: var(--shop-light-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__thumb,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__icon,
html:not([data-theme="dark"]) body.shop-page .shop-cart-empty__icon {
    background: #fff7ed;
    border: 1px solid rgba(245, 158, 11, 0.16);
    color: #d97706;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__title-btn:hover,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__title-btn:focus-visible {
    color: #31506f;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__remove {
    background: #fff1f2;
    border-color: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__pill,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item-pill,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__quantity,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__qty-btn {
    background: var(--shop-light-soft);
    border-color: var(--shop-light-border);
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__pill--notice,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item-pill--notice {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.18);
    color: #92400e;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__pill--usage,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout__item-pill--usage {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.16);
    color: #047857;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__pill--toggle.is-active.shop-cart-item__pill--notice {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.26);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.1);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__pill--toggle.is-active.shop-cart-item__pill--usage {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.24);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.09);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel {
    font-family: var(--font-sans, 'Outfit'), 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.78;
    letter-spacing: 0.01em;
    color: #334155;
    -webkit-text-fill-color: #334155;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--notice {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.22);
    color: #78350f !important;
    -webkit-text-fill-color: #78350f !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--usage {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.2);
    color: #064e3b !important;
    -webkit-text-fill-color: #064e3b !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--notice *,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--usage * {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--notice a,
html:not([data-theme="dark"]) body.shop-page .shop-cart-item__panel--usage a {
    color: #2563eb !important;
    -webkit-text-fill-color: #2563eb !important;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-item__qty-btn {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-btn--ghost {
    background: #ffffff;
    color: #31506f;
    border-color: rgba(49, 80, 111, 0.14);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

html:not([data-theme="dark"]) body.shop-page .shop-cart-btn--ghost:hover:not([disabled]) {
    background: var(--shop-light-soft);
    border-color: rgba(49, 80, 111, 0.22);
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .premium-modal,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .modal-content,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal .modal-content.shop-success-modal,
html:not([data-theme="dark"]) body.shop-page .shop-cart-checkout-modal {
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--shop-light-text);
    border: 1px solid var(--shop-light-border) !important;
    box-shadow:
        0 34px 80px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

/* Keep light shop modals from falling back to the global dark overlay while closing. */
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal,
html:not([data-theme="dark"]) body.shop-page #shopCartCheckoutModal {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal.active,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal.active,
html:not([data-theme="dark"]) body.shop-page #shopCartCheckoutModal.active {
    background: rgba(248, 250, 252, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html:not([data-theme="dark"]) body.shop-page .card-title,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-confirm-row strong,
html:not([data-theme="dark"]) body.shop-page #purchasedContent {
    background: none !important;
    color: var(--shop-light-text) !important;
    -webkit-text-fill-color: var(--shop-light-text) !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-qty-btn,
html:not([data-theme="dark"]) body.shop-page .shop-quantity-input {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-stage-header {
    margin-bottom: 22px !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseStageTitle {
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    letter-spacing: 0.5px !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #modalProductName {
    color: rgba(23, 32, 51, 0.68) !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #modalProductName[hidden] {
    display: none !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-quantity-control {
    gap: 12px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-selector__label {
    color: rgba(23, 32, 51, 0.72);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option {
    border-color: var(--shop-light-border);
    background: #ffffff;
    color: var(--shop-light-text);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.035);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option:hover:not(:disabled) {
    background: var(--shop-light-soft);
    border-color: rgba(107, 158, 206, 0.36);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option.is-selected {
    border-color: rgba(24, 128, 78, 0.48);
    background: rgba(235, 253, 244, 0.96);
    box-shadow:
        0 0 0 3px rgba(34, 197, 94, 0.12),
        0 5px 14px rgba(15, 23, 42, 0.045);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option__meta {
    color: rgba(23, 32, 51, 0.6);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-qty-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--shop-light-border);
    background: #ffffff;
    color: rgba(23, 32, 51, 0.72);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.035);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-qty-btn:hover {
    background: var(--shop-light-soft);
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-qty-input {
    border: 1px solid var(--shop-light-border);
    background: var(--shop-light-soft);
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input {
    width: 118px;
    min-width: 118px;
    height: 56px;
    margin: 0 10px;
    box-sizing: border-box;
    border: 2px solid rgba(107, 158, 206, 0.18) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
    caret-color: #172033 !important;
    opacity: 1 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 52px;
    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input:focus {
    border-color: rgba(107, 158, 206, 0.36) !important;
    background: #ffffff !important;
    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input:disabled {
    color: rgba(23, 32, 51, 0.58) !important;
    -webkit-text-fill-color: rgba(23, 32, 51, 0.58) !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-qty-btn:hover {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-qty-input,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__input-wrap,
html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__input,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-11 {
    background: var(--shop-light-soft);
    color: var(--shop-light-text);
    border-color: var(--shop-light-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .shop-qty-input:focus {
    background: #ffffff;
    border-color: rgba(107, 158, 206, 0.28);
    box-shadow: 0 0 0 3px rgba(107, 158, 206, 0.12);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__input-wrap:focus-within {
    background: var(--shop-light-soft);
    border-color: var(--shop-light-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__input::placeholder {
    color: rgba(23, 32, 51, 0.36);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input {
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
    caret-color: #172033 !important;
    opacity: 1 !important;
    background: #ffffff !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:focus,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:focus-visible {
    border: 1px solid rgba(107, 158, 206, 0.28) !important;
    box-shadow: none !important;
    outline: none !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input::placeholder {
    color: rgba(23, 32, 51, 0.36) !important;
    -webkit-text-fill-color: rgba(23, 32, 51, 0.36) !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:-webkit-autofill,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:-webkit-autofill:hover,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input:-webkit-autofill:focus {
    -webkit-text-fill-color: #172033 !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    caret-color: #172033 !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__action,
html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-12 {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.18);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-discount__action:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.16);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.26);
}

html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-17 {
    color: #d97706;
}

html:not([data-theme="dark"]) body.shop-page .tier-badge-glass {
    background: rgba(40, 40, 40, 0.6);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.34);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-price-note {
    color: rgba(100, 116, 139, 0.86);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-price-note__original span {
    color: rgba(100, 116, 139, 0.78);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-price-note__tier {
    color: #0369a1;
}

html:not([data-theme="dark"]) body.shop-page .shop-tier-rules-help {
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.28);
    color: #0284c7;
}

html:not([data-theme="dark"]) body.shop-page .shop-tier-rules-popover {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(2, 132, 199, 0.18);
    color: rgba(15, 23, 42, 0.86);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

html:not([data-theme="dark"]) body.shop-page .shop-tier-rules-popover::after {
    border-color: rgba(255, 255, 255, 0.96) transparent transparent transparent;
}

html:not([data-theme="dark"]) body.shop-page .shop-tier-rules-popover__title {
    color: #0369a1;
}

html:not([data-theme="dark"]) body.shop-page .shop-tier-rules-popover__rule {
    color: rgba(15, 23, 42, 0.78);
}

html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-19 {
    color: #22c55e;
}

html:not([data-theme="dark"]) body.shop-page .shop-inline-style-attr-23 {
    color: #f59e0b;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-usage-icon {
    color: #18804e;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesBox,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageBox {
    margin: 0 10px 18px;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle {
    color: rgba(49, 64, 88, 0.72);
    background: transparent;
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle:focus-visible {
    color: #172033;
    background: transparent;
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle:focus-visible .shop-purchase-notes-toggle__switch {
    box-shadow:
        inset 0 0 0 1px rgba(49, 80, 111, 0.08),
        0 0 0 3px rgba(49, 80, 111, 0.1);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle__switch {
    background: rgba(49, 80, 111, 0.16);
    box-shadow: inset 0 0 0 1px rgba(49, 80, 111, 0.08);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle__knob {
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(49, 80, 111, 0.22);
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle.is-active {
    color: #31506f;
    background: transparent;
}

html:not([data-theme="dark"]) body.shop-page .shop-purchase-notes-toggle.is-active .shop-purchase-notes-toggle__switch {
    background: #22c55e;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--shop-light-soft) !important;
    border: 1px solid var(--shop-light-border) !important;
    border-top-color: var(--shop-light-border) !important;
    border-left-color: var(--shop-light-border) !important;
    color: rgba(23, 32, 51, 0.74) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card:hover,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card:hover {
    background: var(--shop-light-soft) !important;
    border-color: var(--shop-light-border) !important;
    box-shadow: none !important;
    transform: none !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesContent,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesContent :not([style*="color"]):not([color]),
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageContent,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageContent :not([style*="color"]):not([color]) {
    color: rgba(23, 32, 51, 0.74) !important;
    -webkit-text-fill-color: rgba(23, 32, 51, 0.74) !important;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseNotesContent a,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseUsageContent a {
    color: #31506f !important;
    -webkit-text-fill-color: #31506f !important;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-assets-group__title,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__cta,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__meta,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__hint,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__scope,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall__title,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall__footer,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall__row-copy span {
    color: var(--shop-light-muted);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-link,
html:not([data-theme="dark"]) body.shop-page .shop-discount-assets-empty,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall {
    background: #ffffff;
    color: var(--shop-light-text);
    border-color: var(--shop-light-border);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-name,
html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__summary-reason,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall__row-copy strong,
html:not([data-theme="dark"]) body.shop-page .shop-price-waterfall__row-value {
    color: var(--shop-light-text);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-link {
    background: #ffffff;
    border-color: var(--shop-light-border);
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__benefit {
    background: rgba(219, 39, 119, 0.1);
    border-color: rgba(219, 39, 119, 0.3);
    color: #be185d;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__stacking--exclusive {
    background: rgba(217, 119, 6, 0.12);
    border-color: rgba(217, 119, 6, 0.34);
    color: #b45309;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__stacking--stackable {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.28);
    color: #0f766e;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-link:hover {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.24);
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-action {
    background: transparent;
    border-color: transparent;
    color: #059669;
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__target-link:hover .shop-discount-asset-card__target-action {
    background: transparent;
    border-color: transparent;
    color: #047857;
    box-shadow: none;
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__chevron {
    background: rgba(23, 32, 51, 0.04);
    box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.12);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card__chevron::before {
    border-color: rgba(23, 32, 51, 0.72);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__chevron {
    background: rgba(34, 197, 94, 0.1);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.24);
}

html:not([data-theme="dark"]) body.shop-page .shop-discount-asset-card--collapsible[open] .shop-discount-asset-card__chevron::before {
    border-color: rgba(22, 163, 74, 0.9);
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 720px) {
        body.shop-page {
            --shop-mobile-browser-chrome-bottom-gap: 64px;
        }

        html:not([data-theme="dark"]) body.shop-page .framer-nav {
            background-color: rgba(255, 255, 255, 0.76) !important;
            backdrop-filter: var(--glass-blur, blur(10px)) !important;
            -webkit-backdrop-filter: var(--glass-blur, blur(10px)) !important;
            border-bottom-color: rgba(15, 23, 42, 0.08) !important;
            box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035) !important;
            transition: none !important;
        }

        html:not([data-theme="dark"]) body.shop-page .framer-nav.scrolled {
            background-color: rgba(255, 255, 255, 0.9) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            border-bottom-color: rgba(15, 23, 42, 0.08) !important;
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035) !important;
            transition: none !important;
        }

        html:not([data-theme="dark"]).mobile-menu-open body.shop-page .framer-nav,
        html:not([data-theme="dark"]) body.shop-page.mobile-menu-open .framer-nav,
        html:not([data-theme="dark"]) body.shop-page .framer-nav:has(.nav-hamburger.active) {
            background-color: rgba(255, 255, 255, 0.92) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            border-bottom-color: rgba(15, 23, 42, 0.08) !important;
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035) !important;
            transition: none !important;
        }

        body.shop-page .shop-cart-anchor {
            bottom: calc(env(safe-area-inset-bottom, 0px) + var(--shop-mobile-browser-chrome-bottom-gap, 64px) + 76px);
            backdrop-filter: var(--shop-mobile-floating-glass-filter) !important;
            -webkit-backdrop-filter: var(--shop-mobile-floating-glass-filter) !important;
        }

        body.shop-page .shop-cart-anchor::before {
            background: transparent !important;
        }

        body.shop-page .chat-widget-fab {
            bottom: calc(env(safe-area-inset-bottom, 0px) + var(--shop-mobile-browser-chrome-bottom-gap, 64px) + 8px) !important;
        }

        html:not([data-theme="dark"]) body.shop-page .shop-cart-anchor,
        html:not([data-theme="dark"]) body.shop-page .chat-widget-fab {
            background: var(--shop-mobile-floating-glass-bg) !important;
            background-color: var(--shop-mobile-floating-glass-bg) !important;
            border-color: var(--shop-mobile-floating-glass-border) !important;
            box-shadow: var(--shop-mobile-floating-glass-shadow) !important;
        }

        html[data-theme="dark"] body.shop-page .shop-cart-anchor,
        html[data-theme="dark"] body.shop-page .chat-widget-fab {
            background: var(--shop-mobile-floating-glass-bg) !important;
            background-color: var(--shop-mobile-floating-glass-bg) !important;
            border-color: var(--shop-mobile-floating-glass-border) !important;
            box-shadow: var(--shop-mobile-floating-glass-shadow) !important;
        }
    }
}

@media (max-width: 1180px) and (hover: hover) and (pointer: fine) {
    body.shop-page .chat-widget-fab,
    body.shop-page .chat-widget-fab:hover,
    body.shop-page .chat-widget-fab:active,
    body.shop-page .chat-widget-fab:focus,
    body.shop-page .chat-widget-fab:focus-visible {
        width: 92px !important;
        height: 76px !important;
        min-width: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    body.shop-page .chat-widget-fab {
        top: 85% !important;
        right: 0 !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    body.shop-page .chat-widget-fab:hover {
        transform: translateY(calc(-50% - 2px)) !important;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__robot {
        top: 8px !important;
        left: auto !important;
        right: -8px !important;
        width: 64px !important;
        height: 48px !important;
        transform: translateX(8px) scaleX(0.84) scaleY(1.04) rotate(-4deg) !important;
        transition:
            transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
            filter 240ms ease;
        will-change: transform, filter;
        z-index: auto;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek.chat-widget-fab--ambient-retracted .chat-widget-fab__robot {
        transform: translateX(18px) scaleX(0.8) scaleY(1.06) rotate(-5deg) !important;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek:hover .chat-widget-fab__robot {
        transform: translateX(-8px) scale(1.04) !important;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek:active .chat-widget-fab__robot {
        transform: translateX(-5px) scale(0.98) !important;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__glow {
        inset: 8px 10px 4px 4px;
        opacity: 0.18;
        transform: none;
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek.chat-widget-fab--ambient-retracted .chat-widget-fab__glow {
        opacity: 0.1;
        transform: scale(0.92) translateX(4px);
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek:hover .chat-widget-fab__glow {
        opacity: 0.28;
        transform: scale(1.08);
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek .chat-widget-fab__shadow {
        right: 18px;
        top: 56px;
        width: 32px;
        opacity: 0.1;
        transform: scaleX(0.74) translateX(12px);
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek.chat-widget-fab--ambient-retracted .chat-widget-fab__shadow {
        opacity: 0.06;
        transform: scaleX(0.6) translateX(18px);
    }

    body.shop-page .chat-widget-fab.chat-widget-fab--peek:hover .chat-widget-fab__shadow {
        opacity: 0.2;
        transform: scaleX(0.98) translateX(-12px);
    }
}

/* 20260424_PUBLIC_LIGHT_MODAL_BACKDROP_1 */
html:not([data-theme="dark"]) body.shop-page {
    --shop-light-modal-backdrop: var(--app-modal-backdrop, rgba(31, 76, 118, 0.20));
    --shop-light-modal-backdrop-filter: var(--app-modal-backdrop-filter, blur(8px) saturate(108%));
}

html:not([data-theme="dark"]) body.shop-page[data-shop-cart-open="true"] .shop-cart-backdrop,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal.active,
html:not([data-theme="dark"]) body.shop-page #shopSuccessModal.active,
html:not([data-theme="dark"]) body.shop-page #shopCartCheckoutModal.active {
    background: var(--shop-light-modal-backdrop) !important;
    backdrop-filter: var(--shop-light-modal-backdrop-filter) !important;
    -webkit-backdrop-filter: var(--shop-light-modal-backdrop-filter) !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
}

/* 20260523_SHOP_PURCHASE_MODAL_ROOMIER_1 */
@media (min-width: 769px) {
    #shopPurchaseModal .modal-content {
        width: min(calc(100% - 72px), 820px) !important;
        max-width: 820px !important;
        padding: clamp(38px, 3.4vw, 50px) clamp(42px, 4.2vw, 60px) clamp(34px, 3.6vw, 46px) !important;
    }

    #shopPurchaseModal .shop-purchase-stage-header {
        max-width: 560px;
        margin: 0 auto 28px !important;
    }

    #shopPurchaseModal .shop-purchase-stage-sku {
        margin-bottom: 24px;
    }

    #shopPurchaseModal .shop-sku-selector__label {
        margin-bottom: 12px;
    }

    #shopPurchaseModal .shop-sku-selector__options {
        grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
        gap: 14px;
    }

    #shopPurchaseModal .shop-sku-option {
        min-height: 76px;
        padding: 14px 16px;
        border-radius: 16px;
    }

    #shopPurchaseModal .shop-quantity-wrapper {
        margin-bottom: 30px;
    }

    #shopPurchaseModal .shop-purchase-discount {
        margin: 18px 0 20px;
    }

    #shopPurchaseModal .shop-purchase-discount__input-wrap {
        min-height: 58px;
    }

    #shopPurchaseModal .shop-inline-style-attr-14 {
        margin-bottom: 30px;
        padding: 0;
    }

    #shopPurchaseModal #purchaseNotesBox,
    #shopPurchaseModal #purchaseUsageBox {
        margin: 0 0 24px;
    }

    #shopPurchaseModal .shop-purchase-actions {
        gap: 16px;
    }

    #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn,
    #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn {
        flex: 0 0 172px;
        min-height: 48px;
    }
}

/* 20260523_SHOP_PURCHASE_MODAL_NARROW_1 */
@media (min-width: 769px) and (max-width: 980px) {
    #shopPurchaseModal .modal-content {
        width: min(calc(100% - 48px), 720px) !important;
        max-width: 720px !important;
        padding: 30px 34px 32px !important;
        border-radius: 30px !important;
    }

    #shopPurchaseModal .shop-purchase-stage-header {
        margin-bottom: 22px !important;
    }

    #shopPurchaseModal .shop-purchase-stage-sku {
        margin-bottom: 18px;
    }

    #shopPurchaseModal .shop-sku-selector__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    #shopPurchaseModal .shop-sku-option {
        min-height: 66px;
        padding: 11px 12px;
        border-radius: 14px;
    }

    #shopPurchaseModal .shop-sku-option__name {
        font-size: 13px;
        line-height: 1.18;
    }

    #shopPurchaseModal .shop-sku-option__meta {
        font-size: 11px;
        line-height: 1.22;
    }

    #shopPurchaseModal .shop-quantity-wrapper {
        margin-bottom: 22px;
    }

    #shopPurchaseModal .shop-purchase-discount {
        margin: 12px 0 16px;
    }

    #shopPurchaseModal .shop-purchase-discount__input-wrap {
        min-height: 52px;
    }

    #shopPurchaseModal .shop-inline-style-attr-14 {
        margin-bottom: 22px;
    }

    #shopPurchaseModal #purchaseNotesBox,
    #shopPurchaseModal #purchaseUsageBox {
        margin-bottom: 18px;
    }

    #shopPurchaseModal .shop-purchase-actions {
        gap: 12px;
    }

    #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn,
    #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
    }
}

/* 20260523_SHOP_PURCHASE_MODAL_COMPACT_NARROW_1 */
@media (max-width: 768px) {
    #shopPurchaseModal .modal-content {
        width: min(calc(100% - 32px), 600px) !important;
        padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 28px !important;
    }

    #shopPurchaseModal .shop-purchase-stage-header {
        margin-bottom: 18px !important;
    }

    #shopPurchaseModal #purchaseStageTitle {
        font-size: 1.08rem !important;
        margin-bottom: 4px !important;
    }

    #shopPurchaseModal #modalProductName {
        font-size: 0.88rem !important;
    }

    #shopPurchaseModal .shop-purchase-stage-sku {
        gap: 8px;
        margin-bottom: 16px;
    }

    #shopPurchaseModal .shop-sku-selector__label {
        margin-bottom: 8px;
        font-size: 12px;
    }

    #shopPurchaseModal .shop-sku-selector__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    #shopPurchaseModal .shop-sku-option {
        min-height: 60px;
        padding: 10px;
        border-radius: 14px;
    }

    #shopPurchaseModal .shop-sku-option__name {
        font-size: 12px;
        line-height: 1.18;
    }

    #shopPurchaseModal .shop-sku-option__meta {
        font-size: 10px;
        line-height: 1.2;
    }

    #shopPurchaseModal .shop-quantity-wrapper {
        margin-bottom: 18px;
    }

    #shopPurchaseModal .shop-qty-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input {
        width: 94px;
        min-width: 94px;
        height: 48px;
        margin: 0 6px;
        font-size: 1.08rem;
        line-height: 44px;
    }

    #shopPurchaseModal .shop-purchase-discount {
        margin: 10px 0 14px;
    }

    #shopPurchaseModal .shop-purchase-discount__input-wrap {
        min-height: 48px;
    }

    #shopPurchaseModal .shop-purchase-discount__input {
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    #shopPurchaseModal .shop-purchase-discount__action {
        min-width: 76px;
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    #shopPurchaseModal .shop-inline-style-attr-14 {
        margin-bottom: 20px;
        padding: 0;
    }

    #shopPurchaseModal #purchaseNotesBox,
    #shopPurchaseModal #purchaseUsageBox {
        margin: 0 0 16px;
    }
}

@media (max-width: 460px) {
    #shopPurchaseModal .shop-sku-selector__options {
        grid-template-columns: 1fr;
    }
}

/* 20260524_SHOP_PURCHASE_SKU_COMBO_1 */
#shopPurchaseModal .modal-content {
    display: flex !important;
    flex-direction: column;
    width: min(calc(100% - 56px), 760px) !important;
    max-width: 760px !important;
    max-height: min(840px, calc(100dvh - 96px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
    overflow: hidden !important;
    padding: clamp(26px, 3vw, 36px) clamp(28px, 4vw, 46px) 0 !important;
}

#shopPurchaseModal .shop-purchase-stage-header {
    flex: 0 0 auto;
    margin-bottom: 18px !important;
}

#shopPurchaseModal .shop-purchase-scroll {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 16px;
    margin: 0 calc(clamp(28px, 4vw, 46px) * -1);
    padding: 0 clamp(28px, 4vw, 46px) 18px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#shopPurchaseModal .shop-purchase-scroll::-webkit-scrollbar {
    width: 6px;
}

#shopPurchaseModal .shop-purchase-scroll::-webkit-scrollbar-track {
    background: transparent;
}

#shopPurchaseModal .shop-purchase-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
}

#shopPurchaseModal .shop-purchase-dock {
    flex: 0 0 auto;
    display: grid;
    gap: 14px;
    margin: 0 calc(clamp(28px, 4vw, 46px) * -1);
    padding: 16px clamp(28px, 4vw, 46px) calc(22px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background:
        linear-gradient(180deg, rgba(8, 12, 18, 0.84), rgba(8, 12, 18, 0.98));
    box-shadow: 0 -18px 34px rgba(8, 12, 18, 0.18);
}

#shopPurchaseModal .shop-purchase-stage-summary {
    margin: 0 !important;
    padding: 0 !important;
}

#shopPurchaseModal .shop-purchase-stage-action {
    margin: 0 !important;
    padding: 0 !important;
}

#shopPurchaseModal #purchaseStageTitle {
    max-width: min(100%, 660px);
    margin-inline: auto;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-align: center;
    overflow-wrap: anywhere;
}

#shopPurchaseModal #modalProductName[hidden] {
    display: none !important;
}

#shopPurchaseModal .shop-purchase-stage-sku {
    gap: 10px;
    margin: 0 !important;
}

#shopPurchaseModal .shop-sku-selector__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

#shopPurchaseModal .shop-sku-selector__label {
    margin: 0 !important;
    font-size: 13px;
    font-weight: 800;
}

#shopPurchaseModal .shop-sku-selector__current {
    min-width: 0;
    color: rgba(203, 213, 225, 0.72);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#shopPurchaseModal .shop-sku-selector__current-value {
    color: #22c55e;
    font-weight: 900;
}

#shopPurchaseModal .shop-sku-selector__current.is-low-stock .shop-sku-selector__current-value {
    color: #ef4444;
}

#shopPurchaseModal .shop-sku-selector__current.is-normal-stock .shop-sku-selector__current-value {
    color: #22c55e;
}

#shopPurchaseModal .shop-sku-selector__options--pills,
#shopPurchaseModal .shop-sku-spec-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    isolation: isolate;
}

#shopPurchaseModal .shop-sku-selector__options--pills {
    max-height: 148px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}

#shopPurchaseModal .shop-sku-option--pill,
#shopPurchaseModal .shop-sku-spec-option {
    min-width: 0;
    min-height: 38px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(248, 250, 252, 0.9);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    box-shadow: none;
    transform: translateZ(0);
    transform-origin: center;
    touch-action: manipulation;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

#shopPurchaseModal .shop-sku-option--pill {
    flex-direction: row;
    text-align: center;
}

#shopPurchaseModal .shop-sku-option--pill .shop-sku-option__name {
    font-size: inherit;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#shopPurchaseModal .shop-sku-option--pill:hover:not(:disabled),
#shopPurchaseModal .shop-sku-spec-option:hover:not(:disabled) {
    border-color: rgba(134, 239, 172, 0.4);
    background: rgba(34, 197, 94, 0.12);
}

#shopPurchaseModal .shop-sku-option--pill.is-selected,
#shopPurchaseModal .shop-sku-spec-option.is-selected {
    border-color: rgba(134, 239, 172, 0.72);
    background: rgba(34, 197, 94, 0.16);
    color: #ecfdf5;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

#shopPurchaseModal .shop-sku-option--pill.is-disabled,
#shopPurchaseModal .shop-sku-option--pill:disabled,
#shopPurchaseModal .shop-sku-spec-option.is-disabled,
#shopPurchaseModal .shop-sku-spec-option:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    transform: none;
}

#shopPurchaseModal .shop-sku-selector__groups {
    display: grid;
    gap: 12px;
}

#shopPurchaseModal .shop-sku-spec-group {
    display: grid;
    grid-template-columns: minmax(56px, max-content) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

#shopPurchaseModal .shop-sku-spec-group__label {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    color: rgba(203, 213, 225, 0.76);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

#shopPurchaseModal .shop-quantity-wrapper,
#shopPurchaseModal .shop-purchase-discount,
#shopPurchaseModal #purchaseNotesBox,
#shopPurchaseModal #purchaseUsageBox {
    margin: 0 !important;
}

#shopPurchaseModal .shop-quantity-control {
    justify-content: center;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-dock {
    border-top-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.98));
    box-shadow: 0 -18px 34px rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-selector__current,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-group__label {
    color: rgba(23, 32, 51, 0.6);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option--pill,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-option {
    border-color: var(--shop-light-border);
    background: #ffffff;
    color: var(--shop-light-text);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.035);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option--pill:hover:not(:disabled),
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-option:hover:not(:disabled) {
    background: rgba(235, 253, 244, 0.9);
    border-color: rgba(24, 128, 78, 0.28);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option--pill.is-selected,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-option.is-selected {
    border-color: rgba(24, 128, 78, 0.48);
    background: rgba(235, 253, 244, 0.96);
    color: #064e3b;
    box-shadow:
        0 0 0 3px rgba(34, 197, 94, 0.12),
        0 5px 14px rgba(15, 23, 42, 0.045);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option--pill.is-disabled,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-option--pill:disabled,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-option.is-disabled,
html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-sku-spec-option:disabled {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(241, 245, 249, 0.72);
    color: rgba(71, 85, 105, 0.62);
    box-shadow: none;
}

@media (min-width: 769px) {
    #shopPurchaseModal .shop-purchase-actions {
        justify-content: space-between;
    }

    #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn,
    #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn {
        flex: 0 0 min(220px, 32%);
        min-height: 48px;
    }
}

@media (max-width: 768px) {
    #shopPurchaseModal .modal-content {
        width: min(calc(100% - 28px), 620px) !important;
        max-height: min(760px, calc(100dvh - 96px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
        overflow: hidden !important;
        padding: 20px 16px 0 !important;
    }

    #shopPurchaseModal .shop-purchase-scroll {
        gap: 13px;
        margin: 0 -16px;
        padding: 0 16px 14px;
    }

    #shopPurchaseModal .shop-purchase-dock {
        gap: 12px;
        margin: 0 -16px;
        padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    #shopPurchaseModal .shop-sku-selector__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    #shopPurchaseModal .shop-sku-selector__current {
        max-width: 100%;
        text-align: left;
    }

    #shopPurchaseModal .shop-sku-selector__options--pills {
        max-height: 124px;
        gap: 7px;
    }

    #shopPurchaseModal .shop-sku-option--pill,
    #shopPurchaseModal .shop-sku-spec-option {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    #shopPurchaseModal .shop-sku-spec-group {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    #shopPurchaseModal .shop-sku-spec-group__label {
        min-height: auto;
    }
}

/* 20260524_SHOP_PURCHASE_SKU_COMPACT_2 */
#shopPurchaseModal .shop-sku-selector__options--pills {
    margin-top: 0;
    padding: 6px 2px 8px 0;
    scroll-padding-top: 8px;
}

#shopPurchaseModal .shop-sku-spec-group__options {
    padding: 6px 0 7px;
}

#shopPurchaseModal .shop-purchase-stage-quantity {
    margin-top: -2px !important;
}

#shopPurchaseModal .shop-quantity-control {
    gap: 8px;
}

#shopPurchaseModal .shop-qty-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
}

#shopPurchaseModal #purchaseQuantity.shop-qty-input {
    width: 88px;
    min-width: 88px;
    height: 42px;
    margin: 0 6px;
    font-size: 1.08rem;
    line-height: 38px;
}

#shopPurchaseModal .shop-purchase-discount__label {
    margin-bottom: 6px;
}

#shopPurchaseModal .shop-purchase-discount__input-wrap {
    min-height: 46px;
    padding: 3px;
    border-radius: 14px;
}

#shopPurchaseModal .shop-purchase-discount__input {
    height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 14px;
}

#shopPurchaseModal .shop-purchase-discount__action {
    min-width: 78px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 11px;
}

#shopPurchaseModal .shop-purchase-discount__feedback {
    margin-top: 8px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-quantity-control {
    gap: 8px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-qty-btn {
    width: 38px;
    height: 38px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input {
    width: 88px;
    min-width: 88px;
    height: 42px;
    margin: 0 6px;
    font-size: 1.08rem;
    line-height: 38px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input {
    height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 14px;
}

@media (max-width: 768px) {
    #shopPurchaseModal .shop-purchase-scroll {
        gap: 10px;
        padding-bottom: 12px;
    }

    #shopPurchaseModal .shop-sku-selector__header {
        align-items: baseline;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    #shopPurchaseModal .shop-sku-selector__label {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    #shopPurchaseModal .shop-sku-selector__current {
        flex: 0 0 auto;
        max-width: 50%;
        margin-left: auto;
        text-align: right;
    }

    #shopPurchaseModal .shop-sku-selector__options--pills {
        max-height: 116px;
    }

    #shopPurchaseModal .shop-purchase-stage-quantity {
        margin-top: -4px !important;
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-stage-quantity {
        margin-top: 0 !important;
    }

    #shopPurchaseModal .shop-qty-btn,
    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-qty-btn {
        width: 36px;
        height: 36px;
        font-size: 1.14rem;
    }

    #shopPurchaseModal #purchaseQuantity.shop-qty-input,
    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseQuantity.shop-qty-input {
        width: 78px;
        min-width: 78px;
        height: 40px;
        margin: 0 5px;
        font-size: 1.04rem;
        line-height: 36px;
    }

    #shopPurchaseModal .shop-purchase-discount__label {
        margin-bottom: 5px;
    }

    #shopPurchaseModal .shop-purchase-discount__input-wrap {
        min-height: 44px;
        padding: 3px;
    }

    #shopPurchaseModal .shop-purchase-discount__input,
    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal #purchaseDiscountCode.shop-purchase-discount__input {
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    #shopPurchaseModal .shop-purchase-discount__action {
        min-width: 72px;
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* 20260524_SHOP_PURCHASE_SPLIT_2 */
#shopPurchaseModal .shop-purchase-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#shopPurchaseModal .shop-purchase-config-panel {
    display: grid;
    align-content: start;
    gap: 12px;
}

#shopPurchaseModal .shop-purchase-discount {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
    contain: paint;
}

#shopPurchaseModal .shop-purchase-discount.is-animating {
    overflow: hidden;
}

#shopPurchaseModal .shop-purchase-discount__summary {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    cursor: pointer;
    line-height: 1;
    list-style: none;
}

#shopPurchaseModal .shop-purchase-discount__summary::-webkit-details-marker {
    display: none;
}

#shopPurchaseModal .shop-purchase-discount__summary::after {
    content: "";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(220, 252, 231, 0.92);
    background-color: rgba(52, 211, 153, 0.12);
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px 2px, 2px 10px;
    transform: translateY(5px);
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 180ms ease,
        color 180ms ease;
}

#shopPurchaseModal .shop-purchase-discount.is-expanded .shop-purchase-discount__summary::after {
    transform: translateY(5px) rotate(45deg);
}

#shopPurchaseModal .shop-purchase-discount__label {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(203, 213, 225, 0.82);
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: 0;
    transform: translateY(3.5px);
}

#shopPurchaseModal .shop-purchase-discount__summary-meta {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin-left: auto;
    color: rgba(203, 213, 225, 0.48);
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    transform: translateY(3.5px);
}

#shopPurchaseModal .shop-purchase-discount__fold {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 10px;
    opacity: 0;
    transform-origin: top;
    pointer-events: none;
    visibility: hidden;
    transition:
        grid-template-rows 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 140ms ease,
        visibility 0s linear 260ms;
    will-change: grid-template-rows, opacity;
}

#shopPurchaseModal .shop-purchase-discount.is-expanded .shop-purchase-discount__fold {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
        grid-template-rows 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 140ms ease 35ms,
        visibility 0s linear;
}

#shopPurchaseModal .shop-purchase-discount__fold-inner {
    min-height: 0;
    overflow: hidden;
    display: grid;
    gap: 8px;
    padding-bottom: 10px;
    transform: translateY(-6px);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

#shopPurchaseModal .shop-purchase-discount.is-expanded .shop-purchase-discount__fold-inner {
    transform: translateY(0);
}

#shopPurchaseModal .shop-purchase-stage-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

#shopPurchaseModal .shop-purchase-dock .shop-purchase-stage-quantity {
    display: flex;
    justify-content: center;
    margin: 0 !important;
}

#shopPurchaseModal .shop-purchase-dock .shop-quantity-control {
    justify-content: center;
}

#shopPurchaseModal .shop-purchase-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-discount {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.78);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-discount__label {
    color: rgba(23, 32, 51, 0.68);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-discount__summary-meta {
    color: rgba(23, 32, 51, 0.42);
}

html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-discount__summary::after {
    background-color: rgba(16, 185, 129, 0.1);
    color: #047857;
}

@media (min-width: 901px) {
    #shopPurchaseModal .modal-content {
        width: min(calc(100% - 64px), 1040px) !important;
        max-width: 1040px !important;
        max-height: min(720px, calc(100dvh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
        padding: clamp(26px, 2.7vw, 34px) clamp(28px, 3.4vw, 42px) clamp(24px, 2.8vw, 34px) !important;
    }

    #shopPurchaseModal .shop-purchase-stage-header {
        margin-bottom: 22px !important;
    }

    #shopPurchaseModal #purchaseStageTitle {
        max-width: 720px;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: 0.5px;
    }

    #shopPurchaseModal .shop-purchase-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
        gap: clamp(22px, 3vw, 34px);
        align-items: start;
    }

    #shopPurchaseModal .shop-purchase-scroll {
        min-height: 0;
        max-height: min(500px, calc(100dvh - 210px));
        margin: 0;
        padding: 6px 2px 6px 0;
        border: 0;
    }

    #shopPurchaseModal .shop-purchase-config-panel {
        gap: 12px;
    }

    #shopPurchaseModal .shop-sku-selector__options--pills {
        max-height: 112px;
    }

    #shopPurchaseModal .shop-purchase-dock {
        position: sticky;
        top: 0;
        align-self: start;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 14px;
        margin: 0;
        padding: 18px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 24px;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(8, 12, 18, 0.86));
        box-shadow: none;
    }

    #shopPurchaseModal .shop-purchase-stage-summary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        align-items: end;
        padding-top: 16px !important;
        border-top: 1px solid rgba(148, 163, 184, 0.16);
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount {
        width: 100%;
        border-radius: 16px;
        background: rgba(148, 163, 184, 0.08);
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount__summary {
        height: 38px;
        min-height: 38px;
        padding: 0 12px;
        cursor: default;
        pointer-events: none !important;
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount__summary::after {
        content: none;
        display: none;
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount__fold,
    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount.is-expanded .shop-purchase-discount__fold {
        grid-template-rows: 1fr;
        padding: 0 8px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: none;
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount__fold-inner,
    #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount.is-expanded .shop-purchase-discount__fold-inner {
        padding-bottom: 8px;
        transform: none;
        transition: none;
    }

    #shopPurchaseModal .shop-inline-style-attr-15 {
        text-align: left;
    }

    #shopPurchaseModal .shop-inline-style-attr-18 {
        padding-top: 0;
        border-top: 0;
        text-align: right;
    }

    #shopPurchaseModal .shop-purchase-dock .shop-purchase-stage-quantity {
        min-height: 58px;
        align-items: center;
        padding: 6px 0;
        border-radius: 18px;
        background: rgba(148, 163, 184, 0.08);
    }

    #shopPurchaseModal .shop-purchase-dock .shop-quantity-control {
        width: 100%;
        justify-content: center;
    }

    #shopPurchaseModal .shop-purchase-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    #shopPurchaseModal .shop-purchase-stage-action {
        margin-top: auto !important;
    }

    #shopPurchaseModal [data-purchase-step="configure"] #purchaseAddToCartBtn,
    #shopPurchaseModal [data-purchase-step="configure"] #nextPurchaseStepBtn {
        flex: none;
        width: 100%;
        min-height: 46px;
        min-width: 0;
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-dock {
        border-color: rgba(15, 23, 42, 0.08);
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.98));
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-stage-summary {
        border-top-color: rgba(15, 23, 42, 0.08);
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-dock .shop-purchase-stage-quantity {
        background: rgba(248, 250, 252, 0.86);
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-dock .shop-purchase-discount {
        background: rgba(248, 250, 252, 0.86);
    }
}

@media (max-width: 900px) {
    #shopPurchaseModal {
        --shop-purchase-guidance-bottom-reserve: clamp(124px, 18dvh, 158px);
        --shop-purchase-guidance-dock-gap: 16px;
        --shop-purchase-guidance-card-max: clamp(132px, 18dvh, 168px);
        --shop-purchase-guidance-card-bottom-inset: 20px;
    }

    #shopPurchaseModal .modal-content {
        padding-bottom: clamp(18px, 4vw, 24px) !important;
    }

    #shopPurchaseModal .shop-purchase-body {
        min-height: 0;
    }

    #shopPurchaseModal .shop-purchase-scroll {
        flex: 1 1 auto;
        margin: 0;
        padding: 0 0 22px;
        scroll-padding-bottom: var(--shop-purchase-guidance-bottom-reserve);
    }

    #shopPurchaseModal .shop-purchase-dock {
        margin: 0;
        padding: 0 0 calc(2px + env(safe-area-inset-bottom, 0px));
        border-top: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html:not([data-theme="dark"]) body.shop-page #shopPurchaseModal .shop-purchase-dock {
        border-top-color: transparent;
        background: transparent !important;
        box-shadow: none !important;
    }

    #shopPurchaseModal #purchaseNotesBox.is-expanded,
    #shopPurchaseModal #purchaseUsageBox.is-expanded {
        margin-bottom: 0 !important;
    }

    #shopPurchaseModal .shop-purchase-body:has(#purchaseNotesBox.is-expanded) .shop-purchase-scroll,
    #shopPurchaseModal .shop-purchase-body:has(#purchaseUsageBox.is-expanded) .shop-purchase-scroll {
        flex: 1 1 auto;
        padding-bottom: var(--shop-purchase-guidance-dock-gap);
    }

    #shopPurchaseModal .shop-purchase-body:has(#purchaseNotesBox.is-expanded) .shop-purchase-config-panel,
    #shopPurchaseModal .shop-purchase-body:has(#purchaseUsageBox.is-expanded) .shop-purchase-config-panel {
        gap: 6px;
    }

    #shopPurchaseModal #purchaseNotesCard.shop-success-usage-card,
    #shopPurchaseModal #purchaseUsageCard.shop-success-usage-card {
        box-sizing: border-box;
        max-height: var(--shop-purchase-guidance-card-max);
        overflow-y: auto;
        padding-bottom: var(--shop-purchase-guidance-card-bottom-inset) !important;
        scroll-padding-bottom: var(--shop-purchase-guidance-card-bottom-inset);
    }

    #shopPurchaseModal .shop-purchase-body:has(#purchaseNotesBox.is-expanded) .shop-purchase-dock,
    #shopPurchaseModal .shop-purchase-body:has(#purchaseUsageBox.is-expanded) .shop-purchase-dock {
        gap: 8px;
        padding-top: 2px;
    }

    #shopPurchaseModal .shop-purchase-body:has(#purchaseNotesBox.is-expanded) .shop-purchase-dock .shop-purchase-stage-quantity,
    #shopPurchaseModal .shop-purchase-body:has(#purchaseUsageBox.is-expanded) .shop-purchase-dock .shop-purchase-stage-quantity {
        min-height: 0;
        margin-top: 0 !important;
        padding-block: 0;
    }
}
