/* Desktop Navigation Inline Fix - Ensures all nav items appear on same line */

@media (min-width: 1200px) {
    /* Force navigation to stay on single line */
    .enhanced-header .header-content {
        min-height: 80px !important;
        max-height: 80px !important;
    }
    
    .enhanced-header .d-flex.justify-content-between {
        height: 80px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    /* Navigation container - force inline layout */
    .enhanced-header nav.d-none.d-lg-flex {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        flex: 1 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0.5rem !important;
        height: 80px !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }
    
    /* All navigation links - compact sizing for inline layout */
    .enhanced-header nav .nav-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 8px 10px !important;
        font-weight: 400 !important;
        font-size: 0.8rem !important;
        color: #333 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        border: 1px solid transparent !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        position: relative !important;
        height: 36px !important;
        justify-content: center !important;
        background: transparent !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    /* Icon sizing for compact layout */
    .enhanced-header nav .nav-link i {
        font-size: 0.9rem !important;
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    
    /* Text sizing for compact layout */
    .enhanced-header nav .nav-link span {
        font-size: 0.8rem !important;
        font-weight: 400 !important;
    }
    
    /* Hover effects - compact */
    .enhanced-header nav .nav-link:hover {
        background: rgba(255, 107, 53, 0.15) !important;
        color: #D4AF37 !important;
        transform: translateY(-2px) !important;
        border-color: rgba(255, 107, 53, 0.3) !important;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2) !important;
        text-decoration: none !important;
    }
    
    /* Sign In icon button – small, clean, no orange pill */
    .enhanced-header nav .nav-icon-btn,
    .enhanced-header nav .nav-link[href*="signin"] {
        background: transparent !important;
        color: #555 !important;
        border: 1px solid #ddd !important;
        width: 36px !important;
        height: 36px !important;
        min-width: unset !important;
        padding: 0 !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        font-weight: 400 !important;
    }
    
    .enhanced-header nav .nav-icon-btn:hover,
    .enhanced-header nav .nav-link[href*="signin"]:hover {
        background: rgba(255, 107, 53, 0.1) !important;
        color: #D4AF37 !important;
        border-color: #D4AF37 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.2) !important;
    }
    
    .enhanced-header nav .nav-icon-btn i,
    .enhanced-header nav .nav-link[href*="signin"] i {
        font-size: 0.95rem !important;
    }
    
    /* Cart badge - smaller for compact layout */
    .enhanced-header nav .nav-link .badge {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        font-size: 0.6rem !important;
        padding: 0.2rem 0.3rem !important;
        border-radius: 10px !important;
        background: #dc3545 !important;
        color: white !important;
        border: 1px solid white !important;
        min-width: 16px !important;
        height: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }
    
    /* Brand section - optimized spacing */
    .enhanced-header .brand-section {
        min-width: 250px !important;
        max-width: 300px !important;
        flex-shrink: 0 !important;
    }
    
    /* Header actions - optimized spacing */
    .enhanced-header .header-actions {
        min-width: 150px !important;
        max-width: 200px !important;
        flex-shrink: 0 !important;
        justify-content: flex-end !important;
    }
    
    /* Search and other buttons - compact */
    .enhanced-header .search-toggle {
        width: 36px !important;
        height: 36px !important;
        border-radius: 6px !important;
    }
    
    .enhanced-header .hamburger-toggle {
        display: none !important; /* Hide hamburger on desktop */
    }
}

/* Extra large screens - slightly larger sizing */
@media (min-width: 1400px) {
    .enhanced-header nav .nav-link {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        height: 40px !important;
        min-width: 90px !important;
        max-width: 120px !important;
    }
    
    .enhanced-header nav .nav-link i {
        font-size: 1rem !important;
        width: 18px !important;
    }
    
    .enhanced-header nav .nav-link span {
        font-size: 0.85rem !important;
    }
    
    .enhanced-header .brand-section {
        min-width: 300px !important;
        max-width: 350px !important;
    }
    
    .enhanced-header .header-actions {
        min-width: 180px !important;
        max-width: 230px !important;
    }
}

/* Ultra wide screens - full sizing */
@media (min-width: 1600px) {
    .enhanced-header nav .nav-link {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        height: 44px !important;
        min-width: 100px !important;
        max-width: 130px !important;
        gap: 6px !important;
    }
    
    .enhanced-header nav .nav-link i {
        font-size: 1.1rem !important;
        width: 20px !important;
    }
    
    .enhanced-header nav .nav-link span {
        font-size: 0.9rem !important;
    }
    
    .enhanced-header nav.d-none.d-lg-flex {
        gap: 1.2rem !important;
    }
}