const root = document.documentElement;
root.dataset.js = "ready";

const cartButton = document.querySelector("button[type='submit']");
if (cartButton) {
  cartButton.addEventListener("mouseenter", () => {
    root.style.setProperty("--cta-glow", "0 0 0 4px rgba(252, 211, 77, 0.12)");
  });
  cartButton.addEventListener("mouseleave", () => {
    root.style.setProperty("--cta-glow", "0 0 0 0 rgba(0,0,0,0)");
  });
}
