/* ═══════════════════════════════════════════════════════════════
   wn-shell.css — هوية «الستيكر» المشتركة لكل صفحات المتجر (٢٠ أكتوبر)
   نفس توكنز /new بالظبط. الهيدر والفوتر بيتحقنوا من wn-shell.js،
   والصفحات الجديدة (الأقسام/المنتج) بتستخدم المكوّنات اللي تحت (.wn-*).
   ═══════════════════════════════════════════════════════════════ */
:root {
  --s-bg: #111215; --s-bg2: #16171b; --s-card: #1c1d22; --s-card2: #24262c; --s-line: rgba(255,255,255,0.08); --s-line2: rgba(255,255,255,0.14);
  --s-text: #f3f4f7; --s-muted: #a6aab6; --s-dim: #767b88; --s-sun: #ffd33f; --s-sun2: #f2bd16; --s-volt: #305bff; --s-hot: #ff5577; --s-ok: #3ddc97;
  --s-display: 'Lalezar', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --s-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --s-wrap: 1280px;
  /* ألوان أيقونة خدمة العملاء (wn-support.js بيقرا --wn-*) — نفس الهوية؛ الصفحات القديمة بتغلبها ببلوك WN-PALETTE */
  --wn-bg: #111215; --wn-surface: #1c1d22; --wn-surface-2: #16171b; --wn-surface-3: #24262c; --wn-line: rgba(255,255,255,0.13); --wn-line-soft: rgba(255,255,255,0.07);
  --wn-text: #f3f4f7; --wn-muted: #a6aab6; --wn-dim: #767b88; --wn-strong: #ffffff; --wn-soft: #ffd33f; --wn-cta: #ffd33f; --wn-ok: #3ddc97; --wn-bad: #ff5577; --wn-accent: #305bff;
}
html { background: var(--s-bg); }
body { background: var(--s-bg) !important; font-family: var(--s-body) !important; }
button, input, select, textarea { font-family: inherit; }
/* «صفر سكرول» القديم (wn-fit.js + fitRows/fitPage) كان بيصغّر المحتوى عشان يدخل الشاشة —
   الهوية الجديدة بتسكرول عادي زي /new، فالتصغير بيتلغي هنا. */
[data-wn-fitted] { transform: none !important; height: auto !important; flex: 1 1 auto !important; }
/* الهيدر والفوتر القديمين — الشِل بيحط مكانهم الجداد */
[data-wn="header"], [data-wn="footer"] { display: none !important; }
.wn-s [hidden], .wn-pg [hidden] { display: none !important; }
.wn-s, .wn-pg { color: var(--s-text); font: 400 15px/1.6 var(--s-body); -webkit-font-smoothing: antialiased; }
.wn-s *, .wn-pg * { box-sizing: border-box; }
.wn-s a, .wn-pg a { color: inherit; text-decoration: none; }
.wn-s a.wn-btn-sun, .wn-pg a.wn-btn-sun { color: #111; }   /* الزرار الأصفر لما يكون رابط: النص غامق (كان بيورث أبيض — فحص ٢١ أكتوبر) */
.wn-s img, .wn-pg img { max-width: 100%; display: block; }
.wn-wrap { width: 100%; max-width: var(--s-wrap); margin-inline: auto; padding-inline: 20px; }
.wn-i { width: 20px; height: 20px; flex-shrink: 0; }
.wn-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .wn-flip { transform: scaleX(-1); }

/* ─── شريط علوي ─── */
.wn-util { background: #0b0c0e; border-bottom: 1px solid var(--s-line); font-size: 12.5px; color: var(--s-muted); }
.wn-util .wn-wrap { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.wn-util-items { display: flex; gap: 22px; flex-wrap: wrap; }
.wn-util-items span { display: inline-flex; align-items: center; gap: 6px; }
.wn-util-items .wn-i { width: 15px; height: 15px; color: var(--s-sun); }
.wn-util-end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.wn-util-end a:hover { color: var(--s-text); }

/* ─── الهيدر ─── */
.wn-hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(17,18,21,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--s-line); }
.wn-hdr .wn-wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.wn-logo img { height: 46px; width: auto; }
.wn-search { position: relative; flex: 1; max-width: 640px; }
.wn-search input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--s-line2); background: var(--s-card); color: var(--s-text);
                   padding-inline: 16px 48px; font: 500 15px var(--s-body); outline: none; transition: border-color 0.15s; }
html[dir="ltr"] .wn-search input { padding-inline: 48px 16px; }
.wn-search input::placeholder { color: var(--s-dim); }
.wn-search input:focus { border-color: var(--s-sun); }
.wn-search .wn-si { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); color: var(--s-dim); pointer-events: none; }
html[dir="ltr"] .wn-search .wn-si { inset-inline-end: auto; inset-inline-start: 16px; }
.wn-results { position: absolute; inset-inline: 0; top: calc(100% + 8px); background: var(--s-card); border: 1px solid var(--s-line2); border-radius: 14px;
              box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8); overflow: hidden; z-index: 70; }
.wn-results a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--s-line); }
.wn-results a:first-child { border-top: 0; }
.wn-results a:hover { background: var(--s-card2); }
.wn-results img, .wn-results .wn-ph { width: 40px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--s-card2); flex-shrink: 0; }
.wn-results b { display: block; font-size: 14px; font-weight: 600; }
.wn-results small { color: var(--s-muted); font-size: 12.5px; }
.wn-results .wn-empty { padding: 14px; color: var(--s-muted); font-size: 14px; }
.wn-acts { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.wn-act { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--s-text); }
.wn-act:hover { background: var(--s-card); }
.wn-act .wn-count { position: absolute; top: 4px; inset-inline-start: 26px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--s-sun); color: #111;
                    font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }

/* ─── شريط الأقسام ─── */
.wn-nav { border-bottom: 1px solid var(--s-line); background: var(--s-bg2); }
.wn-nav .wn-wrap { display: flex; align-items: center; gap: 4px; min-height: 50px; overflow-x: auto; scrollbar-width: none; }
.wn-nav .wn-wrap::-webkit-scrollbar { display: none; }
@media (max-width: 1200px) { .wn-nav .wn-wrap > a { padding-inline: 7px; font-size: 13px; } }
.wn-nav a { display: inline-flex; align-items: center; white-space: nowrap; padding: 8px 11px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #d6d8df; }
.wn-nav a:hover, .wn-nav a.on { background: var(--s-card); color: #fff; }
.wn-nav a.wn-all { background: var(--s-sun); color: #111; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.wn-nav a.wn-all:hover { background: var(--s-sun2); }
/* «قريبًا» جنب اسم القسم — ارتفاع ثابت عشان التنوين مايخرجش برّه الإطار (المالك: «الكلام داخل في بعضه») */
.wn-nav .wn-soon { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-inline-start: 8px; font-size: 10.5px; font-weight: 600; line-height: 1; color: var(--s-dim); border: 1px solid var(--s-line2); border-radius: 6px; }

/* ─── أزرار ─── */
.wn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
          cursor: pointer; border: 0; font-family: inherit; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.wn-btn-sun { background: var(--s-sun); color: #111; box-shadow: 3px 3px 0 var(--s-volt); }
.wn-btn-sun:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--s-volt); }
.wn-btn-sun:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--s-volt); }
.wn-btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--s-line2); color: var(--s-text); }
.wn-btn-ghost:hover { background: rgba(255,255,255,0.11); }
.wn-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ─── رأس الصفحة/القسم ─── */
.wn-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--s-muted); padding-block: 18px 8px; }
.wn-crumbs a:hover { color: var(--s-text); }
.wn-crumbs .sep { opacity: 0.5; display: inline-block; }
/* مسار التنقل نفس الشكل في كل الصفحات (القديمة بتجيبه من wn-ui.js بخط تقيل) · السهم بيشاور ناحية الصفحة الحالية:
   شمال في العربي ويمين في الإنجليزي (المالك ٢١ أكتوبر: «صلّح دي») */
html[dir="rtl"] .wn-crumbs .sep { transform: scaleX(-1); }
/* الصفحات القديمة (wn-ui.js) عربي دايمًا ومن غير dir على <html> */
.wn-crumbs li > svg { transform: scaleX(-1); }
html[dir="ltr"] .wn-crumbs li > svg, html[lang="en"] .wn-crumbs li > svg { transform: none; }
html .wn-crumbs li { font-size: 13px; font-weight: 400; }
html .wn-crumbs li, html .wn-crumbs li > * { max-width: none !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }   /* آخر عنصر كان بيتقص «طريقة تفعيل حساب ا…» */
html .wn-crumbs a { min-height: 0; padding: 0; color: var(--s-muted); background: none !important; }
html .wn-crumbs ol { gap: 6px; }
html .wn-crumbs li > svg { width: 12px; height: 12px; margin: 0 2px; opacity: 0.6; }
html .wn-crumbs > span:last-child, html .wn-crumbs [aria-current] { color: var(--s-text); font-weight: 600; padding: 0; }
.wn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.wn-head h1, .wn-head h2 { margin: 0; font-family: var(--s-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; display: flex; align-items: center; gap: 12px; }
/* أيقونة العنوان: أصفر جوّه وحافة زرقا برّه زي اللوجو (طلب المالك) */
.wn-head .wn-badge { width: 42px; height: 42px; border-radius: 12px; background: var(--s-sun); color: #111; display: grid; place-items: center; border: 1px solid var(--s-volt); flex-shrink: 0; }
.wn-head p { margin: 6px 0 0; color: var(--s-muted); font-size: 14.5px; }

/* ─── شيبس الفلترة ─── */
.wn-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; }
.wn-chips button, .wn-chips a { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--s-line2); background: var(--s-card); color: #d6d8df; font-weight: 600; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; }
.wn-chips button:hover, .wn-chips a:hover { border-color: rgba(255,211,63,0.5); }
.wn-chips .on { background: var(--s-sun); color: #111; border-color: var(--s-sun); }

/* ─── شبكة الكروت ─── */
.wn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.wn-pc { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; background: var(--s-card); border: 1px solid var(--s-line); transition: transform 0.18s, border-color 0.18s; min-width: 0; }
.wn-pc:hover { transform: translateY(-3px); border-color: rgba(255,211,63,0.5); }
.wn-pc-name { font-weight: 700; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.wn-pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.wn-pc-price small { color: var(--s-muted); font-size: 11.5px; }
.wn-pc-price b { font-size: 16px; font-variant-numeric: tabular-nums; }
.wn-pc-go { width: 36px; height: 36px; border-radius: 10px; background: var(--s-sun); color: #111; display: grid; place-items: center; flex-shrink: 0; }
.wn-pc-go .wn-i { width: 18px; height: 18px; }
.wn-pc.soon { opacity: 0.6; }

/* بطاقة رصيد مرسومة بلون البراند (بدل الصور الكبيرة القديمة) */
.wn-gc { position: relative; aspect-ratio: 3 / 4; border-radius: 11px; overflow: hidden; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.wn-gc .t { font-weight: 800; font-size: 13px; letter-spacing: 0.02em; }
.wn-gc .t small { display: block; font-weight: 600; font-size: 11px; opacity: 0.85; }
.wn-gc .rg { align-self: flex-start; font-size: 24px; font-family: var(--s-display); line-height: 1.05; }
.wn-gc .rg small { display: block; font-family: var(--s-body); font-size: 12px; font-weight: 600; opacity: 0.85; margin-top: 4px; }
.wn-gc::after { content: ''; position: absolute; width: 140px; height: 140px; inset-inline-end: -40px; bottom: -40px; border-radius: 50%; border: 18px solid rgba(255,255,255,0.08); }
.wn-gc .soon-tag { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(10,11,13,0.6); }
html[dir="rtl"] .wn-gc .t { text-align: right; padding-left: 46px; }
.wn-gc.ps { background: radial-gradient(120% 80% at 80% 0%, #2b6dff 0%, #0b3d91 45%, #071d4a 100%); }
.wn-gc.xbox { background: radial-gradient(120% 80% at 80% 0%, #3fbf3f 0%, #107c10 45%, #063a06 100%); }
.wn-gc.steam { background: radial-gradient(120% 80% at 80% 0%, #3d6f9e 0%, #1b2838 50%, #0e141c 100%); }
.wn-gc.itunes { background: radial-gradient(120% 80% at 80% 0%, #ff6fd8 0%, #b13bd9 45%, #4a1a8f 100%); }
.wn-gc.gplay { background: radial-gradient(120% 80% at 80% 0%, #34a853 0%, #1a73e8 55%, #0b3c8c 100%); }
.wn-gc.pubg { background: radial-gradient(120% 80% at 80% 0%, #ffc94a 0%, #e08a12 45%, #7a4300 100%); }
.wn-gc.ff { background: radial-gradient(120% 80% at 80% 0%, #ff9a3c 0%, #e2461a 45%, #6e1600 100%); }
.wn-gc.roblox { background: radial-gradient(120% 80% at 80% 0%, #6b6b6b 0%, #2b2b2b 50%, #111 100%); }
.wn-gc.plus { background: radial-gradient(120% 80% at 80% 0%, #ffe27a 0%, #ffd33f 45%, #c99a00 100%); color: #111; }

/* ─── حالات ─── */
.wn-empty-box { border: 1px dashed var(--s-line2); border-radius: 18px; padding: 34px 20px; text-align: center; color: var(--s-muted); }
.wn-empty-box b { display: block; color: var(--s-text); font-size: 18px; margin-bottom: 6px; }
.wn-sk { border-radius: 16px; background: linear-gradient(90deg, var(--s-card) 0%, var(--s-card2) 50%, var(--s-card) 100%); background-size: 200% 100%; animation: wn-sk 1.2s linear infinite; aspect-ratio: 3 / 5; }
@keyframes wn-sk { to { background-position: -200% 0; } }

/* ─── الفوتر ─── */
.wn-foot { margin-top: 48px; background: #0b0c0e; border-top: 1px solid var(--s-line); padding-block: 44px 24px; }
@media (max-width: 640px) { .wn-foot { padding-bottom: 84px; } }   /* آخر سطر في الفوتر مايستخباش تحت أيقونة خدمة العملاء */
.wn-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 26px; }
.wn-foot-brand img { height: 56px; width: auto; }
.wn-foot-brand p { color: var(--s-muted); font-size: 13.5px; margin: 12px 0 0; max-width: 34ch; }
.wn-social { display: flex; gap: 8px; margin-top: 14px; }
.wn-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--s-line2); display: grid; place-items: center; }
.wn-social a:hover { border-color: var(--s-sun); color: var(--s-sun); }
.wn-foot h4 { margin: 0 0 12px; font-size: 14px; color: var(--s-sun); }
.wn-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: #cfd1d8; }
.wn-foot ul a:hover { color: #fff; text-decoration: underline; }
.wn-foot-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--s-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--s-dim); font-size: 12.5px; }
/* لوجوهات طرق الدفع الأصلية (إنستاباي بنفسجي · فودافون كاش أبيض بالأحمر الأصلي) */
.wn-pays { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wn-pay { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12px; font-weight: 700; color: #dcdee5; }
.wn-pay img { display: block; height: 18px; width: auto; }
.wn-pay.ip { background: #49217d; }
.wn-pay.vf { background: #fff; padding: 0 10px; }
.wn-pay.vf img { height: 26px; }
/* المحافظ: صورة فيها خلفيتها البيضا (فودافون كاش · أورنج · e& · WE) */
.wn-pay.wl { padding: 0; height: auto; }
.wn-pay.wl img { height: 34px; width: auto; }

/* زرار ☰ — بيظهر على التابلت والموبايل مكان شريط الأقسام اللي كان بيتقص (طلب المالك ٢١ أكتوبر) */
.wn-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--s-line2); background: transparent; color: var(--s-text); place-items: center; cursor: pointer; flex-shrink: 0; }
.wn-burger:hover { border-color: var(--s-sun); }
@media (max-width: 1024px) {
  .wn-burger { display: grid; }
  .wn-nav { display: none; }
}
@media (max-width: 860px) {
  .wn-util-items { display: none; }
  .wn-hdr .wn-wrap { flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 10px; }
  .wn-search { order: 3; flex-basis: 100%; max-width: none; }
  .wn-act .wn-lbl { display: none; }
  .wn-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) {
  .wn-wrap { padding-inline: 14px; }
  .wn-logo img { height: 40px; }
  .wn-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wn-foot-grid { grid-template-columns: 1fr 1fr; }
  .wn-foot-brand { grid-column: 1 / -1; }
  .wn-head h1, .wn-head h2 { font-size: 24px; }
  .wn-gc { padding: 10px; }
  .wn-gc .t { font-size: 12px; }
  .wn-gc .t small { font-size: 10.5px; }
  .wn-gc .rg { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .wn-s *, .wn-pg * { transition: none !important; animation: none !important; } }
/* خلفية «النجوم والرموز» بتاعة الهوية القديمة — مش جزء من الستيكر */
[style*="twinkle"], [style*="symbol-float"] { display: none !important; }
/* زرار اللغة في الشريط العلوي */
.wn-lang { height: 26px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--s-line2); background: rgba(255,255,255,0.06); color: var(--s-text); font: 700 12.5px var(--s-body); cursor: pointer; }
.wn-lang:hover { border-color: var(--s-sun); }

/* ══ شاشة الانتظار (المالك ٢١ أكتوبر — زي موقع GTA 6): لوجونا باهت بنيون أصفر/أزرق خفيف ══
   body::before = الخلفية · body::after = اللوجو. بتختفي لما <html> ياخد wn-ready، وبترجع مع wn-leaving (دوسة لينك).
   أمان: لو الجافاسكربت ماشتغلش بتختفي لوحدها بعد ٦ ثواني. */
body::before, body::after { content: ''; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: 1; transition: opacity 0.45s ease; animation: wn-ld-off 0.4s 6s forwards; }
body::before { background: #111215; }
body::after { background: url(/images/brand/wn-wordmark.webp) center / min(230px, 48vw) no-repeat; opacity: 0.3;
  animation: wn-ld-neon 1.5s ease-in-out infinite alternate, wn-ld-off 0.4s 6s forwards; }
html[lang="en"] body::after { background-image: url(/images/brand/wn-wordmark-en.webp); background-size: min(280px, 56vw); }
html.wn-ready body::before, html.wn-ready body::after { opacity: 0; animation: none; }
html.wn-ready.wn-leaving body::before { opacity: 1; transition-duration: 0.22s; }
html.wn-ready.wn-leaving body::after { opacity: 0.3; transition-duration: 0.22s; animation: wn-ld-neon 1.5s ease-in-out infinite alternate; }
@keyframes wn-ld-neon {
  from { filter: drop-shadow(0 0 4px rgba(255,211,63,0.35)) drop-shadow(0 0 14px rgba(48,91,255,0.25)); }
  to { filter: drop-shadow(0 0 10px rgba(255,211,63,0.75)) drop-shadow(0 0 30px rgba(48,91,255,0.6)); opacity: 0.42; }
}
@keyframes wn-ld-off { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: wn-ld-off 0.4s 6s forwards; } html.wn-ready.wn-leaving body::after { animation: none; } }
/* الصفحات القديمة بالإنجليزي (wn-i18n-dc.js): الـbody فيها direction:rtl مكتوبة في كل صفحة */
html[lang="en"] body { direction: ltr !important; }
