/* =========================================================
   مَشهد — متجر اشتراكات المشاهدة
   ========================================================= */
:root {
  --bg: #0b0b14;
  --bg-2: #12121f;
  --surface: #171728;
  --surface-2: #1f1f35;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4fb;
  --muted: #a3a3bd;
  --primary: #e50946;
  --primary-2: #ff4d6d;
  --accent: #7c5cff;
  --gold: #ffc94d;
  --success: #22c55e;
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }

/* ===== أزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(229, 9, 70, .35); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(229, 9, 70, .5); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--whatsapp); color: #062b14; }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 16px; font-size: .9rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.06);
  border: 1px solid var(--border); transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.12); }

/* ===== شريط علوي ===== */
.topbar {
  background: var(--grad); text-align: center; font-size: .9rem; padding: 8px 16px;
}
.code-chip {
  display: inline-block; background: rgba(0,0,0,.3); padding: 0 10px; border-radius: 6px;
  font-weight: 800; letter-spacing: 1px; direction: ltr;
}

/* ===== هيدر ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 20, .8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.6rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); font-size: .9rem; color: #fff; padding-right: 2px;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 10px;
  color: var(--muted); font-weight: 700; transition: color .2s, background .2s;
}
.nav-link:hover, .has-dd.open > .nav-link { color: var(--text); background: rgba(255,255,255,.06); }
.dd-toggle svg { transition: transform .2s; }
.has-dd.open .dd-toggle svg { transform: rotate(180deg); }

/* ===== القائمة المنسدلة ===== */
.has-dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 14px); right: 0; width: 640px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 821px) {
  .has-dd:hover .dd-menu { opacity: 1; visibility: visible; transform: none; }
  .has-dd:hover > .nav-link { color: var(--text); background: rgba(255,255,255,.06); }
  .has-dd:hover .dd-toggle svg { transform: rotate(180deg); }
}
.dd-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.dd-group h5 { font-size: .8rem; color: var(--muted); font-weight: 700; margin: 0 8px 4px; }
.dd-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; transition: background .15s; }
.dd-item:hover, .dd-item:focus-visible { background: var(--surface-2); outline: 0; }
.dd-thumb { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.dd-text b { display: block; font-size: .92rem; line-height: 1.4; }
.dd-text small { color: var(--muted); font-size: .78rem; }
.dd-all {
  display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  text-align: center; font-weight: 700; color: var(--primary-2);
}
.dd-all:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; }
.badge {
  position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); font-size: .75rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-btn { display: none; }

/* ===== هيرو ===== */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: min(calc(100vh - 110px), 780px); padding: 56px 0 116px;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(124,92,255,.35), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(229,9,70,.3), transparent 50%), var(--bg);
}
.hv {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1s ease;
}
.hv.show { opacity: 1; animation: kenburns 6s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(11,11,20,.94) 0%, rgba(11,11,20,.72) 38%, rgba(11,11,20,.2) 75%, rgba(11,11,20,.4) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(11,11,20,0) 35%),
    linear-gradient(to bottom, rgba(11,11,20,.55) 0%, rgba(11,11,20,0) 22%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 780px; }
.hero .hero-cta { margin-bottom: 30px; }
.hero h1, .hero-text > p { text-shadow: 0 2px 20px rgba(0,0,0,.5); }

/* شريط التحكم بالفيديو */
.hero-reel {
  position: absolute; bottom: 34px; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 16px;
}
.reel-label {
  display: flex; align-items: center; gap: 10px; min-width: 250px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  background: rgba(0,0,0,.45); border: 1px solid var(--border); backdrop-filter: blur(10px);
}
#reelText.in { animation: labelIn .5s ease both; }
@keyframes labelIn { from { opacity: 0; transform: translateY(6px); } }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex-shrink: 0;
  animation: live 1.6s infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(229,9,70,.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(229,9,70,0); } }
.reel-bars { flex: 1; display: flex; gap: 6px; }
.reel-bar { flex: 1; height: 16px; display: flex; align-items: center; position: relative; }
.reel-bar::before { content: ""; position: absolute; inset: 6px 0; border-radius: 4px; background: rgba(255,255,255,.22); }
.reel-bar i { position: relative; display: block; height: 4px; width: 0; border-radius: 4px; background: #fff; }
.reel-bar:hover::before { background: rgba(255,255,255,.4); }
.reel-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(0,0,0,.45); border: 1px solid var(--border); backdrop-filter: blur(10px);
  transition: background .2s;
}
.reel-btn:hover { background: rgba(255,255,255,.15); }
.reel-btn .i-play, .reel-btn.paused .i-pause { display: none; }
.reel-btn.paused .i-play { display: block; }
.pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: .9rem; font-weight: 700;
  background: rgba(255, 201, 77, .12); color: var(--gold); border: 1px solid rgba(255, 201, 77, .3);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.35; font-weight: 900; margin-bottom: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text > p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { list-style: none; display: flex; gap: 40px; }
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 900; }
.hero-stats span { color: var(--muted); font-size: .9rem; }


/* ===== شريط الثقة ===== */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.trust-inner div { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--muted); }
.trust-inner span { font-size: 1.4rem; }

/* ===== الأقسام ===== */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 8px; }
.section-head p { color: var(--muted); max-width: 600px; margin-inline: auto; }

/* ===== أدوات الفلترة ===== */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-weight: 700; font-size: .95rem; color: var(--muted); transition: all .2s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0 16px; min-width: 260px; color: var(--muted);
}
.search input { background: none; border: 0; outline: 0; color: var(--text); padding: 10px 0; width: 100%; }
.search:focus-within { border-color: var(--accent); }

/* ===== بطاقات المنتجات ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
  animation: fadeUp .4s both;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); box-shadow: var(--shadow); }
.card.highlight { border-color: var(--primary); animation: highlight 1.1s 2; }
@keyframes highlight { 50% { box-shadow: 0 0 0 6px rgba(229,9,70,.4); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.card-cover {
  position: relative; height: 150px; display: grid; place-items: center; overflow: hidden;
}
.card-cover::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%);
}
.card-cover .c-ico { font-size: 3.2rem; position: relative; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.card-cover .c-name {
  position: absolute; bottom: 10px; right: 14px; font-weight: 900; font-size: 1.15rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.tag {
  position: absolute; top: 12px; left: 12px; padding: 3px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
}
.tag.hot { background: var(--gold); color: #3a2800; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 1.1rem; font-weight: 800; }
.card-desc { color: var(--muted); font-size: .9rem; }
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.perks li { font-size: .78rem; background: var(--surface-2); padding: 2px 10px; border-radius: 6px; color: var(--muted); }
.durations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dur {
  padding: 6px 0; border-radius: 8px; border: 1px solid var(--border); font-size: .8rem; font-weight: 700;
  color: var(--muted); background: transparent; transition: all .2s;
}
.dur:hover { color: var(--text); }
.dur.active { border-color: var(--primary); color: var(--text); background: rgba(229,9,70,.12); }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font-size: 1.5rem; font-weight: 900; }
.price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: .85rem; display: block; line-height: 1; }
.add-btn {
  width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff;
  display: grid; place-items: center; transition: transform .2s;
}
.add-btn:hover { transform: scale(1.08); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== حقول عامة ===== */
.muted { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; color: var(--text); outline: 0; width: 100%; font: inherit;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-left: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23a3a3bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder { color: #6b6b85; }

/* ===== تفعيل التطبيقات ===== */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.activate-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.dev-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.dev-tab {
  padding: 8px 16px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border);
  font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .2s;
}
.dev-tab:hover { color: var(--text); }
.dev-tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.guide-title { font-size: 1.15rem; margin-bottom: 16px; }
.guide-steps { list-style: none; counter-reset: g; display: flex; flex-direction: column; gap: 16px; }
.guide-steps li { counter-increment: g; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.guide-steps li::before {
  content: counter(g); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(124,92,255,.16); color: #c7b8ff; font-weight: 900;
}
.guide-steps b { display: block; }
.guide-steps span { color: var(--muted); font-size: .92rem; }
.guide-tip {
  margin-top: 22px; padding: 12px 14px; border-radius: 10px; font-size: .9rem;
  background: rgba(255,201,77,.08); border: 1px solid rgba(255,201,77,.25); color: var(--gold);
}
.activate-form { display: flex; flex-direction: column; gap: 14px; }
.activate-form h3 { font-size: 1.2rem; }
.activate-form > p { margin-top: -10px; font-size: .92rem; }

/* ===== المقارنة ===== */
.compare-pickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th {
  text-align: right; color: var(--muted); font-weight: 600; white-space: nowrap;
  position: sticky; right: 0; background: var(--surface); z-index: 1;
}
.compare-table thead th { vertical-align: bottom; padding-top: 22px; }
.compare-table .corner { text-align: right; color: var(--muted); font-weight: 700; position: sticky; right: 0; background: var(--surface); z-index: 1; }
.compare-table .best { background: rgba(229,9,70,.07); }
.ct-head { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.ct-thumb { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; }
.ct-head b { font-size: .98rem; line-height: 1.4; }
.best-badge {
  position: absolute; top: -14px; padding: 1px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800;
  background: var(--gold); color: #3a2800; transform: translateY(-50%);
}
.yes { color: var(--success); font-weight: 900; font-size: 1.1rem; }
.no { color: #5c5c75; font-weight: 900; }
.q { display: inline-block; padding: 1px 10px; border-radius: 6px; background: var(--surface-2); font-weight: 800; font-size: .85rem; direction: ltr; }
.save { color: var(--success); font-weight: 700; }
.ct-actions td { padding-block: 18px; }

/* ===== الخطوات ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px; text-align: center;
}
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 900; background: var(--grad);
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ===== المزايا ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s;
}
.feature:hover { border-color: rgba(124,92,255,.5); }
.f-ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: rgba(124,92,255,.14); margin-bottom: 14px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ===== الأسئلة ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ===== CTA ===== */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(229,9,70,.18), rgba(124,92,255,.18)), var(--surface);
  border: 1px solid var(--border);
}
.cta-box h2 { font-size: 1.6rem; font-weight: 900; }
.cta-box p { color: var(--muted); }

/* ===== الفوتر ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 280px; }
.footer h4 { margin-bottom: 12px; }
.footer-inner > div > a:not(.logo) { display: block; color: var(--muted); padding: 3px 0; }
.footer-inner > div > a:not(.logo):hover { color: var(--text); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icons span {
  background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: 6px;
  font-size: .8rem; font-weight: 700;
}
.copyright { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* ===== السلة ===== */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
}
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; height: 100%; width: min(420px, 100%); z-index: 100;
  background: var(--bg-2); border-right: 1px solid var(--border); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--border); }
.cart-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px;
}
.ci-thumb { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 1.6rem; }
.ci-info h4 { font-size: .95rem; line-height: 1.4; }
.ci-info span { color: var(--muted); font-size: .82rem; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-price { font-weight: 800; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 8px; }
.qty button { width: 26px; height: 26px; border-radius: 6px; font-weight: 800; }
.qty button:hover { background: rgba(255,255,255,.1); }
.qty span { min-width: 18px; text-align: center; font-size: .9rem; font-weight: 700; }
.cart-empty { text-align: center; color: var(--muted); margin: auto; padding: 40px 0; }
.cart-empty div { font-size: 3rem; margin-bottom: 8px; }

.coupon { display: flex; gap: 8px; }
.coupon input, .modal-card input[type=text], .modal-card input[type=email], .modal-card input[type=tel] {
  flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; color: var(--text); outline: 0; width: 100%;
}
.coupon input:focus, .modal-card input:focus { border-color: var(--accent); }
.coupon-msg { font-size: .85rem; min-height: 1.4em; margin: 6px 0; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.err { color: var(--primary-2); }
.totals { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.totals > div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .discount-row { color: var(--success); }
.totals .grand { color: var(--text); font-weight: 900; font-size: 1.2rem; padding-top: 6px; border-top: 1px dashed var(--border); }
.totals.compact .grand { border: 0; }

/* ===== نافذة الطلب ===== */
.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card {
  width: min(460px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px;
  padding: 0 22px 22px; display: flex; flex-direction: column; gap: 14px;
  transform: translateY(20px); transition: transform .25s;
}
.modal.show .modal-card { transform: none; }
.modal-card .drawer-head { padding: 20px 0; margin-bottom: 4px; }
.modal-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.modal-card fieldset { border: 0; }
.modal-card legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.pay-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span {
  display: block; text-align: center; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); font-size: .88rem; font-weight: 700; cursor: pointer; transition: all .2s;
}
.pay-opt input:checked + span { border-color: var(--primary); background: rgba(229,9,70,.12); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--accent); }
.note { color: var(--muted); font-size: .8rem; text-align: center; }

/* ===== إشعار ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); z-index: 200;
  background: var(--surface-2); border: 1px solid var(--border); padding: 12px 22px; border-radius: 12px;
  font-weight: 700; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ===== التجاوب ===== */
@media (max-width: 980px) {
  .hero-shade {
    background: linear-gradient(to bottom,
      rgba(11,11,20,.6) 0%, rgba(11,11,20,.35) 35%, rgba(11,11,20,.45) 70%, var(--bg) 100%);
  }
  .hero h1, .hero-text > p, .hero-stats { text-shadow: 0 2px 14px rgba(0,0,0,.85); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 72px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 20px; border-radius: 0; border-top: 1px solid var(--border); }
  .dd-menu {
    position: static; width: auto; display: none; padding: 4px 12px 14px;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .dd-menu::before { display: none; }
  .has-dd.open .dd-menu { display: block; }
  .dd-groups { grid-template-columns: 1fr; gap: 10px; }
  .activate-grid { grid-template-columns: 1fr; }
  .compare-pickers { grid-template-columns: 1fr; gap: 10px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 50px 0 130px; min-height: 0; }
  .hero-stats { gap: 24px; }
  .hero-reel { flex-wrap: wrap; gap: 10px; bottom: 22px; }
  .reel-label { min-width: 0; flex: 1; font-size: .85rem; padding: 6px 12px; }
  .reel-bars { order: 3; flex-basis: 100%; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-box { padding: 28px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .compare-table { min-width: 480px; table-layout: fixed; font-size: .88rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .compare-table tr > :first-child { width: 96px; white-space: normal; }
  .ct-thumb { width: 42px; height: 42px; font-size: 1.2rem; }
  .ct-head b { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
