/* =====================================================
   MOBILE FIRST ENHANCEMENTS
   Inspired by Alibaba mobile UX – clear, fluid & ergonomic
   ===================================================== */

/* Hide mobile bottom nav on desktop */
.mobile-bottom-nav {
    display: none;
}

/* Show mobile bottom nav only on mobile screens */
@media (max-width: 768px) {
    /* Ensure page content isn't hidden behind fixed bottom nav */
    body {
        padding-bottom: 64px; /* Height of bottom nav + spacing */
    }

    /* ------------------
       Bottom Navigation
       ------------------ */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        justify-content: space-around;
        align-items: center;
        z-index: var(--z-fixed);
        box-shadow: var(--shadow-lg);
        

    }

    .mobile-bottom-nav .bottom-nav-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--gray-600);
        font-size: var(--text-xs);
        transition: var(--transition-normal);
        padding: var(--space-1);
    }

    .mobile-bottom-nav .bottom-nav-link:hover {
        background: var(--gray-100);
        color: var(--primary);
    }

    .mobile-bottom-nav .bottom-nav-icon {
        font-size: var(--text-lg);
        margin-bottom: 2px;
    }

    .mobile-bottom-nav .bottom-nav-link.active {
        color: var(--primary);
        font-weight: var(--font-semibold);
    }

    .mobile-bottom-nav .bottom-nav-text {
        font-size: var(--text-xs);
        margin-top: 2px;
    }

    /* Hide desktop search on mobile */
    .header .search-container {
        display: none;
    }
} 