    <style>

    /* ============================================================
           CART SPECIFIC STYLES — HIGH CONTRAST MODERN SAAS THEME
           ============================================================ */
    :root {
        --cart-bg: #F8FAFC;
        --cart-card-bg: #FFFFFF;
        --cart-border: #E2E8F0;
        --cart-text-dark: #0F172A;
        --cart-text-muted: #64748B;
        --cart-green: #059669;
        --cart-green-bg: #ECFDF5;
        --cart-green-border: #A7F3D0;
        --cart-accent: #0A1F3D;
        --cart-badge-cyan: #E0F2FE;
        --cart-badge-cyan-text: #0369A1;
    }

    body {
        background-color: var(--cart-bg);
        color: var(--cart-text-dark);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        margin: 0;
        padding: 0;
        -webkit-font-smoothing: antialiased;
    }

    /* Top Header Navigation */
    .cart-header-nav {
        /* background: #081225; */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .cart-header-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cart-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #E59E15;
        font-weight: 800;
        font-size: 1.25rem;
        letter-spacing: -0.02em;
    }

    .cart-logo-badge {
        background: linear-gradient(135deg, #E59E15 0%, #F5B53F 100%);
        color: #081225;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 8px;
        border-radius: 4px;
        text-transform: uppercase;
    }

    .cart-nav-sec {
        display: flex;
        align-items: center;
        gap: 20px;
        color: #0c0c0cff;
        font-size: 13px;
    }

    .cart-nav-sec a {
        color: #151616ff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .cart-nav-sec a:hover {
        color: #FCD34D;
    }

    .secure-badge {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #10B981;
        font-weight: 600;
        font-size: 12px;
        background: rgba(16, 185, 129, 0.1);
        padding: 4px 10px;
        border-radius: 20px;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    /* Cart Page Wrapper */
    .cart-page-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px 80px;
    }

    /* Cart Page Heading */
    .cart-title-section {
        margin-bottom: 32px;
    }

    .cart-title-section h1 {
        font-size: 2.25rem;
        font-weight: 800;
        color: #0F172A;
        margin: 0 0 8px 0;
        letter-spacing: -0.03em;
    }

    .cart-title-section p {
        font-size: 0.95rem;
        color: #64748B;
        margin: 0;
    }

    /* Cart Grid Layout */
    .cart-layout-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 36px;
        align-items: start;
    }

    @media (max-width: 991px) {
        .cart-layout-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
    }

    /* Left Column: Cart Items Box */
    .cart-items-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Main Item Card */
    .cart-main-card {
        background: #FFFFFF;
        border: 1px solid var(--cart-border);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        overflow: hidden;
    }

    .cart-item-block {
        padding: 24px;
        position: relative;
    }

    .cart-item-block+.cart-item-block {
        border-top: 1px solid var(--cart-border);
    }

    /* Item 1 Header & Info */
    .main-item-header {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .item-thumb-box {
        width: 80px;
        height: 80px;
        background: #081225;
        color: #FFFFFF;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.15rem;
        flex-shrink: 0;
        letter-spacing: -0.02em;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .item-details-body {
        flex-grow: 1;
    }

    .item-domain-title {
        font-size: 1.35rem;
        font-weight: 800;
        color: #0F172A;
        margin: 0 0 4px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .item-subtitle-tag {
        font-size: 0.7rem;
        font-weight: 800;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 4px;
        display: block;
    }

    .item-type-desc {
        font-size: 0.875rem;
        color: #64748B;
        margin-bottom: 16px;
    }

    /* Select Duration Dropdown */
    .item-duration-select {
        display: inline-flex;
        align-items: center;
        background: #FFFFFF;
        border: 1.5px solid #CBD5E1;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 0.875rem;
        font-weight: 600;
        color: #0F172A;
        cursor: pointer;
        outline: none;
        transition: all 0.2s;
        min-width: 130px;
    }

    .item-duration-select:focus,
    .item-duration-select:hover {
        border-color: #081225;
        box-shadow: 0 0 0 3px rgba(8, 18, 37, 0.08);
    }

    /* Item Pricing Right Column */
    .item-price-column {
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        min-width: 120px;
    }

    .current-price {
        font-size: 1.35rem;
        font-weight: 800;
        color: #0369A1;
    }

    .original-price {
        font-size: 0.875rem;
        color: #94A3B8;
        text-decoration: line-through;
        font-weight: 500;
    }

    .discount-badge {
        font-size: 0.75rem;
        font-weight: 700;
        color: #0369A1;
        background: #E0F2FE;
        padding: 2px 8px;
        border-radius: 4px;
        display: inline-block;
    }

    .renewal-notice {
        font-size: 0.8rem;
        color: #64748B;
        margin-top: 14px;
    }

    .item-remove-btn {
        background: none;
        border: none;
        color: #94A3B8;
        cursor: pointer;
        padding: 6px;
        margin-top: 8px;
        border-radius: 6px;
        transition: all 0.2s;
    }

    .item-remove-btn:hover {
        color: #EF4444;
        background: #FEE2E2;
    }

    /* Add-on Card Blocks */
    .addon-item-block {
        padding: 22px 24px;
    }

    .addon-header-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    .addon-title-group {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        flex-grow: 1;
    }

    /* Custom Modern Toggle Switch */
    .ra-switch {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 26px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .ra-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .ra-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #CBD5E1;
        transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 34px;
    }

    .ra-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    input:checked+.ra-slider {
        background-color: #081225;
    }

    input:checked+.ra-slider:before {
        transform: translateX(20px);
    }

    .addon-title-text {
        font-size: 1rem;
        font-weight: 700;
        color: #0F172A;
        margin: 0 0 4px 0;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .recommended-pill {
        background: #CCFBF1;
        color: #0F766E;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 8px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .addon-subtitle-tag {
        font-size: 0.68rem;
        font-weight: 800;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 12px;
        display: block;
    }

    .addon-features-list {
        list-style: none;
        padding: 0;
        margin: 12px 0 0 0;
    }

    .addon-features-list li {
        font-size: 0.84rem;
        color: #475569;
        margin-bottom: 6px;
        position: relative;
        padding-left: 16px;
        line-height: 1.45;
    }

    .addon-features-list li::before {
        content: " •";
        position: absolute;
        left: 0;
        top: 0;
        color: #0F172A;
        font-weight: bold;
    }

    /* Right Column:
        Order Summary Card */
    .order-summary-card {
        background: #F8FAFC;
        border: 1px solid var(--cart-border);
        border-radius: 12px;
        padding: 28px 24px;
        position: sticky;
        top: 90px;
        box-shadow: 0 4px 14px rgba(15, 23, 42,
                0.03);
    }

    .summary-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom:
            16px;
    }

    .summary-title-row h2 {
        font-size: 1.35rem;
        font-weight: 800;
        color: #0F172A;
        margin: 0;
    }

    .summary-item-count {
        font-size: 0.875rem;
        color: #64748B;
        font-weight: 500;
    }

    .summary-divider {
        height: 1px;
        background: var(--cart-border);
        margin: 20px 0;
    }

    .subtotal-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .subtotal-label {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0F172A;
    }

    .subtotal-label span {
        font-size: 0.8rem;
        font-weight: 600;
        color: #64748B;
        margin-left: 4px;
    }

    .subtotal-amount {
        font-size: 1.45rem;
        font-weight: 800;
        color: #0369A1;
    }

    .tax-disclaimer {
        font-size:
            0.78rem;
        color: #64748B;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    /* Promo Code Section */
    .promo-code-toggle {
        display: inline-block;
        background: none;
        border: none;
        color: #0F172A;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: underline;
        cursor: pointer;
        padding: 0;
        margin-bottom: 20px;
    }

    .promo-code-toggle:hover {
        color: #0369A1;
    }

    .promo-input-box {
        display: none;
        gap: 8px;
        margin-bottom: 20px;
    }

    .promo-input-box.active {
        display: flex;
    }

    .promo-input-box input {
        flex-grow: 1;
        padding: 8px 12px;
        border: 1px solid #CBD5E1;
        border-radius: 6px;
        font-size: 0.85rem;
        outline: none;
        text-transform: uppercase;
    }

    .promo-input-box button {
        background: #081225;
        color: #FFFFFF;
        border: none;
        padding: 8px 14px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 0.8rem;
        cursor: pointer;
    }

    /* Savings Banner Box */
    .savings-alert-box {
        background: #FFFFFF;
        border:
            1px solid #E2E8F0;
        border-radius: 8px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.84rem;
        color: #0F172A;
        font-weight: 600;
        margin-bottom: 22px;
        box-shadow: 0 1px 3px rgba(0, 0, 0,
                0.04);
    }

    .savings-icon {
        color: #059669;
        flex-shrink: 0;
    }

    .savings-amount {
        font-weight: 800;
    }

    /* Main
        Checkout Button */
    .checkout-btn {
        display: block;
        width: 100%;
        background: #081225;
        color: #FFFFFF;
        border:
            none;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 800;
        text-align: center;
        cursor:
            pointer;
        box-shadow: 0 4px 12px rgba(8, 18, 37, 0.2);
        transition: all 0.2s ease;
        text-decoration: none;
        box-sizing: border-box;
    }

    .checkout-btn:hover {
        background: #12254B;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(8, 18, 37, 0.25);
        color: #FFFFFF;
    }

    /* Secure Payment Strip */
    .security-strip {
        margin-top: 22px;
        text-align: center;
    }

    .secure-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 0.82rem;
        font-weight: 700;
        color: #475569;
        margin-bottom: 10px;
    }

    .payment-icons-list {
        display:
            flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .payment-badge {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 4px;
        padding: 4px 8px;
        font-size: 10px;
        font-weight: 800;
        color: #334155;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .payment-badge svg {
        height: 12px;
        width: auto;
    }

    .accepted-methods-note {
        font-size: 0.76rem;
        color: #64748B;
        line-height: 1.45;
    }

    /* Trust Footer Note */
    .trust-footer-note {
        margin-top: 24px;
        text-align: center;
        padding-top: 16px;
        border-top: 1px dashed #CBD5E1;
    }

    .trust-footer-note h4 {
        font-size: 0.82rem;
        font-weight:
            700;
        color: #0F172A;
        margin: 0 0 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .trust-footer-note p {
        font-size: 0.74rem;
        color: #64748B;
        margin: 0;
        line-height: 1.4;
    }

    /* Floating Contact
        Widget */
    .floating-contact-btn {
        position: fixed;
        bottom: 24px;
        right: 24px;
        background: #FFFFFF;
        color:
            #0369A1;
        border: 2px solid #0369A1;
        border-radius: 30px;
        padding: 10px 18px;
        font-size: 0.88rem;
        font-weight:
            700;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        z-index: 999;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .floating-contact-btn:hover {
        background:
            #E0F2FE;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
        color: #0369A1;
    }

    @media (max-width: 576px) {
        .cart-title-section h1 {
            font-size: 1.75rem;
        }

        .main-item-header {
            flex-direction: column;
        }

        .item-price-column {
            text-align: left;
            align-items: flex-start;
            margin-top: 12px;
        }

        .addon-header-row {
            flex-direction: column;
        }

        .floating-contact-btn {
            bottom: 16px;
            right: 16px;
            padding: 8px 14px;
            font-size:
                0.8rem;
        }
    }

    /* ═══════════════════════════════════════════════════════════════ PRO UPGRADE & UPI PAYMENT MODAL
        STYLES ═══════════════════════════════════════════════════════════════ */
    .upgrade-modal-overlay {
        position:
            fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(3, 11, 23, 0.88);
        backdrop-filter:
            blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    }

    .upgrade-modal-overlay.is-active {
        opacity: 1;
        visibility:
            visible;
    }

    .upgrade-modal-dialog {
        background: radial-gradient(circle at 85% 0%, rgba(198, 166, 100, 0.15) 0%,
                transparent 55%), linear-gradient(180deg, #0E264D 0%, #07152B 100%);
        border: 1px solid rgba(198, 166, 100,
                0.35);
        border-radius: 20px;
        width: 100%;
        max-width: 680px;
        max-height: 92vh;
        overflow-y: auto;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(198, 166, 100, 0.18);
        color: #F4F6FB;
        transform: scale(0.94) translateY(20px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
    }

    .upgrade-modal-overlay.is-active .upgrade-modal-dialog {
        transform: scale(1) translateY(0);
    }

    .upgrade-modal-header {
        padding: 20px 26px 16px;
        border-bottom: 1px solid rgba(198, 166, 100, 0.2);
        display:
            flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        background: rgba(14, 38,
                77, 0.96);
        backdrop-filter: blur(10px);
        z-index: 10;
    }

    .upgrade-modal-title {
        font-size: 18px;
        font-weight: 800;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .upgrade-modal-title span.badge-gold {
        background: linear-gradient(135deg, #C6A664, #A58440);
        color: #07152B;
        font-size: 11px;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .upgrade-modal-close {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #94A3B8;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        line-height: 1;
    }

    .upgrade-modal-close:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: #EF4444;
        color: #FFFFFF;
    }

    .upgrade-step-bar {
        display:
            flex;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(7, 21, 43, 0.5);
        padding: 12px 26px;
        gap: 12px;
    }

    .upgrade-step-item {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 700;
        color: #64748B;
        transition: all 0.2s;
    }

    .upgrade-step-item.is-active {
        color: #C6A664;
    }

    .upgrade-step-item.is-completed {
        color: #10B981;
    }

    .upgrade-step-num {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        display:
            flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
    }

    .upgrade-step-item.is-active .upgrade-step-num {
        background: #C6A664;
        color: #07152B;
        border-color: #C6A664;
        font-weight: 800;
    }

    .upgrade-step-item.is-completed .upgrade-step-num {
        background: #10B981;
        color: #FFFFFF;
        border-color: #10B981;
    }

    .upgrade-modal-body {
        padding: 22px 26px;
    }

    .upgrade-plan-pill-card {
        background:
            rgba(198, 166, 100, 0.08);
        border: 1px solid rgba(198, 166, 100, 0.3);
        border-radius: 14px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap:
            10px;
    }

    .upgrade-plan-pill-left h4 {
        font-size: 15px;
        font-weight: 800;
        color: #FFFFFF;
        margin-bottom: 2px;
    }

    .upgrade-plan-pill-left p {
        font-size: 12px;
        color: #94A3B8;
    }

    .upgrade-plan-pill-price {
        text-align: right;
    }

    .upgrade-plan-pill-price .amount {
        font-size: 24px;
        font-weight: 800;
        color: #C6A664;
        line-height: 1.1;
    }

    .upgrade-plan-pill-price .period {
        font-size: 11px;
        color: #CBD5E1;
        font-weight: 600;
    }

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

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

    .upgrade-form-group.full-width {
        grid-column: 1 / -1;
    }

    .upgrade-label {
        font-size: 12px;
        font-weight: 700;
        color: #CBD5E1;
        display: flex;
        justify-content: space-between;
    }

    .upgrade-label .req {
        color: #EF4444;
    }

    .upgrade-input,
    .upgrade-textarea {
        background: rgba(14, 34, 66, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
        color:
            #FFFFFF;
        outline: none;
        font-family: inherit;
        transition: all 0.2s;
        width: 100%;
        box-sizing: border-box;
    }

    .upgrade-input:focus,
    .upgrade-textarea:focus {
        border-color: #C6A664;
        box-shadow: 0 0 0 3px rgba(198, 166, 100,
                0.2);
        background: rgba(14, 34, 66, 1);
    }

    .upgrade-input::placeholder,
    .upgrade-textarea::placeholder {
        color:
            #64748B;
    }

    .upgrade-input-hint {
        font-size: 11px;
        color: #94A3B8;
    }

    .upi-payment-box {
        background: rgba(14, 34,
                66, 0.6);
        border: 1px solid rgba(198, 166, 100, 0.25);
        border-radius: 16px;
        padding: 20px;
        text-align: center;
        margin-bottom: 18px;
    }

    .upi-qr-wrapper {
        background: #FFFFFF;
        padding: 10px;
        border-radius: 12px;
        display:
            inline-block;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        margin-bottom: 12px;
    }

    .upi-qr-img {
        width: 170px;
        height: 170px;
        display: block;
    }

    .upi-vpa-copy-pill {
        background: rgba(255, 255, 255, 0.08);
        border: 1px dashed rgba(198, 166, 100, 0.5);
        border-radius: 10px;
        padding: 8px 14px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #F4F6FB;
        margin-bottom: 10px;
    }

    .upi-vpa-copy-btn {
        background: #C6A664;
        color: #07152B;
        border: none;
        border-radius: 6px;
        padding: 4px 10px;
        font-size: 11px;
        font-weight: 700;
        cursor:
            pointer;
        transition: all 0.2s;
    }

    .upi-vpa-copy-btn:hover {
        background: #E0C78A;
    }

    .upi-direct-app-btn {
        display:
            inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg,
                #10B981, #059669);
        color: #FFFFFF;
        text-decoration: none;
        font-weight: 700;
        font-size: 13px;
        padding: 9px 16px;
        border-radius: 8px;
        margin-top: 6px;
        transition: all 0.2s;
    }

    .upi-direct-app-btn:hover {
        opacity: 0.95;
        transform: translateY(-1px);
    }

    .upi-apps-badges {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
        font-size: 11px;
        color: #94A3B8;
        flex-wrap: wrap;
    }

    .upi-app-tag {
        background:
            rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 3px 8px;
        border-radius: 6px;
        color: #CBD5E1;
        font-weight: 600;
    }

    .upgrade-modal-footer {
        padding: 16px 26px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .btn-modal-primary {
        background: linear-gradient(135deg, #C6A664, #A58440);
        color: #07152B;
        border: none;
        border-radius: 10px;
        padding: 11px 22px;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: inherit;
    }

    .btn-modal-primary:hover {
        background: linear-gradient(135deg, #E0C78A, #C6A664);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(198, 166, 100, 0.4);
    }

    .btn-modal-secondary {
        background: rgba(255, 255, 255, 0.08);
        color: #CBD5E1;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 11px 18px;
        font-size:
            13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        font-family: inherit;
    }

    .btn-modal-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #FFFFFF;
    }

    /*
        ═══════════════════════════════════════════════════════════════ BRAND DETAILS POPUP MODAL & AUTHENTICATED BRAND
        UI STYLES ═══════════════════════════════════════════════════════════════ */
    .brand-header-pill-btn {
        display:
            inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(8, 18, 37, 0.04);
        border: 1.5px solid rgba(229,
                158, 21, 0.45);
        border-radius: 30px;
        padding: 5px 12px 5px 6px;
        color: #0F172A;
        font-size: 12px;
        font-weight:
            700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        font-family:
            inherit;
    }

    .brand-header-pill-btn:hover {
        background: #FFFFFF;
        border-color: #E59E15;
        box-shadow: 0 4px 14px rgba(229, 158, 21, 0.25);
        transform: translateY(-1px);
    }

    .brand-pill-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: linear-gradient(135deg, #E59E15 0%, #F5B53F 100%);
        color: #081225;
        font-size:
            11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .brand-pill-name {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #0F172A;
    }

    .brand-pill-tag {
        background: #FEF3C7;
        color: #92400E;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 12px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .cart-signout-link {
        color: #64748B !important;
        font-size: 12px !important;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 8px;
        border-radius: 6px;
        transition: all 0.2s;
    }

    .cart-signout-link:hover {
        color: #EF4444 !important;
        background:
            #FEE2E2;
    }

    /* In-page Brand Info Banner */
    .brand-status-banner {
        background: linear-gradient(135deg, #0A1B38 0%, #081225 100%);
        border: 1px solid rgba(229, 158, 21, 0.35);
        border-radius: 12px;
        padding: 14px 20px;
        display:
            flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        color: #FFFFFF;
        box-shadow: 0 4px 14px rgba(8, 18, 37, 0.08);
        margin-bottom: 8px;
    }

    .brand-banner-left {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .brand-banner-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(229, 158, 21, 0.15);
        border: 1px solid rgba(229, 158, 21, 0.3);
        color: #F5B53F;
        display: flex;
        align-items: center;
        justify-content:
            center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .brand-banner-title {
        font-size: 0.95rem;
        color: #FFFFFF;
        display:
            flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .brand-banner-title strong {
        color: #FCD34D;
    }

    .sebi-chip {
        background: rgba(16, 185, 129, 0.15);
        border: 1px solid rgba(16, 185, 129, 0.35);
        color: #34D399;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 4px;
    }

    .brand-banner-desc {
        font-size:
            0.8rem;
        color: #94A3B8;
        margin-top: 2px;
    }

    .btn-brand-banner-view {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #F8FAFC;
        padding: 8px 14px;
        border-radius: 8px;
        font-size:
            12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap:
            6px;
        white-space: nowrap;
        font-family: inherit;
    }

    .btn-brand-banner-view:hover {
        background: #E59E15;
        color:
            #081225;
        border-color: #E59E15;
        box-shadow: 0 4px 12px rgba(229, 158, 21, 0.35);
        transform: translateY(-1px);
    }

    /* Modal Structure (Light Theme) */
    .brand-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter:
            blur(10px);
        z-index: 999998;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    }

    .brand-modal-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .brand-modal-dialog {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 20px;
        width: 100%;
        max-width: 740px;
        max-height: 90vh;
        overflow-y:
            auto;
        box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
        color: #0F172A;
        transform: scale(0.94) translateY(24px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        position:
            relative;
    }

    .brand-modal-overlay.is-active .brand-modal-dialog {
        transform: scale(1) translateY(0);
    }

    .brand-modal-header {
        padding: 20px 26px 16px;
        border-bottom: 1px solid #E2E8F0;
        display: flex;
        align-items:
            center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 10;
    }

    .brand-header-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .brand-avatar-badge {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: linear-gradient(135deg,
                #081225 0%, #1A3668 100%);
        color: #F5B53F;
        border: 1px solid rgba(245, 181, 63, 0.3);
        font-weight: 800;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(8, 18,
                37, 0.15);
        flex-shrink: 0;
        letter-spacing: -0.02em;
    }

    .brand-header-text {
        display: flex;
        flex-direction:
            column;
        gap: 4px;
    }

    .brand-modal-subtitle {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .sebi-verified-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ECFDF5;
        border: 1px solid #A7F3D0;
        color: #047857;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
    }

    .brand-status-chip {
        display: inline-flex;
        align-items: center;
        background: #FEF3C7;
        border: 1px solid #FCD34D;
        color: #92400E;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 6px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .brand-status-chip.pro,
    .brand-status-chip.active {
        background: #ECFDF5;
        border-color: #A7F3D0;
        color: #047857;
    }

    .brand-modal-title {
        font-size: 20px;
        font-weight: 800;
        color: #0F172A;
        margin: 0;
        letter-spacing: -0.02em;
    }

    .brand-modal-close {
        background: #F1F5F9;
        border: 1px solid #CBD5E1;
        color: #64748B;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        line-height: 1;
    }

    .brand-modal-close:hover {
        background: #FEE2E2;
        border-color: #EF4444;
        color: #EF4444;
    }

    .brand-welcome-strip {
        display: flex;
        align-items:
            flex-start;
        gap: 12px;
        background: #F0F9FF;
        border-bottom: 1px solid #BAE6FD;
        padding: 12px 26px;
        font-size:
            12px;
        color: #0369A1;
    }

    .brand-welcome-strip .welcome-icon {
        color: #0284C7;
        font-size: 16px;
        margin-top: 1px;
        flex-shrink: 0;
    }

    .brand-welcome-strip strong {
        color: #0369A1;
        display: block;
        margin-bottom: 2px;
    }

    .brand-welcome-strip p {
        margin: 0;
        color: #334155;
        line-height: 1.4;
    }

    .brand-modal-body {
        padding: 24px 26px;
    }

    .brand-details-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 20px;
    }

    .brand-info-card {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        padding: 14px 16px;
        display: flex;
        gap: 12px;
        align-items: flex-start;
        transition: all 0.2s ease;
    }

    .brand-info-card:hover {
        background: #FFFFFF;
        border-color: #081225;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
        transform:
            translateY(-1px);
    }

    .brand-info-card.highlight-card {
        background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
        border: 1.5px solid #F5B53F;
        box-shadow: 0 4px 12px rgba(245, 181, 63, 0.15);
    }

    .info-card-icon {
        width:
            36px;
        height: 36px;
        border-radius: 8px;
        background: #FFFFFF;
        border: 1px solid #CBD5E1;
        color: #081225;
        display:
            flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 15px;
    }

    .brand-info-card.highlight-card .info-card-icon {
        background: #081225;
        color: #F5B53F;
        border-color: #081225;
    }

    .info-card-content {
        flex-grow: 1;
        min-width: 0;
    }

    .info-card-label {
        font-size: 11px;
        font-weight: 700;
        color:
            #64748B;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        display: block;
    }

    .info-card-value {
        font-size: 14px;
        font-weight: 700;
        color: #0F172A;
        line-height: 1.3;
    }

    .info-card-value-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .info-card-value.code-font {
        font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
        color: #92400E;
        letter-spacing:
            0.5px;
        font-size: 15px;
        font-weight: 800;
    }

    .mini-copy-btn {
        background: #FFFFFF;
        border: 1px solid #CBD5E1;
        color: #475569;
        padding: 4px 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 11px;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .mini-copy-btn:hover {
        background: #081225;
        color:
            #FFFFFF;
        border-color: #081225;
    }

    .info-card-hint {
        font-size: 11px;
        color: #64748B;
        margin-top: 4px;
        display:
            block;
    }

    .plan-sub-tag {
        background: #E2E8F0;
        color: #334155;
        font-size: 10px;
        padding: 2px 6px;
        border-radius:
            4px;
        margin-left: 4px;
    }

    .brand-portal-link {
        color: #0284C7;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: color 0.2s;
    }

    .brand-portal-link:hover {
        color: #0369A1;
        text-decoration: underline;
    }

    .brand-meta-strip {
        display: flex;
        align-items: center;
        justify-content:
            space-between;
        background: #F1F5F9;
        border: 1px solid #E2E8F0;
        border-radius: 10px;
        padding: 10px 16px;
        font-size: 12px;
        color: #475569;
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand-meta-item {
        display: flex;
        align-items:
            center;
        gap: 6px;
    }

    .brand-meta-item .meta-val {
        color: #0F172A;
        font-weight: 700;
    }

    .brand-modal-footer {
        padding: 18px 26px 22px;
        border-top: 1px solid #E2E8F0;
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-account-note {
        display: flex;
        align-items:
            center;
        gap: 8px;
        font-size: 12px;
        color: #475569;
    }

    .pulse-indicator {
        width: 8px;
        height: 8px;
        border-radius:
            50%;
        background: #10B981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
        display: inline-block;
        animation:
            pulse-green 2s infinite;
    }

    @keyframes pulse-green {
        0% {
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
        }

        70% {
            box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        }
    }

    .footer-buttons-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .btn-brand-dismiss {
        background:
            #F1F5F9;
        color: #334155;
        border: 1px solid #CBD5E1;
        border-radius: 10px;
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-family: inherit;
    }

    .btn-brand-dismiss:hover {
        background: #E2E8F0;
        color: #0F172A;
    }

    .btn-brand-upgrade {
        background: #081225;
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        padding: 10px 20px;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 12px rgba(8, 18, 37, 0.2);
        font-family: inherit;
    }

    .btn-brand-upgrade:hover {
        background:
            #12254B;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(8, 18, 37, 0.25);
        color: #FFFFFF;
    }

    @media (max-width: 640px) {
        .brand-details-grid {
            grid-template-columns: 1fr;
        }

        .brand-status-banner {
            flex-direction:
                column;
            align-items: flex-start;
        }

        .btn-brand-banner-view {
            width: 100%;
            justify-content: center;
        }

        .brand-modal-footer {
            flex-direction: column;
            align-items: stretch;
        }

        .footer-buttons-group {
            flex-direction:
                column;
            width: 100%;
        }

        .footer-buttons-group button {
            width: 100%;
            justify-content: center;
        }
    }

    </style>