Social Icons

اضغط على ESC للإغلاق

أحدث المقالات

بورشه تستعيد متعة القيادة التقليدية في عصر الكهرباء

Mahmoud بواسطة Mahmoud

في ظل التحوّل العالمي السريع نحو السيارات الكهربائية، تبادر العديد من الشركات الفاخرة إلى إحياء عناصر من تجربة القيادة القديمة…

لايف ستايل

احتفلت أودي، عبر وكيلها الحصري النابودة للسيارات، بوصول سيارتي أودي Q5 و أودي SQ5 الجديدتين كلياً إلى أسواق الإمارات، وذلك...

(function () {function ready(fn) { if (document.readyState !== 'loading') { fn(); } else { document.addEventListener('DOMContentLoaded', fn); } }ready(function () {function openSearch(e) { e.preventDefault(); e.stopPropagation();var box = document.getElementById('search-lightbox'); if (!box) return;box.classList.add('active'); document.body.style.overflow = 'hidden';var input = box.querySelector('input.search-field'); if (input) { setTimeout(function () { input.focus(); }, 150); } }function closeSearch() { var box = document.getElementById('search-lightbox'); if (!box) return;box.classList.remove('active'); document.body.style.overflow = ''; }/* OPEN (click + touch) */ document.addEventListener('click', function (e) { var link = e.target.closest('a[href="#search-lightbox"]'); if (link) openSearch(e); }, { passive: false });document.addEventListener('touchstart', function (e) { var link = e.target.closest('a[href="#search-lightbox"]'); if (link) openSearch(e); }, { passive: false });/* CLOSE on ESC */ document.addEventListener('keydown', function (e) { if (e.key === 'Escape') closeSearch(); });/* CLOSE on outside tap */ document.addEventListener('click', function (e) { var box = document.getElementById('search-lightbox'); if (box && box.classList.contains('active') && e.target === box) { closeSearch(); } });});})();