/* ================== SEEN | WhatsApp Left + Snap Pixel ================== */ /* إعداداتك */ var SEEN_WA_NUMBER = "966598095820"; var SEEN_WA_TEXT = "السلام عليكم ورحمة الله وبركاته 👋 أنا حاب أستفسر عن منتج معين من متجر SEEN."; /* Snap Pixel */ (function(e,t,n){ if(e.snaptr) return; var a=e.snaptr=function(){a.handleRequest?a.handleRequest.apply(a,arguments):a.queue.push(arguments);}; a.queue=[]; var s='script',r=t.createElement(s);r.async=!0;r.src=n; var c=t.getElementsByTagName(s)[0];c.parentNode.insertBefore(r,c); })(window,document,'https://sc-static.net/scevent.min.js'); snaptr('init','472e498b-a529-409a-a139-c79110cfcf45',{}); snaptr('track','PAGE_VIEW'); /* زر واتساب على اليسار */ (function(){ var LINK="https://wa.me/"+SEEN_WA_NUMBER+"?text="+encodeURIComponent(SEEN_WA_TEXT); var css=` #wa-float{position:fixed !important; left:24px !important; right:auto !important; bottom:24px !important; z-index:2147483647 !important; direction:ltr !important;} #wa-float a{display:inline-flex !important; align-items:center; gap:8px; padding:12px 14px; border-radius:999px; background:#25D366; color:#fff !important; font-weight:700; text-decoration:none !important; box-shadow:0 8px 24px rgba(0,0,0,.18); transition:transform .2s ease-in-out;} #wa-float a:hover{transform:scale(1.06);} #wa-float svg{width:22px;height:22px;} @media(max-width:768px){ #wa-float{left:14px !important; right:auto !important;} } `; var s=document.createElement('style'); s.textContent=css; document.head.appendChild(s); function addBtn(){ if(document.getElementById('wa-float')) return; var d=document.createElement('div'); d.id='wa-float'; d.innerHTML=` تواصل معنا `; document.body.appendChild(d); } (document.readyState==='loading')?document.addEventListener('DOMContentLoaded',addBtn):addBtn(); })();