        .cart-btn {
            border: 1px solid var(--primary);
        }
        .cart-btn:hover { border-color: var(--primary-light); }
        .cart-btn svg { width: 18px; height: 18px; }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            width: 32px;
            height: 32px;
            position: relative;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .mobile-menu-btn span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
        .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            flex-direction: column;
            position: fixed;
            top: 0;
            right: 0;
            width: 200px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
            padding: 8px 0;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
            z-index: 999;
        }

        .mobile-menu.active { display: flex; }

        .mobile-menu a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            padding: 10px 20px;
            border-bottom: 1px solid var(--border);
            transition: color 0.2s ease;
        }

        .mobile-menu a:last-child { border-bottom: none; }
        .mobile-menu a:hover, .mobile-menu a.active { color: var(--text-primary); }

        /* ========== CHECKOUT BREADCRUMB ========== */
        .breadcrumb-bar {
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }

        .breadcrumb a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumb a:hover { color: var(--text-primary); }
        .breadcrumb .sep { color: var(--text-muted); }
        .breadcrumb .current { color: var(--text-primary); font-weight: 600; }

        /* ========== CHECKOUT PROGRESS ========== */
        .progress-bar {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px 24px;
        }

        .progress-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
        }

        .progress-step {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .step-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            border: 2px solid var(--border);
            color: var(--text-muted);
            background: var(--bg-surface);
        }

        .step-circle.active {
            border-color: var(--primary);
            color: white;
            background: var(--primary);
        }

        .step-circle.completed {
            border-color: var(--success);
            color: white;
            background: var(--success);
        }

        .step-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
        }

        .step-label.active { color: var(--text-primary); }
        .step-label.completed { color: var(--success); }

        .step-connector {
            width: 60px;
            height: 2px;
            background: var(--border);
            margin: 0 12px;
        }

        .step-connector.completed { background: var(--success); }

        /* ========== MAIN LAYOUT ========== */
        .checkout-layout {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px 48px;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 32px;
        }

        /* ========== LEFT: FORM SECTIONS ========== */
        .checkout-form { display: flex; flex-direction: column; gap: 24px; }

        .form-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 28px;
        }

        .form-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .form-card-number {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            font-size: 13px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-card-title {
            font-size: 17px;
            font-weight: 700;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 16px;
        }

        .form-row.single { grid-template-columns: 1fr; }
        .form-row.triple { grid-template-columns: 2fr 1fr 1fr; }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 10px 14px;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            transition: border-color 0.2s;
            width: 100%;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .form-group input::placeholder { color: var(--text-muted); }
        .form-group textarea::placeholder { color: var(--text-muted); }
        .form-group textarea { resize: vertical; min-height: 80px; }
        .form-group select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 32px;
        }

        .form-group select option {
            background: var(--bg-surface);
            color: var(--text-primary);
        }

        /* ========== TERMS CHECKBOX ========== */
        .terms-check {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            cursor: pointer;
            margin-bottom: 12px;
        }

        .terms-check:last-child { margin-bottom: 0; }

        .terms-check input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: var(--primary);
            cursor: pointer;
            flex-shrink: 0;
        }

        .terms-check span {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .terms-check span strong { color: var(--text-primary); }

        /* ========== PAYMENT METHOD ========== */
        .payment-options {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }

        .payment-option {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            background: var(--bg-surface);
            padding: 14px 18px;
            border-radius: var(--radius-md);
            border: 2px solid var(--border);
            transition: all 0.2s ease;
        }

        .payment-option:hover { border-color: var(--border-hover); }

        .payment-option input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
            cursor: pointer;
            flex-shrink: 0;
        }

        .payment-option span {
            font-weight: 600;
            font-size: 14px;
            color: var(--text-primary);
        }

        .payment-option.venmo-selected {
            border-color: #3d95ce;
            background: rgba(61, 149, 206, 0.08);
        }

        .payment-option.cashapp-selected {
            border-color: #00d632;
            background: rgba(0, 214, 50, 0.08);
        }

        .payment-option.btc-selected {
            border-color: #f7931a;
            background: rgba(247, 147, 26, 0.08);
        }

        .btc-badge {
            display: inline-block;
            margin-left: 4px;
            padding: 1px 6px;
            font-size: 10px;
            font-weight: 700;
            color: #0a0a0a;
            background: #f7931a;
            border-radius: 10px;
            vertical-align: middle;
        }

        /* Bitcoin payment panel (success modal) */
        .btc-pay-panel {
            margin: 18px 0 8px;
            padding: 18px;
            text-align: left;
            background: var(--bg-surface, #161616);
            border: 1px solid #f7931a;
            border-radius: var(--radius-md, 8px);
        }

        .btc-pay-heading {
            margin: 0 0 10px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary, #fff);
        }

        .btc-pay-address-row {
            display: flex;
            align-items: stretch;
            gap: 8px;
        }

        .btc-pay-address {
            flex: 1;
            min-width: 0;
            padding: 10px 12px;
            font-family: 'JetBrains Mono', Consolas, Menlo, monospace;
            font-size: 12px;
            word-break: break-all;
            color: var(--text-primary, #fff);
            background: rgba(0, 0, 0, 0.35);
            border-radius: 6px;
        }

        .btc-copy-btn {
            flex-shrink: 0;
            padding: 0 14px;
            font-size: 13px;
            font-weight: 600;
            color: #0a0a0a;
            background: #f7931a;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }

        .btc-pay-uri {
            display: inline-block;
            margin: 10px 0 0;
            font-size: 13px;
            font-weight: 600;
            color: #f7931a;
            text-decoration: none;
        }

        .btc-pay-note {
            margin: 12px 0 14px;
            font-size: 12px;
            line-height: 1.5;
            color: var(--text-secondary, #b5b5b5);
        }

        .btc-txid-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .btc-txid-input {
            flex: 1;
            min-width: 180px;
            padding: 10px 12px;
            font-size: 13px;
            font-family: 'JetBrains Mono', Consolas, Menlo, monospace;
            color: var(--text-primary, #fff);
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid var(--border, #333);
            border-radius: 6px;
        }

        .btc-txid-submit {
            flex-shrink: 0;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 600;
            color: #0a0a0a;
            background: #f7931a;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }

        .btc-txid-submit:disabled {
            opacity: 0.6;
            cursor: default;
        }

        .btc-txid-status {
            margin-top: 10px;
            font-size: 12.5px;
            line-height: 1.5;
            color: var(--text-secondary, #b5b5b5);
        }

        .btc-txid-status.btc-txid-success {
            color: var(--success, #4ade80);
        }

        .btc-txid-status.btc-txid-error {
            color: var(--primary-light, #ff6b6b);
        }

        .payment-note {
            font-size: 12px;
            color: var(--text-muted);
            text-align: center;
        }

        /* Inline banner under the payment radios: reminds the customer NOT to
           mention products in the Cash App / Venmo payment note (peer-to-peer
           apps auto-flag keywords, account-freeze risk). Loud but compact so it
           doesn't overwhelm the form. */
        .payment-rules-banner {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            margin-top: 12px;
            padding: 12px 14px;
            background: rgba(231, 76, 60, 0.10);
            border: 2px solid #e74c3c;
            border-radius: 8px;
            font-size: 12.5px;
            line-height: 1.5;
            color: var(--text-primary);
            text-align: left;
        }

        .payment-rules-banner .payment-rules-icon {
            flex-shrink: 0;
            font-size: 18px;
            line-height: 1;
            color: #ff6b6b;
        }

        .payment-rules-banner strong {
            color: var(--text-primary);
        }

        /* Big red callout inside the order-success modal — the last thing the
           customer reads before being redirected to Cash App / Venmo. Hidden
           automatically for BTC because the BTC panel hides the entire
           #paymentRedirectNotice container. */
        .payment-note-warning {
            margin-top: 14px;
            padding: 14px 16px;
            background: rgba(231, 76, 60, 0.12);
            border: 2px solid #e74c3c;
            border-radius: 8px;
            text-align: left;
        }

        .payment-note-warning-title {
            font-size: 14px;
            font-weight: 700;
            color: #ff6b6b;
            margin-bottom: 8px;
            letter-spacing: 0.02em;
        }

        .payment-note-warning-body {
            font-size: 13px;
            line-height: 1.55;
            color: var(--text-primary);
        }

        .payment-note-warning-body strong {
            color: #ff6b6b;
        }

        /* ========== SUBMIT BUTTON ========== */
        .submit-btn {
            width: 100%;
            padding: 14px 28px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius-md);
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
            letter-spacing: 0.3px;
        }

        .submit-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(192, 57, 43, 0.4);
        }

        .submit-btn:disabled {
            background: var(--bg-elevated);
            color: var(--text-muted);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .submit-note {
            text-align: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 12px;
            line-height: 1.6;
        }

        /* ========== RIGHT: ORDER SUMMARY ========== */
        .order-sidebar { display: flex; flex-direction: column; gap: 20px; }

        .sidebar-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 24px;
            position: sticky;
            top: 90px;
            max-height: calc(100vh - 110px);
            overflow-y: auto;
        }

        .sidebar-title {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }

        /* Cart items */
        .cart-item {
            display: flex;
            gap: 12px;
            padding: 14px;
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            margin-bottom: 10px;
            border: 1px solid var(--border);
            transition: border-color 0.2s ease;
        }

        .cart-item:hover { border-color: var(--border-hover); }

        .cart-item-image {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            background: var(--bg-dark);
            flex-shrink: 0;
        }

        .cart-item-details { flex: 1; min-width: 0; }

        .cart-item-name {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
            line-height: 1.3;
        }

        .cart-item-type {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

        .cart-item-price {
            font-size: 12px;
            color: var(--success);
        }

        .cart-item-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .quantity-btn {
            width: 26px;
            height: 26px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            color: var(--text-primary);
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: inherit;
        }

        .quantity-btn:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .quantity-value {
            min-width: 28px;
            text-align: center;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 13px;
        }

        .remove-item-btn {
            padding: 4px 0;
            background: transparent;
            color: var(--text-muted);
            border: none;
            cursor: pointer;
            font-size: 11px;
            transition: color 0.2s ease;
            font-family: inherit;
        }

        .remove-item-btn:hover { color: var(--primary-light); }

        .cart-item-total {
            font-size: 15px;
            font-weight: 700;
            color: var(--success);
        }

        /* Empty cart state */
        #emptyCartMessage {
            text-align: center;
            padding: 40px 16px;
        }

        #emptyCartMessage h3 {
            color: var(--text-primary);
            font-size: 18px;
            margin-bottom: 8px;
            font-weight: 700;
        }

        #emptyCartMessage p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 14px;
        }

        .browse-products-btn {
            display: inline-block;
            padding: 12px 28px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .browse-products-btn:hover { background: var(--primary-dark); }

        /* Coupon section */
        .coupon-section {
            margin-bottom: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--border);
        }

        .coupon-section label {
            font-size: 12px;
            margin-bottom: 6px;
            display: block;
            color: var(--text-muted);
            font-weight: 500;
        }

        .coupon-row {
            display: flex;
            gap: 8px;
        }

        .coupon-row input {
            flex: 1;
            padding: 9px 12px;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            color: var(--text-primary);
            border-radius: var(--radius-sm);
            text-transform: uppercase;
            font-size: 13px;
            font-family: inherit;
        }

        .coupon-row input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .coupon-row button {
            padding: 9px 16px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            font-size: 13px;
            font-family: inherit;
            transition: background 0.2s ease;
        }

        .coupon-row button:hover { background: var(--primary-dark); }

        #couponMessage {
            margin-top: 6px;
            font-size: 12px;
            display: none;
        }

        /* Points redemption section */
        .points-section {
            margin-bottom: 14px;
            padding: 12px;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
        }
        .points-section label {
            font-size: 12px;
            font-weight: 600;
            color: var(--gold);
            display: block;
            margin-bottom: 8px;
        }
        .points-balance-display {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }
        .points-balance-display strong { color: var(--gold); }
        .points-row {
            display: flex;
            gap: 8px;
        }
        .points-row select {
            flex: 1;
            padding: 8px 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 13px;
            font-family: inherit;
        }
        .points-row select:focus { outline: none; border-color: var(--gold); }
        .points-row button {
            padding: 8px 16px;
            background: var(--gold);
            color: #000;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 600;
            cursor: pointer;
            font-size: 13px;
            font-family: inherit;
        }
        .points-row button:hover { background: #c09a38; }
        #pointsMessage {
            font-size: 12px;
            margin-top: 6px;
        }

        /* Summary totals */
        .cart-totals {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .cart-total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .cart-total-row.grand-total {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-primary);
            padding-top: 12px;
            border-top: 1px solid var(--border);
            margin-top: 12px;
        }

        /* Shipping Method Selector */
        .shipping-method-box {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 14px;
            margin-bottom: 12px;
        }

        .shipping-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            margin-bottom: 6px;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
        }

        .shipping-option:last-of-type { margin-bottom: 0; }

        .shipping-option:hover {
            border-color: var(--primary);
            background: rgba(139, 0, 0, 0.05);
        }

        .shipping-option:has(input:checked) {
            border-color: var(--primary);
            background: rgba(139, 0, 0, 0.1);
        }

        .shipping-option input[type="radio"] {
            width: 16px;
            height: 16px;
            accent-color: var(--primary);
            flex-shrink: 0;
        }

        .shipping-option-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex: 1;
        }

        .shipping-option-name {
            font-size: 13px;
            color: var(--text-primary);
            font-weight: 500;
        }

        .shipping-option-price {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Insurance */
        .insurance-box {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 14px;
            margin: 12px 0;
        }

        .insurance-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }

        .insurance-header .insurance-title {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 13px;
        }

        .insurance-header .insurance-rate {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        #insuranceCost {
            font-weight: 600;
            color: var(--success);
            font-size: 14px;
        }

        .insurance-desc {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .insurance-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .insurance-controls label {
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .insurance-controls input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--primary);
        }

        #insuranceAmountWrapper {
            display: none;
            align-items: center;
            gap: 6px;
        }

        #insuranceAmountWrapper span {
            color: var(--text-muted);
            font-size: 12px;
        }

        #insuranceAmount {
            width: 80px;
            padding: 6px 8px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 12px;
            font-family: inherit;
        }

        /* Payment info callout */
        .payment-info {
            background: rgba(39, 174, 96, 0.08);
            border: 1px solid rgba(39, 174, 96, 0.2);
            border-radius: var(--radius-md);
            padding: 16px;
            margin-top: 16px;
        }

        .payment-info h4 {
            font-size: 13px;
            font-weight: 700;
            color: var(--success);
            margin-bottom: 6px;
        }

        .payment-info p {
            font-size: 12px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Secure badge */
        .secure-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 16px;
        }

        /* ========== CONTINUE SHOPPING LINK ========== */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: var(--primary-light);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
            margin-bottom: 8px;
        }

        .back-link:hover { color: var(--primary); }

        /* ========== LOADING OVERLAY ========== */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .loading-overlay.show { display: flex; }

        .loading-content { text-align: center; }

        .spinner-large {
            width: 48px;
            height: 48px;
            border: 3px solid var(--border);
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* ========== SUCCESS MODAL ========== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .modal-overlay.show { display: flex; }

        .modal-content {
            background: var(--bg-card);
            padding: 36px;
            border-radius: var(--radius-lg);
            max-width: 480px;
            width: 90%;
            text-align: center;
            border: 1px solid var(--border);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .success-icon {
            width: 72px;
            height: 72px;
            background: var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .success-icon svg {
            width: 36px;
            height: 36px;
            fill: none;
            stroke: white;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .modal-title { color: var(--success); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
        .modal-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }

        .modal-details {
            background: var(--bg-surface);
            padding: 18px;
            border-radius: var(--radius-md);
            margin-bottom: 20px;
            border: 1px solid var(--border);
        }

        .modal-details p { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }
        .modal-details p:last-child { margin-bottom: 0; }
        .modal-details strong { color: var(--text-primary); }
        #modalInvoiceNumber { color: var(--primary-light); font-weight: 700; }
        #modalTotal { color: var(--success); font-weight: 700; }

        .redirect-notice {
            margin-top: 16px;
            padding: 14px;
            background: rgba(39, 174, 96, 0.08);
            border: 1px solid rgba(39, 174, 96, 0.2);
            border-radius: var(--radius-md);
            text-align: center;
        }

        .redirect-notice p { font-size: 15px; color: var(--success); margin: 0; font-weight: 600; }
        .redirect-notice .redirect-sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 400; }

        .modal-close-btn {
            background: var(--bg-surface);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            padding: 10px 24px;
            border-radius: var(--radius-md);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 12px;
            transition: all 0.2s ease;
            font-family: inherit;
        }

        .modal-close-btn:hover { background: var(--bg-elevated); color: var(--text-primary); border-color: var(--border-hover); }

        .btc-warning-title { color: #f7931a; }

        .btc-warning-list {
            text-align: left;
            margin: 0 0 8px;
            padding-left: 20px;
            color: var(--text-secondary);
            font-size: 13.5px;
            line-height: 1.6;
        }

        .btc-warning-list li { margin-bottom: 8px; }
        .btc-warning-list strong { color: var(--text-primary); }

        .btc-warning-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .btc-warning-confirm {
            background: #f7931a;
            color: #0a0a0a;
            border-color: #f7931a;
        }

        .btc-warning-confirm:hover {
            background: #ffa733;
            color: #0a0a0a;
            border-color: #ffa733;
        }

        /* Cash App / Venmo submit-gate modal — must acknowledge before order
           can actually be placed. Red, urgent, no click-outside dismiss. */
        .pay-note-warning-title {
            color: #ff6b6b;
            font-size: 20px;
            line-height: 1.25;
            letter-spacing: 0.01em;
        }

        .pay-note-warning-sub {
            color: var(--text-primary);
            font-size: 13.5px;
            line-height: 1.5;
        }

        .pay-note-warning-sub strong {
            color: #ff6b6b;
        }

        .pay-note-warning-list {
            text-align: left;
            margin: 4px 0 14px;
            padding-left: 20px;
            color: var(--text-secondary);
            font-size: 13.5px;
            line-height: 1.6;
        }

        .pay-note-warning-list li { margin-bottom: 10px; }
        .pay-note-warning-list strong { color: var(--text-primary); }

        .pay-note-warning-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .pay-note-warning-confirm {
            background: #e74c3c;
            color: #ffffff;
            border-color: #e74c3c;
        }

        .pay-note-warning-confirm:hover {
            background: #ff5a4a;
            color: #ffffff;
            border-color: #ff5a4a;
        }

        .site-footer {
            padding: 32px 24px;
        }

        /* ========== SCROLLBAR ========== */
        .sidebar-card::-webkit-scrollbar { width: 6px; }
        .sidebar-card::-webkit-scrollbar-track { background: transparent; }
        .sidebar-card::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
        .sidebar-card::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .checkout-layout {
                grid-template-columns: 1fr;
            }

            .order-sidebar { order: -1; }

            .sidebar-card { position: static; max-height: none; }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn { display: flex; }

            .form-row { grid-template-columns: 1fr; }
            .form-row.triple { grid-template-columns: 1fr; }
            .form-card { padding: 20px; }
            .progress-steps { gap: 0; }
            .step-label { font-size: 11px; }
            .step-connector { width: 30px; margin: 0 6px; }

            .payment-options { flex-direction: column; }
        }

        @media (max-width: 480px) {
            .step-label { display: none; }
            .step-connector { width: 24px; }
        }

        /* ========== AUTH GATE ========== */
        .auth-gate {
            display: none;
            justify-content: center;
            padding: 48px 24px;
            min-height: 50vh;
        }
        .auth-gate.show { display: flex; }
        .auth-gate-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 40px 32px;
            max-width: 460px;
            width: 100%;
        }
        .auth-gate-card h2 {
            color: var(--text-primary);
            font-size: 22px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 28px;
        }
        .auth-gate-btn {
            display: block;
            width: 100%;
            padding: 14px 20px;
            border-radius: var(--radius-md);
            font-size: 15px;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            text-decoration: none;
            border: none;
        }
        .auth-gate-btn.guest {
            background: transparent;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 13px;
            padding: 10px 16px;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
        .auth-gate-btn.guest:hover { color: var(--text-secondary); }
        .auth-gate-btn.guest span { display: none; }
        .auth-gate-divider {
            display: flex;
            align-items: center;
            margin: 24px 0;
            gap: 12px;
        }
        .auth-gate-divider::before, .auth-gate-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }
        .auth-gate-divider span {
            font-size: 12px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .auth-gate-section {
            margin-bottom: 24px;
        }
        .auth-gate-section h3 {
            color: var(--text-primary);
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .auth-gate-section p {
            color: var(--text-secondary);
            font-size: 13px;
            margin-bottom: 12px;
        }
        .auth-gate-section form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .auth-gate-section input[type="email"],
        .auth-gate-section input[type="password"] {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--bg-surface);
            color: var(--text-primary);
            font-size: 14px;
        }
        .auth-gate-section input:focus {
            outline: none;
            border-color: var(--primary);
        }
        .auth-gate-section button[type="submit"] {
            padding: 10px 20px;
            background: var(--bg-elevated);
            color: var(--text-primary);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }
        .auth-gate-section button[type="submit"]:hover {
            background: var(--primary);
            border-color: var(--primary);
        }
        .auth-gate-section .forgot-link {
            font-size: 12px;
            color: var(--text-muted);
            text-decoration: none;
        }
        .auth-gate-section .forgot-link:hover { color: var(--primary-light); }
        .auth-gate-section .auth-status {
            font-size: 13px;
            min-height: 20px;
        }
        .auth-gate-btn.register {
            background: var(--primary);
            color: #fff;
            border: 1px solid var(--primary);
        }
        .auth-gate-btn.register:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
        }
        .auth-gate-guest-row {
            text-align: center;
            margin-top: 18px;
            padding-top: 18px;
            border-top: 1px solid var(--border);
        }

        /* ========== SAVED ADDRESS DROPDOWN ========== */
        .saved-addr-section {
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }
        .saved-addr-section label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }
        .saved-addr-section select {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--bg-surface);
            color: var(--text-primary);
            font-size: 13px;
            cursor: pointer;
        }
        .saved-addr-section select:focus {
            outline: none;
            border-color: var(--primary);
        }

        /* ========== SAVE ADDRESS PROMPT ========== */
        .save-addr-prompt {
            display: none;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 14px 18px;
            margin-bottom: 24px;
        }
        .save-addr-prompt.show { display: block; }
        .save-addr-prompt p {
            font-size: 13px;
            color: var(--text-secondary);
            margin: 0 0 10px 0;
        }
        .save-addr-prompt .save-addr-row {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
        }
        .save-addr-prompt input[type="text"] {
            flex: 1;
            min-width: 120px;
            padding: 8px 12px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--bg-card);
            color: var(--text-primary);
            font-size: 13px;
        }
        .save-addr-prompt button {
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: none;
        }
        .save-addr-prompt .save-addr-save {
            background: var(--primary);
            color: white;
        }
        .save-addr-prompt .save-addr-save:hover { background: var(--primary-dark); }
        .save-addr-prompt .save-addr-dismiss {
            background: transparent;
            color: var(--text-muted);
            border: 1px solid var(--border);
        }
        .save-addr-prompt .save-addr-dismiss:hover { color: var(--text-primary); }
        .save-addr-prompt .save-addr-status {
            width: 100%;
            font-size: 12px;
            margin-top: 6px;
        }
