/* CRITICAL MOBILE DROPDOWN FIX */
/* This file makes dropdowns actually appear on mobile */

@media (max-width: 968px) {
    /* When menu is open */
    .nav-premium-menu.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Dropdown items - hide by default */
    .nav-premium-dropdown {
        display: none !important;
        position: static !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 0.5rem !important;
        padding: 0 !important;
        border-radius: 8px !important;
        width: 100% !important;
        min-width: auto !important;
        grid-template-columns: 1fr !important;
    }
    
    /* When dropdown is open - SHOW IT */
    .nav-premium-item.dropdown-open .nav-premium-dropdown {
        display: block !important;
        padding: 1rem !important;
    }
    
    /* Dropdown items grid */
    .nav-premium-dropdown-items {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    /* Individual dropdown item */
    .nav-premium-dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        transition: background 0.2s ease !important;
    }
    
    .nav-premium-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Icon */
    .nav-premium-dropdown-item-icon {
        font-size: 1.5rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Text container */
    .nav-premium-dropdown-item-label {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
    }
    
    /* Title */
    .nav-premium-dropdown-item-title {
        color: #FFFFFF !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
    }
    
    /* Description */
    .nav-premium-dropdown-item-desc {
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.8rem !important;
    }
    
    /* Hide the graphic sidebar on mobile */
    .nav-premium-dropdown-graphic {
        display: none !important;
    }
    
    /* Arrow rotation when open */
    .nav-premium-item.dropdown-open .nav-premium-arrow {
        transform: rotate(180deg) !important;
    }
}
