

/* DESKTOP ONLY - Minimum 768px width */
@media (min-width: 768px) {
    
    /* Reset desktop navigation to mobile style */
    .mobile-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 15px !important;
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: 320px !important;
        height: auto !important;
        
        /* Keep the beautiful glassmorphism effect */
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.97) 0%, 
            rgba(255, 255, 255, 0.92) 100%) !important;
        backdrop-filter: blur(40px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
        
        /* Compact rounded design */
        border-radius: 20px !important;
        padding: 10px 16px !important;
        
        /* Beautiful shadows */
        box-shadow: 
            0 30px 70px rgba(0, 0, 0, 0.18),
            0 15px 35px rgba(255, 178, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 178, 0, 0.05) !important;
        
        border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
        z-index: 2000 !important;
    }
    
    /* Keep the gradient overlay effects */
    .mobile-nav::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, 
            rgba(255, 178, 0, 0.03) 0%, 
            rgba(255, 209, 102, 0.02) 50%,
            rgba(255, 178, 0, 0.03) 100%) !important;
        border-radius: 20px !important;
        z-index: 1 !important;
    }
    
    .mobile-nav::after {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        border-radius: 20px !important;
        padding: 2px !important;
        background: linear-gradient(135deg, 
            rgba(255, 178, 0, 0.2) 0%, 
            rgba(255, 209, 102, 0.1) 50%,
            transparent 100%) !important;
        -webkit-mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0) !important;
        -webkit-mask-composite: xor !important;
        mask-composite: exclude !important;
        z-index: 0 !important;
    }
    
    /* Navigation items container */
    .nav-items {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 4px !important;
        position: relative !important;
        z-index: 2 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Individual navigation items - MOBILE STYLE */
    .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        
        /* Compact padding for square appearance */
        padding: 8px 10px !important;
        min-width: 42px !important;
        flex: 1 !important;
        
        /* Rounded corners */
        border-radius: 14px !important;
        
        background: transparent !important;
        cursor: pointer !important;
        position: relative !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform !important;
    }
    
    /* Icon container - SQUARE SIZE */
    .nav-icon-container {
        position: relative !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, 
            rgba(255, 178, 0, 0.1) 0%, 
            rgba(255, 209, 102, 0.05) 100%) !important;
        box-shadow: 
            0 8px 24px rgba(255, 178, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: 1px solid rgba(255, 178, 0, 0.15) !important;
    }
    
    /* Icons inside container */
    .nav-icon {
        font-size: 16px !important;
        color: #1e293b !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* Labels below icons */
    .nav-label {
        font-size: 9px !important;
        font-weight: 600 !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
    }
    
    /* Cart count badge */
    .cart-count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 16px !important;
        height: 16px !important;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        color: white !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        padding: 2px 4px !important;
        box-shadow: 
            0 4px 12px rgba(239, 68, 68, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        border: 2px solid white !important;
        animation: pulse 2s infinite !important;
    }
    
    /* HOVER EFFECTS */
    .nav-item:hover {
        transform: translateY(-3px) !important;
    }
    
    .nav-item:hover .nav-icon-container {
        background: linear-gradient(135deg, 
            rgba(255, 178, 0, 0.25) 0%, 
            rgba(255, 209, 102, 0.15) 100%) !important;
        box-shadow: 
            0 12px 32px rgba(255, 178, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
        transform: scale(1.05) !important;
    }
    
    .nav-item:hover .nav-icon {
        color: #ffb200 !important;
        transform: scale(1.1) !important;
    }
    
    .nav-item:hover .nav-label {
        color: #1e293b !important;
    }
    
    /* ACTIVE STATE */
    .nav-item.active .nav-icon-container {
        background: linear-gradient(135deg, #ffb200 0%, #ffd166 100%) !important;
        box-shadow: 
            0 12px 32px rgba(255, 178, 0, 0.35),
            0 0 0 3px rgba(255, 178, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
        border: 1px solid rgba(255, 178, 0, 0.3) !important;
    }
    
    .nav-item.active .nav-icon {
        color: #1e293b !important;
        transform: scale(1.15) !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    }
    
    .nav-item.active .nav-label {
        color: #ffb200 !important;
        font-weight: 700 !important;
    }
    
    /* Remove body padding that was added for top navbar */
    body {
        padding-top: 0 !important;
    }
    
    /* Gentle floating animation */
    .mobile-nav {
        animation: floatGentle 6s ease-in-out infinite !important;
    }
    
    @keyframes floatGentle {
        0%, 100% { transform: translateX(-50%) translateY(0px); }
        50% { transform: translateX(-50%) translateY(-5px); }
    }
    
    @keyframes pulse {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 
                0 4px 12px rgba(239, 68, 68, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }
        50% { 
            transform: scale(1.1);
            box-shadow: 
                0 6px 16px rgba(239, 68, 68, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }
    }
}

/* LARGER DESKTOP - 1024px and up */
@media (min-width: 1024px) {
    .mobile-nav {
        max-width: 350px !important;
        padding: 12px 18px !important;
    }
    
    .nav-items {
        gap: 6px !important;
    }
    
    .nav-item {
        padding: 10px 12px !important;
        min-width: 48px !important;
    }
    
    .nav-icon-container {
        width: 36px !important;
        height: 36px !important;
    }
    
    .nav-icon {
        font-size: 18px !important;
    }
    
    .nav-label {
        font-size: 10px !important;
    }
}

/* EXTRA LARGE DESKTOP - 1440px and up */
@media (min-width: 1440px) {
    .mobile-nav {
        max-width: 380px !important;
        padding: 14px 20px !important;
    }
    
    .nav-items {
        gap: 8px !important;
    }
    
    .nav-item {
        padding: 12px 14px !important;
        min-width: 54px !important;
    }
    
    .nav-icon-container {
        width: 38px !important;
        height: 38px !important;
    }
    
    .nav-icon {
        font-size: 20px !important;
    }
    
    .nav-label {
        font-size: 10px !important;
    }
}
