ath.floor(baseWidth / itemWidth);
                return Math.min(6, calculatedItems); // ÈôêÂà∂ÊúÄÂ§ßÊòæÁ§∫Êï∞Èáè‰∏∫6
            }
        }

        function renderHourlyForecast() {
            const container = document.getElementById('hourlyForecast');
            container.innerHTML = '';
            const visibleItems = calculateVisibleItems();
            
            const prevBtn = document.querySelector('.hourly-section .nav-btn.prev');
            const nextBtn 