/* MKShop mobile bottom navigation — v0.6.0 */
.mkshop-bottom-nav {
    display: none;
}
@media (max-width: 767px) {
    .mkshop-bottom-nav {
        position: fixed;
        z-index: 9999;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 64px;
        padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-top: 1px solid #e5e7eb;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -8px 24px rgba(17, 24, 39, .08);
        backdrop-filter: blur(12px);
    }
    .mkshop-bottom-nav__item {
        min-width: 0;
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 9px;
        color: #6b7280;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
    }
    .mkshop-bottom-nav__item svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mkshop-bottom-nav__item:hover,
    .mkshop-bottom-nav__item:focus,
    .mkshop-bottom-nav__item.is-active {
        color: var(--mk-red, #e31e24);
        background: #fff5f5;
    }
    .mkshop-bottom-nav__cart-icon {
        position: relative;
        display: inline-flex;
    }
    .mkshop-bottom-nav__cart .mk-cart-count {
        position: absolute;
        top: -7px;
        right: -9px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--mk-red, #e31e24);
        color: #fff;
        font-size: 9px;
        line-height: 18px;
        text-align: center;
    }
    body:not(.mkshop-modern-checkout) {
        padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
