/* =========================================================
   استديو قمة — الهوية: أخضر زيتي غامق + كريمي فقط
   ========================================================= */
:root {
  --g-950: #1b2512;
  --g-900: #212d16;
  --g-800: #283619;   /* الخلفية الأساسية */
  --g-700: #304120;   /* الأسطح */
  --g-600: #3a4e27;   /* الأسطح المرفوعة */
  --g-500: #4a6233;
  --cream: #fdf8e6;
  --cream-2: #f4ecd2;
  --ink: #1d2713;     /* نص فوق الكريمي */
  --text: var(--cream);
  --muted: rgba(253, 248, 230, 0.66);
  --faint: rgba(253, 248, 230, 0.42);
  --line: rgba(253, 248, 230, 0.12);
  --line-2: rgba(253, 248, 230, 0.24);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.55);
  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--g-800);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; margin: 0; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--cream);
  background: transparent; color: var(--cream);
  font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: var(--cream-2); }
.btn-ghost:hover { background: rgba(253, 248, 230, .08); }
.btn-quiet { border-color: var(--line-2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--cream);
}
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- الهيدر ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 40;
  padding: 12px 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(33, 45, 22, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 40px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--cream);
  font-weight: 600; font-family: var(--font-display);
}

/* ---------- الواجهة الرئيسية ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 760px); min-height: min(92svh, 760px);
  display: flex; align-items: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(253, 248, 230, .10), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(74, 98, 51, .55), transparent 70%),
    linear-gradient(180deg, var(--g-700) 0%, var(--g-800) 70%);
  background-size: cover; background-position: center;
}
.hero-bg.has-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 37, 18, .35) 0%, rgba(40, 54, 25, .75) 55%, var(--g-800) 100%);
}
.hero-mark {
  position: absolute; z-index: -1; opacity: .06;
  width: min(640px, 120vw); inset-inline-end: -10%; top: 14%;
  pointer-events: none;
}
.hero-content { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .02em; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }
.hero h1 { font-size: clamp(34px, 9vw, 60px); font-weight: 600; letter-spacing: -.01em; }
.hero p { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- الأقسام ---------- */
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 6vw, 36px); }
.section-head p { color: var(--muted); margin-top: 6px; }
.pill {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-size: 15px; font-weight: 500;
}

/* ---------- بطاقات الباقات ---------- */
.packages { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .packages { grid-template-columns: repeat(3, 1fr); } }

.pkg {
  position: relative;
  background: linear-gradient(180deg, rgba(253, 248, 230, .035), rgba(253, 248, 230, .01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s var(--ease);
}
.pkg:hover { border-color: var(--line-2); }
.pkg-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: var(--g-700);
}
.pkg-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(80% 90% at 80% 0%, rgba(253, 248, 230, .14), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(74, 98, 51, .9), transparent 70%),
    linear-gradient(135deg, var(--g-600), var(--g-900));
}
.ph img { width: 44%; opacity: .9; }
.ph::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(253, 248, 230, .16); border-radius: 10px;
}
.pkg-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--cream); color: var(--ink);
  font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.pkg-body { padding: 18px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.pkg h3 { font-size: 21px; }
.pkg-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-top: 6px; }
.pkg-meta svg { width: 18px; height: 18px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.price-now { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.price-now small { font-size: 15px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.price-old { color: var(--faint); text-decoration: line-through; font-size: 16px; }
.pkg-features { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.pkg-features li { display: flex; gap: 10px; align-items: flex-start; }
.pkg-features li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); margin-top: 10px; flex: none; opacity: .7; }
.pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 20px; }

/* ---------- كيف تحجز ---------- */
.how { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li {
  list-style: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; counter-increment: s; position: relative;
}
.how li::before {
  content: counter(s); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream); color: var(--ink); font-family: var(--font-display); font-weight: 600;
  margin-bottom: 14px;
}
.how h3 { font-size: 18px; }
.how p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.how-list { padding: 0; margin: 0; }

.area {
  border-radius: var(--radius); padding: 24px;
  background: var(--g-700); border: 1px solid var(--line);
  display: grid; gap: 16px;
}
@media (min-width: 760px) { .area { grid-template-columns: 1fr auto; align-items: center; padding: 30px; } }
.area h3 { font-size: 20px; }
.area p { color: var(--muted); margin-top: 4px; }

/* ---------- الفوتر ---------- */
.footer { padding: 46px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); margin-top: 32px; background: linear-gradient(180deg, var(--g-800), var(--g-900)); }
.footer .wrap { display: grid; gap: 26px; }
.ft-brand img { height: 58px; width: auto; }
.ft-brand p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.ft-brand::after { content: ""; display: block; width: 46px; height: 2px; background: var(--line-2); margin-top: 16px; }
.ft-social { display: flex; gap: 12px; flex-wrap: wrap; }
.soc { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(253,248,230,.04); color: var(--cream); transition: background .2s, color .2s; }
.soc:hover { background: var(--cream); color: var(--ink); }
.soc svg { width: 22px; height: 22px; }
/* أيقونات التواصل: مفرّغة والشعار أبيض */
.soc[class*="soc-"] { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; transition: border-color .2s, transform .2s; }
.soc[class*="soc-"]:hover { background: transparent; color: #fff; border-color: #fff; transform: translateY(-2px); }
.soc-whatsapp svg { width: 24px; height: 24px; }
.ft-contact { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.ct { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); font-size: 16px; }
.ct-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; }
.ct-ic svg { width: 20px; height: 20px; }
.terms-link { color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.ft-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--cream); }
.ft-pay .pl { height: 26px; width: auto; padding: 8px 12px; border-radius: 10px; background: #fff; box-sizing: content-box; box-shadow: 0 6px 16px -10px rgba(0,0,0,.6); }
.ft-copy { color: var(--faint); }

/* ---------- زر الواتساب العائم ---------- */
.wa-fab {
  position: fixed; z-index: 45;
  inset-inline-end: 18px; bottom: calc(18px + var(--safe-b));
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--g-800);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6), 0 0 0 6px rgba(253, 248, 230, .08);
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.wa-fab:active { transform: scale(.94); }
.wa-fab svg { width: 32px; height: 32px; }
body.locked .wa-fab { display: none; }

/* ---------- الورقة المنبثقة ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(10, 14, 6, .6);
  opacity: 0; transition: opacity .25s;
}
.sheet-backdrop.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; inset-inline: 0; bottom: 0;
  height: 100%; height: 100dvh;
  background: var(--g-800);
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.sheet.open { transform: none; }
@media (min-width: 760px) {
  .sheet {
    inset-inline: auto; inset-inline-end: 0; width: 520px; height: 100%;
    transform: translateX(100%);
    border-inline-start: 1px solid var(--line);
  }
  [dir="rtl"] .sheet { transform: translateX(-100%); }
  .sheet.open, [dir="rtl"] .sheet.open { transform: none; }
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 { font-size: 19px; flex: 1; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 20px 28px; }
.sheet-foot {
  padding: 14px 20px calc(14px + var(--safe-b));
  border-top: 1px solid var(--line); background: var(--g-800);
  display: flex; gap: 10px;
}
.sheet-foot .btn { flex: 1; }

/* تقدم الخطوات */
.stepper { display: flex; gap: 6px; padding: 14px 20px 0; }
.stepper span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.stepper span.on { background: var(--cream); }
.step-label { padding: 10px 20px 0; color: var(--muted); font-size: 13px; }

/* تفاصيل الباقة */
.detail-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--g-700); }
.detail-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 24px; margin-top: 22px; }
.facts { margin-top: 20px; border-radius: var(--radius-sm); background: var(--g-700); border: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts span { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.facts span svg { width: 20px; height: 20px; }
.facts b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.h-sub { font-size: 16px; margin-top: 24px; color: var(--muted); font-weight: 500; }

/* ---------- التقويم ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; }
.cal-head h3 { font-size: 18px; }
.cal-nav { display: flex; gap: 8px; }
[dir="rtl"] .cal-nav .flip svg { transform: scaleX(-1); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: 12px; color: var(--faint); padding-bottom: 4px; }
.day {
  aspect-ratio: 1 / 1.08; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-display); font-size: 16px; font-weight: 500; padding: 0;
  transition: background .15s, border-color .15s;
}
.day small { font-family: var(--font-body); font-size: 9.5px; font-weight: 400; color: var(--faint); line-height: 1; }
.day:hover:not([disabled]) { border-color: var(--line-2); }
.day.sel { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.day.sel small { color: var(--g-600); }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.day.full[disabled] { opacity: .55; text-decoration: line-through; text-decoration-color: var(--faint); }
.day.empty { border: 0; visibility: hidden; }
.chosen {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--g-700); border: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.chosen small { color: var(--muted); display: block; }
.chosen b { font-family: var(--font-display); font-weight: 600; }
.hint { color: var(--muted); font-size: 14px; }

/* ---------- الخريطة ---------- */
.search-row { display: flex; gap: 8px; margin-top: 14px; }
.search-row .input { flex: 1; }
.results { list-style: none; margin: 8px 0 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.results:empty { display: none; }
.results button {
  width: 100%; text-align: start; background: var(--g-700); border: 0; padding: 12px 14px;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--cream); line-height: 1.5;
}
.results li:last-child button { border-bottom: 0; }
.results .note { padding: 12px 14px; color: var(--muted); font-size: 14px; background: var(--g-700); }
.map {
  height: 340px; margin-top: 12px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--g-700);
}
.map .leaflet-tile-pane { filter: saturate(.55) sepia(.18) contrast(.98); }
.map-tools { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.zone-status {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); display: flex; gap: 12px; align-items: flex-start;
}
.zone-status svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.zone-status.ok { background: var(--g-700); }
.zone-status.out { background: var(--cream); color: var(--ink); border-color: var(--cream); flex-direction: column; }
.zone-status.out p { color: rgba(29, 39, 19, .78); font-size: 15px; }
.zone-status.out .btn { border-color: var(--ink); color: var(--ink); background: transparent; width: 100%; margin-top: 4px; }
.zone-status.out .btn-solid { background: var(--ink); color: var(--cream); }
.gmaps-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-size: 14px; text-underline-offset: 4px; }
.gmaps-link svg { width: 18px; height: 18px; }

/* مؤشر خريطة مخصص */
.qm-pin { width: 34px; height: 44px; }
.qm-pin svg { width: 34px; height: 44px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }

/* ---------- النماذج ---------- */
.form { display: grid; gap: 18px; margin-top: 18px; }
.field label { display: flex; gap: 6px; align-items: baseline; font-size: 15px; margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--cream); opacity: .6; }
.field label .opt { color: var(--faint); font-size: 13px; font-weight: 400; }
.input, .textarea, .select {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line-2);
  background: rgba(253, 248, 230, .03); color: var(--cream);
  font-size: 16px; /* يمنع التكبير التلقائي في آيفون */
  transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--cream); background: rgba(253, 248, 230, .06); }
.input[dir="ltr"] { text-align: right; }
[dir="ltr"] .input[dir="ltr"] { text-align: left; }
.field .help { font-size: 13px; color: var(--faint); margin-top: 6px; }
.field .err { font-size: 13px; color: var(--cream); margin-top: 6px; display: none; }
.field.invalid .input, .field.invalid .textarea { border-color: var(--cream); border-style: dashed; }
.field.invalid .err { display: block; }
.field.invalid .err::before { content: "⚠ "; }
input[type="time"].input { min-height: 54px; }
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }

/* ---------- المراجعة والنجاح ---------- */
.summary { margin-top: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; font-size: 15px; }
.summary .row + .row { border-top: 1px solid var(--line); }
.summary .row span:first-child { color: var(--muted); flex: none; }
.summary .row span:last-child { text-align: end; word-break: break-word; }
.summary .total { background: var(--g-700); }
.summary .due { background: var(--cream); color: var(--ink); font-weight: 600; }
.summary .due span:first-child { color: var(--ink); }
.terms { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-error {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--cream); color: var(--ink); font-size: 14px;
}

.success { text-align: center; padding-top: 10px; }
.success-icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--ink);
}
.success-icon svg { width: 36px; height: 36px; }
.success h2 { font-size: 24px; }
.success > p { color: var(--muted); margin-top: 8px; }
.ref-box {
  margin: 22px auto 0; display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2);
}
.ref-box small { color: var(--muted); }
.ref-box b { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; direction: ltr; }
.pay { margin-top: 22px; text-align: start; border-radius: var(--radius); background: var(--g-700); border: 1px solid var(--line); padding: 18px; }
.pay h3 { font-size: 17px; margin-bottom: 10px; }
.pay .line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pay .line:first-of-type { border-top: 0; }
.pay .line small { color: var(--muted); display: block; font-size: 13px; }
.pay .line b { font-weight: 500; word-break: break-all; }
.pay .iban { font-family: ui-monospace, "SF Mono", Menlo, monospace; direction: ltr; unicode-bidi: isolate; letter-spacing: .03em; font-size: 15px; }
.pay .amount { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

/* ---------- تحميل وتنبيهات ---------- */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--g-700), var(--g-600), var(--g-700)); background-size: 200% 100%; animation: sk 1.4s infinite; min-height: 380px; }
@keyframes sk { to { background-position: -200% 0; } }
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(96px + var(--safe-b));
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--cream); color: var(--ink); padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow);
  transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-flag {
  position: fixed; z-index: 39; bottom: calc(26px + var(--safe-b)); inset-inline-start: 18px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--faint);
  background: rgba(33, 45, 22, .8);
}

/* ---------- حركة الظهور ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 330px) {
  .pkg-actions { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand img { height: 34px; }
  .btn { padding: 0 16px; }
  .day small { font-size: 8.5px; }
}

input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* كود الخصم */
.code-box { margin-top: 18px; }
.code-box > label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.code-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-radius: var(--radius-sm); border: 1.5px dashed var(--cream); }
.code-applied span { display: inline-flex; align-items: center; gap: 8px; }
.code-applied svg { width: 18px; height: 18px; }

/* تمارا والدفع الإلكتروني */
.tamara-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.tm-badge { flex: none; font: 700 12px/1 "Alexandria", sans-serif; letter-spacing: .02em; padding: 5px 9px; border-radius: 999px; background: var(--cream); color: var(--ink); direction: ltr; }
.pay-online { margin-top: 22px; display: grid; gap: 10px; text-align: start; }
.pay-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: start;
  padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--cream);
  background: var(--cream); color: var(--ink);
}
.pay-opt + .pay-opt { background: transparent; color: var(--cream); }
.pay-opt strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.pay-opt small { display: block; font-size: 13px; opacity: .75; }
.pay-logos { display: inline-flex; gap: 4px; align-items: center; flex: none; }
.pay-logos .pl { height: 20px; width: auto; padding: 5px 7px; border-radius: 8px; background: #fff; box-sizing: content-box; border: 1px solid rgba(0,0,0,.08); }
.pay-logos b, .pay-logos i { font: 600 12px/1 "Alexandria", sans-serif; font-style: normal; padding: 6px 8px; border-radius: 8px; background: var(--ink); color: var(--cream); }
.pay-opt + .pay-opt .pay-logos b, .pay-opt + .pay-opt .pay-logos i { background: var(--cream); color: var(--ink); }
#mysrBox:not(:empty) { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 14px; }
.results button b { display: block; font-weight: 600; }
.results button small { display: block; color: var(--muted); font-size: 12.5px; }
.results .g-attr { padding: 6px 14px; text-align: end; font: 500 11px "Alexandria", sans-serif; color: var(--faint); background: var(--g-700); direction: ltr; }

/* الإضافات */
.addons { display: grid; gap: 10px; margin-top: 16px; }
.addon { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: transparent; color: var(--cream); transition: border-color .15s, background .15s; }
.addon.on { border-color: var(--cream); background: rgba(253,248,230,.06); }
.ad-check { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.addon.on .ad-check { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ad-check svg { width: 16px; height: 16px; }
.ad-body { flex: 1; min-width: 0; }
.ad-body b { display: block; font-weight: 600; }
.ad-body small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ad-price { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.x-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted); display: inline-grid; place-items: center; vertical-align: middle; margin-inline-start: 6px; padding: 0; }
.x-btn svg { width: 13px; height: 13px; }
/* رمز التحقق */
.otp { text-align: center; padding-top: 10px; }
.otp p { color: var(--muted); margin-bottom: 16px; }
.otp p b { color: var(--cream); }
.otp-in { text-align: center !important; font: 600 30px/1 var(--font-display); letter-spacing: .5em; max-width: 240px; margin: 0 auto; display: block; padding-inline-start: .5em; }
.otp-acts { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.otp-demo { margin: 0 auto 14px; display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--cream); font-size: 13px; }
.pay-opt:first-child .tm-badge { background: var(--ink); color: var(--cream); }
