@keyframes qbFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.qb-step {
    animation: qbStepSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: none;
}
.qb-step.active-step {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

@keyframes qbStepSlide {
    from { opacity: 0; filter: blur(3px); transform: scale(0.98); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.qb-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.qb-progress-bar {
    height: 4px;
    flex: 1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s;
}
.qb-progress-bar.active {
    background: #ff6b00;
}

.qb-header { text-align: center; margin-bottom: 20px; }
.qb-header h1, .qb-header h2 { font-size: 1.7rem; margin: 8px 0 4px; color: #fff; }
.qb-header p { color: rgba(255, 255, 255, 0.5); margin: 0; font-size: 0.92rem; }

.qb-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.qb-input:focus { border-color: #ff6b00; box-shadow: 0 0 0 3px rgba(255,107,0,0.15); }

.qb-tabs {
    display: flex;
    gap: 6px;
    margin: 12px 0 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.qb-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 7px 0;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}
.qb-tab:hover { color: rgba(255, 255, 255, 0.9); }
.qb-tab.active {
    background: #ff6b00;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.qb-list {
    max-height: 400px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-right: 4px;
    margin-top: 16px;
}

.qb-item-btn {
    width: 100%;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 9px 14px;
    color: #fff;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.92rem;
    transition: all 0.2s;
    box-sizing: border-box;
}
.qb-item-btn:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

.qb-plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 18px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.qb-plan-card:hover {
    background: rgba(255, 107, 0, 0.12) !important;
    border-color: rgba(255, 107, 0, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.15);
}
.qb-plan-info { display: flex; align-items: center; gap: 12px; }
.qb-plan-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b00;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.qb-plan-details div:first-child { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.qb-plan-details div:last-child { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.qb-plan-price {
    background: #ff6b00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
}

.qb-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.80rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    user-select: none;
    width: fit-content;
}
.qb-back-btn:hover {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.45);
    color: #fff;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}
.qb-back-btn i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}
.qb-back-btn:hover i {
    transform: translateX(-2px);
}

.qb-change-plan-btn {
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: #ff8533;
    border-radius: 8px;
    padding: 4px 9px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
    white-space: nowrap;
    flex-shrink: 0;
}
.qb-change-plan-btn:hover {
    background: rgba(255, 107, 0, 0.25);
    border-color: rgba(255, 107, 0, 0.65);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}
.qb-change-plan-btn i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}
.qb-change-plan-btn:hover i {
    transform: rotate(180deg);
}

.qb-checkout-actions {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.qb-back-to-plans-bottom {
    width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: transparent;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.qb-back-to-plans-bottom:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}
.qb-back-to-plans-bottom i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}
.qb-back-to-plans-bottom:hover i {
    transform: translateX(-3px);
}

#qbStripeBtn:hover, #qbPaypalBtn:hover {
    opacity: 0.90;
    transform: translateY(-1px);
}
#qbEmail:focus {
    border-color: #ff6b00 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
}

/* Custom Flag Styles for Quick Buy */
.qb-list .fi,
#qbStep2Flag .fi,
#qbSummaryCountry .fi {
    border-radius: 5px !important;
    border: 2px solid rgba(255, 107, 0, 0.5) !important;
    width: 1.6em !important;
    height: 1.2em !important;
    line-height: 1.2em !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    vertical-align: middle !important;
    margin-right: 6px;
}
#qbStep2Flag .fi {
    font-size: 2.5rem !important;
    margin-right: 0;
}

.qb-summary {
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qb-pay-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}
.qb-pay-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.qb-stripe-btn { background: #ffffff; color: #000; box-shadow: 0 4px 15px rgba(255,255,255,0.1); }
.qb-paypal-btn { background: #FFC439; color: #000; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(255,196,57,0.2); }

.qb-footer-nav {
    margin-top: 18px;
    text-align: center;
}
.qb-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.qb-home-btn:hover {
    color: #fff;
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-2px);
}
.qb-home-btn i { font-size: 0.8rem; }

@keyframes qbShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- SIDEBAR STYLES (Split Desktop) --- */
.qb-sidebar-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}
.qb-sidebar-badge {
    display: none;
}
.qb-sidebar-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 3px 0;
    letter-spacing: -0.3px;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}
.qb-sidebar-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 14px 0;
}

/* Stepper V */
.qb-stepper-v {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}
.qb-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 10px;
    border-radius: 12px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
}
.qb-step-item.clickable {
    cursor: pointer;
}
.qb-step-item.clickable:hover {
    background: rgba(255, 107, 0, 0.12);
    transform: translateX(3px);
}
.qb-step-item.disabled {
    cursor: not-allowed;
    opacity: 0.45;
}
.qb-step-item.disabled:hover {
    background: transparent;
    transform: none;
}
.qb-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}
.qb-step-check {
    display: none;
    font-size: 0.75rem;
}
.qb-step-item.active .qb-step-circle {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.45);
}
.qb-step-item.completed .qb-step-circle {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: #10b981;
}
.qb-step-item.completed .qb-step-num {
    display: none;
}
.qb-step-item.completed .qb-step-check {
    display: inline-block;
}
.qb-step-line {
    width: 2px;
    height: 12px;
    background: rgba(255, 255, 255, 0.12);
    margin: -1px 0 -1px 23px;
    transition: background 0.25s ease;
}
.qb-step-line.active {
    background: rgba(255, 107, 0, 0.6);
}
.qb-step-info {
    flex: 1;
    min-width: 0;
}
.qb-step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}
.qb-step-item.active .qb-step-label {
    color: #fff;
    font-weight: 700;
}
.qb-step-item.completed .qb-step-label {
    color: rgba(255, 255, 255, 0.9);
}
.qb-step-val {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
    margin-top: 1px;
}
.qb-step-val .fi {
    border-radius: 3px !important;
    border: 1px solid rgba(255, 107, 0, 0.5) !important;
    width: 1.3em !important;
    height: 0.95em !important;
    vertical-align: middle !important;
    margin-right: 4px;
}
.qb-step-item.active .qb-step-val,
.qb-step-item.completed .qb-step-val {
    color: #ff8533;
    font-weight: 500;
}

/* Sidebar Live Preview Card */
.qb-sidebar-preview {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 8px 0;
    transition: all 0.3s ease;
}
.qb-preview-empty {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    line-height: 1.35;
}
.qb-preview-empty i {
    font-size: 1.25rem;
    color: rgba(255, 107, 0, 0.5);
    flex-shrink: 0;
}
.qb-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.qb-preview-flag .fi {
    border-radius: 4px !important;
    border: 1.5px solid rgba(255, 107, 0, 0.5) !important;
    width: 1.35em !important;
    height: 1.0em !important;
    display: inline-block;
}
.qb-preview-country {
    font-size: 0.90rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qb-preview-plan {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px;
}
.qb-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.qb-preview-vp {
    font-size: 0.70rem;
    font-weight: 600;
    color: #ffb066;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.qb-preview-price {
    font-size: 1.0rem;
    font-weight: 800;
    color: #ff6b00;
}

/* Sidebar Trust Badges */
.qb-sidebar-trust {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.qb-trust-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}
.qb-trust-row:last-child {
    margin-bottom: 0;
}
.qb-trust-row i {
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

/* Scrollbars */
.qb-list::-webkit-scrollbar,
.qb-main-content::-webkit-scrollbar {
    width: 4px;
}
.qb-list::-webkit-scrollbar-track,
.qb-main-content::-webkit-scrollbar-track {
    background: transparent;
}
.qb-list::-webkit-scrollbar-thumb,
.qb-main-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px;
}
.qb-list::-webkit-scrollbar-thumb:hover,
.qb-main-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* --- DESKTOP SPLIT LAYOUT (min-width: 861px) --- */
@media (min-width: 861px) {
    .qb-page-wrapper {
        min-height: 100vh !important;
        padding-top: calc(70px + env(safe-area-inset-top) + 16px) !important;
        padding-bottom: 24px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        background: radial-gradient(ellipse 75% 55% at 50% 45%, rgba(255, 107, 0, 0.10), rgba(59, 130, 246, 0.04) 45%, transparent 75%) !important;
    }
    .qb-container {
        max-width: 980px;
        width: 95%;
        margin: 0 auto;
        padding: 0;
        background: rgba(15, 15, 26, 0.90);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 107, 0, 0.25);
        border-radius: 24px;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 107, 0, 0.10);
        color: #fff;
        font-family: 'Inter', -apple-system, sans-serif;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: 550px;
        max-height: calc(100vh - 130px);
        min-height: 500px;
        overflow: hidden;
        transition: all 0.3s ease;
        animation: qbFadeIn 0.6s ease-out;
    }
    .qb-split-sidebar {
        width: 295px;
        min-width: 295px;
        flex-shrink: 0;
        background: linear-gradient(180deg, rgba(255, 107, 0, 0.08) 0%, rgba(13, 13, 22, 0.96) 100%);
        border-right: 1px solid rgba(255, 107, 0, 0.18);
        padding: 24px 20px 24px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    .qb-main-content {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 20px 24px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-y: auto;
        position: relative;
    }
    .qb-progress {
        display: none !important;
    }
    .qb-header {
        margin-bottom: 12px;
    }
    .qb-header .qb-header-icon {
        font-size: 1.6rem !important;
        margin-bottom: 2px;
    }
    .qb-header h1, .qb-header h2 {
        font-size: 1.35rem !important;
        margin: 2px 0 !important;
    }
    .qb-header p {
        font-size: 0.84rem !important;
        margin: 0 !important;
    }
    .qb-list {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        max-height: 330px !important;
        margin-top: 12px !important;
        padding-right: 4px;
    }
    .qb-item-btn {
        height: auto !important;
        min-height: 86px !important;
        max-height: none !important;
        padding: 13px 15px !important;
        font-size: 0.9rem !important;
        border-radius: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 10px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .qb-item-btn .qb-country-name {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    #qbPlanList {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 12px auto 0 !important;
        padding: 4px 2px 16px !important;
        box-sizing: border-box !important;
    }
    .qb-plan-card {
        padding: 13px 18px !important;
        margin-bottom: 0 !important;
        border-radius: 15px !important;
        min-height: 60px !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    #qbStep2 .qb-header {
        margin-bottom: 6px !important;
    }
    #qbStep2Flag .fi {
        width: 44px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }
    .qb-plan-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.95rem !important;
    }
    .qb-plan-details div:first-child {
        font-size: 0.98rem !important;
    }
    .qb-plan-price {
        font-size: 0.95rem !important;
        padding: 4px 10px !important;
    }
    .qb-tabs {
        margin: 8px 0 6px !important;
        padding: 4px !important;
    }
    .qb-tab {
        padding: 6px 0 !important;
        font-size: 0.84rem !important;
    }
    .qb-input {
        padding: 10px 14px !important;
        font-size: 0.92rem !important;
    }
    .qb-summary {
        padding: 12px 14px !important;
        margin-bottom: 12px !important;
    }
    .qb-footer-nav {
        width: 95%;
        max-width: 980px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 16px;
    }
}
@media (min-width: 1120px) {
    .qb-container {
        max-width: 1180px;
        height: 640px;
        max-height: calc(100vh - 115px);
    }
    .qb-list {
        grid-template-columns: repeat(3, 1fr) !important;
        max-height: 410px !important;
    }
    #qbPlanList {
        max-height: 440px !important;
    }
    .qb-footer-nav {
        max-width: 1180px;
    }
}
.qb-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.qb-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1;
}
.qb-card-title-wrap .fi {
    width: 24px !important;
    height: 18px !important;
    border-radius: 3px !important;
    flex-shrink: 0;
}
.qb-country-name {
    font-weight: 700;
    font-size: 0.94rem;
    color: #fff;
    line-height: 1.25;
}
.qb-card-arrow {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.qb-item-btn:hover .qb-card-arrow {
    color: #ff9500;
    transform: translateX(3px);
}
.qb-card-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.qb-card-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}
.qb-card-from {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}
.qb-card-price {
    font-size: 0.93rem;
    font-weight: 700;
    color: #ff9500;
}
.qb-card-data {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 500;
    white-space: nowrap;
}
.qb-pay-badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.qb-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 20px;
    padding: 2px 4px;
    box-sizing: border-box;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.qb-pay-badge:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.1);
}
.qb-pay-badge img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}
.qb-pay-badge--visa img {
    transform: scale(1.3);
}
.qb-pay-badge--apple {
    padding: 0;
    background: #000000;
    border-color: rgba(255, 255, 255, 0.2);
}
.qb-pay-badge--apple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qb-pay-badge--gpay {
    padding: 0;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}
.qb-pay-badge--gpay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.42);
}
.qb-pay-badge--paypal img {
    height: 11px;
}
.qb-pay-badge--amazon img {
    height: 12px;
}
.qb-day-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 560px;
    margin: 10px auto 2px;
}
.qb-plan-day-divider {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ff9500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 4px 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qb-plan-day-divider:first-child {
    padding-top: 0;
}
.qb-day-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.qb-day-pill:hover {
    color: #fff;
    border-color: rgba(255, 149, 0, 0.4);
    background: rgba(255, 149, 0, 0.1);
}
.qb-day-pill.active {
    color: #fff;
    background: #ff6b00;
    border-color: #ff6b00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}
.qb-footer-trust {
    display: none;
}
@media (min-width: 861px) {
    .qb-footer-trust {
        display: flex;
        align-items: center;
        gap: 18px;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.45);
    }
    .qb-footer-trust span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* --- MOBILE SINGLE-COLUMN (max-width: 860px) --- */
@media (max-width: 860px) {
    .qb-page-wrapper {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: calc(70px + env(safe-area-inset-top) + 16px) !important;
        padding-bottom: 30px;
        padding-left: 12px;
        padding-right: 12px;
        margin-top: 0 !important;
        box-sizing: border-box;
    }
    .qb-container {
        max-width: 520px;
        width: 95%;
        margin: 0 auto;
        padding: 20px 16px;
        background: rgba(15, 15, 26, 0.85);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 107, 0, 0.25);
        border-radius: 20px;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 107, 0, 0.05);
        color: #fff;
        font-family: 'Inter', -apple-system, sans-serif;
        box-sizing: border-box;
        display: block;
        height: auto;
        max-height: none;
    }
    .qb-split-sidebar {
        display: none !important;
    }
    .qb-main-content {
        padding: 0;
        height: auto;
        overflow-y: visible;
    }
    .qb-progress {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
    }
    .qb-list {
        grid-template-columns: 1fr 1fr;
        max-height: 380px;
        gap: 8px;
        margin-top: 14px;
    }
    .qb-item-btn {
        height: auto;
        min-height: 78px;
        padding: 11px 12px;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 8px;
        border-radius: 14px;
    }
    #qbPlanList {
        display: block;
        max-height: 380px;
        overflow-y: auto;
        margin-top: 14px;
    }
    .qb-plan-card {
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .qb-list {
        grid-template-columns: 1fr !important;
    }
}
