:root {
	--wd-hb-opt-h: 47px;
	--wd-text-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(239,238,246);
	--wd-text-font-size: 14px;
	--wd-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(255,255,255);
	--wd-entities-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(255,255,255);
	--wd-entities-title-color-hover: rgb(255, 255, 255);
	--wd-alternative-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(255,255,255);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(245,11,186);
	--wd-alternative-color: rgb(67,5,228);
	--btn-default-font-family: "'Comic Sans MS', cursive", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(245,11,186);
	--btn-default-bgcolor-hover: rgb(67,5,228);
	--btn-accented-bgcolor: rgb(245,11,186);
	--btn-accented-bgcolor-hover: rgb(67,5,228);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(228,244,0);
	--notices-success-color: rgb(15,23,42);
	--notices-warning-bg: rgb(219,0,109);
	--notices-warning-color: rgb(226,0,0);
	--wd-link-color: rgb(250,0,255);
	--wd-link-color-hover: rgb(0,189,247);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 660px;
}
.wd-hb {
	background-color: rgb(0,46,255);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgba(0,0,0,0);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(29,0,58);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(10,10,34);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(10,10,34);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(10,10,34);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(10,10,34);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(239,255,191);
	--wd-form-placeholder-color: rgb(246,0,255);
	--wd-form-brd-color: rgb(0,63,255);
	--wd-form-brd-color-focus: rgb(26,27,53);
	--wd-form-bg: rgba(255,0,127,0.4);
}
.wd .product-label.onsale {
	color: rgb(0,255,221);
}
.wd .product-label.new {
	color: rgb(0,255,238);
}
.wd .product-label.featured {
	color: rgb(0,255,238);
}
.wd .product-label.out-of-stock {
	color: rgb(0,255,238);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	color: rgb(0,255,238);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 61px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-hb-opt-h: 52px;
	--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(0,240,255);
}

/*!
 * ============================================================
 * PRINSS FUT — شاشة انتظار v2.0 (بصور عشوائية بين الصفحات)
 * ============================================================
 * التركيب: الصق محتوى هذا الملف قبل وسم  </body>  في موقعك
 * (مثلاً عبر إضافة WPCode → Footer، أو footer.php في القالب)
 *
 * المميزات:
 *  - صورة عشوائية مختلفة عند كل تنقل داخلي (بدون تكرار متتالي)
 *  - تأثيرات Ken Burns + إطار متوهج + شعاع ماسح + شريط تقدم متلألئ
 *  - رسائل تحميل عربية متغيرة
 *  - تكيّف تلقائي حسب سرعة الجهاز + احترام prefers-reduced-motion
 *  - يتخطى صفحات السلة/الدفع/الإدارة تلقائياً
 *  - خفيف جداً (~6KB) وبدون أي مكتبات خارجية
 *
 * واجهة برمجية اختيارية:
 *  PrinssLoader.show()   — إظهار الشاشة يدوياً
 *  PrinssLoader.hide()   — إخفاؤها
 *  PrinssLoader.config   — الإعدادات الحالية
 * ============================================================
 */
(function (w, d, n) {
  "use strict";

  /* ⚙️ الإعدادات — عدّل من هنا فقط */
  var CFG = {
    // روابط الصور العشوائية — أضف ما تشاء
    images: [
      "https://prinssfut.com/wp-content/uploads/2026/08/IMG_9434.jpeg",
      "https://prinssfut.com/wp-content/uploads/2026/09/playstation-games.jpg",
      "https://prinssfut.com/wp-content/uploads/2026/08/fc27-icons-coins.jpg",
    ],
    brand: "PRINSS FUT",
    sub: "FIFA COINS & GAMING SERVICES",
    // رسائل التحميل المتغيرة
    messages: [
      "🪙 جاري تحضير الكوينز...",
      "⚡ تشغيل الشحن الفوري...",
      "🎮 تجهيز سيرفرات اللعب...",
      "🔥 جلب أحدث العروض...",
      "✨ لحظات وندخلك للملعب...",
    ],
    chips: ["⚡ شحن فوري", "🛡️ دفع آمن", "🏆 الأسرع في الخليج"],
    // فوانيس العيد المعلقة (تظهر للحواسيب القوية فقط)
    lanterns: true,
    // مدة العرض (مللي ثانية) بين الصفحات
    navDuration: 1300,
    // مدة العرض عند أول فتح للموقع
    firstDuration: 1600,
    // أقصى انتظار لحدث التحميل الكامل قبل الإخفاء القسري
    maxWait: 3200,
    // مسارات لا تُظهر فيها الشاشة عند التنقل
    exclude:
      /wp-admin|wp-login|cart|checkout|order-received|add-to-cart|wc-ajax|my-account|\.pdf|mailto:|tel:|whatsapp:|javascript:/i,
  };
  /* ===================== نهاية الإعدادات ===================== */

  var con = n.connection || {},
    reduced =
      w.matchMedia && w.matchMedia("(prefers-reduced-motion:reduce)").matches,
    tier =
      con.saveData || /2g|slow-2g/i.test(con.effectiveType || "")
        ? 0
        : w.innerWidth < 640
          ? 1
          : 2,
    last = -1,
    busy = false,
    ov = null;

  try {
    last = parseInt(sessionStorage.getItem("pfl-last") || "-1", 10) || -1;
  } catch (e) {}

  function pick() {
    if (CFG.images.length < 2) return 0;
    var i = last;
    while (i === last) i = Math.floor(Math.random() * CFG.images.length);
    return i;
  }

  /* ---------- الأنماط ---------- */
  var css =
    "#pfl-ov{position:fixed;inset:0;z-index:999999;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(180deg,#050832 0%,#0b1055 32%,#0f1668 55%,#060a3a 100%);font-family:Tajawal,system-ui,sans-serif;opacity:1;transition:opacity .45s ease,transform .45s ease}" +
    "#pfl-ov.pfl-out{opacity:0;transform:scale(1.05);pointer-events:none}" +
    ".pfl-orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.55;pointer-events:none;animation:pflF 7s ease-in-out infinite}" +
    ".pfl-star{position:absolute;background:#fff;border-radius:50%;pointer-events:none;animation:pflT var(--d,3s) ease-in-out infinite var(--dl,0s)}" +
    ".pfl-frame{position:relative;width:min(76vw,440px);aspect-ratio:16/10;border-radius:22px;overflow:hidden;border:1px solid rgba(0,212,255,.4);box-shadow:0 0 0 1px rgba(3,253,238,.08),0 0 50px rgba(0,212,255,.3),0 24px 70px rgba(0,0,0,.6);animation:pflIn .55s cubic-bezier(.2,.8,.2,1) both}" +
    ".pfl-frame img{width:100%;height:100%;object-fit:cover;animation:pflK 3s ease-out both}" +
    ".pfl-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,10,58,0) 42%,rgba(6,10,58,.58) 100%);pointer-events:none}" +
    ".pfl-sweep{position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.22) 50%,transparent 65%);background-size:250% 100%;mix-blend-mode:screen;pointer-events:none;animation:pflS 1.7s ease-in-out infinite}" +
    ".pfl-scan{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#03FDEE,transparent);opacity:.6;pointer-events:none;animation:pflC 2.4s ease-in-out infinite}" +
    ".pfl-chip{position:absolute;bottom:10px;right:10px;z-index:2;padding:4px 10px;border-radius:999px;font-size:10.5px;font-weight:800;color:#03FDEE;background:rgba(6,10,58,.72);border:1px solid rgba(0,212,255,.35)}" +
    ".pfl-brand{margin-top:24px;font-family:Tajawal,sans-serif;font-size:clamp(1.7rem,5.5vw,2.4rem);font-weight:900;letter-spacing:4px;color:#fff;text-shadow:0 0 18px rgba(0,212,255,.7),0 0 46px rgba(0,212,255,.35);animation:pflP 2.4s ease-in-out infinite}" +
    ".pfl-sub{margin-top:6px;font-size:10px;font-weight:700;letter-spacing:3px;color:rgba(0,212,255,.55)}" +
    ".pfl-msg{margin-top:14px;min-height:24px;font-size:clamp(.95rem,3vw,1.15rem);font-weight:800;color:#B8F0FF;animation:pflM .35s ease both}" +
    ".pfl-bar{position:relative;width:min(64vw,300px);height:7px;margin-top:14px;border-radius:99px;background:rgba(0,212,255,.12);overflow:hidden;box-shadow:inset 0 1px 3px rgba(0,0,0,.4)}" +
    ".pfl-fill{position:relative;height:100%;border-radius:99px;background:linear-gradient(90deg,#3b1a8e,#00D4FF 55%,#03FDEE);box-shadow:0 0 14px rgba(0,212,255,.55)}" +
    ".pfl-fill:after{content:'';position:absolute;inset:0;border-radius:99px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);background-size:200% 100%;animation:pflSh 1.1s linear infinite}" +
    ".pfl-pct{margin-top:9px;font-size:12.5px;font-weight:900;letter-spacing:1.5px;color:#03FDEE}" +
    "@keyframes pflF{0%,100%{transform:translate(0,0)}50%{transform:translate(14px,-18px) scale(1.08)}}" +
    "@keyframes pflT{0%,100%{opacity:.1;transform:scale(.6)}50%{opacity:.8;transform:scale(1.2)}}" +
    "@keyframes pflK{from{transform:scale(1.02)}to{transform:scale(1.14)}}" +
    "@keyframes pflIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}" +
    "@keyframes pflS{0%{background-position:200% 0}100%{background-position:-100% 0}}" +
    "@keyframes pflC{0%,100%{top:8%}50%{top:88%}}" +
    "@keyframes pflP{0%,100%{text-shadow:0 0 18px rgba(0,212,255,.7)}50%{text-shadow:0 0 26px rgba(3,253,238,.9),0 0 64px rgba(0,212,255,.5)}}" +
    "@keyframes pflSh{0%{background-position:200% 0}100%{background-position:-200% 0}}" +
    "@keyframes pflM{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}" +
    ".pfl-lan{position:absolute;top:0;z-index:1;transform-origin:top center;animation:pflW 4.5s ease-in-out infinite;filter:drop-shadow(0 0 14px rgba(0,212,255,.35));pointer-events:none}" +
    ".pfl-lan-g{animation:pflFk 2.6s ease-in-out infinite}" +
    ".pfl-cor{position:absolute;width:26px;height:26px;border:0 solid #03FDEE;opacity:.9;pointer-events:none;filter:drop-shadow(0 0 6px rgba(3,253,238,.6))}" +
    "@keyframes pflW{0%,100%{transform:rotate(4.5deg)}50%{transform:rotate(-4.5deg)}}" +
    "@keyframes pflFk{0%,100%{opacity:.55}50%{opacity:.95}}" +
    "@media(prefers-reduced-motion:reduce){#pfl-ov,.pfl-frame,.pfl-frame img{transition:opacity .2s!important;animation:none!important}.pfl-orb,.pfl-star,.pfl-sweep,.pfl-scan,.pfl-fill:after,.pfl-lan,.pfl-lan-g{animation:none!important}}" +
    "@media(max-width:480px){.pfl-scan{display:none}.pfl-lan{display:none}}";

  function injectCss() {
    if (d.getElementById("pfl-css")) return;
    var st = d.createElement("style");
    st.id = "pfl-css";
    st.textContent = css;
    d.head.appendChild(st);
  }

  /* ---------- بناء الطبقة ---------- */
  function build() {
    if (ov) return;
    injectCss();

    ov = d.createElement("div");
    ov.id = "pfl-ov";
    ov.setAttribute("role", "status");
    ov.setAttribute("aria-live", "polite");

    var stars = "";
    if (!reduced && tier > 0) {
      var count = tier === 1 ? 8 : 16;
      for (var i = 0; i < count; i++) {
        stars +=
          '<div class="pfl-star" style="top:' +
          (5 + Math.random() * 85).toFixed(1) +
          "%;left:" +
          (Math.random() * 97).toFixed(1) +
          "%;width:" +
          (1 + Math.random() * 2.2).toFixed(1) +
          "px;height:" +
          (1 + Math.random() * 2.2).toFixed(1) +
          "px;--d:" +
          (2 + Math.random() * 2.6).toFixed(1) +
          "s;--dl:" +
          (Math.random() * 3).toFixed(1) +
          's"></div>';
      }
    }

    var orbs = reduced
      ? ""
      : '<div class="pfl-orb" style="width:320px;height:320px;top:-8%;right:-6%;background:radial-gradient(circle,rgba(59,26,142,.55),transparent 70%)"></div>' +
        '<div class="pfl-orb" style="width:260px;height:260px;bottom:-10%;left:-8%;background:radial-gradient(circle,rgba(0,212,255,.28),transparent 70%);animation-delay:1.4s"></div>';

    // فوانيس العيد (للشاشات الكبيرة فقط)
    var lant = "";
    if (CFG.lanterns && !reduced && tier === 2) {
      function lanternSvg(id, from, to) {
        return (
          '<svg width="52" height="98" viewBox="0 0 52 98" fill="none">' +
          '<defs><linearGradient id="' + id + '" x1="0" y1="0" x2="0" y2="1">' +
          '<stop offset="0%" stop-color="' + from + '"/><stop offset="100%" stop-color="' + to + '"/></linearGradient></defs>' +
          '<line x1="26" y1="0" x2="26" y2="16" stroke="rgba(0,212,255,.55)" stroke-width="1.5"/>' +
          '<path d="M18 16 L34 16 L31 23 L21 23Z" fill="url(#' + id + ')"/>' +
          '<path d="M14 23 Q8 45 15 66 L37 66 Q44 45 38 23Z" fill="url(#' + id + ')"/>' +
          '<ellipse cx="26" cy="43" rx="8" ry="12" fill="#060a3a"/>' +
          '<ellipse class="pfl-lan-g" cx="26" cy="43" rx="5" ry="8" fill="rgba(3,253,238,.45)"/>' +
          '<path d="M17 66 L35 66 L38 74 L14 74Z" fill="url(#' + id + ')"/>' +
          '<line x1="26" y1="74" x2="26" y2="86" stroke="' + from + '" stroke-width="1.5"/>' +
          '<circle cx="26" cy="90" r="3.5" fill="' + from + '"/></svg>'
        );
      }
      lant =
        '<div class="pfl-lan" style="right:7%">' + lanternSvg("pflg-r", "#03FDEE", "#3b1a8e") + "</div>" +
        '<div class="pfl-lan" style="left:7%;animation-delay:1.2s">' + lanternSvg("pflg-l", "#8B5CF6", "#0b1055") + "</div>";
    }

    // زوايا إطار HUD
    var corners =
      '<span class="pfl-cor" style="top:6px;right:6px;border-width:2px 2px 0 0;border-top-right-radius:10px"></span>' +
      '<span class="pfl-cor" style="bottom:6px;left:6px;border-width:0 0 2px 2px;border-bottom-left-radius:10px"></span>';

    ov.innerHTML =
      orbs +
      stars +
      lant +
      '<div class="pfl-frame"><img id="pfl-img" alt="' +
      CFG.brand +
      '">' +
      (CFG.sweep !== false ? '<div class="pfl-sweep"></div>' : "") +
      '<div class="pfl-scan"></div>' +
      corners +
      '<span class="pfl-chip" id="pfl-chip"></span></div>' +
      '<div class="pfl-brand">' +
      CFG.brand +
      "</div>" +
      '<div class="pfl-sub">' +
      CFG.sub +
      "</div>" +
      '<p class="pfl-msg" id="pfl-msg"></p>' +
      '<div class="pfl-bar"><div class="pfl-fill" id="pfl-fill" style="width:0%"></div></div>' +
      '<div class="pfl-pct" id="pfl-pct">0%</div>';

    (d.body || d.documentElement).appendChild(ov);
  }

  /* ---------- التحكم ---------- */
  var msgTimer = null,
    loadFired = d.readyState === "complete";

  w.addEventListener(
    "load",
    function () {
      loadFired = true;
    },
    { once: true }
  );

  function show(navigateTo, duration, holdForLoad) {
    if (busy) return;
    busy = true;

    build();
    ov.classList.remove("pfl-out");

    // صورة عشوائية (بدون تكرار)
    var idx = pick();
    last = idx;
    try {
      sessionStorage.setItem("pfl-last", String(idx));
    } catch (e) {}
    var imgEl = d.getElementById("pfl-img");
    if (imgEl) {
      imgEl.src = CFG.images[idx];
      // إعادة تشغيل أنيميشن الصورة
      var fr = imgEl.parentNode;
      if (fr) {
        imgEl.style.animation = "none";
        void imgEl.offsetWidth;
        imgEl.style.animation = "";
      }
    }
    var chip = d.getElementById("pfl-chip");
    if (chip) chip.textContent = CFG.chips[Math.floor(Math.random() * CFG.chips.length)];

    // تدوير الرسائل
    var mi = 0,
      msgEl = d.getElementById("pfl-msg");
    function setMsg() {
      if (msgEl) msgEl.textContent = CFG.messages[mi % CFG.messages.length];
      mi++;
    }
    setMsg();
    if (!reduced && msgEl) {
      clearInterval(msgTimer);
      msgTimer = setInterval(setMsg, 620);
    }

    // شريط التقدم
    var dur = reduced ? 450 : duration || CFG.navDuration,
      t0 = Date.now(),
      fill = d.getElementById("pfl-fill"),
      pct = d.getElementById("pfl-pct");

    function done() {
      clearInterval(msgTimer);
      if (navigateTo) {
        w.location.href = navigateTo;
      } else {
        hide();
      }
    }

    function finish() {
      // في التحميل الأول: ننتظر اكتمال تحميل الصفحة (بحد أقصى maxWait) قبل الإخفاء
      if (holdForLoad && !navigateTo && !loadFired) {
        var wait = setInterval(function () {
          if (loadFired || Date.now() - t0 > CFG.maxWait) {
            clearInterval(wait);
            done();
          }
        }, 80);
      } else {
        setTimeout(done, 120);
      }
    }

    (function step() {
      var t = Math.min((Date.now() - t0) / dur, 1),
        e = 1 - Math.pow(1 - t, 3), // easeOutCubic
        p = Math.round(e * 100);
      if (fill) fill.style.width = p + "%";
      if (pct) pct.textContent = p + "%";
      if (t < 1) {
        requestAnimationFrame(step);
      } else {
        finish();
      }
    })();
  }

  function hide() {
    clearInterval(msgTimer);
    if (!ov) {
      busy = false;
      return;
    }
    ov.classList.add("pfl-out");
    setTimeout(function () {
      if (ov && ov.parentNode) ov.parentNode.removeChild(ov);
      ov = null;
      busy = false;
    }, 480);
  }

  /* ---------- أول تحميل للصفحة ---------- */
  function firstShow() {
    if (reduced) return; // لا شاشة إطلاقاً مع تقليل الحركة
    show(null, CFG.firstDuration, true); // تنتظر اكتمال تحميل الصفحة (بحد أقصى)
  }

  if (d.readyState === "loading") {
    d.addEventListener("DOMContentLoaded", firstShow, { once: true });
  } else {
    firstShow();
  }

  /* ---------- اعتراض الروابط الداخلية ---------- */
  d.addEventListener(
    "click",
    function (ev) {
      if (busy) return;
      var a =
        ev.target && ev.target.closest ? ev.target.closest("a[href]") : null;
      if (!a) return;
      var href = a.getAttribute("href") || "";
      if (!href || href.charAt(0) === "#") return;
      if (a.target && a.target !== "_self") return;
      if (a.hasAttribute("download")) return;
      if (CFG.exclude.test(href)) return;

      var internal = false;
      try {
        internal = new URL(href, w.location.href).origin === w.location.origin;
      } catch (e) {
        return;
      }
      if (!internal) return;

      ev.preventDefault();
      show(href, CFG.navDuration);
    },
    true
  );

  /* ---------- الرجوع من الكاش (bfcache) ---------- */
  w.addEventListener("pageshow", function (e) {
    if (e.persisted) hide();
  });

  /* ---------- تحميل الصور مسبقاً ---------- */
  function preload() {
    CFG.images.forEach(function (src) {
      var i = new Image();
      i.src = src;
    });
  }
  if (w.requestIdleCallback) w.requestIdleCallback(preload, { timeout: 3000 });
  else setTimeout(preload, 2000);

  /* ---------- واجهة برمجية ---------- */
  w.PrinssLoader = {
    version: "2.0",
    show: function () {
      show(null, CFG.navDuration, false);
    },
    hide: hide,
    config: CFG,
  };
})(window, document, navigator);
@media (min-width: 1025px) {
	/* PRINSS FUT — Safe CSS performance overrides (2026-09-18) */
h1, h2, h3, .elementor-heading-title {
  text-rendering: optimizeLegibility;
}

p, span, li, a, input, button {
  text-rendering: auto !important;
}

.pfut-whatsapp-float {
  position: relative;
  background: linear-gradient(135deg, #059669, #10B981) !important;
  border-radius: 50% !important;
  will-change: transform;
}

.pfut-whatsapp-float::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.8);
  opacity: 0;
  animation: whatsappPulseOptimized 2s infinite;
  z-index: -1;
}

@keyframes whatsappPulseOptimized {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

header, .site-header, .navbar {
  background: rgba(10, 13, 20, 0.96) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Pause clipped gradient text animations unless explicitly marked in-view. */
.pf-ng { animation-play-state: paused; }
.pf-ng.is-in-view { animation-play-state: running; }

}

@media (min-width: 768px) and (max-width: 1024px) {
	/* PRINSS FUT — Safe CSS performance overrides (2026-09-18) */
h1, h2, h3, .elementor-heading-title { text-rendering: optimizeLegibility; }
p, span, li, a, input, button { text-rendering: auto !important; }
.pfut-whatsapp-float { position: relative; background: linear-gradient(135deg, #059669, #10B981) !important; border-radius: 50% !important; will-change: transform; }
.pfut-whatsapp-float::after { content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); opacity: 0; animation: whatsappPulseOptimized 2s infinite; z-index: -1; }
@keyframes whatsappPulseOptimized { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.08); } }
header, .site-header, .navbar { background: rgba(10, 13, 20, 0.96) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.pf-ng { animation-play-state: paused; }
.pf-ng.is-in-view { animation-play-state: running; }

}

@media (min-width: 577px) and (max-width: 767px) {
	/* PRINSS FUT — Safe CSS performance overrides (2026-09-18) */
h1, h2, h3, .elementor-heading-title { text-rendering: optimizeLegibility; }
p, span, li, a, input, button { text-rendering: auto !important; }
.pfut-whatsapp-float { position: relative; background: linear-gradient(135deg, #059669, #10B981) !important; border-radius: 50% !important; will-change: transform; }
.pfut-whatsapp-float::after { content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); opacity: 0; animation: whatsappPulseOptimized 2s infinite; z-index: -1; }
@keyframes whatsappPulseOptimized { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.08); } }
header, .site-header, .navbar { background: rgba(10, 13, 20, 0.96) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.pf-ng { animation-play-state: paused; }
.pf-ng.is-in-view { animation-play-state: running; }

}

@media (max-width: 576px) {
	/* PRINSS FUT — Safe CSS performance overrides (2026-09-18) */
h1, h2, h3, .elementor-heading-title { text-rendering: optimizeLegibility; }
p, span, li, a, input, button { text-rendering: auto !important; }
.pfut-whatsapp-float { position: relative; background: linear-gradient(135deg, #059669, #10B981) !important; border-radius: 50% !important; will-change: transform; }
.pfut-whatsapp-float::after { content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); opacity: 0; animation: whatsappPulseOptimized 2s infinite; z-index: -1; }
@keyframes whatsappPulseOptimized { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.08); } }
header, .site-header, .navbar { background: rgba(10, 13, 20, 0.96) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.pf-ng { animation-play-state: paused; }
.pf-ng.is-in-view { animation-play-state: running; }

}

