//show/hide btn 'buy now' in menu
document.addEventListener("DOMContentLoaded", function () {
fetch("https://ipapi.co/json/")
.then(response => response.json())
.then(data => {
if (data.country === "US") {
const btn = document.querySelector(".us-only-button");
if (btn) {
btn.style.display = "block";
}
}
})
.catch(err => {
console.warn("Geolocation lookup failed:", err);
});
});