/* Storefront navigation only. Desktop layout and page-wide utility rules remain unchanged. */
.store-header .store-mobile-control { display: none; }
.store-mobile-menu.offcanvas { width: min(90vw, 380px); color: var(--color-text); background: var(--color-surface); }
.store-mobile-menu .offcanvas-header { border-bottom: 1px solid var(--color-border); padding: 12px 16px; }
.store-mobile-menu .offcanvas-title { font-size: 1.2rem; font-weight: 700; }
.store-mobile-menu .btn-close { width: 44px; height: 44px; padding: 12px; margin: 0; background-size: 16px; }
.store-mobile-menu .offcanvas-body { padding: 8px 16px 24px; overscroll-behavior-y: contain; }
.store-mobile-menu .store-mobile-tree,
.store-mobile-menu .store-mobile-children { list-style: none; padding: 0; margin: 0; }
.store-mobile-menu .store-mobile-children { margin-left: 12px; padding-left: 10px; border-left: 2px solid var(--color-border); }
.store-mobile-menu .store-mobile-menu-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--color-border); }
.store-mobile-menu .store-mobile-menu-row > a { flex: 1; min-width: 0; }
.store-mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 8px; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
.store-mobile-menu a:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.store-mobile-menu .store-mobile-expand { display: flex; flex: 1; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 48px; padding: 10px 8px; border: 0; background: transparent; color: var(--color-text); font: inherit; text-align: left; }
.store-mobile-menu .store-mobile-expand > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.store-mobile-menu .store-mobile-expand > i { flex: 0 0 32px; text-align: center; color: var(--color-primary); }
.store-mobile-menu .store-mobile-expand:hover { background: var(--color-primary-soft); }
.store-mobile-menu .store-mobile-expand[aria-expanded="true"] { background: var(--color-primary-soft); color: var(--color-primary); }
.store-mobile-menu .store-mobile-expand[aria-expanded="true"] i { transform: rotate(180deg); }
.store-mobile-menu .store-mobile-section-title { margin: 20px 8px 8px; font-size: .78rem; font-weight: 700; color: var(--color-text-muted); letter-spacing: .04em; }
.store-mobile-menu .store-mobile-group-label { padding: 14px 8px 4px; color: var(--color-text-muted); font-size: .8rem; }
.store-mobile-menu .store-mobile-view-all { color: var(--color-primary); font-weight: 600; }
.store-mobile-menu .store-mobile-home { gap: 10px; font-weight: 600; }
.store-mobile-menu .store-mobile-account-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.store-mobile-menu .store-mobile-account-links a { border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: .875rem; }
.store-mobile-menu .currency-selector { display: flex !important; flex-wrap: wrap; margin-left: 8px; }
.store-mobile-menu .currency-pill { justify-content: center; min-width: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.store-mobile-menu .currency-pill.is-active { background: var(--color-accent); color: var(--color-accent-ink); }
.store-mobile-menu .store-mobile-contact { gap: 10px; margin-top: 16px; }
.store-mobile-menu a:focus-visible,
.store-mobile-menu button:focus-visible,
.store-header .store-mobile-control:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

@media (max-width: 991.98px) {
    .store-topbar { display: none; }
    .store-header .category-nav { display: none; }
    .store-header .header-inner {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
        align-items: center;
        gap: 8px !important;
        padding: 10px 12px;
        text-align: left;
    }
    .store-header .store-mobile-control { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); background: transparent; color: var(--color-text-inverse); font-size: 1.1rem; }
    .store-header.is-brand-light .store-mobile-control { color: var(--color-text); border-color: var(--color-border-strong); }
    .store-header .brand { min-width: 0; margin: 0; padding: 0 4px; }
    .store-header .brand img { height: 36px; width: auto; max-width: 100%; object-fit: contain; }
    .store-header .brand-name-fallback { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .store-header .store-search-wrap { grid-row: 2; grid-column: 1 / -1; width: 100%; max-width: none; min-width: 0; margin: 0; order: 0; }
    .store-header .store-search .form-control { min-width: 0; min-height: 44px; font-size: 16px; padding: 8px 14px; }
    .store-header .store-search .btn { min-width: 48px; }
    .store-header .store-header-cart { grid-column: 4; grid-row: 1; }
    .store-header .store-mobile-account { grid-column: 3; grid-row: 1; }
    .store-header .store-cart-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: var(--radius-sm); }
    .store-header .store-cart-btn > i { margin: 0 !important; }
    .store-header .store-cart-label { display: none; }
    .store-header .store-cart-btn #cartCountBadge:not(:empty) { position: absolute; top: -6px; right: -5px; margin: 0; min-width: 20px; text-align: center; }
    .store-header .search-suggest { max-height: min(420px, 55vh); max-height: min(420px, 55dvh); }
}

