nt.getElementById('closeSidebar');

            function toggleSidebar() {
                cartSidebar.classList.toggle('open');
            }

            function closeSidebarIfClickedOutside(event) {
                if (!cartSidebar.contains(event.target) && !cartButton.contains(event.target)) {
                    cartSidebar.classList.remove('open');
                }
            }

            cartButton.addEventListener('click', toggleSidebar);
            closeSidebar.addEventListener('click', toggl