@media (max-width: 991px) {
    .bottom-icons-panel.mbv-mobile-nav {
        --nav-ink: #242a30;
        --nav-canvas: #242a30;
        --nav-active: #f5bf46;
        --nav-label: #e7eaed;
        --sheet-bg: #f6f7f8;
        --sheet-item: #fff;
        --sheet-border: #e1e5e9;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0 8px calc(5px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        pointer-events: none;
    }

    .mbv-mobile-nav > * {
        pointer-events: auto;
    }

    .mbv-mobile-nav .mbv-mobile-nav__bar {
        display: grid;
        grid-template-columns: repeat(var(--mbv-nav-columns, 5), minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        width: min(100%, 600px);
        margin-inline: auto;
        padding: 4px 5px;
        box-sizing: border-box;
        overflow: visible;
        transform: none;
        border: 1px solid #414951;
        border-radius: 18px;
        background: var(--nav-canvas);
        box-shadow: 0 4px 18px rgb(16 21 27 / 25%);
    }

    .mbv-mobile-nav .mbv-mobile-nav__bar .bottom-icons-panel__content-link {
        display: grid;
        justify-items: center;
        align-content: center;
        justify-content: stretch;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 49px;
        gap: 2px;
        box-sizing: border-box;
        margin: 0;
        padding: 3px 1px;
        overflow: visible;
        line-height: 1;
        color: var(--nav-label) !important;
        border: 0;
        border-radius: 12px;
        background: transparent;
    }

    .mbv-mobile-nav__bar .bottom-icons-panel__content-link > .icon-block-with-counter__inner {
        display: grid;
        place-items: center;
        width: 27px;
        height: 23px;
        min-width: 0;
        margin: 0;
        color: currentColor;
    }

    .mbv-mobile-nav__bar :is(svg, svg use, svg path) {
        fill: currentColor !important;
    }

    .mbv-mobile-nav__bar .bottom-icons-panel__content-link .bottom-icons-panel__content-text {
        color: inherit !important;
        font-size: clamp(11px, 2.75vw, 12px);
        font-weight: 550;
        line-height: 1.2;
        text-align: center;
    }

    .mbv-mobile-nav .mbv-mobile-nav__bar :is(.bottom-icons-panel__content-link--active, [aria-expanded="true"]) {
        color: #25271e !important;
        background: var(--nav-active);
    }

    .mbv-mobile-nav .mbv-mobile-nav__bar .bottom-icons-panel__content-link:active {
        box-shadow: inset 0 0 0 1px rgb(255 255 255 / 40%);
    }

    .mbv-mobile-nav__bar .js-basket-block:not(.header-cart__inner--empty) .header-cart__count {
        top: -5px;
        right: -9px;
        min-width: 16px;
        height: 16px;
        padding: 0 3px;
        box-sizing: border-box;
        line-height: 16px;
        background: var(--nav-active);
        color: #25271e;
        box-shadow: 0 0 0 2px var(--nav-canvas);
        font-size: 10px;
        font-weight: 700;
    }

    .mbv-mobile-nav__bar .bottom-icons-panel__content-link--active .js-basket-block:not(.header-cart__inner--empty) .header-cart__count {
        background: var(--nav-canvas);
        color: #fff;
        box-shadow: 0 0 0 2px var(--nav-active);
    }

    .mbv-mobile-nav :is(a, button):focus-visible {
        outline: 2px solid #f5bf46;
        outline-offset: -2px;
    }

    .mbv-mobile-nav .mbv-mobile-nav__bar :is(.bottom-icons-panel__content-link--active, [aria-expanded="true"]):focus-visible {
        outline-color: #242a30;
    }

    body:has(.mbv-mobile-nav__bar):not(:has(.mbvq, .mbvc-tools, #bx-soa-order-form, #product-purchase))
        .b24-widget-button-position-bottom-right {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .mbv-mobile-nav__dots {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: currentColor;
        box-shadow: -7px 0 currentColor, 7px 0 currentColor;
    }

    .mbv-mobile-nav .mbv-mobile-nav__sheet[open] {
        position: fixed;
        inset: auto 0 calc(8px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        width: min(calc(100% - 16px), 520px);
        max-width: none;
        max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
        margin: 0 auto;
        padding: 15px;
        border: 1px solid var(--sheet-border);
        border-radius: 22px;
        background: var(--sheet-bg);
        color: var(--nav-ink);
        box-shadow: 0 10px 40px rgb(18 25 32 / 23%);
        overflow: auto;
        overscroll-behavior: contain;
        animation: mbv-mobile-nav-in 180ms ease-out both;
    }

    .mbv-mobile-nav__sheet::backdrop {
        background: rgb(19 26 34 / 49%);
    }

    .mbv-mobile-nav__sheet-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mbv-mobile-nav__sheet-head h2 {
        margin: 0;
        color: inherit;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.15;
    }

    .mbv-mobile-nav__close {
        flex: 0 0 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        color: var(--nav-ink);
        background: var(--sheet-item);
        border: 1px solid var(--sheet-border);
        border-radius: 12px;
        font-size: 24px;
        line-height: 1;
    }

    .mbv-mobile-nav__sheet-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .mbv-mobile-nav__sheet-grid .bottom-icons-panel__content-link {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 51px;
        gap: 8px;
        padding: 6px 8px;
        text-align: left;
        line-height: 1.25;
        color: var(--nav-ink);
        background: var(--sheet-item);
        border: 1px solid var(--sheet-border);
        border-radius: 11px;
    }

    .mbv-mobile-nav__sheet-grid .bottom-icons-panel__content-link--active {
        border-color: #dba833;
    }

    .mbv-mobile-nav__sheet-grid .icon-block-with-counter__inner {
        flex: 0 0 23px;
        display: grid;
        align-items: center;
        height: 23px;
        margin: 0;
    }

    .mbv-mobile-nav__sheet-grid :is(svg, svg use, svg path) {
        fill: currentColor !important;
    }

    .mbv-mobile-nav__sheet-grid .bottom-icons-panel__content-text {
        align-self: center;
        color: inherit;
        font-size: clamp(11px, 3vw, 14px);
        font-weight: 550;
        white-space: normal;
    }

    :is(html.theme-dark, body.theme-dark, html[data-theme="dark"]) .mbv-mobile-nav {
        --nav-ink: #f1f3f5;
        --sheet-bg: #242a30;
        --sheet-item: #303840;
        --sheet-border: #48525e;
    }
}

.mbv-mobile-nav__sheet:not([open]) {
    display: none;
}

@keyframes mbv-mobile-nav-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .mbv-mobile-nav .mbv-mobile-nav__sheet[open] { animation: none; }
}

