:root {
    --m-tapbar-height: 70px;
    --tapbar-color-active: #ffffff;
    --tapbar-color-inactive: #ffffff;
    --tapbar-bg: #007d75;
}

@media (min-width: 768px) {
    .m-tapbar {
        display: none !important;
    }
}

.m-tapbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--tapbar-bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    min-height: calc(var(--m-tapbar-height) + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    z-index: 1000;
}

.m-tapbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--tapbar-color-inactive);
    font-size: 1.5rem;
    font-family: inherit;
    line-height: 1;
    transition: color 0.2s ease;
    flex: 1;
    justify-content: center;
    min-height: 54px;
    padding: 4px 0;
    box-sizing: border-box;
}

.m-tapbar__item svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    margin-bottom: 4px;
}

.m-tapbar__item.is-active {
    color: var(--tapbar-color-active);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.m-tapbar__icon-wrap {
    position: relative;
    display: flex;
}

.m-tapbar__badge {
    position: absolute;
    top: -4px;
    right: -10px;
    background-color: var(--tapbar-color-active);
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 10px;
    padding: 2px;
    line-height: 1;
    min-width: 16px;
    justify-content: center;
    align-items: center;
}

.m-tapbar__item .header__user-basket-count {
	background: #fff;
	color: #000;
	left: auto;
	right: -13px;
	top: -3px;
}
.m-tapbar__item .header__user-basket-count.hide {
	display: none;
}
