/* Shared mobile site menu. The page and shortcut dock stay behind the native dialog. */
html[data-bdm-open] { overflow:hidden; }
#bd-menu-sheet {
    --bm-ink:#f9f8f5;
    --bm-muted:#bebdc5;
    --bm-line:rgba(236,234,246,.16);
    --bm-tile:rgba(244,242,255,.055);
    --bm-on:#1a191d;
    --bm-focus:#dad0ff;
    --bm-pill:#eeedf0;
    --bm-surface:linear-gradient(155deg,rgba(53,51,62,.96),rgba(29,29,34,.98) 52%,rgba(23,24,29,.98));
    --bm-shadow:0 20px 76px #06070899,inset 0 1px #ffffff12;
    box-sizing:border-box;
    position:fixed;
    inset:auto 0 max(8px,env(safe-area-inset-bottom));
    width:min(460px,calc(100% - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right))));
    max-width:none;
    max-height:calc(100vh - 22px);
    max-height:min(790px,calc(100dvh - max(14px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))));
    margin:0 auto;
    padding:0;
    border:1px solid var(--bm-line);
    border-radius:25px;
    background:#202025;
    background:var(--bm-surface);
    color:var(--bm-ink);
    box-shadow:var(--bm-shadow);
    font:500 14px/1.4 Poppins,system-ui,sans-serif;
    text-align:start;
    letter-spacing:normal;
    overflow:hidden;
    overscroll-behavior:contain;
    isolation:isolate;
}
#bd-menu-sheet:not([open]), #bd-menu-sheet [hidden] { display:none!important; }
#bd-menu-sheet[open] { display:flex; flex-direction:column; }
#bd-menu-sheet::backdrop {
    background:rgba(5,6,9,.72);
    -webkit-backdrop-filter:blur(8px) saturate(.68);
    backdrop-filter:blur(8px) saturate(.68);
}
[data-wf-theme="light"] #bd-menu-sheet {
    --bm-ink:#1c1c23;
    --bm-muted:#55555f;
    --bm-line:rgba(34,34,43,.17);
    --bm-tile:rgba(47,42,65,.045);
    --bm-on:#faf9f7;
    --bm-focus:#5c4099;
    --bm-pill:#2c2b31;
    --bm-surface:linear-gradient(145deg,rgba(253,252,255,.98),rgba(244,243,248,.97) 56%,rgba(239,238,244,.98));
    --bm-shadow:0 18px 76px #12111b40,inset 0 1px #fff;
}
[data-wf-theme="light"] #bd-menu-sheet::backdrop { background:rgba(29,29,37,.44); }
#bd-menu-sheet :where(*, *::before, *::after) { box-sizing:border-box; }
#bd-menu-sheet :where(a, button, summary) { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
#bd-menu-sheet :where(a,button) {
    color:inherit;
    font:inherit;
    letter-spacing:inherit;
    text-decoration:none;
}
#bd-menu-sheet button { appearance:none; border:0; background:none; cursor:pointer; margin:0; padding:0; }
#bd-menu-sheet :where(a,button,summary):focus-visible { outline:2px solid var(--bm-focus); outline-offset:-3px; }
#bd-menu-sheet :where(a,button,summary)[aria-disabled="true"] { cursor:default; }
#bd-menu-sheet svg { flex:none; display:block; }
#bd-menu-sheet .bdm-head {
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px 16px 10px;
    flex:none;
}
#bd-menu-sheet .bdm-wordmark { display:flex; align-items:center; gap:8px; border-radius:10px; min-height:44px; }
#bd-menu-sheet .bdm-wordmark .bd-brand-mark { width:32px; height:32px; border-radius:10px; display:inline-grid; }
#bd-menu-sheet .bdm-wordmark strong { font:700 21px/1.1 Poppins,system-ui,sans-serif; letter-spacing:-.06em; }
#bd-menu-sheet .bdm-head h2 {
    color:var(--bm-muted);
    border-inline-start:1px solid var(--bm-line);
    padding-inline-start:10px;
    margin:0 auto 0 0;
    text-transform:none;
    font:500 12px/1.25 Poppins,system-ui,sans-serif;
    letter-spacing:0;
}
#bd-menu-sheet .bdm-round {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:none;
    border-radius:50%;
    background:var(--bm-tile);
    border:1px solid var(--bm-line);
}
#bd-menu-sheet .bdm-switch { display:flex; padding:3px; gap:2px; margin:0 16px 7px; border:1px solid var(--bm-line); border-radius:999px; }
#bd-menu-sheet .bdm-switch button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    flex:1 1 0;
    min-width:0;
    min-height:40px;
    padding:3px 5px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    line-height:1.2;
    color:var(--bm-muted);
}
#bd-menu-sheet .bdm-switch button[aria-selected="true"] { background:var(--bm-pill); color:var(--bm-on); }
#bd-menu-sheet .bdm-scroll {
    min-height:0;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--bm-line) transparent;
    padding:5px 16px 14px;
}
#bd-menu-sheet .bdm-search {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:44px;
    border:1px solid var(--bm-line);
    border-radius:13px;
    padding:8px 13px;
    margin:0 0 9px;
    color:var(--bm-muted);
    font-size:12px;
}
#bd-menu-sheet .bdm-search span { flex:1; }
#bd-menu-sheet :is(.bdm-destinations,.bdm-sections) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
#bd-menu-sheet :is(.bdm-destinations,.bdm-sections)>:is(a,button,span) {
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    min-height:47px;
    padding:5px 10px;
    border-radius:12px;
    border:1px solid var(--bm-line);
    background:var(--bm-tile);
    text-align:start;
    font-size:13px;
    font-weight:600;
    line-height:1.25;
    overflow-wrap:anywhere;
}
#bd-menu-sheet :is(.bdm-destinations,.bdm-sections)>[aria-current] {
    background:var(--bm-pill);
    border-color:transparent;
    color:var(--bm-on);
}
#bd-menu-sheet .bdm-ico { display:inline-flex; flex:none; align-items:center; justify-content:center; color:inherit; }
#bd-menu-sheet .bdm-destinations>button>svg:last-child { margin-inline-start:auto; }
#bd-menu-sheet .bdm-destinations .bdm-badge { margin-inline-start:auto; font-size:9px; font-weight:550; color:var(--bm-muted); }
#bd-menu-sheet .bdm-destinations>[aria-current] .bdm-badge { color:inherit; }
#bd-menu-sheet h3 { font:600 15px/1.3 Poppins,system-ui,sans-serif; letter-spacing:-.025em; margin:7px 0 10px; }
#bd-menu-sheet .bdm-future { margin:17px 0 0; }
#bd-menu-sheet .bdm-future h3 { font-size:12px; letter-spacing:0; color:var(--bm-muted); margin:0 0 7px; }
#bd-menu-sheet .bdm-future ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 11px; list-style:none; padding:0; margin:0; }
#bd-menu-sheet .bdm-future li { min-width:0; min-height:31px; display:flex; gap:6px; align-items:center; margin:0; padding:2px 0; font-size:11px; }
#bd-menu-sheet .bdm-future li svg { color:var(--bm-muted); }
#bd-menu-sheet .bdm-future small {
    display:inline-flex;
    align-items:center;
    border-radius:5px;
    padding:2px 4px;
    border:1px solid var(--bm-line);
    color:var(--bm-muted);
    font:500 9px/1.15 Poppins,system-ui,sans-serif;
}
#bd-menu-sheet .bdm-return,#bd-menu-sheet .bdm-catalogue { display:inline-flex; gap:7px; align-items:center; min-height:44px; color:var(--bm-muted); font-size:12px; }
#bd-menu-sheet .bdm-return { padding:0 6px 0 0; }
#bd-menu-sheet .bdm-category-list details { border-top:1px solid var(--bm-line); }
#bd-menu-sheet .bdm-category-list summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; min-height:46px; gap:7px; padding:4px; border-radius:6px; font-size:13px; }
#bd-menu-sheet .bdm-category-list summary::-webkit-details-marker { display:none; }
#bd-menu-sheet .bdm-category-list summary svg { width:14px; transform:rotate(90deg); }
#bd-menu-sheet .bdm-category-list [open]>summary svg { transform:rotate(-90deg); }
#bd-menu-sheet .bdm-category-list details nav { display:grid; border-inline-start:1px solid var(--bm-line); margin:0 0 9px 7px; padding-inline-start:7px; }
#bd-menu-sheet .bdm-category-list details nav a { display:flex; align-items:center; min-height:44px; padding:3px 9px; color:var(--bm-muted); border-radius:7px; font-size:12px; }
#bd-menu-sheet .bdm-category-list details nav a:first-child { color:var(--bm-ink); font-weight:600; }
#bd-menu-sheet .bdm-footer { flex:none; margin:0; padding:0 14px 5px; border-top:1px solid var(--bm-line); }
#bd-menu-sheet .bdm-member { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; margin:3px 0; }
#bd-menu-sheet .bdm-member a { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px; min-height:48px; padding:3px; border-radius:10px; font-size:10px; line-height:1.25; text-align:center; overflow-wrap:anywhere; }
#bd-menu-sheet .bdm-preferences { display:flex; align-items:center; justify-content:space-between; gap:6px; border-top:1px solid var(--bm-line); color:var(--bm-muted); }
#bd-menu-sheet .bdm-preferences nav { display:flex; }
#bd-menu-sheet .bdm-preferences :is(a,button) { display:inline-flex; align-items:center; justify-content:center; gap:6px; border-radius:8px; min-height:44px; padding:4px 6px; font-size:11px; }
#bd-menu-sheet .bdm-preferences a { min-width:40px; }
#bd-menu-sheet .bdm-preferences a[aria-current] { text-decoration:underline; text-underline-offset:4px; color:var(--bm-ink); }
@media(hover:hover){
    #bd-menu-sheet :where(.bdm-round,.bdm-search,.bdm-member a,.bdm-preferences a,.bdm-preferences button,.bdm-destinations>a,.bdm-destinations>button,.bdm-category-list summary,.bdm-category-list a,.bdm-sections a):hover { background:color-mix(in srgb,var(--bm-ink) 13%,transparent); }
    #bd-menu-sheet :is(.bdm-destinations,.bdm-sections)>[aria-current]:hover { background:var(--bm-pill); }
}
@media(min-width:600px) and (min-height:550px) {
    #bd-menu-sheet { inset:0; margin:auto; }
}
@media(max-width:355px) {
    #bd-menu-sheet .bdm-head { padding:9px 11px 5px; }
    #bd-menu-sheet .bdm-switch { margin-inline:11px; }
    #bd-menu-sheet .bdm-scroll { padding-inline:11px; }
    #bd-menu-sheet :is(.bdm-destinations,.bdm-sections)>:is(a,button,span) { gap:5px; padding-inline:7px; font-size:12px; }
    #bd-menu-sheet .bdm-future ul { column-gap:6px; }
    #bd-menu-sheet .bdm-future li { gap:4px; }
}
@media(min-height:471px) and (max-height:640px) {
    #bd-menu-sheet .bdm-future { margin-top:9px; }
    #bd-menu-sheet .bdm-future li { min-height:23px; }
    #bd-menu-sheet .bdm-scroll { padding-bottom:7px; }
}
@media(max-height:470px) {
    #bd-menu-sheet .bdm-head { position:sticky; top:0; z-index:1; background:var(--bm-surface); }
    #bd-menu-sheet[open] { display:block; overflow-y:auto; }
    #bd-menu-sheet .bdm-scroll { overflow:visible; }
}
@media(prefers-reduced-motion:no-preference) {
    #bd-menu-sheet[open] { animation:bdm-enter .19s cubic-bezier(.2,.75,.25,1); }
    @keyframes bdm-enter { from { opacity:.25; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
}
@media(forced-colors:active) {
    #bd-menu-sheet :where(button,a)[aria-selected="true"], #bd-menu-sheet [aria-current] { outline:2px solid Highlight; outline-offset:-3px; }
}
