document.querySelector('.calendly-btn').setAttribute(
'onclick',
'Calendly.initPopupWidget({url: "https://calendly.com/miami-open-ticket-sales-team/miami-open-luxury-suite-packages?hide_event_type_details=0"});'
)
let parents = document.querySelectorAll(".lux-product-card");
parents.forEach((PARENT) => {
let soldOut = document.createElement("div");
soldOut.classList.add("sold-out");
let soldOutText = document.createElement("p");
soldOutText.innerText = "SOLD OUT FOR 2025";
soldOutText.classList.add("sold-out-text");
soldOutText.style.margin = "0px";
soldOutText.style.marginBottom = "0px";
soldOut.style.backgroundColor = "grey";
soldOut.style.width = window.innerWidth <= 768 ? "40%" : "11rem";;
soldOut.style.position = "absolute";
soldOut.style.top = "0.1%";
soldOut.style.left = window.innerWidth <= 768 ? "2%" : "4%";
soldOut.style.zIndex = "99";
soldOut.style.borderRadius = "8px 0px 0px 0px";
soldOut.style.textAlign = "center";
soldOut.style.color = "white";
soldOut.appendChild(soldOutText);
PARENT.prepend(soldOut);
});
let largeProductSoldOut = document.querySelector(".lux-product-card--large .sold-out");
largeProductSoldOut.style.left = "2%";



















