/* Mobile contact bar: equal columns for the currently enabled actions. */
@media (max-width: 767px) {
    body .mobile_bottom_bar {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 6px;
        box-sizing: border-box;
        left: 0;
        right: 0;
        width: 100%;
        padding: 8px 12px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e7ebef;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -6px 24px rgba(24, 34, 46, .08);
    }

    body .mobile_bottom_bar > .tab.col {
        width: auto;
        max-width: none;
        min-width: 0;
        flex: initial;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    body .mobile_bottom_bar .tab a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 8px 4px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: #39424e !important;
        font-size: 23px;
        line-height: 1;
        text-decoration: none;
        cursor: pointer;
        transition: background-color .18s ease, color .18s ease;
        -webkit-tap-highlight-color: transparent;
    }

    body .mobile_bottom_bar .tab a:hover,
    body .mobile_bottom_bar .tab a:active {
        background: #f0f3f6;
        color: #1f2933 !important;
    }

    body .mobile_bottom_bar .tab a:focus-visible {
        outline: 2px solid var(--themeColor, #f59c00);
        outline-offset: -2px;
        background: #f0f3f6;
    }

    body .mobile_bottom_bar .tab span[data-pushbar-target="sidebarCart"] {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body .mobile_bottom_bar .tab a.cart-contents {
        display: flex !important;
    }

    body .mobile_bottom_bar .tab a.cart-contents span.count {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 19px;
        height: 19px;
        padding: 0 5px;
        margin: 0;
        border-radius: 10px;
        background: #edf0f3;
        color: #46515e;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
    }

    body .mobile_bottom_bar .woocs-style-3-du-dialog-starter {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 0;
        width: 100% !important;
        min-height: 44px;
        max-height: none;
        padding: 8px 4px !important;
        border-radius: 12px;
        background-color: transparent !important;
        color: #39424e !important;
        font-size: 14px !important;
        line-height: 1.2;
        cursor: pointer;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    body .mobile_bottom_bar .tab a {
        transition: none;
    }
}
