.mobile-submenu-toggle { display: none; }

/* Restore the fixed service menu position used before the page-width redesign. */
body:has(.bl-site-menu) nav.bl-service-shortcuts {
    right: max(16px, env(safe-area-inset-right));
}
@media (min-width: 1200px) {
    body:has(.bl-site-menu) nav.bl-service-shortcuts {
        --bl-service-shortcuts-top: clamp(132px, 22vh, 200px);
    }
}

@media screen and (max-width: 1024px) {
    .right-content button.mobile-submenu-toggle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .15em .65em;
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        margin: 0 0 .5em;
        padding: .45em .7em;
        border: 1px solid #b7c6d5;
        border-radius: 6px;
        background: #f5f8fb;
        color: #143750;
        font: 600 .875rem/1.4 Pretendard, "Malgun Gothic", sans-serif;
        text-align: start;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }
    .mobile-submenu-toggle > span { grid-area: 1 / 1; font-size: .85em; color: #4a6072; }
    .mobile-submenu-toggle > strong { grid-area: 2 / 1; }
    .mobile-submenu-toggle::after {
        content: "";
        grid-area: 1 / 2 / 3 / 3;
        width: 9px;
        height: 9px;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
    .mobile-submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
    body .right-content button.mobile-submenu-toggle[aria-expanded="false"] + .mobile-submenu-options {
        display: none;
    }
    body .right-content .mobile-submenu-toggle[aria-expanded="true"] + .mobile-submenu-options:not([hidden]) {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr));
        gap: 1px;
        width: 100%;
        height: auto;
        margin: 0 0 .8em;
        padding: 0;
        border: 1px solid #c6d3df;
        border-radius: 6px;
        background: #dfe8ef;
        overflow: hidden;
        font-size: .875rem;
        box-sizing: border-box;
    }
    body .right-content .mobile-submenu-options > :is(li, div):not([hidden]) {
        display: block;
        grid-column: auto;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        padding: 0;
        margin: 0;
        border: 0;
        background: white;
    }
    body .right-content .mobile-submenu-options :is(a,button):not([hidden]) {
        box-sizing: border-box;
        display: block;
        align-content: center;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        height: 100%;
        margin: 0;
        padding: .45em .7em;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
        color: #243b4d;
        font: inherit;
        line-height: 1.4;
        text-align: start;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body .right-content .mobile-submenu-options .bl-mobile-current {
        background: #15435f;
        color: white;
        font-weight: 700;
    }
    .right-content .mobile-submenu-options :is(a,button)::after,
    .right-content .mobile-submenu-options :is(a,button)::before { content: none; }
    .right-content :is(.mobile-submenu-toggle,.mobile-submenu-options a,.mobile-submenu-options button):focus-visible {
        outline: 2px solid #25639c;
        outline-offset: -3px;
    }
}

.right-content .bl-delivery-actions { margin: .45rem 0 .85rem; }
.right-content .bl-delivery-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: .45em .9em;
    border: 1px solid #2c607c;
    border-radius: 7px;
    background: #eaf4fa;
    color: #16445f;
    font-size: clamp(.875rem, 1.2vw, 1rem);
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
    text-decoration: none;
}
.right-content .bl-delivery-link:is(:hover,:focus-visible) { background: #d9ecfa; text-decoration: underline; }
