 'block';
        
        // Get product names of selected devices
        const selectedDeviceData = window.availableDevicesForCase.filter(device => 
            window.selectedDevicesForCase.includes(device.deviceID)
        );
        
        // Group by product name
        const productGroups = {};
        selectedDeviceData.forEach(device => {
            const productName = device.product && device.product.name ? device.product.name : 'Unknown Product';
            if (!productGroups[productName]) 