/* Shared shell affordances for the theme entry point and standalone documents. */
:root {
    --shell-heading-font: 'Plus Jakarta Sans', Inter, sans-serif;
    --shell-surface: var(--st-white, #fff);
    --shell-ink: var(--market-ink, #0b1c30);
    --shell-muted: var(--market-muted, #434655);
    --shell-border: var(--market-line, #c3c6d7);
    --shell-primary: var(--market-purple, #004ac6);
    --shell-selected: var(--st-surface-low, #eff4ff);
    --shell-mobile-nav-height: 64px;
}
body :is(h1, h2, h3, h4, h5, h6) { font-family: var(--shell-heading-font) !important; }
.stitch-shared-header :is(a, button, summary) { font-family: Inter, sans-serif !important; }
.stitch-shared-header .stitch-shared-brand-name,
.stitch-shared-footer .stitch-shared-footer-section h4 { font-family: var(--shell-heading-font) !important; }
.stitch-shared-icon.bi, .stitch-shared-footer-icon.bi { width: 1em; height: 1em; line-height: 1; }
.stitch-shared-header .stitch-shared-brand { min-height: 44px !important; }
.stitch-shared-header .stitch-shared-nav a { min-width: 44px !important; min-height: 44px !important; }
.stitch-shared-header .stitch-shared-locale { padding: 0 !important; }
.stitch-shared-header .stitch-shared-locale a {
    display: grid !important;
    align-items: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 7px !important;
}
.stitch-shared-header .stitch-shared-cart,
.stitch-shared-header .stitch-shared-login,
.stitch-shared-header .stitch-shared-account-trigger {
    min-width: 44px !important;
    min-height: 44px !important;
}
.stitch-mobile-nav { display: none !important; }
@media (max-width: 1023px) {
    body:has(.stitch-mobile-nav) {
        padding-bottom: calc(var(--shell-mobile-nav-height) + env(safe-area-inset-bottom)) !important;
    }
    .stitch-mobile-nav {
        position: fixed !important;
        z-index: 1040 !important;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: var(--shell-mobile-nav-height);
        box-sizing: content-box;
        padding: 0 8px env(safe-area-inset-bottom);
        border-top: 1px solid var(--shell-border);
        background: var(--shell-surface);
        color: var(--shell-muted);
    }
    .stitch-mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: var(--shell-mobile-nav-height);
        padding: 6px 2px;
        border-radius: 6px;
        color: var(--shell-muted);
        font: 600 .6875rem/1.3 Inter, sans-serif;
        text-align: center;
        text-decoration: none;
    }
    .stitch-mobile-nav i { font-size: 1.125rem; line-height: 1; }
    .stitch-mobile-nav a:is(:hover, .is-active) { background: var(--shell-selected); color: var(--shell-primary); }
    .stitch-mobile-nav a:focus-visible { outline: 3px solid var(--shell-primary); outline-offset: -4px; }
    body:has(.stitch-mobile-nav) .stitch-coffee-launcher {
        bottom: calc(var(--shell-mobile-nav-height) + 16px + env(safe-area-inset-bottom)) !important;
    }
}
@media (max-width: 767px) {
    .stitch-shared-header .stitch-shared-header-inner { gap: 8px !important; }
    .stitch-shared-header .stitch-shared-brand { gap: 6px !important; }
    .stitch-shared-header .stitch-shared-brand-name { max-width: 97px !important; font-size: .9375rem !important; }
    .stitch-shared-header .stitch-shared-actions { gap: 4px !important; }
    .stitch-shared-header .stitch-shared-cart,
    .stitch-shared-header .stitch-shared-login { width: 44px !important; height: 44px !important; }
}
.stitch-focus-shell .stitch-mobile-nav { display: none !important; }
body.stitch-focus-shell { padding-bottom: 0 !important; }
@media (prefers-reduced-motion: reduce) {
    .stitch-mobile-nav *, .stitch-shared-header * { transition: none !important; animation: none !important; }
}

/* Visible labels are shared by standalone discovery and account documents. */
.discovery-field-label{display:block;margin-bottom:6px;text-align:left;font-size:.8125rem;font-weight:600;line-height:1.5}
