      totalPrice = cartItems.reduce((total, item) => total + item.price * item.quantity, 0);
            document.getElementById('total-price').innerText = totalPrice;
        }

        function toggleFAQ(element) {
            const answer = element.nextElementSibling;
            if (answer.style.display === 'block') {
                answer.style.display = 'none';
            } else {
                answer.style.display = 'block';
            }
        }
    </script>

</body>

</html>
