html {
    scrollbar-gutter: stable;
}

.site-header-inner {
    position: relative;
}

.site-nav a.is-active {
    font-weight: 500;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

@media (max-width: 980px) {
    .site-nav.is-open {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 40;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px;
        border: 1px solid #e2e8f0;
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 18px 34px rgba(15, 42, 80, .12);
    }

    .site-nav.is-open a {
        width: 100%;
        padding: 13px 14px;
        border-radius: 8px;
    }

    .site-nav.is-open a.is-active::after {
        display: none;
    }

    .site-nav.is-open a.is-active {
        background: #f4f7fb;
        color: #0f2a50;
    }

    .mobile-menu[aria-expanded="true"] {
        border-color: #f0b18e;
        background: #fff7f2;
        color: #e85e25;
    }
}


.customer-member-menu {
    position: relative;
}

.customer-member-menu summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 9px;
    background: #0f2a50;
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 8px 20px rgba(16, 36, 72, .14);
}

.customer-member-menu summary::-webkit-details-marker {
    display: none;
}

.customer-member-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    width: 230px;
    overflow: hidden;
    border: 1px solid #dfe6ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 42, 80, .16);
}

.customer-member-menu-panel > a,
.customer-member-menu-panel form button {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border: 0;
    background: #fff;
    color: #223b58;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.customer-member-menu-panel > a:hover,
.customer-member-menu-panel form button:hover {
    background: #f5f8fb;
}

.customer-member-menu-panel form {
    margin: 0;
    border-top: 1px solid #edf1f5;
}

.customer-member-menu-panel form button {
    color: #b74636;
}

@media (max-width: 560px) {
    .customer-member-menu summary {
        min-height: 40px;
        padding: 0 11px;
        font-size: .78rem;
    }

    .customer-member-menu-panel {
        width: min(230px, calc(100vw - 28px));
    }
}
