.veap-mbn-wrap,
.veap-mbn-wrap::before,
.veap-mbn-wrap::after,
.veap-mbn-wrap *,
.veap-mbn-wrap *::before,
.veap-mbn-wrap *::after {
    box-sizing: border-box !important;
}

.veap-mbn-wrap {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    pointer-events: none;
    overflow-x: clip !important;
    overflow-y: visible;
    contain: layout paint;
    --veap-mbn-scroll-offset: 0px;
    transform: translate3d(0, var(--veap-mbn-scroll-offset), 0);
    transition: transform .16s ease-out;
}

.veap-mbn-wrap.veap-mbn--scroll-down {
    --veap-mbn-scroll-offset: 3px;
}

.veap-mbn-wrap::before,
.veap-mbn-wrap::after {
    display: none !important;
    content: none !important;
}

@supports not (overflow-x: clip) {
    .veap-mbn-wrap {
        overflow-x: hidden !important;
    }
}

.veap-mbn {
    width: calc(100% - 24px) !important;
    max-width: 590px !important;
    min-width: 0 !important;
    min-height: 62px;
    margin: 0 auto !important;
    padding: 6px;
    border-radius: 20px;
    background: var(--veap-mbn-bg, #fff);
    box-shadow: 0 2px 7px rgba(15, 23, 42, .07);
    border: 1px solid rgba(0, 0, 0, .055);
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 4px;
    pointer-events: auto;
    overflow: hidden;
    transform: translateZ(0);
    animation: veap-mbn-enter .34s cubic-bezier(.2,.75,.25,1) .04s both;
}

@keyframes veap-mbn-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.veap-mbn__item {
    position: relative;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 15px;
    color: var(--veap-mbn-muted, #6b7280);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color .15s ease, background-color .15s ease;
}

.veap-mbn__item.is-active {
    color: var(--veap-mbn-active, #111);
    background: rgba(17, 17, 17, .045);
    text-decoration: none !important;
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .veap-mbn__item:hover,
    .veap-mbn__item:focus-visible {
        color: var(--veap-mbn-active, #111);
        background: rgba(17, 17, 17, .045);
        text-decoration: none !important;
        outline: none;
    }
}

.veap-mbn__item.is-active::before,
.veap-mbn__item:hover::before,
.veap-mbn__item:focus::before {
    display: none !important;
    content: none !important;
}

.veap-mbn__icon {
    position: relative;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.veap-mbn__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke-width: 2.3;
}

.veap-mbn__label {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veap-mbn__badge {
    position: absolute;
    top: -8px;
    left: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--veap-mbn-badge-bg, #111);
    color: var(--veap-mbn-badge-color, #fff);
    border: 2px solid var(--veap-mbn-bg, #fff);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.veap-mbn--icons-only {
    min-height: 54px;
}

.veap-mbn--icons-only .veap-mbn__item {
    gap: 0;
}

.veap-mbn--icons-only .veap-mbn__icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 560px) {
    .veap-mbn-wrap {
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    }

    .veap-mbn {
        width: calc(100% - 18px) !important;
        max-width: none !important;
        min-height: 61px;
        border-radius: 19px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, .065);
    }

    .veap-mbn__item {
        font-size: 10.8px;
    }

    .veap-mbn__icon svg {
        width: 21px;
        height: 21px;
    }
}

@media print {
    .veap-mbn-wrap {
        display: none !important;
    }
}
