.landing-mobile-drawer-head,
.landing-mobile-member-summary,
.landing-mobile-account-link,
.landing-mobile-menu-label { display: none; }

@media (min-width: 992px) {
    .landing-header .landing-mobile-drawer.offcanvas {
        position: static !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
        flex-grow: 1;
        flex-direction: row;
        border: 0 !important;
        background: transparent;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    .landing-mobile-drawer {
        position: fixed !important;
        z-index: 1055;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(84vw, 340px) !important;
        min-width: min(84vw, 340px) !important;
        height: 100dvh !important;
        max-width: none;
        max-height: 100vh !important;
        padding: 18px;
        flex: none !important;
        overflow-y: auto;
        margin: 0 !important;
        border-top: 0 !important;
        border-left: 1px solid var(--border);
        background: #fff;
        box-shadow: -18px 0 45px rgba(15, 23, 42, .16);
    }

    .landing-mobile-drawer.offcanvas-end { transform: translateX(100%) !important; }
    .landing-mobile-drawer.offcanvas-end.show { transform: none !important; }

    .landing-mobile-drawer-head {
        display: flex;
        min-height: 58px;
        padding-bottom: 12px;
        margin-bottom: 12px;
        align-items: center;
        justify-content: flex-end;
        border-bottom: 1px solid var(--border);
    }

    .landing-mobile-drawer-head .btn-close {
        position: relative;
        z-index: 2;
        box-shadow: none;
    }

    .landing-mobile-drawer .landing-links {
        width: 100%;
        margin: 0;
        align-items: stretch !important;
        gap: 3px;
    }

    .landing-mobile-drawer .landing-links .nav-link {
        padding: 11px 12px !important;
        border-radius: 9px;
        color: var(--muted);
        font-size: 14px;
    }

    .landing-mobile-drawer .landing-links .nav-link:hover,
    .landing-mobile-drawer .landing-links .nav-link.active {
        color: var(--primary);
        background: var(--soft);
    }

    .landing-mobile-drawer .landing-links .nav-link::after { display: none; }

    .landing-mobile-drawer .landing-auth {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 16px 0 0;
        gap: 8px;
    }

    .landing-mobile-drawer .landing-member-actions,
    .landing-mobile-drawer .member-actions {
        position: absolute;
        z-index: 1;
        top: 12px;
        right: 56px;
        left: 18px;
        display: flex;
        margin: 0;
        padding: 0;
        align-items: center;
        gap: 9px;
        border: 0;
    }

    .landing-mobile-drawer .landing-member-account,
    .landing-mobile-drawer .member-account-dropdown {
        min-width: 0;
        flex: 1;
        margin: 0;
    }

    .landing-mobile-drawer .landing-member-button,
    .landing-mobile-drawer .member-account-button { display: none; }

    .landing-mobile-drawer .landing-mobile-member-summary {
        display: flex;
        min-width: 0;
        min-height: 44px;
        padding: 4px 8px 4px 5px;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--ink);
        background: #fff;
        font: 500 11px "Prompt", sans-serif;
        text-decoration: none;
    }

    .landing-mobile-drawer .landing-mobile-member-summary:hover {
        color: var(--primary);
        border-color: var(--primary);
        background: var(--soft);
    }

    .landing-mobile-drawer .landing-mobile-member-summary > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .landing-mobile-drawer .landing-mobile-account-link { display: block; }

    .landing-mobile-drawer .landing-mobile-menu-label {
        display: block;
        padding: 14px 12px 6px;
        margin-top: 5px;
        color: #98a2b3;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .06em;
    }

    .landing-mobile-drawer .landing-mobile-menu-label:first-child {
        padding-top: 4px;
        margin-top: 0;
    }

    .landing-mobile-drawer .landing-mobile-menu-label.is-separated {
        margin-top: 10px;
        border-top: 1px solid var(--border);
    }

    .landing-mobile-drawer .landing-mobile-logout-form { margin: 0; }

    .landing-mobile-drawer .landing-mobile-logout {
        width: 100%;
        min-height: 42px;
        padding: 10px 14px !important;
        border: 0;
        border-radius: 9px;
        color: #fff !important;
        background: var(--primary);
        font-family: "Prompt", sans-serif;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
    }

    .landing-mobile-drawer .landing-mobile-logout:hover {
        color: #fff !important;
        background: #be123c;
    }
}
