/* ═══════════════════════════════════════════════════════════
   ECM Pro — هوية التطبيق على الموقع كله
   ═══════════════════════════════════════════════════════════ */

/* ── متغيرات القالب الأب بقيم التطبيق: كل صفحات الموقع والإضافات تتبعها ── */
:root {
  --ecm-bg-deep: #0A0E11;
  --ecm-bg-card: #12181D;
  --ecm-bg-panel: #212830;
  --ecm-bg-nav: rgba(8, 11, 14, 0.94);
  --ecm-green: #B6F704;
  --ecm-green-dim: #9ACD32;
  --ecm-green-glow: rgba(182, 247, 4, 0.22);
  --ecm-green-subtle: rgba(182, 247, 4, 0.08);
  --ecm-white: #EEF2EC;
  --ecm-grey-light: #A3A9A5;
  --ecm-grey-mid: #848C87;
  --ecm-grey-dark: #2A312B;
  --ecm-border: #1E252B;
  --ecm-red: #F44336;
  --ecm-amber: #FFB300;
  --ecm-radius-sm: 10px;
  --ecm-radius-md: 14px;
  --ecm-radius-lg: 20px;
  --ecm-nav-height: 72px;
  --ecm-max-width: 1240px;

  --px-bg: #0A0E11;
  --px-bg2: #0D1216;
  --px-card: #12181D;
  --px-card2: #212830;
  --px-line: #1E252B;
  --px-line2: #2A312B;
  --px-text: #EEF2EC;
  --px-soft: #A3A9A5;
  --px-mute: #848C87;
  --px-lime: #B6F704;
  --px-green: #9ACD32;
  --px-warn: #FFB300;
  --px-red: #F44336;
  --px-ink: #0A0E11;
  --px-nav: 72px;
}

/* ── الأساس ── */
html { background: var(--px-bg); }
body.ecm-pro { margin: 0; background: var(--px-bg); color: var(--px-text); font-family: 'Cairo', sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.ecm-pro.px-menu-open { overflow: hidden; }
.ecm-pro a { color: var(--px-lime); }
.ecm-pro img { max-width: 100%; height: auto; }
.px-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; box-sizing: border-box; }
.px-skip { position: absolute; top: -60px; right: 16px; background: var(--px-lime); color: var(--px-ink) !important; padding: 10px 16px; border-radius: 10px; z-index: 100000; font-weight: 800; }
.px-skip:focus { top: 12px; }

/* خط واحد للموقع كله: القاهرة، وبدون تباعد حروف (العربية لا تُباعَد) */
.ecm-pro h1, .ecm-pro h2, .ecm-pro h3, .ecm-pro h4, .ecm-pro h5, .ecm-pro h6,
.ecm-pro .ecm-section-title, .ecm-pro .ecm-eyebrow, .ecm-pro .ecm-mono, .ecm-pro .ecm-btn-primary, .ecm-pro .ecm-btn-ghost,
.ecm-pro .elementor-heading-title, .ecm-pro .elementor-button, .ecm-pro button, .ecm-pro input, .ecm-pro select, .ecm-pro textarea,
.ecm-pro .woocommerce-loop-product__title, .ecm-pro .woocommerce-Price-amount, .ecm-pro .rp-kicker, .ecm-pro .rp-stats dt {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ── الأزرار ── */
.px-btn, .px-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 14px; font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease; white-space: nowrap; box-sizing: border-box; }
.px-btn { background: var(--px-lime); color: var(--px-ink) !important; border: 0; }
.px-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(182, 247, 4, 0.25); }
.px-btn-ghost { background: var(--px-card); color: var(--px-text) !important; border: 1px solid var(--px-line2); }
.px-btn-ghost:hover { border-color: var(--px-lime); color: var(--px-lime) !important; }
.px-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.px-btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.px-btn-wide { width: 100%; }
.px-btn svg, .px-btn-ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.px-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ecm-pro :focus-visible { outline: 2px solid var(--px-lime); outline-offset: 2px; }

/* ── الهيدر ── */
.px-header { position: sticky; top: 0; z-index: 1000; background: rgba(8, 11, 14, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--px-line); transition: background .2s; }
.px-header.is-scrolled { background: rgba(8, 11, 14, 0.98); }
.admin-bar .px-header { top: 32px; }
.px-header-in { display: flex; align-items: center; gap: 28px; min-height: var(--px-nav); }
.px-logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--px-text) !important; flex-shrink: 0; }
.px-logo-mark { font-family: 'Cairo', sans-serif; font-size: 28px; font-weight: 900; line-height: 1; color: var(--px-text); direction: ltr; }
.px-logo-mark span { color: var(--px-lime); }
.px-logo-sub { font-size: 11px; color: var(--px-soft); direction: ltr; font-weight: 700; }
.px-nav { flex: 1; min-width: 0; }
.px-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.px-menu > li { position: relative; }
.px-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--px-soft) !important; text-decoration: none; font-weight: 700; font-size: 15px; transition: color .15s, background .15s; }
.px-menu a:hover { color: var(--px-text) !important; background: var(--px-card); }
.px-menu .current-menu-item > a, .px-menu .current_page_item > a, .px-menu .current-menu-ancestor > a { color: var(--px-lime) !important; }
.px-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; right: 0; min-width: 210px; background: var(--px-card); border: 1px solid var(--px-line2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 5; }
.px-menu > li:hover > .sub-menu, .px-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.px-actions { display: flex; align-items: center; gap: 10px; }
.px-icon { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--px-line2); background: transparent; color: var(--px-text) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s; padding: 0; }
.px-icon:hover { border-color: var(--px-lime); }
.px-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.px-cart-count { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--px-lime); color: var(--px-ink); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.px-cart-count.is-empty { display: none; }
.px-burger { display: none; }

/* قائمة الهاتف */
.px-drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(360px, 88vw); background: var(--px-bg2); border-left: 1px solid var(--px-line); z-index: 10002; transform: translateX(105%); transition: transform .25s ease; padding: 18px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; box-sizing: border-box; }
.px-menu-open .px-drawer { transform: none; }
.px-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.px-drawer-back { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 10001; }
.px-menu-open .px-drawer-back { display: block; }
.px-menu-mobile { flex-direction: column; gap: 2px; }
.px-menu-mobile a { font-size: 17px; padding: 12px 14px; }
.px-menu-mobile .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 12px 0 0; }

/* ── الفوتر ── */
.px-footer { background: #080B0E; border-top: 1px solid var(--px-line); margin-top: 0; }
.px-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-block: 56px 32px; }
.px-footer-brand p { color: var(--px-soft); font-size: 14px; line-height: 1.9; margin: 14px 0 18px; max-width: 320px; }
.px-footer-col h2 { font-size: 15px !important; font-weight: 800; color: var(--px-text); margin: 0 0 14px; }
.px-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.px-footer-col a, .px-footer-col span { color: var(--px-soft) !important; text-decoration: none; font-size: 14px; }
.px-footer-col a:hover { color: var(--px-lime) !important; }
.px-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid #161D22; font-size: 13px; color: var(--px-mute); }
.px-social { display: flex; gap: 16px; }
.px-social a { color: var(--px-soft) !important; text-decoration: none; }

/* ── عناصر مشتركة ── */
.px-kicker { display: inline-block; font-size: 14px; font-weight: 800; color: var(--px-lime); margin-bottom: 8px; }
.px-sec { padding-block: 56px; }
.px-sec-last { padding-bottom: 96px; }
.px-sec h2, .px-hero h1 { color: #F4F7F1; }
.px-sec h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.3; margin: 0; }
.px-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.px-more { font-weight: 800; font-size: 15px; text-decoration: none; }
.px-center { text-align: center; margin-bottom: 32px !important; }
.px-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--px-mute); margin-bottom: 12px; }
.px-crumbs a { color: var(--px-soft) !important; text-decoration: none; }
.px-crumbs [aria-current] { color: var(--px-lime); }

/* ── الرئيسية: الواجهة ── */
.px-hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 12% 0%, rgba(182, 247, 4, 0.10), transparent 60%), var(--px-bg); border-bottom: 1px solid var(--px-line); }
.px-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--px-line) 1px, transparent 1px), linear-gradient(90deg, var(--px-line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
.px-hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 72px; }
.px-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.px-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--px-line2); background: var(--px-card); font-size: 13px; color: var(--px-soft); }
.px-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--px-lime); box-shadow: 0 0 10px var(--px-lime); }
.px-hero h1 { margin: 0; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.15; font-weight: 900; }
.px-hero h1 em { font-style: normal; color: var(--px-lime); }
.px-hero-text > p { margin: 0; font-size: 18px; line-height: 1.95; color: var(--px-soft); max-width: 580px; }
.px-checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--px-soft); }
.px-checks li { display: flex; align-items: center; gap: 8px; }
.px-checks svg { width: 18px; height: 18px; fill: none; stroke: var(--px-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* جهاز التطبيق */
.px-hero-visual { flex: 1 1 520px; min-width: 0; }
.px-device { border-radius: 28px; padding: 14px; background: #05080A; border: 1px solid var(--px-line); box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(182,247,4,.06); }
.px-device-screen { border-radius: 18px; overflow: hidden; background: #0E1317; border: 1px solid var(--px-line); }
.px-app-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #080B0E; border-bottom: 1px solid var(--px-line); }
.px-app-bar .px-logo-mark { font-size: 16px; }
.px-app-users { display: flex; gap: 6px; direction: ltr; }
.px-app-users b { width: 26px; height: 26px; border-radius: 7px; background: var(--px-card2); color: var(--px-soft); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.px-app-users b.on { background: var(--px-lime); color: var(--px-ink); }
.px-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.px-axis { background: var(--px-card2); border: 1px solid var(--px-line2); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.px-axis-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.px-axis-top i { width: 8px; height: 8px; border-radius: 50%; background: #4A524D; }
.px-axis-top i.on { background: var(--px-green); }
.px-axis-mid { display: flex; align-items: center; gap: 10px; }
.px-ring { position: relative; width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--px-lime) calc(var(--p) * 1%), var(--px-line2) 0); }
.px-ring b { position: absolute; inset: 5px; border-radius: 50%; background: var(--px-card2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; direction: ltr; }
.px-axis-speed { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.px-axis-speed small { font-size: 10px; color: var(--px-soft); }
.px-bar { display: block; height: 5px; border-radius: 3px; background: var(--px-line2); overflow: hidden; }
.px-bar span { display: block; height: 100%; background: var(--px-lime); border-radius: 3px; }
.px-app-ctrl { display: flex; gap: 10px; padding: 0 14px 14px; }
.px-app-ctrl span { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; }
.px-app-play { flex: 2; background: var(--px-lime); color: var(--px-ink); }
.px-app-play svg { width: 14px; height: 14px; fill: currentColor; }
.px-app-home { flex: 1; border: 1px solid var(--px-green); color: var(--px-green); }
.px-app-stop { flex: 1; border: 1px solid var(--px-line2); color: var(--px-text); }

/* شريط المحاور */
.px-strip { background: var(--px-bg2); border-bottom: 1px solid var(--px-line); }
.px-strip-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 22px; }
.px-strip-label { font-size: 14px; color: var(--px-soft); margin-left: 8px; }
.px-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--px-line2); background: var(--px-card); font-size: 14px; font-weight: 700; }

/* المنظومة */
.px-cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.px-sys { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 20px; background: var(--px-card); border: 1px solid var(--px-line); color: var(--px-text) !important; text-decoration: none; min-height: 230px; transition: border-color .2s, transform .2s; }
.px-sys:hover { border-color: rgba(182,247,4,.4); transform: translateY(-3px); }
.px-sys-tag { width: 52px; height: 52px; border-radius: 14px; background: rgba(182,247,4,.10); border: 1px solid rgba(182,247,4,.25); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: var(--px-lime); direction: ltr; }
.px-sys h3 { margin: 0; font-size: 21px; font-weight: 800; }
.px-sys p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--px-soft); flex: 1; }
.px-sys-more { font-size: 14px; font-weight: 800; color: var(--px-lime); }

/* كيف يعمل */
.px-how { border-radius: 28px; background: linear-gradient(180deg, var(--px-card), var(--px-bg2)); border: 1px solid var(--px-line); padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; }
.px-how-intro { flex: 1 1 280px; }
.px-how-intro h2 { font-size: 32px; margin-bottom: 12px; }
.px-how-intro p { color: var(--px-soft); margin: 0 0 14px; }
.px-steps { flex: 2 1 560px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.px-steps li { padding: 22px; border-radius: 18px; background: var(--px-bg); border: 1px solid var(--px-line2); display: flex; flex-direction: column; gap: 8px; }
.px-steps b { width: 40px; height: 40px; border-radius: 50%; background: var(--px-lime); color: var(--px-ink); font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.px-steps h3 { margin: 4px 0 0; font-size: 18px; font-weight: 800; }
.px-steps p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--px-soft); }

/* المزايا */
.px-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--px-line); border: 1px solid var(--px-line); border-radius: 22px; overflow: hidden; }
.px-feature { background: var(--px-bg2); padding: 30px; }
.px-feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.px-feature p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--px-soft); }

/* صمّم نظامك */
.px-builder { border-radius: 28px; padding: 48px; background: radial-gradient(700px 360px at 85% 0%, rgba(182,247,4,.16), transparent 65%), var(--px-card); border: 1px solid rgba(182,247,4,.22); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.px-builder-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.px-builder-text p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--px-soft); }
.px-rig { flex: 1 1 360px; background: var(--px-bg); border: 1px solid var(--px-line2); border-radius: 20px; padding: 22px; }
.px-rig-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--px-line); font-size: 17px; }
.px-rig-head .ok { font-size: 13px; color: var(--px-green); display: flex; align-items: center; gap: 6px; }
.px-rig-head i, .px-rig-row i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.px-rig i.ok { background: var(--px-green); }
.px-rig-head .ok i { background: var(--px-green); width: 8px; height: 8px; }
.px-rig i.warn { background: var(--px-warn); }
.px-rig-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #161D22; }
.px-rig-row span { flex: 1; font-weight: 700; }
.px-rig-row small { font-size: 13px; color: var(--px-soft); }

/* المنتجات */
.px-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.px-product { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--px-card); border: 1px solid var(--px-line); color: var(--px-text) !important; text-decoration: none; transition: transform .2s, border-color .2s; }
.px-product:hover { transform: translateY(-3px); border-color: var(--px-line2); }
.px-product-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.px-product-body { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.px-product-body small { color: var(--px-green); font-size: 13px; }
.px-product-body b { font-size: 17px; }
.px-price { font-size: 18px; font-weight: 900; color: var(--px-lime); }
.px-price del { color: var(--px-mute); font-size: 14px; font-weight: 400; margin-inline-end: 6px; }
.px-price ins { text-decoration: none; }

/* التطبيق */
.px-app { border-radius: 28px; padding: 44px 48px; background: var(--px-card); border: 1px solid var(--px-line); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.px-app > div:first-child { flex: 1 1 420px; }
.px-app h2 { font-size: 32px; margin-bottom: 10px !important; }
.px-app p { margin: 0; color: var(--px-soft); font-size: 16px; }
.px-store { height: 56px; padding: 0 22px; border-radius: 14px; background: var(--px-text); color: var(--px-ink) !important; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.px-store svg { width: 22px; height: 22px; fill: currentColor; }
.px-store span { display: flex; flex-direction: column; line-height: 1.2; font-size: 16px; }
.px-store small { font-size: 11px; font-weight: 600; }

/* ── الصفحات العادية ── */
.px-page-hero { border-bottom: 1px solid var(--px-line); background: radial-gradient(700px 300px at 85% 0%, rgba(182,247,4,.08), transparent 70%), var(--px-bg2); padding-block: 48px 40px; }
.px-page-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: #F4F7F1; line-height: 1.25; }
.px-page-hero p { margin: 10px 0 0; color: var(--px-soft); font-size: 17px; max-width: 760px; }
.px-prose { max-width: 820px; margin: 48px auto 96px; color: var(--px-soft); font-size: 17px; line-height: 1.95; }
.px-prose h2, .px-prose h3 { color: var(--px-text); line-height: 1.35; }
.px-prose a { color: var(--px-lime); }
.px-wc { margin: 40px auto 96px; }

/* ── دليل التطبيق ── */
.px-guide-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-block: 40px 96px; align-items: start; }
.px-toc { position: sticky; top: calc(var(--px-nav) + 20px); background: var(--px-card); border: 1px solid var(--px-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.px-toc b { font-size: 15px; }
.px-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: t; }
.px-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--px-soft) !important; text-decoration: none; font-size: 14px; font-weight: 700; counter-increment: t; }
.px-toc a::before { content: counter(t); color: var(--px-mute); font-size: 12px; min-width: 14px; }
.px-toc a:hover { background: var(--px-bg); color: var(--px-text) !important; }
.px-toc a.is-active { background: rgba(182,247,4,.08); color: var(--px-lime) !important; }
.px-gsec { scroll-margin-top: calc(var(--px-nav) + 24px); padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--px-line); }
.px-gsec:last-child { border-bottom: 0; }
.px-gsec h2 { font-size: 30px; font-weight: 900; margin: 0 0 18px; color: #F4F7F1; }
.px-gsec h3 { font-size: 19px; font-weight: 800; margin: 28px 0 10px; color: var(--px-text); }
.px-gsec p { color: var(--px-soft); font-size: 16px; line-height: 1.95; }
.px-shot { margin: 0 0 22px; border-radius: 20px; padding: 10px; background: #05080A; border: 1px solid var(--px-line); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.px-shot-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.px-shot-missing { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; color: var(--px-mute); background: var(--px-card); border-radius: 12px; }
.px-parts { margin: 0; padding: 0; list-style: none; counter-reset: p; display: flex; flex-direction: column; gap: 10px; }
.px-parts[start="7"] { counter-reset: p 6; }
.px-parts li { counter-increment: p; position: relative; padding: 12px 52px 12px 14px; background: var(--px-card); border: 1px solid var(--px-line); border-radius: 14px; color: var(--px-soft); font-size: 15px; line-height: 1.85; }
.px-parts li::before { content: counter(p); position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--px-lime); color: var(--px-ink); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.px-parts b { color: var(--px-text); }
.px-note { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(255,179,0,.07); border: 1px solid rgba(255,179,0,.3); color: var(--px-soft); font-size: 15px; }
.px-note b { color: var(--px-warn); }
.px-tips { margin: 0; padding: 0 20px 0 0; color: var(--px-soft); line-height: 2.1; }

/* ── سلة ووكومرس والدفع وحسابي ── */
.px-page-wc .woocommerce, .px-page-wc .wp-block-woocommerce-cart, .px-page-wc .wp-block-woocommerce-checkout { color: var(--px-text); }
.px-page-wc table.shop_table, .px-page-wc .woocommerce-MyAccount-content, .px-page-wc .woocommerce-MyAccount-navigation,
.px-page-wc .cart_totals, .px-page-wc .woocommerce-checkout-review-order, .px-page-wc .wc-block-components-sidebar,
.px-page-wc .wc-block-cart-items, .px-page-wc .wc-block-components-totals-wrapper, .px-page-wc form.login, .px-page-wc form.register {
  background: var(--px-card) !important; border: 1px solid var(--px-line) !important; border-radius: 18px !important; color: var(--px-text);
}
.px-page-wc table.shop_table { border-collapse: separate; overflow: hidden; }
.px-page-wc table.shop_table th, .px-page-wc table.shop_table td { border-color: var(--px-line) !important; padding: 14px !important; }
.px-page-wc input.input-text, .px-page-wc input[type=text], .px-page-wc input[type=email], .px-page-wc input[type=tel], .px-page-wc input[type=password], .px-page-wc input[type=number], .px-page-wc select, .px-page-wc textarea,
.px-page-wc .wc-block-components-text-input input, .px-page-wc .wc-blocks-components-select__select {
  background: var(--px-bg) !important; color: var(--px-text) !important; border: 1px solid var(--px-line2) !important; border-radius: 12px !important; padding: 12px 14px !important; font-family: 'Cairo', sans-serif;
}
.px-page-wc .button, .px-page-wc button.button, .px-page-wc .checkout-button, .px-page-wc #place_order, .px-page-wc .wc-block-components-button:not(.is-link) {
  background: var(--px-lime) !important; color: var(--px-ink) !important; border: 0 !important; border-radius: 14px !important; font-weight: 800 !important; min-height: 48px; padding: 0 22px !important;
}
.px-page-wc .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; }
.px-page-wc .woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--px-soft) !important; text-decoration: none; }
.px-page-wc .woocommerce-MyAccount-navigation .is-active a { background: rgba(182,247,4,.08); color: var(--px-lime) !important; }
.px-page-wc .woocommerce-MyAccount-content { padding: 24px; }
.px-page-wc .woocommerce-message, .px-page-wc .woocommerce-info, .px-page-wc .woocommerce-error { background: var(--px-card) !important; color: var(--px-text) !important; border-top-color: var(--px-lime) !important; border-radius: 12px; }

/* ── الهاتف والتابلت ── */
@media (max-width: 1080px) {
  .px-nav { display: none; }
  .px-burger { display: inline-flex; }
  .px-header-in { justify-content: space-between; }
  .px-footer-grid { grid-template-columns: 1fr 1fr; }
  .px-footer-brand { grid-column: 1 / -1; }
  .px-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .px-toc { position: static; }
}
@media (max-width: 782px) { .admin-bar .px-header { top: 46px; } }
@media (max-width: 640px) {
  .px-wrap { padding-inline: 16px; }
  .px-hide-sm { display: none !important; }
  .px-logo-sub { display: none; }
  .px-hero-in { padding-block: 44px 48px; gap: 32px; }
  .px-hero-text > p { font-size: 16px; }
  .px-hero .px-row > * { flex: 1 1 auto; }
  .px-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-how, .px-builder, .px-app { padding: 28px 20px; }
  .px-sec { padding-block: 40px; }
  .px-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .px-parts li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-btn, .px-sys, .px-product, .px-drawer { transition: none; }
}

/* ── إخفاء روابط القالب الأب داخل القائمة (الدخول والسلة لهما أيقونات في الهيدر) ── */
.px-menu .ecm-woo-menu { display: none !important; }
.px-menu { flex-wrap: nowrap; }
.px-menu a { white-space: nowrap; }
@media (max-width: 1240px) { .px-menu a { padding: 8px 9px; font-size: 14px; } .px-header-in { gap: 18px; } }

/* ── الدعم ── */
.px-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.px-help-card { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.px-help-card h2 { font-size: 20px !important; margin: 4px 0 0 !important; }
.px-help-card p { margin: 0 0 8px; color: var(--px-soft); font-size: 15px; flex: 1; }
.px-help-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(182,247,4,.10); border: 1px solid rgba(182,247,4,.25); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.px-help-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--px-lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.px-soon { font-size: 14px; font-weight: 700; color: var(--px-mute); border: 1px dashed var(--px-line2); border-radius: 12px; padding: 8px 14px; }
.px-faq-wrap { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; }
.px-faq-intro { flex: 1 1 260px; }
.px-faq-intro p { color: var(--px-soft); }
.px-faq { flex: 2 1 520px; display: flex; flex-direction: column; gap: 10px; }
.px-faq details { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 16px; padding: 0 20px; }
.px-faq details[open] { border-color: rgba(182,247,4,.3); }
.px-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.px-faq summary::-webkit-details-marker { display: none; }
.px-faq summary::after { content: '+'; color: var(--px-lime); font-size: 22px; line-height: 1; }
.px-faq details[open] summary::after { content: '−'; }
.px-faq details p { margin: 0 0 18px; color: var(--px-soft); font-size: 15px; line-height: 1.9; }
.px-mail { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 24px; }
.px-mail > div { flex: 1 1 260px; }
.px-mail h2 { font-size: 20px !important; margin: 0 !important; }
.px-mail p { margin: 4px 0 0; color: var(--px-soft); }

/* ── تحميل التطبيق ── */
.px-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.px-dl-card { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.px-dl-card.is-soon { opacity: .75; }
.px-dl-top { display: flex; align-items: center; gap: 14px; }
.px-dl-top > div { flex: 1; }
.px-dl-top h2 { font-size: 19px !important; margin: 0 !important; }
.px-dl-top small { color: var(--px-soft); }
.px-dl-meta { display: flex; gap: 16px; color: var(--px-soft); font-size: 14px; }
.px-dl-card p { margin: 0; color: var(--px-soft); }
.px-badge { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.px-badge-ok { background: rgba(154,205,50,.14); color: var(--px-green); }
.px-badge-warn { background: rgba(255,179,0,.14); color: var(--px-warn); }
.px-badge-soon, .px-badge-old { background: var(--px-card2); color: var(--px-soft); }
.px-apphow { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.px-apphow .px-steps { width: 100%; }
.px-app-feats { margin-top: 56px; }
.px-req { margin-top: 56px; background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 28px; }
.px-req h2 { font-size: 24px !important; margin: 0 0 16px !important; }
.px-req ul { list-style: none; margin: 0; padding: 0; }
.px-req li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--px-line); color: var(--px-soft); }
.px-req li:last-child { border-bottom: 0; }
.px-req b { color: var(--px-text); }
.px-apphow .px-steps { flex: none; }

/* ── التحديثات والتوثيق ── */
.px-fw { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.px-fw-card { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.px-fw-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.px-fw-top h2 { font-size: 17px !important; margin: 0 !important; }
.px-fw-ver { font-size: 34px; font-weight: 900; color: var(--px-lime); line-height: 1.2; text-align: right; }
.px-fw-card small { color: var(--px-mute); font-size: 13px; }
.px-fw-card p { margin: 6px 0 0; color: var(--px-soft); font-size: 14px; }
.px-link-card { text-decoration: none; color: var(--px-text) !important; transition: border-color .2s, transform .2s; }
.px-link-card:hover { border-color: rgba(182,247,4,.4); transform: translateY(-3px); }
.px-note a { color: var(--px-lime); }

/* ── من نحن ── */
.px-about { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.px-about-text { flex: 1 1 460px; }
.px-about-text p { color: var(--px-soft); font-size: 17px; line-height: 2; }
.px-about-list { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.px-about-list div { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.px-about-list b { font-size: 17px; }
.px-about-list span { color: var(--px-soft); font-size: 15px; }

/* ── إزالة مسافة الهيدر القديم (كان عائمًا فوق الصفحة؛ الجديد داخل الصفحة) ── */
body.ecm-pro.elementor-page { padding-top: 0 !important; }
.ecm-pro .ecm-hero-section { padding-top: 64px !important; }
.ecm-pro .ecm-woo { padding-top: 32px !important; }
.ecm-pro .rp-hero { padding-top: 56px !important; }
.ecm-pro .rp-hero-sm { padding-top: 36px !important; }
.ecm-pro .rs-top { padding-top: 20px !important; }
.ecm-pro .rig-wrap { padding-top: 40px !important; }
.ecm-pro .ecm-nav-wrap, .ecm-pro #ecm-header:not(.px-header), .ecm-pro .ecm-nav-overlay { display: none !important; }

/* ── زر الحساب: صورة المستخدم واسمه ── */
.px-user { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; border-radius: 12px; border: 1px solid var(--px-line2); color: var(--px-text) !important; text-decoration: none; font-weight: 700; font-size: 14px; max-width: 180px; transition: border-color .15s; }
.px-user:hover { border-color: var(--px-lime); }
.px-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(182,247,4,.5); }
.px-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .px-user { padding: 0 6px; } .px-user span { display: none; } }

/* ── صور حية من التطبيق ── */
.px-device-shot { display: block; width: 100%; height: auto; border-radius: 14px; }
.px-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.px-gallery figure { margin: 0; background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.px-gallery a { text-decoration: none; color: var(--px-text) !important; }
.px-gallery a:hover figure { border-color: rgba(182,247,4,.4); transform: translateY(-3px); }
.px-gallery img { width: 100%; height: auto; border-radius: 12px; display: block; }
.px-gallery figcaption { padding: 4px 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.px-gallery figcaption b { font-size: 16px; }
.px-gallery figcaption span { font-size: 14px; color: var(--px-soft); }

/* ── أزرار إليمنتور بهوية التطبيق: نص غامق على ليموني (كان ليموني على ليموني) ── */
.ecm-pro .elementor-button, .ecm-pro .elementor-cta__button.elementor-button { background: var(--px-lime) !important; color: var(--px-ink) !important; border: 0 !important; border-radius: 12px !important; font-weight: 800 !important; box-shadow: 0 0 0 2px rgba(10,14,17,.25); }
.ecm-pro .elementor-button .elementor-button-text { color: var(--px-ink) !important; }
.ecm-pro .elementor-button:hover { filter: brightness(1.08); }

/* ── دليل التطبيق: التظليل المرقّم على الصور ── */
.px-anno { position: relative; border-radius: 12px; overflow: hidden; line-height: 0; }
.px-hs { position: absolute; padding: 0; margin: 0; border: 2px solid var(--px-lime); border-radius: 8px; background: rgba(182,247,4,.07); cursor: pointer; transition: box-shadow .25s ease, background .2s, border-color .2s; z-index: 1; box-sizing: border-box; }
.px-hs b { position: absolute; top: 3px; right: 3px; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 12px; background: var(--px-lime); color: var(--px-ink); font: 900 13px/24px 'Cairo', sans-serif; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.55); box-sizing: border-box; }
.px-hs:hover { background: rgba(182,247,4,.14); }
.px-anno.is-dim .px-hs { border-color: rgba(182,247,4,.25); background: transparent; }
.px-anno.is-dim .px-hs b { opacity: .35; }
.px-hs.is-on { z-index: 3; border-color: var(--px-lime) !important; background: transparent !important; box-shadow: 0 0 0 9999px rgba(5,8,10,.66), 0 0 22px rgba(182,247,4,.55); }
.px-hs.is-on b { opacity: 1 !important; transform: scale(1.15); }
.px-parts li { padding: 12px 54px 12px 14px; cursor: default; transition: border-color .2s, background .2s; outline: none; }
.px-parts li::before { content: none !important; }
.px-parts li i { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--px-lime); color: var(--px-ink); font-style: normal; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.px-parts li.is-on, .px-parts li:focus-visible { border-color: var(--px-lime); background: rgba(182,247,4,.06); }
.px-gsec .px-shot + .px-parts, .px-gsec h3 + .px-parts { margin-bottom: 22px; }
@media (max-width: 640px) {
  .px-hs { border-width: 1.5px; border-radius: 5px; }
  .px-hs b { min-width: 18px; height: 18px; font-size: 10px; line-height: 18px; top: 1px; right: 1px; }
}

/* ═══ السلة (بلوكات ووكومرس) ═══ */
.px-page-wc .wp-block-woocommerce-cart { margin-top: 8px; }
.px-page-wc .wc-block-cart { gap: 28px; }
.px-page-wc .wc-block-cart__main { min-width: 0; }
/* جدول المنتجات */
.px-page-wc table.wc-block-cart-items { background: transparent !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 14px !important; }
.px-page-wc table.wc-block-cart-items thead { display: none; }
.px-page-wc .wc-block-cart-items__row { background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px; }
.px-page-wc .wc-block-cart-items__row > td { border: 0 !important; padding: 18px !important; vertical-align: middle !important; background: var(--px-card); }
.px-page-wc .wc-block-cart-items__row > td:first-child { border-radius: 0 20px 20px 0; }
.px-page-wc .wc-block-cart-items__row > td:last-child { border-radius: 20px 0 0 20px; }
.px-page-wc .wc-block-cart-item__image { width: 190px !important; padding-left: 0 !important; }
.px-page-wc .wc-block-cart-item__image a, .px-page-wc .wc-block-cart-item__image img { display: block; width: 180px !important; max-width: 180px !important; height: 135px !important; object-fit: cover; border-radius: 14px; background: var(--px-card2); }
.px-page-wc .wc-block-components-product-name { font-size: 19px !important; font-weight: 800 !important; color: var(--px-text) !important; text-decoration: none; line-height: 1.5; }
.px-page-wc .wc-block-components-product-name:hover { color: var(--px-lime) !important; }
.px-page-wc .wc-block-cart-item__prices, .px-page-wc .wc-block-components-product-price { color: var(--px-lime); font-weight: 800; font-size: 16px; }
.px-page-wc .wc-block-components-product-price del { color: var(--px-mute); font-weight: 400; }
.px-page-wc .wc-block-components-product-metadata { color: var(--px-soft); font-size: 14px; line-height: 1.8; margin: 6px 0 10px; }
.px-page-wc .wc-block-components-product-details { color: var(--px-soft); font-size: 13px; list-style: none; padding: 0; margin: 4px 0; }
.px-page-wc .wc-block-components-product-details__name { color: var(--px-green); font-weight: 700; }
.px-page-wc .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 14px; }
.px-page-wc .wc-block-components-quantity-selector { border: 1px solid var(--px-line2) !important; border-radius: 12px !important; background: var(--px-bg) !important; overflow: hidden; width: 128px !important; }
.px-page-wc .wc-block-components-quantity-selector input { background: transparent !important; border: 0 !important; color: var(--px-text) !important; font-weight: 800 !important; font-size: 16px !important; padding: 8px 0 !important; }
.px-page-wc .wc-block-components-quantity-selector__button { color: var(--px-text) !important; font-size: 18px !important; min-width: 38px; background: transparent !important; }
.px-page-wc .wc-block-components-quantity-selector__button:hover { color: var(--px-lime) !important; }
.px-page-wc .wc-block-cart-item__remove-link { color: var(--px-soft) !important; font-size: 13px !important; text-decoration: none !important; }
.px-page-wc .wc-block-cart-item__remove-link:hover { color: var(--px-red) !important; }
.px-page-wc .wc-block-cart-item__total { text-align: left !important; min-width: 130px; }
.px-page-wc .wc-block-cart-item__total .wc-block-components-product-price__value, .px-page-wc .wc-block-cart-item__total .wc-block-formatted-money-amount { font-size: 20px !important; font-weight: 900 !important; color: var(--px-text) !important; }
/* صندوق الإجمالي */
.px-page-wc .wc-block-cart__sidebar { position: sticky; top: calc(var(--px-nav) + 20px); align-self: flex-start; padding: 24px !important; background: var(--px-card) !important; border: 1px solid rgba(182,247,4,.25) !important; border-radius: 22px !important; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.px-page-wc .wc-block-cart__totals-title { font-size: 18px !important; font-weight: 900 !important; color: var(--px-text) !important; margin: 0 0 8px !important; text-transform: none !important; letter-spacing: 0 !important; }
.px-page-wc .wc-block-cart__sidebar .wc-block-components-totals-wrapper { border: 0 !important; border-top: 1px solid var(--px-line) !important; border-radius: 0 !important; background: transparent !important; padding: 14px 0 !important; }
.px-page-wc .wc-block-components-totals-item { color: var(--px-soft); }
.px-page-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 18px !important; font-weight: 800 !important; color: var(--px-text) !important; }
.px-page-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 26px !important; font-weight: 900 !important; color: var(--px-lime) !important; }
.px-page-wc .wc-block-components-panel__button { color: var(--px-text) !important; font-weight: 700; }
.px-page-wc .wc-block-cart__submit-button { min-height: 56px !important; font-size: 17px !important; border-radius: 16px !important; width: 100%; }
/* السلة الفارغة */
.px-page-wc .wp-block-woocommerce-empty-cart-block h2 { font-size: 26px !important; color: var(--px-text); }
.px-page-wc .wc-block-cart__empty-cart__title::before { opacity: .5; }
/* روابط تحت السلة */
.px-cart-extra { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 8px 0 72px; padding: 18px 22px; border-radius: 18px; background: var(--px-bg2); border: 1px solid var(--px-line); }
.px-cart-extra p { margin: 0; color: var(--px-soft); }
@media (max-width: 760px) {
  .px-page-wc .wc-block-cart-item__image, .px-page-wc .wc-block-cart-item__image img, .px-page-wc .wc-block-cart-item__image a { width: 110px !important; max-width: 110px !important; height: 90px !important; }
  .px-page-wc .wc-block-cart-items__row > td { padding: 12px !important; }
  .px-page-wc .wc-block-components-product-name { font-size: 16px !important; }
  .px-page-wc .wc-block-cart__sidebar { position: static; }
}

/* ── شاشة التحميل ── */
html.px-loading, html.px-loading body { overflow: hidden; }
.px-loader { position: fixed; inset: 0; z-index: 2147483000; background: radial-gradient(600px 400px at 50% 45%, rgba(182,247,4,.10), transparent 70%), #070A0C; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .6s ease, visibility .6s ease; }
.px-loader.is-done { opacity: 0; visibility: hidden; }
.px-loader-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(182,247,4,.18); box-shadow: 0 0 80px rgba(182,247,4,.12), inset 0 0 60px rgba(182,247,4,.06); animation: px-pulse 2.4s ease-in-out infinite; }
.px-loader-logo { position: relative; width: 300px; height: 220px; display: flex; align-items: center; justify-content: center; }
.px-loader-flat { font-size: 64px; transition: opacity .5s ease, transform .5s ease; animation: px-breathe 1.6s ease-in-out infinite; }
.px-loader-3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; background: transparent; --poster-color: transparent; --progress-bar-color: transparent; }
.px-loader.has-3d .px-loader-3d { opacity: 1; }
.px-loader.has-3d .px-loader-flat { opacity: 0; transform: scale(.8); }
.px-loader-bar { position: relative; width: 180px; height: 3px; border-radius: 3px; background: #1E252B; overflow: hidden; }
.px-loader-bar span { position: absolute; inset: 0; width: 40%; border-radius: 3px; background: var(--px-lime); box-shadow: 0 0 12px var(--px-lime); animation: px-slide 1.1s ease-in-out infinite; }
.px-loader-sub { color: #6F7772; font-size: 12px; font-weight: 700; direction: ltr; }
@keyframes px-slide { 0% { transform: translateX(260%); } 100% { transform: translateX(-160%); } }
@keyframes px-pulse { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes px-breathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@media (max-width: 640px) { .px-loader-logo { width: 240px; height: 180px; } .px-loader-glow { width: 260px; height: 260px; } }
@media (prefers-reduced-motion: reduce) { .px-loader-glow, .px-loader-bar span, .px-loader-flat { animation: none; } }

/* بطاقة الشرح فوق الجزء */
.px-shot { position: relative; }
.px-tip { position: absolute; z-index: 20; width: min(320px, calc(100% - 16px)); background: #0B1014; border: 1px solid rgba(182,247,4,.55); border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 24px rgba(182,247,4,.15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; line-height: 1.7; }
.px-tip.is-on { opacity: 1; visibility: visible; transform: none; }
.px-tip::after { content: ''; position: absolute; left: calc(var(--ax, 50%) - 7px); bottom: -8px; width: 14px; height: 14px; background: #0B1014; border-right: 1px solid rgba(182,247,4,.55); border-bottom: 1px solid rgba(182,247,4,.55); transform: rotate(45deg); }
.px-tip.is-below::after { bottom: auto; top: -8px; transform: rotate(225deg); }
.px-tip-head { display: flex; align-items: center; gap: 8px; }
.px-tip-head i { width: 24px; height: 24px; border-radius: 50%; background: var(--px-lime); color: var(--px-ink); font: 900 13px/24px 'Cairo', sans-serif; text-align: center; font-style: normal; flex-shrink: 0; }
.px-tip-head b { font-size: 15px; color: var(--px-text); }
.px-tip p { margin: 6px 0 4px !important; font-size: 13.5px !important; color: var(--px-soft) !important; line-height: 1.75 !important; }
.px-tip small { font-size: 11.5px; color: var(--px-lime); }
.px-parts li { cursor: pointer; }
.px-parts li.is-flash { animation: px-flash 1.6s ease; }
@keyframes px-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--px-lime), 0 0 30px rgba(182,247,4,.35); } 100% { box-shadow: none; } }

/* ═══ خلفية متحركة احترافية (خفيفة، خلف كل المحتوى) ═══ */
body.ecm-pro { background: transparent !important; }
.px-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #0A0E11; }
.px-grid { position: absolute; inset: -64px; background-image: linear-gradient(rgba(182,247,4,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(182,247,4,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); animation: px-grid-move 28s linear infinite; }
.px-orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.px-orb-a { width: 620px; height: 620px; background: rgba(182,247,4,.13); top: -180px; right: -120px; animation: px-orb-a 26s ease-in-out infinite alternate; }
.px-orb-b { width: 520px; height: 520px; background: rgba(154,205,50,.10); bottom: -200px; left: -140px; animation: px-orb-b 32s ease-in-out infinite alternate; }
.px-orb-c { width: 380px; height: 380px; background: rgba(60,140,255,.06); top: 40%; left: 45%; animation: px-orb-c 38s ease-in-out infinite alternate; }
.px-scan { position: absolute; left: 0; right: 0; height: 160px; background: linear-gradient(180deg, transparent, rgba(182,247,4,.035), transparent); animation: px-scan 9s linear infinite; }
@keyframes px-grid-move { to { transform: translate3d(64px, 64px, 0); } }
@keyframes px-orb-a { to { transform: translate3d(-260px, 220px, 0) scale(1.15); } }
@keyframes px-orb-b { to { transform: translate3d(300px, -200px, 0) scale(.9); } }
@keyframes px-orb-c { to { transform: translate3d(-200px, -160px, 0) scale(1.2); } }
@keyframes px-scan { from { top: -160px; } to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .px-grid, .px-orb, .px-scan { animation: none !important; } .px-scan { display: none; } }
/* الأقسام الكبيرة شفافة جزئيًا لتظهر الحركة من خلفها، والبطاقات تبقى واضحة */
.ecm-pro .px-hero { background: radial-gradient(900px 520px at 12% 0%, rgba(182,247,4,.08), transparent 60%); }
.ecm-pro .px-hero::before { display: none; }
.ecm-pro .px-strip { background: rgba(13,18,22,.72); }
.ecm-pro .px-page-hero { background: radial-gradient(700px 300px at 85% 0%, rgba(182,247,4,.07), transparent 70%), rgba(13,18,22,.55); }
.ecm-pro .rp, .ecm-pro .ecm-rig, .ecm-pro .rs { background: transparent !important; }
.ecm-pro .rp-hero { background: radial-gradient(900px 420px at 85% 0%, rgba(182,247,4,.08), transparent 60%) !important; }
.ecm-pro .rp-hero-grid { display: none; }
.ecm-pro .px-footer { background: rgba(8,11,14,.92); }

/* ═══ تفعيل الجهاز ═══ */
.px-act-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.px-act-steps h2 { font-size: 32px !important; margin: 0 0 22px !important; }
.px-act-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.px-act-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--px-card); border: 1px solid var(--px-line); }
.px-act-list li > b { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--px-line2); color: var(--px-soft); font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.px-act-list li.is-now { border-color: rgba(182,247,4,.45); box-shadow: 0 0 30px rgba(182,247,4,.08); }
.px-act-list li.is-now > b { background: var(--px-lime); border-color: var(--px-lime); color: var(--px-ink); }
.px-act-list li.is-done > b { background: rgba(154,205,50,.15); border-color: var(--px-green); color: var(--px-green); }
.px-act-list h3 { margin: 4px 0 4px !important; font-size: 18px !important; }
.px-act-list p { margin: 0; color: var(--px-soft); font-size: 15px; line-height: 1.85; }
.px-act-card { background: var(--px-card); border: 1px solid rgba(182,247,4,.28); border-radius: 24px; padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.45); position: sticky; top: calc(var(--px-nav) + 20px); }
.px-act-card-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--px-line); }
.px-act-card-head h2 { font-size: 21px !important; margin: 0 !important; }
.px-act-card-head p { margin: 2px 0 0; color: var(--px-soft); font-size: 14px; }
/* مخرجات نظام التفعيل داخل البطاقة */
.px-act-body > * { max-width: none !important; margin-inline: 0 !important; }
.px-act-body [class*="ecm-"] { box-sizing: border-box; }
.px-act-body .ecm-bind-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; background: none; border: 0; padding: 0; }
.px-act-body input[type=text], .px-act-body input[type=email], .px-act-body input[type=password] { flex: 1 1 220px; min-height: 52px; background: var(--px-bg) !important; color: var(--px-text) !important; border: 1px solid var(--px-line2) !important; border-radius: 14px !important; padding: 0 16px !important; font: 700 17px 'Cairo', sans-serif !important; direction: ltr; text-align: right; letter-spacing: 1px; }
.px-act-body input:focus { outline: none; border-color: var(--px-lime) !important; box-shadow: 0 0 0 3px rgba(182,247,4,.15); }
.px-act-body button, .px-act-body .button, .px-act-body input[type=submit], .px-act-body a.ecm-btn-primary { min-height: 52px; padding: 0 24px !important; background: var(--px-lime) !important; color: var(--px-ink) !important; border: 0 !important; border-radius: 14px !important; font: 800 16px 'Cairo', sans-serif !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.px-act-body .ecm-act-devices { display: flex; flex-direction: column; gap: 10px; }
.px-act-body .ecm-act-card { background: var(--px-bg2) !important; border: 1px solid var(--px-line) !important; border-radius: 16px !important; padding: 16px !important; }
.px-act-body .ecm-act-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.px-act-body .ecm-act-serial { font-weight: 900; font-size: 17px; direction: ltr; color: var(--px-text); }
.px-act-body .ecm-act-badge { font-size: 12px; font-weight: 800; color: var(--px-green); background: rgba(154,205,50,.12); border-radius: 999px; padding: 3px 10px; }
.px-act-body .ecm-act-meta { list-style: none; margin: 10px 0 0; padding: 0; color: var(--px-soft); font-size: 14px; line-height: 1.9; }
.px-act-body h2, .px-act-body h3 { font-size: 18px !important; }
.px-act-body p { color: var(--px-soft); }
@media (max-width: 960px) { .px-act-grid { grid-template-columns: minmax(0, 1fr); } .px-act-card { position: static; } }

/* ── الشعار ── */
.px-logo-img { display: block; height: 34px; width: auto; }
.px-drawer-head .px-logo-img { height: 30px; }
.px-footer-brand .px-logo-img { height: 42px; }
.px-loader-flat { width: 220px; height: auto; }
@media (max-width: 640px) { .px-logo-img { height: 28px; } }

/* ── الخلفية التفاعلية: توهج يتبع الماوس + أشكال تتحرك معه (بدل الخط) ── */
.px-scan { display: none !important; }
.px-bg { --mx: 50vw; --my: 30vh; --px: 0; --py: 0; }
.px-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(182,247,4,.10), rgba(182,247,4,.035) 35%, transparent 65%); transition: opacity .4s; }
.px-grid { mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.12) 100%) !important; -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.12) 100%) !important; }
.px-orb-a { translate: calc(var(--px) * -40px) calc(var(--py) * -30px); }
.px-orb-b { translate: calc(var(--px) * 50px) calc(var(--py) * 40px); }
.px-orb-c { translate: calc(var(--px) * -25px) calc(var(--py) * 35px); }
@media (hover: none) { .px-spot { background: radial-gradient(520px circle at 70% 20%, rgba(182,247,4,.08), transparent 65%); } }

/* ── صورة التطبيق ثلاثية الأبعاد في الرئيسية ── */
.px-hero-visual { perspective: 1400px; }
.px-tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; will-change: transform; }
.px-tilt.is-moving { transition: transform .08s linear, box-shadow .2s; }
.px-tilt:hover { box-shadow: 0 50px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(182,247,4,.12), 0 0 60px rgba(182,247,4,.10); }
.px-tilt .px-device-shot { transform: translateZ(30px); }
.px-glare { position: absolute; inset: 0; border-radius: 28px; pointer-events: none; z-index: 2; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.14), transparent 45%); opacity: 0; transition: opacity .3s; }
.px-tilt:hover .px-glare { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .px-tilt { transform: none !important; } .px-orb-a, .px-orb-b, .px-orb-c { translate: none; } }
.ecm-pro .px-header .px-logo-img { height: 34px !important; width: auto !important; max-width: none; }
.ecm-pro .px-drawer .px-logo-img { height: 30px !important; width: auto !important; }
.ecm-pro .px-footer .px-logo-img { height: 42px !important; width: auto !important; }
.ecm-pro .px-loader .px-loader-flat { width: 220px !important; height: auto !important; }
@media (max-width: 640px) { .ecm-pro .px-header .px-logo-img { height: 28px !important; } }
.px-shot-hub { max-width: 720px; margin-inline: auto; padding: 14px; border-radius: 24px; background: linear-gradient(160deg, #1b1f22, #05080a); }
.px-shot-hub .px-anno { border-radius: 8px; }
.px-shot-hub .px-shot-img { image-rendering: auto; }
.px-toc .px-btn::before { content: none !important; } .px-toc .px-btn { color: var(--px-ink) !important; justify-content: center; }

/* ── تفعيل الجهاز: التعرّف على الجهاز من رمز QR ── */
.px-qr-dev { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 18px; border-radius: 16px; background: rgba(182,247,4,.06); border: 1px solid rgba(182,247,4,.35); }
.px-qr-dev.is-bad { background: rgba(255,107,107,.06); border-color: rgba(255,107,107,.35); }
.px-qr-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgba(182,247,4,.12); }
.px-qr-dev.is-bad .px-qr-ico { background: rgba(255,107,107,.12); }
.px-qr-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--px-lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.px-qr-dev.is-bad .px-qr-ico svg { stroke: #FF8A80; }
.px-qr-dev small { display: block; color: var(--px-lime); font-weight: 800; font-size: 13px; }
.px-qr-dev.is-bad small { color: #FF8A80; }
.px-qr-dev b { display: block; color: #F4F7F1; font-size: 20px; font-weight: 900; line-height: 1.4; }
.px-qr-dev span { display: block; color: var(--px-soft); font-size: 15px; }
.px-qr-dev code { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 8px; background: var(--px-bg2); color: var(--px-lime); font-size: 14px; }
.px-qr-dev em { display: block; margin-top: 8px; font-style: normal; color: var(--px-soft); font-size: 14px; }

/* ══════════ صفحة الدفع: حقول واضحة — العنوان الصغير فوق القيمة بدون تداخل ══════════ */
.px-page-wc .wc-block-checkout__main .wc-block-components-checkout-step {
  background: var(--px-card); border: 1px solid var(--px-line); border-radius: 20px;
  padding: 22px 22px 24px !important; margin: 0 0 18px !important;
}
.px-page-wc .wc-block-components-checkout-step__title {
  font-size: 19px !important; font-weight: 800 !important; color: var(--px-text) !important; line-height: 1.5 !important;
  padding-right: 12px; border-right: 4px solid var(--px-lime);
}
.px-page-wc .wc-block-components-checkout-step__description { color: var(--px-soft) !important; font-size: 13.5px !important; line-height: 1.8; margin: 0 0 6px !important; }
.px-page-wc .wc-block-components-checkout-step__heading-container { margin-bottom: 8px !important; }

/* الحقول النصية */
.px-page-wc .wc-block-components-text-input { margin-top: 14px !important; }
.px-page-wc .wc-block-components-text-input input,
.px-page-wc .wc-block-components-text-input input.input-text {
  height: 58px !important; padding: 17px 16px !important; font-size: 15.5px !important; line-height: 24px !important;
  border-radius: 14px !important; background: rgba(255,255,255,.035) !important; border: 1px solid var(--px-line2) !important;
  color: var(--px-text) !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.px-page-wc .wc-block-components-text-input.is-active input,
.px-page-wc .wc-block-components-text-input input:-webkit-autofill { padding: 26px 16px 6px !important; }
.px-page-wc .wc-block-components-text-input input:hover { border-color: #3a443c !important; }
.px-page-wc .wc-block-components-text-input input:focus { border-color: var(--px-lime) !important; box-shadow: 0 0 0 3px rgba(182,247,4,.14) !important; outline: 0 !important; }
.px-page-wc .wc-block-components-text-input input[type=email],
.px-page-wc .wc-block-components-text-input input[type=tel] { direction: ltr; text-align: right; }
.px-page-wc .wc-block-components-text-input label {
  top: 29px !important; right: 17px !important; left: auto !important; transform: translateY(-50%) !important; transform-origin: right top !important;
  font-size: 15px !important; line-height: 20px !important; color: var(--px-mute) !important; font-weight: 500 !important;
  max-width: calc(100% - 34px) !important; pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease !important;
}
.px-page-wc .wc-block-components-text-input.is-active label,
.px-page-wc .wc-block-components-text-input input:-webkit-autofill + label {
  top: 8px !important; transform: none !important; font-size: 12px !important; line-height: 16px !important; color: var(--px-green) !important; font-weight: 700 !important;
}
.px-page-wc .wc-block-components-text-input.has-error input { border-color: #ff6b6b !important; }
.px-page-wc .wc-block-components-text-input.has-error label { color: #ff8a8a !important; }
.px-page-wc .wc-block-components-validation-error { color: #ff8a8a !important; font-size: 12.5px !important; margin-top: 6px; }

/* قائمة الدولة */
.px-page-wc .wc-blocks-components-select { margin-top: 14px; }
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__container { background: transparent !important; border-radius: 14px !important; }
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__select {
  height: 58px !important; padding: 24px 16px 6px 42px !important; font-size: 15.5px !important; line-height: 24px !important;
  border-radius: 14px !important; background: rgba(255,255,255,.035) !important; border: 1px solid var(--px-line2) !important; color: var(--px-text) !important;
}
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--px-lime) !important; box-shadow: 0 0 0 3px rgba(182,247,4,.14) !important; outline: 0 !important; }
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__select option { background: var(--px-bg2); color: var(--px-text); }
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__label { top: 8px !important; right: 17px !important; font-size: 12px !important; line-height: 16px !important; color: var(--px-green) !important; font-weight: 700 !important; }
.px-page-wc .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--px-soft) !important; left: 14px !important; right: auto !important; }

/* مربعات الاختيار */
.px-page-wc .wc-block-components-checkbox label { color: var(--px-soft) !important; font-size: 14.5px !important; align-items: center !important; line-height: 22px !important; }
.px-page-wc .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
  width: 22px !important; height: 22px !important; min-width: 22px !important; border-radius: 7px !important;
  background: rgba(255,255,255,.04) !important; border: 1.5px solid #3a443c !important;
}
.px-page-wc .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--px-lime) !important; border-color: var(--px-lime) !important; }
.px-page-wc .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--px-ink) !important; top: 50%; transform: translateY(-50%); margin-top: 0 !important; }
.px-page-wc .wc-block-components-textarea { background: rgba(255,255,255,.035) !important; border: 1px solid var(--px-line2) !important; border-radius: 14px !important; color: var(--px-text) !important; padding: 14px 16px !important; font-family: 'Cairo', sans-serif; }

/* روابط ونصوص */
.px-page-wc .wc-block-components-address-form__address_2-toggle { color: var(--px-lime) !important; font-weight: 700; text-decoration: none !important; }
.px-page-wc .wc-block-checkout__terms { color: var(--px-soft) !important; font-size: 13.5px !important; line-height: 1.9 !important; border-top: 1px solid var(--px-line) !important; padding-top: 18px !important; }
.px-page-wc .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { min-height: 58px !important; font-size: 18px !important; border-radius: 16px !important; width: 100%; box-shadow: 0 12px 30px rgba(182,247,4,.18); }
.px-page-wc .wc-block-components-checkout-return-to-cart-button { color: var(--px-soft) !important; }
@media (max-width: 700px) {
  .px-page-wc .wc-block-checkout__main .wc-block-components-checkout-step { padding: 18px 14px 20px !important; border-radius: 16px; }
}

/* ══════════ صفحة الدفع: ملخص الطلب — أعرض، بلا صناديق متداخلة، سعر واحد واضح ══════════ */
@media (min-width: 900px) {
  .px-page-wc .wc-block-checkout.wc-block-components-sidebar-layout { column-gap: 28px !important; flex-wrap: nowrap !important; }
  .px-page-wc .wc-block-checkout.wc-block-components-sidebar-layout .wc-block-components-main { flex: 1 1 0% !important; width: auto !important; min-width: 0; }
  .px-page-wc .wc-block-checkout.wc-block-components-sidebar-layout .wc-block-components-sidebar { flex: 0 0 min(460px, 40%) !important; width: min(460px, 40%) !important; position: sticky; top: calc(var(--px-nav) + 20px); align-self: flex-start; }
}
.px-page-wc .wc-block-checkout__sidebar { padding: 22px 22px 18px !important; border: 1px solid rgba(182,247,4,.22) !important; border-radius: 22px !important; }
.px-page-wc .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { border: 0 !important; border-top: 1px solid var(--px-line) !important; border-radius: 0 !important; background: transparent !important; padding: 14px 0 !important; }
.px-page-wc .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper { border-top: 0 !important; padding-top: 4px !important; }
.px-page-wc .wc-block-components-checkout-order-summary__title-text,
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-title { color: var(--px-text) !important; font-size: 20px !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-order-summary { padding: 0 !important; }

/* كل منتج: صورة | الاسم والتفاصيل | السعر */
.px-page-wc .wc-block-components-order-summary-item { gap: 14px; padding: 14px 0 !important; border-bottom: 1px solid var(--px-line) !important; align-items: flex-start; }
.px-page-wc .wc-block-components-order-summary-item:last-child { border-bottom: 0 !important; }
.px-page-wc .wc-block-components-order-summary-item::after { display: none !important; }
.px-page-wc .wc-block-components-order-summary-item__image { width: 64px !important; margin: 0 !important; padding: 0 !important; flex: none; }
.px-page-wc .wc-block-components-order-summary-item__image > img { width: 64px !important; max-width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 12px; background: var(--px-card2); }
.px-page-wc .wc-block-components-order-summary-item__quantity {
  background: var(--px-lime) !important; color: var(--px-ink) !important; border: 2px solid var(--px-card) !important;
  min-width: 24px !important; height: 24px !important; border-radius: 12px !important; top: -8px !important; right: -8px !important; left: auto !important; box-shadow: none !important;
}
.px-page-wc .wc-block-components-order-summary-item__quantity span { color: var(--px-ink) !important; font-weight: 800 !important; font-size: 12px !important; padding: 0 .35em !important; }
.px-page-wc .wc-block-components-order-summary-item__description { padding: 0 !important; min-width: 0; flex: 1 1 auto; gap: 4px !important; }
.px-page-wc .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 15.5px !important; font-weight: 800 !important; line-height: 1.5 !important; color: var(--px-text) !important; }
/* السعر يظهر مرة واحدة (في العمود الأيسر) + الوصف الطويل مخفي */
.px-page-wc .wc-block-components-order-summary-item__individual-prices,
.px-page-wc .wc-block-components-order-summary-item .wc-block-components-product-metadata__description { display: none !important; }
.px-page-wc .wc-block-components-order-summary-item .wc-block-components-product-metadata { font-size: 12.5px !important; color: var(--px-soft) !important; margin: 0 !important; line-height: 1.6 !important; }
.px-page-wc .wc-block-components-order-summary-item .wc-block-components-product-details { margin: 2px 0 0 !important; font-size: 12.5px !important; }
.px-page-wc .wc-block-components-order-summary-item__total-price { padding-top: 0 !important; flex: none; text-align: left; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.px-page-wc .wc-block-components-order-summary-item__total-price .wc-block-components-product-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.px-page-wc .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount,
.px-page-wc .wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value { font-size: 15.5px !important; font-weight: 800 !important; color: var(--px-text) !important; white-space: nowrap; }
.px-page-wc .wc-block-components-order-summary-item__total-price del,
.px-page-wc .wc-block-components-order-summary-item__total-price del .wc-block-formatted-money-amount { font-size: 12.5px !important; font-weight: 500 !important; color: var(--px-mute) !important; }
.px-page-wc .wc-block-components-order-summary-item__total-price ins { text-decoration: none !important; }
.px-page-wc .wc-block-components-sale-badge {
  background: rgba(182,247,4,.10) !important; color: var(--px-lime) !important; border: 1px solid rgba(182,247,4,.35) !important;
  border-radius: 8px !important; font-size: 11.5px !important; font-weight: 700 !important; padding: 1px 8px !important; white-space: nowrap; text-transform: none !important; letter-spacing: 0 !important;
}

/* المجاميع */
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-item { color: var(--px-soft) !important; font-size: 14.5px !important; padding: 4px 0 !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-item__value { color: var(--px-text) !important; font-weight: 700 !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-discount .wc-block-components-totals-item__value { color: var(--px-lime) !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 18px !important; font-weight: 800 !important; color: var(--px-text) !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px !important; font-weight: 900 !important; color: var(--px-lime) !important; }
.px-page-wc .wc-block-components-totals-coupon-link, .px-page-wc .wc-block-components-panel__button { color: var(--px-lime) !important; font-weight: 700 !important; }
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { border: 0 !important; margin: 0 0 4px !important; padding: 0 !important; }
.px-page-wc .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-totals-wrapper:first-child,
.px-page-wc .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content > .wc-block-components-totals-wrapper:first-child { border-top: 0 !important; }

/* ══════════ وضوح النصوص: روابط على شكل أزرار لا تأخذ لون الروابط العام ══════════ */
.ecm-pro a.rp-btn, .ecm-pro a.rp-btn:hover, .ecm-pro a.rp-btn:focus { color: #0d0e11; }
.ecm-pro a.rp-btn-ghost { color: var(--px-text); }
.ecm-pro a.rp-btn-ghost:hover { color: var(--px-lime); }
.ecm-pro .rp-btn.is-disabled { color: var(--px-soft); }
.ecm-pro .rp-card.is-out { opacity: 1; }
.ecm-pro .rp-card.is-out .rp-card-media img { opacity: .55; filter: grayscale(.6); }
.ecm-pro .rp-stock-out, .ecm-pro .rp-stock-short, .ecm-pro .rp-stock-not_purchasable { color: #ff7a6e; }

/* ══════════ وضوح النصوص (فحص الموقع 2026-11-18) ══════════ */
:root { --px-mute: #969E99; --ecm-grey-mid: #969E99; }
.ecm-pro ::placeholder { color: #8a928d; opacity: 1; }
.ecm-pro ::-moz-placeholder { color: #8a928d; opacity: 1; }
.ecm-pro .page-numbers .dots, .ecm-pro .ecm-footer-copy { color: var(--px-soft); }
/* خريطة أزرار الجويستيك: النصوص الصغيرة كانت بلون الخلفية تقريبًا */
.ecm-pro .ecm-gpmap-card-alt, .ecm-pro .ecm-gpmap-card-meta, .ecm-pro .ecm-gpmap-axis-note, .ecm-pro .ecm-gpmap-crumb .sep { color: var(--px-soft) !important; }
.ecm-pro .ecm-gpmap-caption, .ecm-pro .ecm-badge-grey { color: var(--px-soft) !important; }
/* «قريبًا» في صفحة تحميل التطبيق */
.ecm-pro .px-soon, .ecm-pro .px-badge-soon { color: var(--px-soft) !important; }
/* عدد المنتجات بجانب الأقسام في المتجر */
.ecm-pro .rs-cat-row a > span { color: var(--px-soft); }

/* ══════════ قائمة الحساب في الرأس ══════════ */
.px-acc { position: relative; }
.px-acc > summary { list-style: none; cursor: pointer; }
.px-acc > summary::-webkit-details-marker { display: none; }
.px-acc[open] > summary { border-color: var(--px-lime); }
.px-acc-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 80; width: 240px; padding: 14px;
  background: var(--px-card); border: 1px solid var(--px-line2); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 6px; animation: pxAccIn .14s ease-out;
}
@keyframes pxAccIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.px-acc-hi { color: var(--px-soft); font-size: 13px; padding: 0 4px 8px; border-bottom: 1px solid var(--px-line); margin-bottom: 4px; }
.px-acc-hi b { color: var(--px-text); }
.px-acc-menu a:not(.px-btn) { display: block; padding: 9px 10px; border-radius: 10px; color: var(--px-text) !important; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.px-acc-menu a:not(.px-btn):hover { background: rgba(255,255,255,.05); color: var(--px-lime) !important; }
.px-acc-menu .px-acc-main { width: 100%; }
.px-acc-menu .px-acc-reg { text-align: center; border: 1px solid var(--px-line2); }
.px-acc-menu .px-acc-out { color: #ff8a80 !important; border-top: 1px solid var(--px-line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 11px; }
.px-drawer-acc { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 12px; }
.px-flash { animation: pxFlash 1.6s ease-out; border-radius: 18px; }
@keyframes pxFlash { 0%, 40% { box-shadow: 0 0 0 3px var(--px-lime); } 100% { box-shadow: 0 0 0 0 transparent; } }
.ecm-pro .px-badge-soon { color: var(--px-text) !important; }

/* ══════════ رسائل ووكومرس (الكوبون، الأخطاء، النجاح) — خلفية داكنة ونص واضح ══════════ */
.ecm-pro .wc-block-components-notice-banner {
  background: var(--px-card2) !important; color: var(--px-text) !important; border: 1px solid var(--px-line2) !important;
  border-radius: 14px !important; padding: 12px 14px !important; font-size: 14.5px !important; line-height: 1.7 !important; gap: 12px;
}
.ecm-pro .wc-block-components-notice-banner * { color: inherit; }
.ecm-pro .wc-block-components-notice-banner a:not(.wc-forward) { color: var(--px-lime) !important; }
.ecm-pro .wc-block-components-notice-banner > svg { background-color: var(--px-soft) !important; fill: var(--px-ink) !important; width: 24px; height: 24px; }
.ecm-pro .wc-block-components-notice-banner.is-success { border-color: rgba(182,247,4,.5) !important; background: #18220f !important; }
.ecm-pro .wc-block-components-notice-banner.is-success > svg { background-color: var(--px-lime) !important; }
.ecm-pro .wc-block-components-notice-banner.is-error { border-color: rgba(255,107,107,.6) !important; background: #2a1517 !important; }
.ecm-pro .wc-block-components-notice-banner.is-error > svg { background-color: #ff6b6b !important; fill: #fff !important; }
.ecm-pro .wc-block-components-notice-banner.is-warning { border-color: rgba(255,179,0,.55) !important; background: #2a2210 !important; }
.ecm-pro .wc-block-components-notice-banner.is-warning > svg { background-color: var(--px-warn) !important; }
.ecm-pro .wc-block-components-notice-banner.is-info { border-color: rgba(111,179,255,.5) !important; background: #121d2a !important; }
.ecm-pro .wc-block-components-notice-banner.is-info > svg { background-color: #6fb3ff !important; }
.ecm-pro .wc-block-components-notice-banner .wc-forward,
.ecm-pro .wc-block-components-notice-banner > .wc-block-components-button { color: var(--px-soft) !important; opacity: 1 !important; }
.ecm-pro .wc-block-components-notice-banner > .wc-block-components-button svg { fill: currentColor !important; }
.ecm-pro .wc-block-components-notice-snackbar { box-shadow: 0 14px 40px rgba(0,0,0,.5) !important; }

/* نافذة الكوبون + الكوبون المطبَّق */
.ecm-pro .wc-block-components-totals-coupon__form { gap: 10px !important; align-items: stretch; }
.ecm-pro .wc-block-components-totals-coupon__form .wc-block-components-text-input { margin-top: 0 !important; }
.ecm-pro .wc-block-components-totals-coupon__button { min-height: 58px !important; border-radius: 14px !important; }
.ecm-pro .wc-block-components-totals-coupon .wc-block-components-panel__button,
.ecm-pro .wc-block-components-totals-coupon-link { color: var(--px-lime) !important; font-weight: 700 !important; }
.ecm-pro .wc-block-components-chip,
.ecm-pro .wc-block-components-chip:hover, .ecm-pro .wc-block-components-chip:focus {
  background: rgba(182,247,4,.10) !important; border: 1px solid rgba(182,247,4,.45) !important; color: var(--px-lime) !important;
  border-radius: 10px !important; padding: 3px 10px !important; font-weight: 700 !important; gap: 6px;
}
.ecm-pro .wc-block-components-chip__remove-icon, .ecm-pro .wc-block-components-chip__remove svg { fill: currentColor !important; }
.ecm-pro .wc-block-components-totals-discount__coupon-list { margin-top: 6px !important; }

/* رسائل ووكومرس التقليدية */
.ecm-pro .woocommerce-message, .ecm-pro .woocommerce-info, .ecm-pro .woocommerce-error {
  background: var(--px-card2) !important; color: var(--px-text) !important; border-radius: 14px !important;
}
.ecm-pro .woocommerce-message a:not(.button), .ecm-pro .woocommerce-info a:not(.button) { color: var(--px-lime) !important; }

/* ══════════ حسابي ← الطلبات: أزرار الإجراءات بمسافات واضحة ══════════ */
.ecm-pro .woocommerce-orders-table__cell-order-actions { white-space: normal !important; }
.ecm-pro .woocommerce-orders-table__cell-order-actions .button,
.ecm-pro .woocommerce-orders-table__cell-order-actions a {
  display: inline-flex !important; align-items: center; justify-content: center; margin: 4px 0 4px 8px !important;
  min-height: 38px !important; padding: 0 16px !important; font-size: 13.5px !important; border-radius: 11px !important; white-space: nowrap;
}
.ecm-pro .woocommerce-orders-table__cell-order-actions .button:last-child,
.ecm-pro .woocommerce-orders-table__cell-order-actions a:last-child { margin-left: 0 !important; }
.ecm-pro .woocommerce-orders-table__cell-order-actions .button.cancel { background: transparent !important; color: #ff8a80 !important; border: 1px solid rgba(255,107,107,.5) !important; }
.ecm-pro .woocommerce-orders-table__cell-order-actions .button.view { background: transparent !important; color: var(--px-text) !important; border: 1px solid var(--px-line2) !important; }

/* أزرار الدخول والتسجيل ظاهرة مباشرة في الرأس (للزائر) */
.px-auth { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.px-auth svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ecm-pro a.px-auth-login { color: var(--px-text); border: 1px solid var(--px-line2); background: transparent; }
.ecm-pro a.px-auth-login:hover { border-color: var(--px-lime); color: var(--px-lime); }
.ecm-pro a.px-auth-reg { color: var(--px-lime); border: 1px solid rgba(182,247,4,.55); background: rgba(182,247,4,.06); }
.ecm-pro a.px-auth-reg:hover { background: rgba(182,247,4,.14); }
@media (max-width: 1100px) { .px-auth-reg { display: none !important; } }
@media (max-width: 640px) { .px-auth { height: 40px; padding: 0 11px; font-size: 13px; } .px-auth-login svg { display: none; } }
.px-t-short { display: none; }
@media (min-width: 641px) and (max-width: 1240px) {
  .px-auth .px-t-long { display: none; } .px-auth .px-t-short { display: inline; }
  .px-auth { padding: 0 12px; } .px-auth-login svg { display: none; }
}
