/* BHSITE-MOBILE-DRAWER: the site's phone/tablet menu in the storefront drawer's look (Benjamin 2026-11-28).
   Values copied from the store sidebar (resources/css/shell.css, ".shell-sidebar"): navy in light and dark mode,
   rows 38px, 14.9px text, 3px accent bar on the current page. Only #offcanvasLeft is touched; desktop is unchanged. */
#offcanvasLeft.bh-sd {
    --sd-bg: #16202e; --sd-bg-2: #1d2937; --sd-accent: #2563eb;
    --sd-fg: #ffffff; --sd-fg-2: #cbd5e1; --sd-fg-3: #8fa3ba; --sd-line: rgb(255 255 255 / 0.07);
    width: min(288px, 86vw); background: var(--sd-bg); color: var(--sd-fg-2); border-right: 1px solid rgb(255 255 255 / 0.06);
    color-scheme: dark; font-family: inherit;
}
html.bh-dark #offcanvasLeft.bh-sd { --sd-bg: #0a1119; --sd-bg-2: #131d29; --sd-accent: #5b93f7; }
#offcanvasLeft.bh-sd .offcanvas-header { height: 4rem; padding: 0 0.75rem 0 1.25rem; border-bottom: 1px solid var(--sd-line) !important; background: var(--sd-bg); }
#offcanvasLeft.bh-sd .bh-sd-logo { display: flex; align-items: center; min-width: 0; flex: 1; padding: 0; margin: 0; }
#offcanvasLeft.bh-sd .bh-sd-logo img { max-height: 32px; max-width: 100%; width: auto; }
#offcanvasLeft.bh-sd .bh-sd-logo img.bh-sd-whiten { filter: brightness(0) invert(1); }
#offcanvasLeft.bh-sd .bh-sd-close {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
    border: 0; border-radius: 8px; background: transparent; color: rgb(255 255 255 / 0.7); padding: 0;
}
#offcanvasLeft.bh-sd .bh-sd-close:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
#offcanvasLeft.bh-sd .bh-sd-close svg { width: 24px; height: 24px; }
#offcanvasLeft.bh-sd .offcanvas-body { padding: 0.5rem 0 1rem; background: var(--sd-bg); overflow-y: auto; overflow-x: hidden; }

.bh-sd-nav ul { list-style: none; margin: 0; padding: 0; }
.bh-sd-section {
    margin: 18px 0 6px; padding: 0 0.9rem; font-size: 11.5px; font-weight: 600; letter-spacing: 0.09em;
    text-transform: uppercase; color: var(--sd-fg-3);
}
.bh-sd-nav > .bh-sd-section:first-child { margin-top: 8px; }
.bh-sd-row {
    box-sizing: border-box; display: flex; align-items: center; gap: 0.55rem; width: 100%; min-height: 38px;
    padding: 0 0.9rem; font-size: 0.93rem; font-weight: 500; line-height: 1.3; color: var(--sd-fg-2);
    text-decoration: none; cursor: pointer;
}
.bh-sd-row:hover, .bh-sd-row:focus-visible { background: rgb(255 255 255 / 0.05); color: #fff; text-decoration: none; }
.bh-sd-row[aria-current='page'] { background: var(--sd-bg-2); color: #fff; font-weight: 400; box-shadow: inset 3px 0 0 var(--sd-accent); }
.bh-sd-icon { width: 18px; height: 18px; flex: none; opacity: 0.8; }
.bh-sd-label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-sd-toggle { list-style: none; }
.bh-sd-toggle::-webkit-details-marker { display: none; }
.bh-sd-toggle::marker { content: ''; }
.bh-sd-chevron { width: 14px; height: 14px; flex: none; opacity: 0.55; transition: transform 0.15s ease; }
.bh-sd-group[open] > .bh-sd-toggle .bh-sd-chevron { transform: rotate(90deg); }
.bh-sd-sub { padding-left: 2.5rem; font-size: 0.88rem; font-weight: 400; opacity: 0.82; }
.bh-sd-sub:hover, .bh-sd-sub[aria-current='page'] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bh-sd-chevron { transition: none; } }
/* END BHSITE-MOBILE-DRAWER */
