/* CB06 Mobile Drawer Premium V8 */

.cb06-mobile-launcher,
.cb06-mobile-drawer,
.cb06-mobile-backdrop-v8 {
    display: none;
}

@media (max-width: 980px) {
    html.cb06-drawer-open,
    html.cb06-drawer-open body {
        overflow: hidden !important;
        touch-action: none !important;
    }

    .pro-menu-btn,
    [data-menu-toggle]:not(.cb06-mobile-launcher) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .cb06-mobile-launcher {
        position: fixed !important;
        top: calc(14px + env(safe-area-inset-top)) !important;
        right: 14px !important;
        z-index: 10080 !important;
        width: 50px !important;
        height: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        border: 1px solid #dbe6f7 !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,.96) !important;
        box-shadow: 0 18px 44px rgba(4,19,51,.18) !important;
        backdrop-filter: blur(16px) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .cb06-mobile-launcher span {
        width: 22px !important;
        height: 2px !important;
        background: #041333 !important;
        border-radius: 999px !important;
        transition: transform .2s ease, opacity .2s ease !important;
    }

    .cb06-mobile-launcher.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .cb06-mobile-launcher.is-open span:nth-child(2) {
        opacity: 0 !important;
    }

    .cb06-mobile-launcher.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .cb06-mobile-backdrop-v8 {
        position: fixed !important;
        inset: 0 !important;
        z-index: 10060 !important;
        display: block !important;
        background: rgba(4,19,51,.46) !important;
        backdrop-filter: blur(6px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .22s ease, visibility .22s ease !important;
    }

    .cb06-mobile-backdrop-v8.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .cb06-mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 10070 !important;
        width: min(92vw, 410px) !important;
        height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        color: #041333 !important;
        box-shadow: -30px 0 90px rgba(4,19,51,.28) !important;
        transform: translateX(105%) !important;
        transition: transform .25s cubic-bezier(.2,.8,.2,1) !important;
        border-left: 1px solid #dbe6f7 !important;
        overflow: hidden !important;
    }

    .cb06-mobile-drawer.is-open {
        transform: translateX(0) !important;
    }

    .cb06-drawer-top {
        padding: calc(22px + env(safe-area-inset-top)) 18px 18px !important;
        background:
            radial-gradient(circle at 88% 18%, rgba(255,210,31,.32), transparent 30%),
            linear-gradient(135deg, #041333, #075fec) !important;
        color: white !important;
    }

    .cb06-drawer-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .cb06-drawer-brand strong {
        display: block !important;
        font-size: 30px !important;
        line-height: .9 !important;
        letter-spacing: -1.5px !important;
        font-weight: 950 !important;
    }

    .cb06-drawer-brand strong span {
        color: #0b7bff !important;
    }

    .cb06-drawer-brand small {
        display: block !important;
        margin-top: 6px !important;
        color: rgba(255,255,255,.78) !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        text-transform: uppercase !important;
        font-weight: 800 !important;
    }

    .cb06-drawer-close {
        width: 42px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.20) !important;
        border-radius: 15px !important;
        background: rgba(255,255,255,.10) !important;
        color: white !important;
        font-size: 28px !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    .cb06-drawer-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-top: 18px !important;
    }

    .cb06-drawer-cta a {
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 15px !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 950 !important;
    }

    .cb06-drawer-cta a:first-child {
        background: #ffd21f !important;
        color: #041333 !important;
    }

    .cb06-drawer-cta a:last-child {
        background: white !important;
        color: #041333 !important;
    }

    .cb06-drawer-scroll {
        flex: 1 !important;
        overflow: auto !important;
        padding: 14px !important;
        background: #f5f8fd !important;
    }

    .cb06-drawer-section {
        margin-bottom: 10px !important;
        border-radius: 20px !important;
        background: white !important;
        border: 1px solid #dbe6f7 !important;
        box-shadow: 0 10px 28px rgba(4,19,51,.05) !important;
        overflow: hidden !important;
    }

    .cb06-drawer-toggle,
    .cb06-drawer-link {
        width: 100% !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 0 16px !important;
        border: 0 !important;
        background: white !important;
        color: #041333 !important;
        text-decoration: none !important;
        text-align: left !important;
        font: inherit !important;
        font-size: 16px !important;
        font-weight: 950 !important;
        cursor: pointer !important;
    }

    .cb06-drawer-toggle em {
        display: inline-flex !important;
        width: 28px !important;
        height: 28px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: #eef5ff !important;
        color: #075fec !important;
        font-style: normal !important;
        font-size: 18px !important;
        font-weight: 950 !important;
        transition: transform .18s ease !important;
    }

    .cb06-drawer-section.is-open .cb06-drawer-toggle {
        color: #075fec !important;
    }

    .cb06-drawer-section.is-open .cb06-drawer-toggle em {
        transform: rotate(45deg) !important;
        background: #075fec !important;
        color: white !important;
    }

    .cb06-drawer-sub {
        display: none !important;
        padding: 0 10px 10px !important;
    }

    .cb06-drawer-section.is-open .cb06-drawer-sub {
        display: grid !important;
        gap: 7px !important;
    }

    .cb06-drawer-sub a {
        display: block !important;
        padding: 12px 13px !important;
        border-radius: 14px !important;
        background: #f6f9ff !important;
        color: #30415f !important;
        text-decoration: none !important;
    }

    .cb06-drawer-sub a strong {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        font-weight: 950 !important;
        color: #041333 !important;
    }

    .cb06-drawer-sub a small {
        display: block !important;
        margin-top: 4px !important;
        color: #64738d !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        font-weight: 650 !important;
    }

    .cb06-drawer-link {
        border-radius: 20px !important;
        margin-bottom: 10px !important;
        border: 1px solid #dbe6f7 !important;
        box-shadow: 0 10px 28px rgba(4,19,51,.05) !important;
    }

    .cb06-drawer-link.is-primary {
        background: #075fec !important;
        color: white !important;
    }

    .cb06-drawer-footer {
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important;
        background: white !important;
        border-top: 1px solid #dbe6f7 !important;
    }

    .cb06-drawer-footer a {
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 16px !important;
        background: #041333 !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 950 !important;
    }
}
