﻿.bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
    background: transparent;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
    .bottom-nav-wrapper {
        display: none;
    }
}

.bottom-nav {
    width: 100%;
    max-width: 768px;
    height: 78px;
    background: #fff;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    box-shadow:
        0 -2px 15px rgba(0,0,0,0.08);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: gray !important;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.nav-item .fa-fw {
    font-size: 20px;
    color: inherit;
}

.fa, .fas, .far {
    font-family: 'Font Awesome 5 Free' !important;
}

.nav-item.active {
    color: var(--primary1);
    font-weight: 700;
}

.center-button-wrapper {
    width: 72px;
    display: flex;
    justify-content: center;
    margin-top: -42px;
}

.center-button {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--primary1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.35);
    transition: transform .2s ease;
    position: relative;
}

.itens-count {
    position: absolute;
    top: -10px;
    right: 0px;
    background-color: var(--primary2);
    min-width: 20px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: 50%;
}

.center-button:active {
    transform: scale(.95);
}

.center-button .fa-fw {
    color: white !important;
    font-size: 20px;
}