/**
 * bottom-nav.css - قائمة التنقل السفلية للجوال (نسخة محسنة)
 */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    border-radius: 24px 24px 0 0;
    z-index: 1000;
    display: none;
    padding: 8px 16px 12px;
    backdrop-filter: blur(10px);
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray-600, #757575);
    transition: var(--transition, 0.3s ease);
    padding: 8px 12px;
    border-radius: 40px;
    gap: 4px;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.bottom-nav-item i {
    font-size: 22px;
    transition: var(--transition, 0.3s ease);
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.bottom-nav-item:hover {
    color: var(--primary, #f4511e);
    background: rgba(244,81,30,0.05);
}

.bottom-nav-item.active {
    color: var(--primary, #f4511e);
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
}

.bottom-nav-cart {
    position: relative;
}

.cart-count-bottom {
    position: absolute;
    top: -4px;
    right: 4px;
    background: var(--danger, #dc3545);
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: block;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .footer {
        margin-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        padding: 6px 12px 10px;
    }
    
    .bottom-nav-item {
        padding: 6px 8px;
    }
    
    .bottom-nav-item i {
        font-size: 20px;
    }
    
    .bottom-nav-item span {
        font-size: 10px;
    }
}

.bottom-nav-item:active {
    transform: scale(0.95);
    background: rgba(244,81,30,0.1);
}