:root {
            --gold: #D4AF37;
            --gold-glow: rgba(212, 175, 55, 0.2);
            --dark-bg: #0a0a0a;
            --card-bg: #151515;
            --card-hover: #1c1c1c;
            --border: #222;
            --text-muted: #666;
            --accent-blue: #00b4d8;
            --radius-md: 8px;
        }

        body {
            background: #000;
            color: #fff;
            margin: 0;
            font-family: 'Outfit', sans-serif;
            min-height: 100vh;
            padding-top: 68px;
        }

        /* --- HEADER --- */
        .premium-header {
            background: #0a0a0c;
            padding: 12px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid rgba(212, 175, 55, 0.3);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 10000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
            gap: 15px;
            box-sizing: border-box;
        }

        .header-logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-title {
            color: var(--gold);
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.6rem;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Integrated Header Quick Navigator */
        .quick-nav {
            position: static;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            z-index: 10;
            background: rgba(20, 20, 25, 0.7);
            padding: 6px 12px;
            border-radius: 24px;
            border: 1px solid rgba(212, 175, 55, 0.25);
            backdrop-filter: blur(8px);
        }

        .quick-nav-item {
            width: 36px;
            height: 36px;
            background: #141419;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.25s ease;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .quick-nav-item:hover {
            transform: translateY(-2px) scale(1.08);
            background: var(--gold);
            border-color: #fff;
            box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
        }

        .quick-nav-item::after {
            content: attr(data-tooltip);
            position: absolute;
            top: 45px;
            left: 50%;
            transform: translateX(-50%);
            background: #0a0a0c;
            color: #fff;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s;
            border: 1px solid var(--gold);
            box-shadow: 0 4px 12px rgba(0,0,0,0.8);
            z-index: 1100;
        }

        .quick-nav-item:hover::after {
            opacity: 1;
        }

        /* Step Wizard Progress Navigation */
        .cart-wizard-steps {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #121217;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 12px;
            padding: 12px 18px;
            margin-bottom: 25px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
            gap: 10px;
        }

        .wizard-step {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #888;
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .wizard-step.active {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0,0,0,0.8));
            border-color: var(--gold);
            color: var(--gold);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
        }

        .wizard-step.completed {
            background: rgba(0, 255, 136, 0.08);
            border-color: rgba(0, 255, 136, 0.3);
            color: #00ff88;
        }

        .wizard-step-num {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #222;
            color: #aaa;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 800;
        }

        .wizard-step.active .wizard-step-num {
            background: var(--gold);
            color: #000;
        }

        .wizard-step.completed .wizard-step-num {
            background: #00ff88;
            color: #000;
        }

        .wizard-step-divider {
            color: #444;
            font-size: 1.2rem;
            font-weight: 900;
        }

        /* Step Panels */
        .cart-step-panel {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .cart-step-panel.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Product Icon Container Thumbnail Scaling */
        .product-icon-container {
            width: 52px !important;
            height: 52px !important;
            background: #080808 !important;
            border: 1px solid rgba(212, 175, 55, 0.4) !important;
            border-radius: 8px !important;
            padding: 2px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
            flex-shrink: 0 !important;
            overflow: hidden !important;
        }

        .product-icon-container img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            object-position: center !important;
        }

        /* Form Card UI */
        .checkout-form-card {
            background: #141419;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        }

        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            min-width: 200px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 0.8rem;
            color: #aaa;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input, .form-group select, .form-group textarea {
            background: #0a0a0c;
            border: 1px solid #333;
            color: #fff;
            padding: 10px 14px;
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.25s;
        }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: var(--gold);
            box-shadow: 0 0 8px rgba(212,175,55,0.3);
        }

        /* Payment Selector Options */
        .payment-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }

        .payment-option-card {
            background: #0a0a0c;
            border: 1.5px solid #333;
            border-radius: 10px;
            padding: 14px;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-align: center;
        }

        .payment-option-card:hover {
            border-color: var(--gold);
            transform: translateY(-2px);
        }

        .payment-option-card.selected {
            background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(0,0,0,0.8));
            border-color: var(--gold);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
        }

        .payment-option-card .opt-title {
            font-weight: 800;
            font-size: 0.95rem;
            color: #fff;
        }

        .payment-option-card.selected .opt-title {
            color: var(--gold);
        }

        .payment-option-card .opt-sub {
            font-size: 0.75rem;
            color: #888;
        }

        
        @media (max-width: 1100px) {
            .card-header {
                grid-template-columns: 60px 1.8fr 1fr auto auto;
                gap: 12px;
                padding: 12px 16px;
            }
            .card-header > div:nth-child(4) {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .stats-bar {
                flex-direction: column;
            }

            .order-global-info>div {
                grid-template-columns: 1fr !important;
            }

            .card-header {
                grid-template-columns: 60px 1fr 50px;
                gap: 10px;
                padding: 10px;
            }

            .card-header>div:nth-child(3),
            .card-header>div:nth-child(4),
            .card-header>div:nth-child(5) {
                display: none;
            }

            h1 {
                font-size: 1.8rem;
            }

            .quick-nav {
                top: auto;
                bottom: 15px;
                right: 15px;
                flex-direction: row;
                border-radius: 40px;
                padding: 8px;
            }

            .quick-nav-item::after {
                display: none;
            }

            .tab-btn {
                padding: 10px 15px;
                font-size: 0.75rem;
            }

            .tab-content {
                padding: 15px;
            }

            .sub-header {
                flex-wrap: wrap;
                gap: 10px;
            }

            .sub-header>div:nth-child(3) {
                flex-basis: 100%;
                margin-left: 0 !important;
                margin-top: 10px;
            }

            .sub-header>div:nth-child(4) {
                flex-basis: 100%;
                text-align: left !important;
                margin-right: 0 !important;
            }

            .sub-header>div:nth-child(5) {
                flex-basis: 100%;
                justify-content: flex-start !important;
            }

            .btn-text-mobile {
                display: none;
            }
        }

        /* Modern Button Refinement */
        .btn-modern {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 8px;
            font-size: clamp(0.70rem, 1vw, 0.85rem);
            font-weight: 700;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            border: none;
            cursor: pointer;
            white-space: normal;
            word-break: normal;
            overflow-wrap: break-word;
            line-height: 1.15;
            text-align: center;
            max-width: 100%;
            min-width: 0;
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
            letter-spacing: 0.5px;
        }

        .btn-pdf {
            background: #d63031;
            /* Modern Red */
            color: white;
            box-shadow: 0 4px 12px rgba(214, 48, 49, 0.2);
        }

        .btn-pdf:hover {
            background: #ff7675;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(214, 48, 49, 0.3);
        }

        .btn-edit-modern {
            background: #0984e3;
            /* Modern Blue */
            color: white;
            box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2);
        }

        .btn-edit-modern:hover {
            background: #74b9ff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(9, 132, 227, 0.3);
        }

        .btn-delete-tiny {
            background: rgba(255, 77, 77, 0.1);
            color: #ff4d4d;
            width: 38px;
            height: 38px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
            border: 1px solid rgba(255, 77, 77, 0.2);
            font-size: 1.1rem;
            cursor: pointer;
            flex-shrink: 0;
        }

        .btn-delete-group {
            background: rgba(255, 77, 77, 0.05);
            color: #ff4d4d;
            border: 1px solid rgba(255, 77, 77, 0.3);
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            padding: 8px 15px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
        }

        .btn-delete-group:hover {
            background: #ff4d4d;
            color: #fff;
        }

        /* Animations */
        @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes hnt-pop { 
            0% { transform: scale(0.95); opacity: 0.5; }
            50% { transform: scale(1.02); opacity: 1; }
            100% { transform: scale(1); opacity: 1; }
        }

        .toggle-btn-modern {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            min-height: 32px !important;
            border-radius: 50% !important;
            background: #1a1a1a;
            border: 1px solid #333;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: #666;
            flex-shrink: 0 !important;
            user-select: none;
            padding: 0 !important;
            margin: 0;
            box-sizing: border-box !important;
        }

        .toggle-btn-modern:hover {
            border-color: var(--gold);
            color: var(--gold);
            background: #222;
            transform: scale(1.1);
        }

        .expanded .toggle-btn-modern {
            background: var(--gold);
            color: #000;
            border-color: var(--gold);
            transform: rotate(180deg);
        }

        .toggle-icon {
            font-size: 0.7rem;
            line-height: 1;
        }

        @media (max-width: 768px) {
            .btn-modern {
                padding: 8px 12px;
                font-size: 0.75rem;
                gap: 5px;
            }

            .btn-pdf {
                padding: 10px;
            }

            .btn-text-mobile {
                display: none;
            }
        }

        /* --- CHECKOUT BAR --- */
        .checkout-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.95);
            border-top: 2px solid var(--gold);
            padding: 15px 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(15px);
            z-index: 5000;
        }

        .checkout-total {
            display: flex;
            flex-direction: column;
        }

        .checkout-total span:first-child {
            font-size: 0.75rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .checkout-total span:last-child {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--gold);
            font-family: 'Bebas Neue', sans-serif;
        }

        .btn-checkout {
            background: var(--gold);
            color: #000;
            text-decoration: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
            border: none;
            cursor: pointer;
        }

        .btn-checkout:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
            background: #fff;
        }

        @media (max-width: 768px) {
            .checkout-bar {
                width: min(92%, 480px);
                left: 50% !important;
                right: auto !important;
                transform: translateX(-50%) !important;
                bottom: 16px;
                padding: 12px 20px;
                gap: 16px;
                justify-content: space-between;
                border-radius: 15px;
                box-sizing: border-box !important;
            }

            .checkout-total span:last-child {
                font-size: 1.4rem;
            }

            .btn-checkout {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 440px) {
            .checkout-bar {
                width: calc(100% - 20px);
                bottom: 10px;
                padding: 10px 14px;
                gap: 10px;
            }

            .checkout-total span:first-child {
                font-size: 0.68rem;
            }

            .checkout-total span:last-child {
                font-size: 1.25rem;
            }

            .btn-checkout {
                padding: 9px 15px;
                font-size: 0.82rem;
                letter-spacing: 0.5px;
            }
        }

        /* ============================================================
           ORGANIZED & CONDENSED 2-COLUMN CHECKOUT LAYOUT
           ============================================================ */
        .cart-top-trust-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(15,15,20,0.8));
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 10px;
            padding: 10px 16px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .trust-pill {
            font-size: 0.82rem;
            color: #ddd;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .trust-pill strong {
            color: var(--gold);
        }

        .trust-pill.green {
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid rgba(0, 255, 136, 0.25);
            padding: 4px 10px;
            border-radius: 20px;
            color: #00ff88;
            font-weight: 700;
            font-size: 0.78rem;
        }

        .checkout-main-layout {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 24px;
            align-items: start;
        }

        @media (max-width: 1024px) {
            .checkout-main-layout {
                grid-template-columns: 1fr;
            }
        }

        .step-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            gap: 15px;
            flex-wrap: wrap;
        }

        .step-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.8rem;
            color: #fff;
            margin: 0;
            letter-spacing: 0.5px;
        }

        .step-desc {
            color: #888;
            margin: 4px 0 0 0;
            font-size: 0.85rem;
        }

        /* STICKY SUMMARY CARD */
        .sticky-summary-card {
            background: #141419;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 14px;
            padding: 20px;
            position: sticky;
            top: 85px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
        }

        .summary-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem;
            color: var(--gold);
            margin: 0 0 14px 0;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .summary-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 14px;
        }

        .stat-mini {
            background: #0a0a0c;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px 6px;
            text-align: center;
        }

        .stat-mini-label {
            font-size: 0.68rem;
            color: #888;
            text-transform: uppercase;
            font-weight: 700;
            display: block;
        }

        .stat-mini-val {
            font-size: 1.05rem;
            font-weight: 800;
            color: #fff;
        }

        .stat-mini-val.gold {
            color: var(--gold);
        }

        .summary-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.08);
            margin: 12px 0;
        }

        .summary-rows-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 0.88rem;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #bbb;
        }

        .summary-row.green {
            color: #00ff88;
        }

        .summary-row.blue {
            color: var(--accent-blue);
        }

        .summary-total-box {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.7));
            border: 1px solid var(--gold);
            border-radius: 10px;
            padding: 12px 14px;
            margin: 14px 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .summary-total-box .total-label {
            color: #aaa;
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
        }

        .summary-total-box .total-val {
            color: var(--gold);
            font-size: 2.1rem;
            font-family: 'Bebas Neue', sans-serif;
            letter-spacing: 1px;
            line-height: 1;
        }

        .compact-coupon-box {
            margin-bottom: 14px;
            background: #0a0a0c;
            border: 1px dashed rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            padding: 10px;
        }

        .coupon-row {
            display: flex;
            gap: 6px;
        }

        .coupon-row input {
            flex: 1;
            background: #141419;
            border: 1px solid #333;
            color: #fff;
            padding: 7px 10px;
            border-radius: 6px;
            font-size: 0.82rem;
            outline: none;
        }

        .btn-gold-sm {
            background: var(--gold);
            color: #000;
            border: none;
            border-radius: 6px;
            font-weight: 800;
            padding: 7px 12px;
            font-size: 0.78rem;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-gold-sm:hover {
            background: #e5be3a;
            transform: translateY(-1px);
        }

        .coupon-msg {
            margin-top: 6px;
            font-size: 0.78rem;
            font-weight: bold;
            display: none;
        }

        .btn-summary-cta {
            width: 100%;
            padding: 13px;
            background: linear-gradient(135deg, #D4AF37, #b8960c);
            color: #000;
            border: none;
            border-radius: 8px;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.35rem;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-summary-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
            filter: brightness(1.1);
        }

        .btn-step-next {
            padding: 12px 24px !important;
            font-size: 1rem !important;
            border-radius: 8px !important;
            font-family: 'Bebas Neue', sans-serif !important;
            letter-spacing: 1px !important;
        }

        .summary-trust-footer {
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 0.73rem;
            color: #777;
            text-align: center;
        }

        /* SINGLE PAGE CHECKOUT MERCADO LIVRE STYLE ENHANCEMENTS */
        .card-section-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--gold);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .delivery-pills-wrap {
            display: flex;
            gap: 12px;
        }

        .delivery-pill {
            flex: 1;
            background: #0a0a0c;
            border: 1.5px solid #333;
            border-radius: 10px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
            cursor: pointer;
            transition: all 0.25s ease;
            color: #ccc;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
        }

        .delivery-pill.active {
            background: rgba(0, 180, 216, 0.08);
            border-color: var(--accent-blue);
            color: #fff;
            box-shadow: 0 0 12px rgba(0, 180, 216, 0.2);
        }

        .delivery-pill small.green {
            color: #00ff88;
            font-size: 0.78rem;
            font-weight: bold;
        }

        .badge-discount-green {
            background: rgba(0, 255, 136, 0.15);
            color: #00ff88;
            border: 1px solid rgba(0, 255, 136, 0.4);
            font-size: 0.7rem;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 12px;
            margin-left: 6px;
            text-transform: uppercase;
        }

        .payment-options-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 12px;
        }

        .payment-options-list .payment-option-card {
            flex-direction: row;
            justify-content: space-between;
            text-align: left;
            padding: 14px 18px;
        }

        .radio-circle {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid #555;
            transition: 0.2s;
            flex-shrink: 0;
        }

        .payment-option-card.selected .radio-circle {
            border-color: var(--gold);
            background: radial-gradient(circle, var(--gold) 40%, transparent 45%);
        }

        .combine-link {
            color: var(--accent-blue);
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            text-decoration: underline;
            transition: 0.2s;
        }

        .combine-link:hover {
            color: #fff;
        }

        .btn-link-action {
            background: none;
            border: none;
            color: var(--accent-blue);
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            text-decoration: underline;
            font-family: inherit;
            padding: 0;
        }

        .btn-link-action:hover {
            color: #fff;
        }

        .coupon-toggle-btn {
            color: var(--gold);
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            display: inline-block;
            margin-top: 10px;
            transition: 0.2s;
        }

        .coupon-toggle-btn:hover {
            text-decoration: underline;
        }

        .btn-checkout-ml {
            width: 100%;
            padding: 15px;
            background: #3483fa;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-family: 'Outfit', sans-serif;
            font-size: 1.15rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 15px rgba(52, 131, 250, 0.4);
        }

        .btn-checkout-ml:hover {
            background: #2968c8;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 131, 250, 0.6);
        }

        .saved-savings-badge {
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid rgba(0, 255, 136, 0.3);
            color: #00ff88;
            font-size: 0.82rem;
            font-weight: 800;
            padding: 6px 10px;
            border-radius: 6px;
            margin-top: 8px;
            text-align: center;
        }

        /* Botões do Cabeçalho do Carrinho (Limpar e Adicionar Item) */
        .btn-cart-clear {
            background: rgba(239, 68, 68, 0.08) !important;
            border: 1px solid rgba(239, 68, 68, 0.4) !important;
            color: #f87171 !important;
            font-size: 0.8rem !important;
            padding: 6px 14px !important;
            border-radius: 6px !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            font-family: inherit !important;
            font-weight: 600 !important;
            transition: all 0.2s ease !important;
            user-select: none;
        }

        .btn-cart-clear:hover {
            background: rgba(239, 68, 68, 0.22) !important;
            border-color: rgba(239, 68, 68, 0.75) !important;
            color: #ffffff !important;
            box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3) !important;
            transform: translateY(-1px);
        }

        .btn-cart-clear:active {
            transform: translateY(0);
        }

        .btn-cart-add-item {
            background: rgba(212, 175, 55, 0.06) !important;
            border: 1px solid rgba(212, 175, 55, 0.4) !important;
            color: var(--gold) !important;
            font-size: 0.8rem !important;
            padding: 6px 14px !important;
            border-radius: 6px !important;
            text-decoration: none !important;
            font-family: inherit !important;
            font-weight: 600 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            transition: all 0.2s ease !important;
            user-select: none;
        }

        .btn-cart-add-item:hover {
            background: rgba(212, 175, 55, 0.18) !important;
            border-color: var(--gold) !important;
            color: #ffffff !important;
            box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3) !important;
            transform: translateY(-1px);
        }

        .btn-cart-add-item:active {
            transform: translateY(0);
        }

/* =========================================================================
   SISTEMA DE RESPONSIVIDADE FLUIDA E AUTOAJUSTE DO CARRINHO (320px a 2560px)
   ========================================================================= */

/* Blindagem global contra overflow horizontal */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.dashboard-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 16px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box;
}

/* Layout em Grid fluido */
.checkout-main-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
}

.checkout-left-col {
    min-width: 0 !important;
    width: 100% !important;
}

.checkout-right-col {
    min-width: 0 !important;
    width: 100% !important;
}

/* Card e Resumo Fluido */
.checkout-form-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* Títulos e Itens Pronta Entrega e Simulação */
.pe-cart-clean-item,
.sim-cart-clean-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.pe-cart-inner,
.sim-cart-header {
    width: 100% !important;
    box-sizing: border-box !important;
}

.pe-cart-title,
.sim-cart-title {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Breakpoint Tablet / Laptops Menores (<= 1024px) */
@media (max-width: 1024px) {
    .checkout-main-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .checkout-right-col {
        position: static !important;
        width: 100% !important;
    }
}

/* Breakpoint Tablets e Telas Médias (<= 768px) */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 0 10px !important;
        margin: 10px auto !important;
    }
    .checkout-form-card {
        padding: 14px 10px !important;
        border-radius: 8px !important;
    }
    .step-panel-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .step-panel-header > div:last-child {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .btn-cart-clear, .btn-cart-add-item {
        flex: 1 1 auto !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .simulation-summary-box {
        padding: 10px !important;
    }
}

/* Breakpoint Celulares / Mobile Compacto (<= 560px) */
@media (max-width: 560px) {
    .pe-cart-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 10px !important;
    }
    .pe-cart-left {
        width: 100% !important;
        min-width: 0 !important;
    }
    .pe-cart-right {
        width: 100% !important;
        justify-content: space-between !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding-top: 10px !important;
    }
    .pe-cart-pricing {
        text-align: left !important;
    }

    .sim-cart-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    .sim-cart-left {
        width: 100% !important;
        min-width: 0 !important;
    }
    .sim-cart-actions-row {
        width: 100% !important;
        justify-content: space-between !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding-top: 10px !important;
    }
    .sim-cart-pricing {
        text-align: left !important;
    }

    /* Stepper Bar no mobile */
    .hnt-stepper-inner {
        padding: 8px 4px !important;
    }
    .step-label {
        font-size: 0.68rem !important;
    }

    /* Frete Pills */
    .delivery-pills-wrap {
        flex-direction: column !important;
        width: 100% !important;
    }
    .delivery-pill-btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   BLINDAGEM RESPONSIVA & ANTI-RECORTE DO CARRINHO (v46)
   ========================================================================== */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

.dashboard-container,
.checkout-main-layout,
.checkout-left-col,
.checkout-right-col,
.checkout-form-card,
.order-card,
.sub-item-rich,
.sub-items-container {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Desktop: evita recorte horizontal da barra de atalhos no cabeçalho */
@media (min-width: 1101px) {
    .premium-header .header-right {
        min-width: 0;
        flex: 0 1 auto;
    }
    #header-quick-nav.header-icon-nav {
        overflow: visible !important;
        max-width: none !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 640px) {
    .card-header.master-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }
    .sim-cart-actions-row,
    .pe-cart-right {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding-top: 10px !important;
    }
    .sim-cart-buttons,
    .pe-cart-buttons {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    .sim-cart-buttons .btn-modern,
    .pe-cart-buttons .btn-modern {
        flex: 1 1 auto !important;
        justify-content: center !important;
        padding: 6px 8px !important;
        font-size: 0.72rem !important;
        min-width: 0 !important;
    }
    .sim-cart-buttons .btn-delete-tiny,
    .pe-cart-buttons .btn-delete-tiny {
        flex: 0 0 30px !important;
    }
    .sim-details-toggle-bar {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    #cart-cep-input,
    #cart-zip-intl-input,
    #cart-coupon-code {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    #cart-freight-intl-area > div > div {
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    #card-billing [style*="grid-template-columns"],
    #cart-gift-fields-wrap [style*="grid-template-columns"],
    #checkout-payment-card [style*="grid-template-columns"],
    #cart-step-4 [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    #card-billing input,
    #card-billing select,
    #cart-gift-fields-wrap input,
    #cart-gift-fields-wrap textarea,
    #checkout-payment-card input,
    #checkout-payment-card select {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 400px) {
    .hnt-stepper-step {
        padding: 4px 2px !important;
        gap: 2px !important;
    }
    .step-label {
        font-size: 0.62rem !important;
    }
}

