/* One mobile navigation surface for every HTML page. */
:root {--mobile-nav-height:calc(68px + env(safe-area-inset-bottom,0px))}
.mobile-bottom-nav {display:none;--nav-paper:#f8f7f3f5;--nav-ink:#292321;--nav-muted:#756a60;--nav-line:#29232126;--nav-selected:#292321;--nav-selected-ink:#fffaf4}
html[data-theme="dark"] .mobile-bottom-nav {--nav-paper:#101013f5;--nav-ink:#fffdf6;--nav-muted:#bcb6b3;--nav-line:#fffdf61f;--nav-selected:#fffdf6;--nav-selected-ink:#181819}
.account-mobile-icon {display:none}
@media(max-width:767px) {
    html {scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px)}
    body {padding-bottom:var(--mobile-nav-height)}
    .mobile-bottom-nav {position:fixed;inset:auto 0 0;z-index:1040;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;height:var(--mobile-nav-height);padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));flex-shrink:0;background:var(--nav-paper);color:var(--nav-ink);border-top:1px solid var(--nav-line);backdrop-filter:blur(12px);box-shadow:0 -4px 24px #0000000d}
    .mobile-bottom-nav a {min-width:0;min-height:56px;padding:0 2px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:var(--nav-muted);text-decoration:none;border-radius:12px}
    .mobile-bottom-nav .mobile-nav-icon {position:relative;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;font-size:21px;line-height:1}
    .mobile-cart-count {position:absolute;right:-7px;top:-3px;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;border-radius:10px;background:var(--market-notification);color:#fff;font-size:9px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
    .mobile-cart-count[hidden] {display:none}
    .mobile-nav-label {font-size:11px;line-height:1.2;letter-spacing:-.1px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .mobile-bottom-nav a[aria-current] {color:var(--nav-ink)}
    .mobile-bottom-nav a[aria-current] .mobile-nav-icon {color:var(--nav-selected-ink);background:var(--nav-selected)}
    .mobile-bottom-nav a:focus-visible {outline:3px solid var(--market-focus);outline-offset:-2px}
    /* The full-height feed reserves space through flex layout, not a second fixed bar. */
    .hub-page.feed-page {padding-bottom:0}
    .hub-page.feed-page>.mobile-bottom-nav {position:static;inset:auto}
    .support-placeholder {bottom:calc(var(--mobile-nav-height) + 16px)}
    .goose-visitor,.hub-page.feed-page .goose-visitor {bottom:calc(var(--mobile-nav-height) + 16px)}
    .header-actions .cart-action,
    .shop-header .market-nav {display:none}
}
@media print {.mobile-bottom-nav {display:none!important}body {padding-bottom:0}}
