[yith_wcwl_wishlist]
// Optional enhancement: highlight nav item based on URL document.addEventListener("DOMContentLoaded", function () { const navItems = document.querySelectorAll(".urna-bottom-navigation .item"); const path = window.location.pathname; navItems.forEach((item) => { const link = item.querySelector("a"); if (link && link.getAttribute("href") && path.includes(link.getAttribute("href"))) { item.classList.add("active"); } }); });