/*
 * Simply Foods: mobile bottom bar (added 2026-11-24).
 * Phone + Get a Quote, shown exactly when the theme shows the mobile header (max-width 1199px,
 * Bootstrap d-xl-none). Markup printed on wp_footer by basilico_child_mobile_bar() in functions.php.
 * z-index 600: above the sticky header and back-to-top (99), below the theme's page overlay (603)
 * and slide-out menus (604), so the mobile flyout still covers it. Same layer as the blog TOC bubble.
 */
.sf-mbar {
    display: none;
}
@media (max-width: 1199px) {
    .sf-mbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 600;
        display: flex;
        gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(250, 246, 238, 0.97);
        -webkit-backdrop-filter: saturate(1.3) blur(8px);
        backdrop-filter: saturate(1.3) blur(8px);
        border-top: 1px solid rgba(182, 154, 96, 0.5);
        box-shadow: 0 -6px 22px rgba(24, 63, 53, 0.08);
    }
    .sf-mbar a {
        flex: 1 1 0;
        min-width: 0;
        height: 46px;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border: 1px solid #D98C75;
        border-radius: 0;
        font-family: Montserrat, sans-serif;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    }
    .sf-mbar__call,
    .sf-mbar__call:hover,
    .sf-mbar__call:focus {
        color: #183F35;
        background: rgba(255, 255, 255, 0.55);
    }
    .sf-mbar__call svg {
        flex: none;
        width: 16px;
        height: 16px;
        color: #D98C75;
    }
    .sf-mbar__call:active {
        background: rgba(217, 140, 117, 0.14);
    }
    .sf-mbar__quote,
    .sf-mbar__quote:hover,
    .sf-mbar__quote:focus {
        color: #fff;
        background: #D98C75;
    }
    .sf-mbar__quote:active {
        background: #C97A63;
        border-color: #C97A63;
    }
    .sf-mbar a:focus-visible {
        outline: 2px solid #183F35;
        outline-offset: 2px;
    }

    /* Keep the end of every page clear of the bar. */
    body {
        padding-bottom: calc(67px + env(safe-area-inset-bottom));
    }
    /* Lift the floating buttons above the bar (same 20px rise the theme animates on show). */
    .pxl-scroll-top {
        bottom: calc(64px + env(safe-area-inset-bottom));
    }
    .pxl-scroll-top.on {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
    .sf-toc {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
    .grecaptcha-badge {
        bottom: calc(81px + env(safe-area-inset-bottom)) !important;
    }
}
@media (max-width: 359px) {
    .sf-mbar {
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .sf-mbar a {
        font-size: 12px;
        letter-spacing: 0.05em;
        gap: 7px;
    }
}
@media print {
    .sf-mbar {
        display: none !important;
    }
}
