/* العابي ستور — UI/UX Pro Max (2026-11-25)
   Visual redesign only. All ids, classes, data-attributes, form field names,
   API endpoints and Arabic strings are unchanged from the previous build.
   Fonts: Changa (display) + IBM Plex Sans Arabic (body) via Google Fonts.
   Palette: deep navy/violet base, gold = primary action / selection,
   violet = brand, green = success only. */
:root {
  color-scheme: dark;
  --bg: #070716;
  --bg-2: #0b0b22;
  --surface: #10102c;
  --surface-2: #171744;
  --surface-3: #20204f;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --ink: #f4f4fd;
  --ink-soft: #bcbce0;
  --ink-mute: #8f8fb8;
  --violet: #7c3aed;
  --violet-l: #a78bfa;
  --violet-deep: #5b21b6;
  --violet-soft: rgba(124, 58, 237, .16);
  --blue: #2563eb;
  --blue-l: #60a5fa;
  --gold: #f5b301;
  --gold-2: #ffcf3d;
  --gold-deep: #c78f00;
  --gold-soft: rgba(245, 179, 1, .14);
  --gold-ring: rgba(245, 179, 1, .35);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, .12);
  --coral: #fb7185;
  --coral-soft: rgba(251, 113, 133, .12);
  --green: #4ade80;
  --green-deep: #16a34a;
  --green-soft: rgba(74, 222, 128, .12);
  --wa: #25d366;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --glow: 0 8px 28px rgba(124, 58, 237, .45);
  --glow-gold: 0 8px 24px rgba(245, 179, 1, .30);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
  background: radial-gradient(1100px 480px at 50% -8%, rgba(124, 58, 237, .13), transparent 62%), var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
}
::selection { background: var(--gold); color: #241a00; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]), textarea, a.btn { min-height: 2.25rem; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
section { scroll-margin-top: 84px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 7, 22, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #d99e00);
  box-shadow: 0 8px 22px rgba(245, 179, 1, .30); color: #241a00;
}
.logo .lname { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.55rem; font-weight: 800; line-height: 1; }
.logo .lname small { display: block; font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif; font-size: .68rem; font-weight: 700; color: var(--gold); letter-spacing: .4px; margin-top: 3px; }
.topnav { display: flex; gap: 4px; margin-inline-start: auto; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.topnav a:hover { color: var(--ink); background: var(--surface-2); }
.topnav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px; }
.top-wa {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa); color: #062b16; font-weight: 900; font-size: .92rem;
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
}
@media (max-width: 860px) {
  .topnav { display: none; }
  /* P0-1: التوب بار كان أعرض من الشاشة (441px على موبايل 375px) وبيوسّع الصفحة كلها — إخفاء زر واتساب العلوي (الزر العائم بيغطيه) وتصغير الشعار */
  .topbar-in { gap: 10px; }
  .top-wa { display: none; }
  .logo .lname { font-size: 1.25rem; }
  .lang-switch button { padding: 7px 10px; }
}

/* ---------- Buttons: one primary (gold), one secondary (ghost), WhatsApp (green) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 1rem;
  padding: 10px 22px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); text-decoration: none; color: var(--ink);
  background: var(--surface-2);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
/* All main CTAs render as the single gold primary style (class names kept for JS hooks). */
.btn-violet, .btn-amber, .btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: var(--gold-deep); color: #241a00; box-shadow: 0 8px 22px rgba(245, 179, 1, .30);
}
.btn-violet:hover, .btn-amber:hover, .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(245, 179, 1, .40); filter: brightness(1.04); }
.btn-ghost { background: rgba(16, 16, 44, .72); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--wa); color: #062b16; border-color: #1eb856; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-wa:hover { transform: translateY(-1px); }
.btn-wa.is-locked { opacity: .45; box-shadow: none; cursor: not-allowed; transform: none; }
.wa-main { width: 100%; font-size: 1.15rem; padding: 13px; margin-top: 10px; }
.wa-hint { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 0; text-align: center; }
.pay-num { direction: ltr; unicode-bidi: embed; font-weight: 900; letter-spacing: .5px; display: inline-block; margin-inline: 4px; }

/* ---------- Hero (slim storefront banner) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(7, 7, 22, .94) 26%, rgba(7, 7, 22, .62) 55%, rgba(7, 7, 22, .12) 82%);
}
.hero-in { position: relative; padding: 34px 0 38px; max-width: 640px; }
.hero .kicker {
  display: inline-block; font-weight: 800; font-size: .85rem; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(245, 179, 1, .35);
  padding: 3px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 {
  font-family: "Changa", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(1.9rem, 5.6vw, 2.9rem);
  line-height: 1.3; margin: 0 0 10px; font-weight: 800;
}
.hero h1 .accent { color: var(--gold); }
.hero .tagline { font-size: clamp(1.02rem, 3vw, 1.22rem); font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.hero .sub { color: var(--ink-soft); max-width: 54ch; margin: 0 0 22px; font-size: .98rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn { font-size: 1.05rem; padding: 12px 28px; }
.hero-points {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 22px 0 0;
  font-weight: 700; font-size: .92rem; list-style: none; padding: 0;
}
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(16, 16, 44, .78); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 14px 6px 8px;
}
.hero-points .chk {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--gold); color: #241a00; display: grid; place-items: center;
}
@media (max-width: 700px) {
  .hero-in { padding: 30px 0 34px; }
  .hero-bg::after { background: linear-gradient(to top, rgba(7, 7, 22, .96) 30%, rgba(7, 7, 22, .55) 75%); }
}

/* ---------- Ad slider ---------- */
.adslider {
  position: relative; overflow: hidden; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  height: clamp(270px, 36vw, 400px);
}
.ad-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
.ad-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ad-slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(7, 7, 22, .93) 30%, rgba(7, 7, 22, .6) 58%, rgba(7, 7, 22, .14) 86%);
}
.ad-in {
  position: relative; z-index: 1; height: 100%;
  display: flex; align-items: center;
}
.ad-copy { max-width: 600px; padding-bottom: 30px; }
.ad-slide.is-active .ad-copy { animation: adIn .55s ease both; }
@keyframes adIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ad-chip {
  display: inline-block; background: var(--gold); color: #241a00;
  font-weight: 900; font-size: .82rem; padding: 2px 14px;
  border-radius: 999px; margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(245, 179, 1, .35);
}
.ad-copy h2 {
  font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-weight: 800;
  font-size: clamp(1.65rem, 5.2vw, 2.7rem); line-height: 1.3; margin: 0 0 8px;
}
.ad-copy h2 .accent { color: var(--gold); }
.ad-copy p { color: var(--ink-soft); margin: 0 0 18px; font-size: clamp(.95rem, 2.6vw, 1.05rem); max-width: 48ch; }
.ad-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ad-price { font-weight: 900; color: var(--gold); font-size: 1.02rem; }
.ad-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: rgba(11, 11, 34, .65);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background .15s ease, border-color .15s ease;
}
.ad-arrow:hover { background: var(--gold); border-color: var(--gold); color: #241a00; }
.ad-prev { inset-inline-start: 14px; }
.ad-next { inset-inline-end: 14px; }
.ad-dots {
  position: absolute; z-index: 3; bottom: 14px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px;
}
.ad-dot {
  width: 10px; height: 10px; min-height: 0; padding: 0; border: none;
  border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.ad-dot.is-active { width: 28px; background: var(--gold); }
@media (max-width: 700px) {
  .adslider { height: 350px; }
  .ad-slide::after { background: linear-gradient(to top, rgba(7, 7, 22, .96) 30%, rgba(7, 7, 22, .78) 62%, rgba(7, 7, 22, .45) 88%); }
  .ad-in { align-items: flex-end; }
  .ad-copy { padding-bottom: 44px; }
  .ad-arrow { width: 38px; height: 38px; }
  .ad-prev { inset-inline-start: 8px; }
  .ad-next { inset-inline-end: 8px; }
  .wa-float {
    width: 54px; height: 54px; padding: 0; gap: 0;
    justify-content: center; border-radius: 50%; font-size: 0;
    bottom: 14px; left: 14px;
  }
  .wa-float svg { width: 27px; height: 27px; }
  .pay-float { bottom: 80px; left: 14px; padding: 10px 18px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-slide.is-active .ad-copy { animation: none; }
}

/* ---------- Service cards row ---------- */
.svc-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin-top: -34px; position: relative; z-index: 3;
}
@media (max-width: 1020px) { .svc-row { grid-template-columns: repeat(3, 1fr); margin-top: 18px; } }
@media (max-width: 560px) { .svc-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1021px) { .svc-row > .svc:nth-child(n+7) { grid-column: span 2; } }
@media (max-width: 560px) { .svc-row > .svc:last-child { grid-column: span 2; } }
.svc {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, .65); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.svc .thumb { height: 108px; position: relative; overflow: hidden; flex: none; }
.svc .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.svc:hover .thumb img { transform: scale(1.05); }
.svc .thumb.icon-tile { display: grid; place-items: center; color: #fff; }
.tile-violet { background: linear-gradient(135deg, #4c1d95, #6d28d9); }
.tile-green { background: linear-gradient(135deg, #065f46, #0e7a6d); }
.tile-blue { background: linear-gradient(135deg, #312e81, #7c3aed); }
.tile-coral { background: linear-gradient(135deg, #7f1d3a, #d84a2f); }
.tile-teal { background: linear-gradient(135deg, #065f46, #16a34a); }
.tile-gold { background: linear-gradient(135deg, #713f12, #b45309); }

/* ---------- Brand logos (شعارات الشركات) ---------- */
.svc .thumb.logo-tile { background: #fff; }
.svc .thumb.logo-tile-fawry { background: #ffd328; }
.svc .thumb img.brand-logo { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.svc .thumb .logo-strip {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center;
  gap: 4px 8px; width: 100%; height: 100%; padding: 6px 12px;
}
.svc .thumb .logo-strip img { width: 40px; height: 40px; object-fit: contain; }
.svc .thumb .logo-fb { display: none; position: absolute; inset: 0; }
.svc .thumb .logo-fb > img { width: 100%; height: 100%; object-fit: cover; }
.svc .thumb.logo-failed .brand-logo, .svc .thumb.logo-failed .logo-strip { display: none; }
.svc .thumb.logo-failed .logo-fb { display: grid; place-items: center; color: #fff; }
.net-tab .net-logo, .pay-opt .net-logo {
  object-fit: contain; background: #fff; border-radius: 8px; flex: none;
}
.net-tab .net-logo { width: 30px; height: 30px; padding: 2px; }
.net-tab:has(.net-logo) .swatch { display: none; }
.pay-opt .net-logo { width: 30px; height: 30px; padding: 2px; }
.pay-chip .net-logo { width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; margin-inline-end: 7px; }

.svc .lbl { padding: 10px 12px 12px; text-align: center; }
.svc .lbl b { display: block; font-size: 1.02rem; line-height: 1.4; }
.svc .lbl span { color: var(--ink-soft); font-size: .83rem; font-weight: 700; }

/* ---------- Layout: content + quick panel ---------- */
.layout {
  display: grid; grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px; align-items: start; margin-top: 30px;
}
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; } }
.side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1020px) { .side { position: static; } }

.quick {
  background: var(--surface); border: 1.5px solid var(--line-strong); border-top: 3px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px;
  max-height: calc(100dvh - 100px); overflow-y: auto;
}
.quick h2 {
  font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.45rem; margin: 0 0 4px;
  display: flex; align-items: center; gap: 9px;
}
.quick h2 .qicon { color: var(--gold); display: inline-flex; }
.quick .qsub { color: var(--ink-soft); font-size: .9rem; margin: 0 0 16px; }
.quick .field { margin-bottom: 13px; }
.quick label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 5px; }
.quick select, .quick input[type="text"] {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg-2); color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 700;
}
.quick select:focus, .quick input:focus { outline: 3px solid var(--gold-soft); border-color: var(--gold); }
.quick .btn { width: 100%; font-size: 1.08rem; padding: 12px; margin-top: 2px; }
.quick .qnote { color: var(--ink-soft); font-size: .85rem; margin: 10px 0 0; text-align: center; }

/* ---------- Features strip (trust strip, full width) ---------- */
.features {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px 8px;
  margin-top: 18px; margin-bottom: 0;
}
@media (max-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); gap: 16px 0; } }
.feat { text-align: center; padding: 4px 10px; }
.feat + .feat { border-inline-start: 1px solid var(--line); }
@media (max-width: 700px) { .feat + .feat { border-inline-start: none; } }
.feat .fic {
  width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; background: var(--gold-soft);
}
.feat b { display: block; font-size: 1rem; }
.feat span { color: var(--ink-soft); font-size: .85rem; font-weight: 700; }

/* ---------- Offers banner ---------- */
.offers {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--line); margin-bottom: 22px; min-height: 190px;
  display: flex; align-items: center;
}
.offers img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offers::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(7, 7, 22, .9) 22%, rgba(7, 7, 22, .35) 60%, transparent);
}
.offers-in { position: relative; z-index: 1; padding: 24px 26px; max-width: 430px; }
.offers-in h3 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 6px; line-height: 1.35; }
.offers-in p { color: var(--ink-soft); margin: 0 0 14px; font-size: .95rem; }
.offers .pct {
  position: absolute; z-index: 1; bottom: 16px; inset-inline-end: 18px;
  background: var(--gold); color: #241a00; font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-weight: 800;
  font-size: 1.15rem; padding: 4px 16px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(245, 179, 1, .35);
}

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }
.review {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .12s ease, border-color .12s ease;
}
.review:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.review .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.review p { margin: 10px 0 12px; font-size: .97rem; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--violet), #4c1d95);
  display: grid; place-items: center; font-weight: 900; color: #fff;
}
.review .who b { display: block; line-height: 1.35; font-size: .95rem; }
.review .who span { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }

/* ---------- Ratings summary / rate form / referral ---------- */
.hero-rating {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  flex-wrap: wrap; justify-content: center; max-width: 100%;
  background: rgba(16, 16, 44, .78); border: 1.5px solid var(--gold);
  border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--ink);
  font-weight: 800; box-shadow: 0 8px 22px rgba(245, 179, 1, .18);
}
.hero-rating .hr-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.hero-rating b { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.25rem; color: var(--gold); line-height: 1; }
.hero-rating .hr-txt { color: var(--ink-soft); font-size: .9rem; }
.rating-summary {
  display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
@media (max-width: 700px) { .rating-summary { grid-template-columns: 1fr; } }
.rs-score { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rs-num { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--gold); }
.rs-stars { position: relative; display: inline-block; font-size: 1.5rem; line-height: 1.2; letter-spacing: 3px; }
.rs-stars-bg { color: #3a3a6e; }
.rs-stars-fg { position: absolute; top: 0; inset-inline-start: 0; overflow: hidden; color: var(--gold); white-space: nowrap; }
.rs-count { color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.rs-bars { display: flex; flex-direction: column; gap: 7px; }
.rs-row { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.rs-row > span:first-child { flex: none; width: 52px; }
.rs-row b { flex: none; width: 22px; text-align: center; color: var(--gold); }
.rs-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rs-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #ffd34d); }
.review-top { display: flex; align-items: center; gap: 10px; }
.review-top .rscore { background: var(--gold-soft); color: var(--gold); font-weight: 900; font-size: .85rem; padding: 1px 10px; border-radius: 999px; line-height: 1.6; }
.rate-card {
  background: var(--surface); border: 1.5px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; margin-top: 14px;
}
.rate-card h3 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.4rem; margin: 0 0 4px; }
.rate-card .rate-sub { color: var(--ink-soft); margin: 0 0 16px; font-size: .95rem; }
.rate-stars { display: flex; gap: 6px; }
.rate-star {
  background: none; border: none; cursor: pointer; padding: 2px;
  font-size: 2.3rem; line-height: 1; color: #3a3a6e; font-family: inherit;
  transition: transform .1s ease, color .1s ease;
}
.rate-star:hover { transform: scale(1.15); }
.rate-star.on { color: var(--gold); }
.rate-label { color: var(--gold); font-weight: 800; margin: 6px 0 0; min-height: 1.6em; }
.rate-card textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg-2); color: var(--ink); font-family: inherit; font-size: 1.02rem; resize: vertical;
}
.rate-card textarea:focus { outline: 3px solid var(--gold-soft); border-color: var(--gold); }
.rate-err { color: var(--coral); font-size: .92rem; font-weight: 700; margin: 0 0 10px; display: none; }
.rate-send { width: 100%; font-size: 1.08rem; padding: 12px; }
.rate-note { color: var(--ink-soft); font-size: .88rem; margin: 8px 0 0; text-align: center; }
.refer-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(124, 58, 237, .20), rgba(245, 179, 1, .10));
  border: 1.5px solid rgba(245, 179, 1, .45); border-radius: var(--radius); padding: 22px;
}
.refer-ic {
  width: 58px; height: 58px; flex: none; border-radius: 50%;
  background: var(--gold-soft); border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center;
}
.refer-body { flex: 1 1 260px; }
.refer-body h2 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.5rem; margin: 0 0 4px; line-height: 1.35; }
.refer-body p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.refer-btn { flex: none; }
@media (max-width: 560px) { .refer-btn { width: 100%; } }

/* ---------- Best sellers / offers / history ---------- */
.show-card .game-name {
  display: block; font-weight: 800; font-size: .88rem; color: var(--violet-l);
  margin-top: 12px; margin-bottom: 2px;
}
.show-card .off-badge {
  position: absolute; top: 8px; inset-inline-end: 8px;
  background: var(--green); color: #062b16; font-size: .78rem; font-weight: 900;
  padding: 1px 10px; border-radius: 999px;
}
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-item {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px;
}
.history-item .h-ic {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
}
.history-item .h-body { flex: 1 1 200px; }
.history-item .h-body b { display: block; line-height: 1.45; font-size: .98rem; }
.history-item .h-body span { color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.history-item .h-status {
  flex: none; background: var(--green-soft); color: var(--green);
  font-weight: 900; font-size: .85rem; padding: 2px 12px; border-radius: 999px;
}
.history-note { color: var(--ink-soft); font-size: .88rem; margin-top: 10px; }

/* ---------- Payment instructions + order summary ---------- */
.pay-help {
  background: var(--gold-soft); border: 1.5px solid var(--gold); border-radius: 11px;
  padding: 12px 16px; margin: -4px 0 16px; font-size: .95rem;
}
.pay-help b { display: block; margin-bottom: 2px; }
.pay-help ol { margin: 6px 0 0; padding-inline-start: 20px; }
.pay-help li { margin-bottom: 2px; }
.order-summary {
  background: var(--surface-2); border: 1.5px solid var(--violet-l); border-radius: 11px;
  padding: 14px 16px; margin-bottom: 12px;
}
.order-summary h3 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.2rem; margin: 0 0 8px; }
.os-row {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 5px 0; border-bottom: 1px dashed var(--line); font-weight: 700;
}
.os-row:last-child { border-bottom: none; }
.os-row span { color: var(--ink-soft); }
.os-row b { text-align: end; }
.os-row .ltr { direction: ltr; unicode-bidi: embed; letter-spacing: .4px; }
.os-row.total b { color: var(--gold); font-size: 1.15rem; }
.rate-success {
  display: none; margin-top: 14px; background: var(--green-soft);
  border: 1.5px solid var(--green); border-radius: 11px; padding: 14px 16px;
}
.rate-success.show { display: block; }
.rate-success b { display: block; margin-bottom: 4px; }
.rate-success p { margin: 0 0 10px; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Sections ---------- */
section { padding: 34px 0 8px; }
.sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.sec-head .sec-logo { height: 38px; width: auto; border-radius: 8px; align-self: center; }
.sec-head h2 {
  font-family: "Changa", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(1.55rem, 5vw, 2.05rem); margin: 0; line-height: 1.3;
  position: relative; padding-inline-start: 14px;
}
.sec-head h2::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 4px; background: linear-gradient(var(--gold), var(--violet));
}
.sec-head .unit { font-weight: 800; font-size: .92rem; padding: 2px 12px; border-radius: 999px; }
.unit-amber { background: var(--gold-soft); color: var(--gold); }
.unit-teal { background: var(--violet-soft); color: var(--violet-l); }
.unit-green { background: var(--green-soft); color: var(--green); }
.unit-coral { background: var(--gold-soft); color: var(--gold); }
.sec-sub { color: var(--ink-soft); margin: 0 0 20px; max-width: 62ch; }

.game-banner {
  border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line);
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.game-banner img { width: 100%; height: clamp(150px, 30vw, 280px); object-fit: cover; }

/* ---------- Pack grid (game-art-forward) ---------- */
.packs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pack {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 0 12px 14px; text-align: center; cursor: pointer;
  font-family: inherit; color: var(--ink); flex: 1 1 150px; max-width: 220px;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
  position: relative; overflow: hidden;
}
.pack::before {
  content: ""; display: block; height: 56px; margin: 0 -12px;
  background: var(--surface-3); border-bottom: 2px solid rgba(255, 255, 255, .06);
}
.pack-amber::before {
  background-image: linear-gradient(180deg, rgba(7, 7, 22, .05) 40%, rgba(7, 7, 22, .5)), url("../pubg.webp");
  background-size: cover; background-position: center 30%;
}
.pack-teal::before {
  background-image: linear-gradient(180deg, rgba(7, 7, 22, .05) 40%, rgba(7, 7, 22, .5)), url("../freefire.webp");
  background-size: cover; background-position: center 30%;
}
.pack-green::before { background: linear-gradient(135deg, #0f5132, #166534 55%, #15803d); }
.pack-coral::before { background: linear-gradient(135deg, #7f1d3a, #d84a2f); }
.pack:hover { transform: translateY(-3px); border-color: rgba(245, 179, 1, .6); }
.pack .amt { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.85rem; font-weight: 800; line-height: 1.15; margin-top: 12px; }
.pack .amt small { font-size: .95rem; font-weight: 700; color: var(--ink-soft); }
.pack .bonus { color: var(--green); font-weight: 800; font-size: .9rem; min-height: 1.5em; }
.pack .price { margin-top: 8px; font-weight: 900; font-size: 1.3rem; color: var(--gold); }
.pack .price small { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.pack .was { color: var(--ink-soft); text-decoration: line-through; font-size: .85rem; font-weight: 600; }
.pack .pick {
  margin-top: 12px; display: inline-block; font-weight: 800; font-size: .9rem;
  padding: 6px 18px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--gold);
}
.pack-amber .pick { color: var(--gold); }
.pack-teal .pick { color: var(--gold); }
.pack-green .pick { color: var(--gold); }
.pack-coral .pick { color: var(--gold); }
.pack.selected { border-color: var(--gold); background: linear-gradient(180deg, rgba(245, 179, 1, .10), rgba(245, 179, 1, .04)); box-shadow: var(--glow-gold); }
.pack .subj { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.3; display: block; margin-top: 12px; }
.pack .subj-sub { color: var(--ink-soft); font-weight: 700; font-size: .9rem; display: block; }
.pack.selected .pick { background: var(--gold); color: #241a00; border-color: var(--gold); }
.pack .tag {
  position: absolute; top: 8px; inset-inline-start: 8px;
  background: rgba(7, 7, 22, .88); color: var(--gold); font-size: .78rem; font-weight: 800;
  padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(245, 179, 1, .55);
}
.packs-note { color: var(--ink-soft); font-size: .9rem; margin-top: 12px; }

/* ---------- Networks hub (شحن الشبكات) ---------- */
.net-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
@media (max-width: 700px) { .net-icons { grid-template-columns: repeat(2, 1fr); } }
.net-big {
  font-family: inherit; cursor: pointer; text-align: center; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 14px 10px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  transition: border-color .12s ease, background .12s ease, transform .12s ease, box-shadow .12s ease;
}
.net-big:hover { transform: translateY(-2px); border-color: rgba(245, 179, 1, .6); }
.net-big[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); box-shadow: var(--glow-gold); }
.net-big .nb-logo {
  width: 100%; height: 80px; background: #fff; border-radius: 12px;
  display: grid; place-items: center; overflow: hidden; padding: 8px;
}
.net-big .nb-logo img { max-width: 82%; max-height: 60px; object-fit: contain; }
.net-big .nb-logo .nb-fb { display: none; font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-weight: 800; font-size: 1.35rem; }
.net-big .nb-logo.no-logo img { display: none; }
.net-big .nb-logo.no-logo .nb-fb { display: block; }
.net-big b { font-size: 1.15rem; line-height: 1.3; }
.net-big > span:last-child { color: var(--ink-soft); font-size: .82rem; font-weight: 700; line-height: 1.55; }
.net-block { margin-bottom: 28px; }
.net-block > h3, .net-panel > h3 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.4rem; margin: 0 0 4px; line-height: 1.35; }
.net-panel { display: none; border-top: 1px dashed var(--line); padding-top: 22px; }
.net-panel.is-open { display: block; }

/* ---------- Networks ---------- */
.net-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.net-tab {
  font-family: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
  padding: 10px 20px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.net-tab .swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.net-tab[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.amount-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amount-chip {
  font-family: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink);
}
.amount-chip[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: #241a00; }
.custom-amount { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.custom-amount input {
  width: 110px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg-2); color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 700;
}
.custom-amount input:focus { outline: 3px solid var(--gold-soft); border-color: var(--gold); }
.net-summary {
  margin-top: 16px; background: var(--surface); border: 1.5px dashed rgba(245, 179, 1, .55);
  border-radius: var(--radius); padding: 14px 18px; font-weight: 700;
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
}
.net-summary strong { color: var(--gold); font-size: 1.15rem; }

/* ---------- Order form ---------- */
.order-box {
  background: var(--surface); border: 1.5px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px; margin-top: 6px;
}
.order-box h2 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.6rem; margin: 0 0 4px; position: relative; padding-inline-start: 14px; }
.order-box h2::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 4px; background: linear-gradient(var(--gold), var(--violet));
}
.order-box .sub { color: var(--ink-soft); margin: 0 0 18px; }
.chosen {
  background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 11px;
  padding: 12px 16px; font-weight: 800; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline;
}
.chosen .c-price { color: var(--gold); font-size: 1.2rem; }
.chosen.empty { font-weight: 600; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field label .opt { color: var(--ink-soft); font-weight: 600; font-size: .85rem; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg-2); color: var(--ink); font-family: inherit; font-size: 1.05rem;
}
.field input:focus { outline: 3px solid var(--gold-soft); border-color: var(--gold); }
.field .hint { color: var(--ink-soft); font-size: .85rem; margin-top: 4px; }
.field .err { color: var(--coral); font-size: .9rem; font-weight: 700; margin-top: 4px; display: none; }
.field .flabel { display: block; font-weight: 800; margin-bottom: 6px; }
.receipt-drop {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 2px dashed var(--line); border-radius: 11px; padding: 12px 14px;
  background: var(--bg-2); font-weight: 800; min-height: 3rem;
}
.receipt-drop:hover, .receipt-drop:focus-within { border-color: var(--gold); }
.receipt-drop svg { flex: none; color: var(--gold); }
.receipt-drop .picked-name { font-weight: 700; color: var(--ink-soft); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.receipt-preview { display: none; margin-top: 10px; }
.receipt-preview.show { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.receipt-preview img {
  max-width: 180px; max-height: 200px; border-radius: 10px;
  border: 1.5px solid var(--line); object-fit: contain; background: var(--surface-2);
}
.receipt-note {
  display: none; margin-top: 10px; background: var(--gold-soft); color: var(--ink);
  border: 1.5px solid var(--gold); border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: .95rem;
}
.receipt-note.show { display: block; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px;
  font-weight: 800; background: var(--bg-2); min-height: 3.2rem;
}
.pay-opt input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.pay-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.pay-opt small { display: block; font-weight: 600; color: var(--ink-soft); }
.submit-btn { width: 100%; font-size: 1.15rem; padding: 13px; margin-top: 4px; }
.order-result { display: none; margin-top: 18px; }
.order-result.show { display: block; }
.order-result textarea {
  width: 100%; min-height: 170px; padding: 12px 14px; border-radius: 11px;
  border: 1.5px solid var(--green); background: var(--green-soft); color: var(--ink);
  font-family: inherit; font-size: 1rem; line-height: 1.8; resize: vertical;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.result-note { color: var(--ink-soft); font-size: .92rem; margin-top: 8px; }

/* ---------- Steps / FAQ ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.step {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px;
  transition: transform .12s ease, border-color .12s ease;
}
.step:hover { transform: translateY(-2px); border-color: rgba(245, 179, 1, .55); }
.step .num {
  font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.5rem; font-weight: 800;
  color: #241a00; line-height: 1; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center;
}
.step h3 { margin: 12px 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
details {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 6px 18px; margin-bottom: 10px;
}
details[open] { border-color: rgba(245, 179, 1, .45); }
details summary {
  font-weight: 800; cursor: pointer; padding: 10px 0;
  display: flex; align-items: center; gap: 10px; list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-inline-start: auto;
  border-inline-end: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(225deg); }
details p { color: var(--ink-soft); margin: 0 0 14px; }
details a { color: var(--violet-l); }

/* ---------- Payment page (صفحة الدفع) ---------- */
#payment-page { display: none; padding: 26px 0 54px; }
body.pay-open #payment-page { display: block; }
body.pay-open #adslider, body.pay-open .hero, body.pay-open #store-main,
body.pay-open .pay-strip, body.pay-open footer { display: none; }
.pay-back { margin-bottom: 16px; }
.paypage-card {
  background: var(--surface); border: 1.5px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 22px; max-width: 880px; margin: 0 auto;
}
.paypage-card h1 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.9rem; margin: 0 0 4px; line-height: 1.35; }
.paypage-card .sub { color: var(--ink-soft); margin: 0 0 20px; }
.paypage-h2 { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-size: 1.35rem; margin: 26px 0 12px; line-height: 1.4; position: relative; padding-inline-start: 14px; }
.paypage-h2::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 4px; background: linear-gradient(var(--gold), var(--violet));
}
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pay-methods { grid-template-columns: 1fr; } }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.pay-method .net-logo {
  width: 40px; height: 40px; object-fit: contain; background: #fff;
  border-radius: 8px; padding: 3px; flex: none;
}
.pay-method .pm-ic {
  width: 40px; height: 40px; flex: none; border-radius: 8px;
  background: var(--gold-soft); color: var(--gold); display: grid; place-items: center;
}
.pay-method .pm-body { flex: 1 1 auto; min-width: 0; }
.pay-method .pm-body b { display: block; font-size: 1.05rem; line-height: 1.4; }
.pay-method .pm-num { font-size: 1.28rem; color: var(--gold); line-height: 1.4; }
.pay-method .pm-note { display: block; color: var(--ink-soft); font-size: .87rem; font-weight: 700; }
.pay-method .pm-copy { flex: none; padding: 8px 16px; font-size: .92rem; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pp-actions .btn { flex: 1 1 230px; font-size: 1.08rem; padding: 12px; }
.goto-pay { width: 100%; margin-top: 10px; font-size: 1.05rem; padding: 12px; }

/* ---------- Payment strip + footer ---------- */
.pay-strip {
  margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 20px 0;
}
.pay-strip-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.pay-strip .plabel { font-weight: 900; font-size: 1.02rem; display: inline-flex; align-items: center; gap: 8px; }
.pay-strip .plabel::before {
  content: ""; width: 19px; height: 19px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b301' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-3.6 8-10V5l-8-3-8 3v7c0 6.4 8 10 8 10z'/%3E%3Cpath d='m9 11.5 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pay-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-chip {
  background: #fff; border-radius: 9px; padding: 6px 16px;
  font-weight: 900; font-size: .95rem; line-height: 1.5; direction: ltr;
}
.pay-chip.vc { color: #e60000; }
.pay-chip.ip { color: #3d2a8f; }
footer { background: var(--bg-2); padding: 8px 0 110px; color: var(--ink-soft); font-size: .95rem; }
footer .fname { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
footer a { color: var(--violet-l); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding: 34px 0 18px; }
@media (max-width: 700px) { .footer-in { grid-template-columns: 1fr; gap: 18px; padding: 26px 0 12px; } }
.f-col p { margin: 6px 0; }
.f-col nav a { display: block; padding: 3px 0; text-decoration: none; }
.f-col nav a:hover { color: var(--gold); }
.f-note { border-top: 1px solid var(--line); padding-top: 14px; margin: 6px 0 0; text-align: center; font-size: .9rem; }

/* ---------- Floating WhatsApp + Pay ---------- */
.wa-float {
  position: fixed; bottom: 18px; left: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #062b16; font-weight: 900; font-size: .98rem;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  transition: transform .12s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.pay-float {
  position: fixed; bottom: 86px; left: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #241a00; font-weight: 900; font-size: .98rem;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid #c78f00;
  box-shadow: 0 12px 30px rgba(245, 179, 1, .38);
  transition: transform .12s ease;
}
.pay-float:hover { transform: translateY(-2px); }
body.pay-open .pay-float { display: none; }
.toast {
  position: fixed; bottom: 84px; inset-inline-start: 50%; transform: translateX(50%) translateY(80px);
  background: var(--surface-2); color: var(--ink); border: 1.5px solid var(--gold);
  font-weight: 800; padding: 10px 22px;
  border-radius: 999px; opacity: 0; transition: all .25s ease; z-index: 80; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
[dir="rtl"] .toast { transform: translateX(50%) translateY(80px); }
.toast.show { opacity: 1; transform: translateX(50%) translateY(0); }
/* ---------- Language switch (عربي / EN) ---------- */
.lang-switch {
  display: inline-flex; flex: none; border: 1.5px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--surface-2);
}
.lang-switch button {
  font-family: inherit; font-weight: 800; font-size: .88rem; line-height: 1.2;
  padding: 7px 14px; min-height: 2.25rem; border: none; background: transparent;
  color: var(--ink-soft); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: #241a00; }
/* ---------- LTR adjustments when English is active ---------- */
[dir="ltr"] .toast { transform: translateX(-50%) translateY(80px); }
[dir="ltr"] .toast.show { transform: translateX(-50%) translateY(0); }
[dir="ltr"] .hero-bg img { transform: none; }
[dir="ltr"] .hero-bg::after { background: linear-gradient(to right, rgba(7, 7, 22, .94) 26%, rgba(7, 7, 22, .62) 55%, rgba(7, 7, 22, .12) 82%); }
[dir="ltr"] .ad-slide::after { background: linear-gradient(to right, rgba(7, 7, 22, .93) 30%, rgba(7, 7, 22, .6) 58%, rgba(7, 7, 22, .14) 86%); }
[dir="ltr"] .offers::after { background: linear-gradient(to right, rgba(7, 7, 22, .9) 22%, rgba(7, 7, 22, .35) 60%, transparent); }
[dir="ltr"] .ad-arrow svg, [dir="ltr"] .pay-back svg { transform: scaleX(-1); }
@media (max-width: 700px) {
  [dir="ltr"] .hero-bg::after { background: linear-gradient(to top, rgba(7, 7, 22, .96) 30%, rgba(7, 7, 22, .55) 75%); }
  [dir="ltr"] .ad-slide::after { background: linear-gradient(to top, rgba(7, 7, 22, .96) 30%, rgba(7, 7, 22, .78) 62%, rgba(7, 7, 22, .45) 88%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ----- نافذة الطلب السريع (modal) — بتتفتح من كروت الخدمات ----- */
body.modal-open { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; background: rgba(7, 7, 22, .78); display: none; align-items: flex-end; justify-content: center; z-index: 100; }
.modal-overlay.open { display: flex; }
.modal-dialog { background: var(--surface); color: var(--ink); width: min(580px, 100%); max-height: 92dvh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -10px 44px rgba(0, 0, 0, .55); border: 1px solid var(--line-strong); }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); flex: none; }
.modal-head h3 { margin: 0; font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; font-weight: 800; font-size: 1.12rem; flex: 1; text-align: center; }
.modal-back, .modal-close { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; transition: border-color .12s ease, color .12s ease; }
.modal-back:hover, .modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-back { font-size: 1.7rem; }
.modal-body { padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-body .packs { justify-content: center; }
.modal-body .net-summary { margin-top: 12px; }
.modal-body .field { margin-bottom: 12px; }
.m-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; font: inherit; margin-bottom: 10px; transition: border-color .12s ease, transform .12s ease; }
.m-opt:hover, .m-opt:focus-visible { border-color: var(--gold); outline: none; transform: translateY(-1px); }
.m-opt .m-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); overflow: hidden; }
.m-opt .m-ic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.m-opt .m-tx { flex: 1; min-width: 0; }
.m-opt .m-tx b { display: block; font-size: 1rem; }
.m-opt .m-tx span { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.m-opt .m-go { flex: none; color: var(--gold); font-size: 1.3rem; }
.m-hint { color: var(--ink-soft); font-size: .92rem; margin: 0 0 12px; }
.m-amt-btn { width: 100%; margin-top: 12px; }
@media (min-width: 861px) {
  .modal-overlay { align-items: center; padding: 24px; }
  .modal-dialog { border-radius: 20px; max-height: 88vh; }
}
.toast { z-index: 110; }
[dir="ltr"] .modal-back, [dir="ltr"] .m-go { transform: scaleX(-1); }
/* إصلاح زر واتساب العائم على الموبايل: القاعدة الأساسية (.wa-float) بتيجي بعد الميديا كويري في الملف فكانت بتكسب وبتظهر نص "تواصل معنا" جوه الدايرة وبتسحق الأيقونة — القاعدة دي في آخر الملف فهي اللي بتكسب */
@media (max-width: 700px) {
  .wa-float { font-size: 0; line-height: 0; gap: 0; }
  .wa-float svg { flex-shrink: 0; width: 27px; height: 27px; }
}
