/* Add custom JS styles below */ document.addEventListener("DOMContentLoaded", function () { /* === تحميل خط El Messiri من Google === */ const fontLink = document.createElement("link"); fontLink.href = "https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;700&display=swap"; fontLink.rel = "stylesheet"; document.head.appendChild(fontLink); /* === التنسيقات === */ const style = document.createElement("style"); style.textContent = ` :root { --gold: #d4af37; --brown: #5e4b3c; --bg-light: #f4f3f3; } *:not(i):not(svg):not(path) { font-family: 'El Messiri', sans-serif !important; } body { color: var(--brown); margin: 0; padding: 0; /* الخلفية تبقى تابعة للثيم */ } /* الفوتر */ .store-footer { background: url('https://i.ibb.co/0Vqr5H6H/Rectangle-19994.png') no-repeat center/cover !important; color: #fff !important; font-family: 'El Messiri', sans-serif !important; padding: 70px 20px 30px; } .store-footer * { font-family: 'El Messiri', sans-serif !important; color: #fff !important; box-sizing: border-box; } .footer-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 1200px; margin: 0 auto 40px; align-items: start; } .footer-column { text-align: right; line-height: 1.8; } .footer-about img { max-width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); transition: transform 0.3s ease; } .footer-about img:hover { transform: scale(1.05); } .footer-about p { font-size: 15px; opacity: 0.95; } .footer-links h4, .footer-contact h4 { font-size: 20px; font-weight: 700; margin-bottom: 18px; color: var(--gold); } .footer-links a, .footer-contact a { display: block; opacity: 0.9; margin-bottom: 10px; font-size: 15px; transition: 0.3s; text-decoration: none; } .footer-links a:hover, .footer-contact a:hover { opacity: 1; text-decoration: underline; } .footer-contact iframe { width: 100%; height: 280px; border-radius: 10px; border: 0; margin-top: 10px; } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.25); } .payment-icons { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 15px; } .payment-icons img { max-width: 250px; height: auto; object-fit: contain; filter: brightness(1.2) contrast(1.1); } .copyright { color: rgba(255,255,255,0.85); font-size: 14px; margin-top: 10px; } /* الموبايل */ @media (max-width: 768px) { .footer-container { grid-template-columns: 1fr; text-align: center; gap: 35px; } .footer-column { text-align: center !important; } .footer-about img { margin: 0 auto 15px; } .footer-contact iframe { height: 200px; } } `; document.head.appendChild(style); /* === الفوتر === */ const interval = setInterval(() => { const footer = document.querySelector(".store-footer__inner"); if (footer) { footer.innerHTML = ` `; clearInterval(interval); } }, 500); });