document.addEventListener("DOMContentLoaded", function () { if (!window.location.pathname || window.location.pathname === "/") { const observer = new MutationObserver((mutations, obs) => { const target = document.querySelector(".banner-insert-after"); if (!target) return; const section = document.createElement("section"); section.className = "blm-look-section"; section.innerHTML = `
`; target.after(section); const hotspots = section.querySelectorAll(".blm-hotspot"); hotspots.forEach((spot) => { const card = document.createElement("span"); card.className = "blm-card"; card.innerHTML = ` ${spot.dataset.title} ${spot.dataset.subtitle} ﷼ ${spot.dataset.price} `; spot.appendChild(card); }); obs.disconnect(); // بعد الإضافة، نوقف المراقبة }); observer.observe(document.body, { childList: true, subtree: true }); } });