/* ============================================
   STICKY BOTTOM NAVIGATION
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    /* Підтримка iPhone Notch */
    background: var(--glassmorphism-background);
    backdrop-filter: var(--glassmorphism-backdrop-filter);
    border-top: 1px solid var(--border-default);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    /* Приховано на десктопі за замовчуванням */
}

@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 63px;
    /* Зменшено на 10% з 70px */
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    gap: 4px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-primary);
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item:hover .nav-icon {
    transform: translateY(-4px) scale(1.1);
}

.nav-icon img,
.nav-icon svg,
.nav-icon i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* Оптимальний розмір для Font Awesome у меню */
}

.nav-label {
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Додаємо невеликий відступ для контенту body, щоб меню не перекривало футер */
body {
    padding-bottom: 63px;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}