Scroll to Top
document.addEventListener("DOMContentLoaded", function () { const acordeon = document.getElementById("acordeon-producto"); if (!acordeon) return; const titles = acordeon.querySelectorAll(".elementor-tab-title"); const contents = acordeon.querySelectorAll(".elementor-tab-content"); titles.forEach(function (title, index) { const content = contents[index]; if (content && content.innerText.trim() === "") { title.style.display = "none"; content.style.display = "none"; } }); });