/* ==========================================================================
   واحة الستريم — أنماط الصفحات
   ========================================================================== */

/* ---------- أقسام مساعدة ---------- */
.section-tight { padding-block: clamp(30px, 4vw, 52px); }
.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(227,176,75,.045), transparent 62%),
    linear-gradient(180deg, rgba(20,17,22,.5), rgba(12,10,14,.2));
  border-block: 1px solid var(--line-soft);
}
.section-exclusive {
  background:
    radial-gradient(ellipse 60% 70% at 22% 12%, rgba(58,166,196,.07), transparent 60%),
    radial-gradient(ellipse 55% 60% at 85% 88%, rgba(227,176,75,.055), transparent 60%);
  border-block: 1px solid var(--line-soft);
}
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center > div { max-width: 640px; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-lead { color: var(--ink-dim); font-size: .93rem; line-height: 1.9; margin-top: 12px; }
.sec-lead b { color: var(--sand); font-weight: 600; }

/* ---------- عدّاد تنازلي ---------- */
.countdown { display: flex; gap: 10px; margin-top: 22px; justify-content: center; flex-wrap: wrap; }
.countdown__unit {
  min-width: 62px;
  padding: 10px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: rgba(8,6,10,.5);
  text-align: center;
}
.countdown__unit b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.countdown__unit span { font-size: .66rem; color: var(--ink-faint); letter-spacing: .07em; }
.cta-band__glow {
  position: absolute;
  inset-inline-start: 50%;
  top: -40%;
  width: 420px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,157,60,.1), transparent 65%);
  pointer-events: none;
  animation: pulseGlow 5s ease-in-out infinite;
}
.cta-band__content { position: relative; z-index: 1; margin-bottom: 26px; }
.cta-band__content h3 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); margin: 8px 0 12px; }
.cta-band__content p { color: var(--ink-dim); font-size: .93rem; max-width: 58ch; margin-inline: auto; line-height: 1.85; }
.cta-band--oasis {
  background:
    radial-gradient(ellipse 80% 100% at 18% 0%, rgba(46,158,126,.13), transparent 62%),
    radial-gradient(ellipse 70% 100% at 88% 100%, rgba(79,204,166,.07), transparent 60%),
    linear-gradient(165deg, rgba(24,32,29,.75), rgba(12,10,14,.92));
}
.cta-band--oasis .cta-band__glow { background: radial-gradient(circle, rgba(46,158,126,.13), transparent 65%); }

/* ---------- بطاقة حصرية ---------- */
.xcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(58,166,196,.22);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(58,166,196,.09), transparent 62%),
    linear-gradient(170deg, rgba(28,32,38,.72), rgba(13,12,16,.92));
  overflow: hidden;
  transition: all .45s var(--ease-out);
}
.xcard:hover {
  transform: translateY(-5px);
  border-color: rgba(58,166,196,.42);
  box-shadow: 0 26px 56px -30px rgba(58,166,196,.4);
}
.xcard__seal {
  position: absolute;
  top: -22px; inset-inline-end: -22px;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: rgba(58,166,196,.5);
  background: radial-gradient(circle, rgba(58,166,196,.11), transparent 68%);
  padding-block-start: 22px;
  padding-inline-end: 22px;
  pointer-events: none;
}
.xcard__tag {
  align-self: flex-start;
  font-size: .66rem;
  letter-spacing: .09em;
  padding: 4px 11px;
  border-radius: 20px;
  color: #7FCBE0;
  border: 1px solid rgba(58,166,196,.3);
  background: rgba(58,166,196,.07);
}
.xcard h3 { font-family: var(--font-display); font-size: 1.28rem; color: var(--ink); line-height: 1.4; }
.xcard p { font-size: .84rem; color: var(--ink-dim); line-height: 1.8; flex: 1; }
.xcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

/* ---------- الخطوات ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); gap: 20px; }
.step {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(30,26,32,.45), rgba(14,12,16,.72));
  transition: all .4s var(--ease-out);
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step__num {
  position: absolute;
  top: 16px; inset-inline-end: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(227,176,75,.09);
  line-height: 1;
}
.step__icon {
  display: block;
  font-size: 1.28rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.step b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
.step p { font-size: .84rem; color: var(--ink-dim); line-height: 1.85; }

/* ---------- بطاقة رأي ---------- */
.tcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(30,26,32,.5), rgba(14,12,16,.78));
  transition: all .4s var(--ease-out);
}
.tcard:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tcard p { font-size: .88rem; color: var(--ink-soft); line-height: 1.9; flex: 1; }
.tcard footer { display: flex; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.tcard footer b { display: block; font-size: .84rem; color: var(--ink); font-weight: 500; }
.tcard footer a { font-size: .73rem; color: var(--ink-faint); }
.tcard footer a:hover { color: var(--gold); }

/* ---------- المتجر / الفلاتر ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-side { position: static !important; } }
.shop-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.fbox {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(20,17,22,.5);
  padding: 18px;
}
.fbox h4 {
  font-size: .78rem;
  letter-spacing: .07em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.fbox__list { display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow-y: auto; }
.fbox__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: .82rem;
  color: var(--ink-dim);
  transition: all .22s var(--ease);
}
.fbox__item:hover { background: rgba(227,176,75,.05); color: var(--ink); }
.fbox__item.active { background: rgba(227,176,75,.09); color: var(--gold); }
.fbox__item i { width: 17px; font-size: .82em; opacity: .8; }
.fbox__item small { font-size: .7rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.price-row { display: flex; gap: 8px; align-items: center; }
.price-row .input { padding-inline: 10px; font-size: .8rem; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(20,17,22,.5);
  margin-bottom: 22px;
}
.toolbar__count { font-size: .83rem; color: var(--ink-dim); }
.toolbar__count b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- صفحة المنتج ---------- */
.pdetail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 940px) { .pdetail { grid-template-columns: 1fr; } }
.pgallery__main {
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(30,26,32,.7), rgba(14,12,16,.9));
  display: grid;
  place-items: center;
}
.pgallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__main .ph { font-size: 3.4rem; color: rgba(227,176,75,.18); }
.pgallery__thumbs { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.pgallery__thumb {
  width: 68px; height: 48px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: .6;
  transition: all .25s var(--ease);
}
.pgallery__thumb.active, .pgallery__thumb:hover { opacity: 1; border-color: var(--gold-deep); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.buybox {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 22px;
  background: linear-gradient(170deg, rgba(32,28,34,.75), rgba(14,12,16,.94));
}
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-block: 14px 18px; }
.buybox__price b { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.buybox__price del { color: var(--ink-faint); font-size: 1rem; }
.buybox__actions { display: flex; flex-direction: column; gap: 9px; margin-block: 20px; }
.buybox__note {
  font-size: .76rem;
  color: var(--ink-faint);
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.buybox__note span { display: flex; align-items: center; gap: 8px; }
.buybox__note i { color: var(--oasis); width: 14px; }

.tier {
  display: block;
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .28s var(--ease);
  margin-bottom: 9px;
  background: rgba(12,10,14,.35);
}
.tier:hover { border-color: var(--line-strong); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier input:checked ~ .tier__in { color: var(--gold); }
.tier:has(input:checked) {
  border-color: rgba(227,176,75,.45);
  background: rgba(227,176,75,.06);
  box-shadow: 0 0 0 1px rgba(227,176,75,.14);
}
.tier__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier__name { font-size: .9rem; font-weight: 500; color: var(--ink); }
.tier:has(input:checked) .tier__name { color: var(--gold); }
.tier__price { font-size: .95rem; color: var(--gold); font-weight: 500; white-space: nowrap; }
.tier__feats { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.tier__feats li { font-size: .76rem; color: var(--ink-dim); display: flex; gap: 8px; align-items: flex-start; }
.tier__feats i { color: var(--oasis); font-size: .72em; margin-top: 5px; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,180px), 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.spec { padding: 15px 17px; background: rgba(18,15,20,.85); }
.spec span { display: block; font-size: .7rem; color: var(--ink-faint); letter-spacing: .05em; margin-bottom: 5px; }
.spec b { font-size: .86rem; color: var(--ink-soft); font-weight: 500; }

.prose { color: var(--ink-dim); line-height: 2; font-size: .92rem; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--font-display); margin: 26px 0 12px; }
.prose h2 { font-size: 1.4rem; } .prose h3 { font-size: 1.15rem; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin-bottom: 15px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--sand); }
.prose code { background: rgba(227,176,75,.08); padding: 2px 6px; border-radius: 4px; font-size: .88em; color: var(--gold); }

/* ---------- تقييمات ---------- */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: rgba(20,17,22,.5); margin-bottom: 24px; }
@media (max-width: 620px) { .rating-summary { grid-template-columns: 1fr; gap: 20px; } }
.rating-big { text-align: center; }
.rating-big b { display: block; font-family: var(--font-display); font-size: 3.2rem; color: var(--gold); line-height: 1; }
.rating-big span { font-size: .76rem; color: var(--ink-faint); }
.rating-bars { display: flex; flex-direction: column; gap: 7px; }
.rating-bar { display: grid; grid-template-columns: 46px 1fr 34px; gap: 10px; align-items: center; font-size: .76rem; color: var(--ink-faint); }
.rating-bar__track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.rating-bar__fill { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 3px; }

.review { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.review:last-child { border-bottom: none; }
.review__body { flex: 1; min-width: 0; }
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.review__head b { font-size: .87rem; color: var(--ink); font-weight: 500; }
.review__head time { font-size: .72rem; color: var(--ink-faint); }
.review h4 { font-size: .9rem; color: var(--sand); margin-bottom: 6px; }
.review p { font-size: .86rem; color: var(--ink-dim); line-height: 1.9; }
.review__reply {
  margin-top: 12px;
  padding: 13px 15px;
  border-inline-start: 2px solid var(--gold-deep);
  background: rgba(227,176,75,.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .82rem;
  color: var(--ink-dim);
  line-height: 1.8;
}
.review__reply b { color: var(--gold); display: block; margin-bottom: 4px; font-size: .78rem; }

/* ---------- لوحة الحساب/الأدمن ---------- */
.dash { display: grid; grid-template-columns: 236px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .dash__side { position: static !important; } }
.dash__side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(20,17,22,.55);
  padding: 14px;
  overflow: hidden;
}
.dash__user { display: flex; align-items: center; gap: 12px; padding: 6px 8px 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.dash__user b { display: block; font-size: .87rem; color: var(--ink); font-weight: 500; }
.dash__user span { font-size: .72rem; color: var(--ink-faint); }
.side-group { font-size: .66rem; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; padding: 14px 10px 7px; }
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  font-size: .84rem;
  color: var(--ink-dim);
  transition: all .22s var(--ease);
  position: relative;
}
.side-link i { width: 17px; text-align: center; font-size: .88em; opacity: .78; }
.side-link:hover { background: rgba(227,176,75,.05); color: var(--ink); }
.side-link.active { background: rgba(227,176,75,.1); color: var(--gold); }
.side-link.active::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%;
  width: 2px; background: var(--gold); border-radius: 2px;
}
.side-link .pill {
  margin-inline-start: auto;
  font-size: .66rem;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(227,176,75,.16);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.side-link .pill.red { background: rgba(196,82,62,.2); color: #E8836F; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,178px), 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(30,26,32,.55), rgba(14,12,16,.8));
  overflow: hidden;
  transition: all .35s var(--ease-out);
}
.stat-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.stat-card::after {
  content: ''; position: absolute; top: -40px; inset-inline-end: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, var(--sc, rgba(227,176,75,.1)), transparent 68%);
  pointer-events: none;
}
.stat-card__icon { font-size: .95rem; color: var(--gold); margin-bottom: 12px; display: block; position: relative; z-index: 1; }
.stat-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.stat-card span { font-size: .75rem; color: var(--ink-faint); position: relative; z-index: 1; }
.stat-card .trend { font-size: .7rem; margin-top: 6px; display: inline-flex; gap: 4px; align-items: center; }
.trend.up { color: var(--oasis); } .trend.down { color: #E8836F; }

/* ---------- رسائل التذاكر ---------- */
.ticket-msg { display: flex; gap: 13px; margin-bottom: 18px; }
.ticket-msg__body {
  flex: 1;
  padding: 15px 17px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(20,17,22,.55);
  min-width: 0;
}
.ticket-msg.staff .ticket-msg__body {
  background: rgba(227,176,75,.055);
  border-color: rgba(227,176,75,.2);
}
.ticket-msg__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; flex-wrap: wrap; }
.ticket-msg__head b { font-size: .84rem; color: var(--ink); font-weight: 500; }
.ticket-msg__head time { font-size: .71rem; color: var(--ink-faint); margin-inline-start: auto; }
.ticket-msg__body p { font-size: .87rem; color: var(--ink-dim); line-height: 1.9; white-space: pre-wrap; }

/* ---------- الجداول ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: rgba(18,15,20,.5); }
.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 620px; }
.tbl thead th {
  text-align: start;
  padding: 13px 15px;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12,10,14,.5);
  white-space: nowrap;
}
.tbl tbody td { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); color: var(--ink-dim); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: rgba(227,176,75,.028); }
.tbl b { color: var(--ink); font-weight: 500; }
.tbl .num { font-variant-numeric: tabular-nums; }
.tbl a:hover { color: var(--gold); }

/* ---------- الرسم البياني ---------- */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 190px;
  padding: 16px 4px 0;
}
.chart__bar {
  flex: 1;
  min-height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold), rgba(184,134,47,.28));
  position: relative;
  transition: all .3s var(--ease);
  cursor: default;
}
.chart__bar:hover { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); }
.chart__bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translate(-50%, -6px);
  background: var(--night-soft, #16131a);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: .68rem;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 5;
}
.chart__bar:hover::after { opacity: 1; }
.chart-axis { display: flex; gap: 5px; padding: 8px 4px 0; border-top: 1px solid var(--line-soft); }
.chart-axis span { flex: 1; text-align: center; font-size: .62rem; color: var(--ink-faint); }

/* ---------- شريط تقدّم ---------- */
.bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* ---------- الأفاتار ---------- */
.avatar-sm { width: 32px; height: 32px; font-size: .78rem; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.2rem; }

/* ---------- الأكورديون ---------- */
.acc { border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; background: rgba(20,17,22,.45); }
.acc + .acc { margin-top: 10px; }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 19px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
  text-align: start;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.acc__q:hover { color: var(--gold); }
.acc__q i { color: var(--gold-deep); transition: transform .3s var(--ease); flex-shrink: 0; font-size: .82rem; }
.acc.open .acc__q { color: var(--gold); }
.acc.open .acc__q i { transform: rotate(180deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease-out); }
.acc.open .acc__a { max-height: 620px; }
.acc__a > div { padding: 0 19px 18px; font-size: .86rem; color: var(--ink-dim); line-height: 1.95; }

/* ---------- الدفع ---------- */
.checkout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
@media (max-width: 940px) { .checkout { grid-template-columns: 1fr; } .checkout__side { position: static !important; } }
.checkout__side { position: sticky; top: 96px; }
.pay-opt {
  display: block;
  position: relative;
  padding: 15px 17px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  cursor: pointer;
  margin-bottom: 9px;
  transition: all .28s var(--ease);
  background: rgba(12,10,14,.3);
}
.pay-opt:hover { border-color: var(--line-strong); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt:has(input:checked) { border-color: rgba(227,176,75,.45); background: rgba(227,176,75,.06); }
.pay-opt__row { display: flex; align-items: center; gap: 13px; }
.pay-opt__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(227,176,75,.07); border: 1px solid var(--line-soft); color: var(--gold); font-size: .95rem; flex-shrink: 0; }
.pay-opt b { font-size: .88rem; color: var(--ink); font-weight: 500; display: block; }
.pay-opt span { font-size: .74rem; color: var(--ink-faint); }
.pay-opt__info {
  display: none;
  margin-top: 13px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: rgba(8,6,10,.5);
  border: 1px dashed var(--line-strong);
  font-size: .79rem;
  color: var(--ink-dim);
  line-height: 1.85;
  white-space: pre-wrap;
}
.pay-opt:has(input:checked) .pay-opt__info { display: block; }

.order-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.order-line:last-of-type { border-bottom: none; }
.order-line__img { width: 50px; height: 50px; border-radius: var(--r-sm); overflow: hidden; background: rgba(227,176,75,.06); display: grid; place-items: center; color: var(--gold-deep); flex-shrink: 0; border: 1px solid var(--line-soft); }
.order-line__img img { width: 100%; height: 100%; object-fit: cover; }
.order-line__info { flex: 1; min-width: 0; }
.order-line__info b { display: block; font-size: .84rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.order-line__info span { font-size: .73rem; color: var(--ink-faint); }
.order-line__price { font-size: .86rem; color: var(--gold); white-space: nowrap; align-self: center; }

/* ---------- شريط الخطوات ---------- */
.progress-steps { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.pstep { flex: 1; text-align: center; position: relative; }
.pstep::before {
  content: ''; position: absolute; top: 15px; inset-inline-start: 50%; width: 100%; height: 1px;
  background: var(--line-soft);
}
.pstep:last-child::before { display: none; }
.pstep__dot {
  width: 30px; height: 30px; margin: 0 auto 9px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--night);
  color: var(--ink-faint);
  font-size: .75rem;
  position: relative; z-index: 1;
}
.pstep.done .pstep__dot { border-color: var(--oasis); color: var(--oasis); background: rgba(46,158,126,.1); }
.pstep.active .pstep__dot { border-color: var(--gold); color: var(--gold); background: rgba(227,176,75,.12); box-shadow: 0 0 0 4px rgba(227,176,75,.08); }
.pstep span { font-size: .73rem; color: var(--ink-faint); }
.pstep.active span, .pstep.done span { color: var(--ink-soft); }

/* ---------- نجاح الطلب ---------- */
.success-seal {
  width: 82px; height: 82px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem;
  color: var(--oasis);
  background: radial-gradient(circle, rgba(46,158,126,.16), transparent 68%);
  border: 1px solid rgba(46,158,126,.3);
  animation: pulseGlow 3s ease-in-out infinite;
}
.keybox {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(8,6,10,.5);
  font-family: ui-monospace, monospace;
  font-size: .82rem;
  color: var(--gold);
  letter-spacing: .04em;
  direction: ltr;
  justify-content: space-between;
}
.keybox button { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: .82rem; transition: color .2s; }
.keybox button:hover { color: var(--gold); }

/* ---------- الأدمن ---------- */
.admin-body { background: var(--night); }
.admin-top {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10,8,12,.9);
  backdrop-filter: blur(14px);
}
.admin-top__in { display: flex; align-items: center; gap: 16px; height: 58px; }
.admin-badge {
  font-size: .64rem; letter-spacing: .1em; padding: 3px 9px; border-radius: 20px;
  background: rgba(227,176,75,.14); color: var(--gold); text-transform: uppercase;
}
.admin-wrap { max-width: 1560px; margin-inline: auto; padding-inline: clamp(14px, 3vw, 28px); }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; gap: 0; min-height: calc(100vh - 58px); }
@media (max-width: 1000px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { display: none; } }
.admin-side {
  border-inline-end: 1px solid var(--line-soft);
  padding: 20px 12px 40px;
  position: sticky; top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
}
.admin-main { padding: 26px clamp(12px, 2.5vw, 30px) 60px; min-width: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.admin-head p { font-size: .82rem; color: var(--ink-faint); margin-top: 4px; }

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(18,15,20,.55);
  overflow: hidden;
  margin-bottom: 22px;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12,10,14,.4);
}
.panel__head h3 { font-size: .95rem; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 9px; }
.panel__head h3 i { color: var(--gold-deep); font-size: .9em; }
.panel__body { padding: 18px; }
.panel__body.flush { padding: 0; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,230px), 1fr)); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; color: var(--ink-dim); }
.field small { font-size: .71rem; color: var(--ink-faint); }
.field.full { grid-column: 1 / -1; }

/* ---------- فارغ ---------- */
.empty__icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; color: rgba(227,176,75,.35);
  background: radial-gradient(circle, rgba(227,176,75,.07), transparent 70%);
  border: 1px solid var(--line-soft);
}

/* ---------- الطباعة ---------- */
@media print {
  .header, .footer, .topbar, .drawer, .modal-backdrop, .toasts, .hero__mute, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- شريط الأدمن العلوي ---------- */
.admin-top {
  display: flex; align-items: center; gap: 12px;
  height: 58px; padding-inline: clamp(12px, 2.5vw, 24px);
}
.admin-top__spacer { flex: 1; }
.admin-burger { display: none; }
@media (max-width: 1000px) { .admin-burger { display: inline-flex; } }
.admin-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.admin-brand__mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(227,176,75,.22), rgba(46,158,126,.16));
  border: 1px solid rgba(227,176,75,.3); color: var(--gold); font-size: .86rem;
}
.admin-brand__txt { display: flex; flex-direction: column; line-height: 1.15; font-size: .86rem; color: var(--ink); font-weight: 600; }
.admin-brand__txt small { font-size: .62rem; letter-spacing: .12em; color: var(--ink-faint); font-weight: 400; text-transform: uppercase; }
@media (max-width: 620px) { .admin-brand__txt { display: none; } }

.admin-badge {
  position: relative; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; text-transform: none; padding: 0;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02);
  color: var(--ink-dim); font-size: .85rem; text-decoration: none; transition: all .2s var(--ease);
}
.admin-badge:hover { color: var(--gold); border-color: rgba(227,176,75,.3); }
.admin-badge b {
  position: absolute; top: -5px; inset-inline-end: -5px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--clay); color: #fff; font-size: .6rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--night);
}
.admin-user { display: flex; align-items: center; gap: 9px; padding-inline: 4px; }
.admin-user__meta { display: flex; flex-direction: column; line-height: 1.2; }
.admin-user__meta b { font-size: .8rem; color: var(--ink); font-weight: 500; }
.admin-user__meta small { font-size: .66rem; color: var(--ink-faint); }
@media (max-width: 780px) { .admin-user__meta { display: none; } }

.side-group__t { display: block; font-size: .63rem; letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; padding: 16px 10px 6px; }
.side-group + .side-group { border-top: 1px solid var(--line-soft); }
.side-foot { margin-top: 22px; padding: 0 8px; }
@media (max-width: 1000px) {
  .admin-side.open {
    display: block; position: fixed; inset-block: 58px 0; inset-inline-start: 0;
    width: 250px; z-index: 95; background: #100D13; box-shadow: 0 0 40px rgba(0,0,0,.6);
  }
}

/* الصفحة الخطأ */
.errpage { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 70px 20px; }
.errpage__code {
  font-family: var(--font-display); font-size: clamp(5rem, 18vw, 10rem); line-height: .85;
  background: linear-gradient(180deg, var(--gold), rgba(227,176,75,.06));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.errpage h1 { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); margin: 14px 0 10px; color: var(--ink); }
.errpage p { color: var(--ink-dim); max-width: 460px; margin: 0 auto 26px; line-height: 1.8; }
.errpage__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* المصادقة */
.authpage { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 60px); }
@media (max-width: 900px) { .authpage { grid-template-columns: 1fr; } .authpage__art { display: none; } }
.authpage__art {
  position: relative; overflow: hidden; display: grid; place-items: center; padding: 40px;
  background: radial-gradient(120% 90% at 70% 10%, rgba(227,176,75,.12), transparent 60%), #0A080C;
  border-inline-start: 1px solid var(--line-soft);
}
.authpage__art video, .authpage__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.authpage__artin { position: relative; z-index: 2; max-width: 380px; text-align: center; }
.authpage__artin h2 { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); margin-bottom: 12px; }
.authpage__artin p { color: var(--ink-dim); line-height: 1.9; font-size: .9rem; }
.authpage__perks { list-style: none; margin-top: 26px; display: grid; gap: 11px; text-align: start; }
.authpage__perks li { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-dim); }
.authpage__perks i { color: var(--oasis); margin-top: 4px; }
.authpage__form { display: grid; place-items: center; padding: 50px clamp(18px, 5vw, 60px); }
.authcard { width: 100%; max-width: 400px; }
.authcard h1 { font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); margin-bottom: 8px; }
.authcard > p { color: var(--ink-faint); font-size: .85rem; margin-bottom: 26px; }
.authcard form { display: grid; gap: 15px; }
.authcard .alert { margin-bottom: 4px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: .85rem; color: var(--ink-faint); }
.auth-alt a { color: var(--gold); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; }
.check { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-dim); cursor: pointer; font-size: .8rem; }
.check input { accent-color: var(--gold); width: 15px; height: 15px; }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-md); font-size: .84rem; line-height: 1.7;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); color: var(--ink-dim);
}
.alert i { margin-top: 3px; }
.alert-error   { border-color: rgba(196,82,62,.35);  background: rgba(196,82,62,.08);  color: #E9A296; }
.alert-success { border-color: rgba(70,169,107,.35); background: rgba(70,169,107,.08); color: #8FD4AB; }
.alert-info    { border-color: rgba(227,176,75,.3);  background: rgba(227,176,75,.06); color: var(--sand); }
.alert-warn    { border-color: rgba(255,157,60,.3);  background: rgba(255,157,60,.07); color: #FFC48A; }

/* ---------- ترويسة الصفحة والمسار ---------- */
.page-head {
  max-width: var(--wrap, 1320px); margin-inline: auto;
  padding: 34px clamp(14px, 3vw, 28px) 22px;
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--ink-faint); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-faint); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-size: .62rem; opacity: .5; }
.crumbs span { color: var(--sand); }
.page-head h1 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  color: var(--ink); line-height: 1.25; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.page-head h1 i { color: var(--gold-deep); font-size: .78em; }
.page-head > p { color: var(--ink-dim); margin-top: 10px; max-width: 640px; line-height: 1.85; font-size: .92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip.active { background: rgba(227,176,75,.12); border-color: rgba(227,176,75,.42); color: var(--gold); }

.shop-main { min-width: 0; }
.toolbar__sort { display: flex; align-items: center; gap: 9px; }
.toolbar__sort label { font-size: .78rem; color: var(--ink-faint); white-space: nowrap; }
.toolbar__sort .select { min-width: 170px; padding-block: 7px; font-size: .82rem; }

.fbox h4 { font-size: .82rem; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.fbox h4 i { color: var(--gold-deep); font-size: .88em; }
.fbox--promo { text-align: center; background: radial-gradient(120% 100% at 50% 0%, rgba(227,176,75,.08), transparent 70%); }
.fbox--promo > i { font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 10px; }
.fbox--promo h4 { justify-content: center; }
.fbox--promo p { font-size: .79rem; color: var(--ink-faint); line-height: 1.75; margin-bottom: 14px; }

.pager .disabled { opacity: .32; pointer-events: none; }
.pager__gap { border: none !important; opacity: .5; }

/* ==========================================================================
   المرحلة 1 — مسار الشراء (السلة · الدفع · نجاح الطلب)
   ========================================================================== */

/* ---------- صفحة السلة ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 26px;
  align-items: start;
}
.cart-main { min-width: 0; }
/* min-width:0 ضروري — بدونه يفرض العمود `min-content` عرضًا أكبر من المسار
   فينهار التخطيط لعمود واحد ويظهر تمرير أفقي على 360px */
.cart-side { position: sticky; top: 96px; min-width: 0; }

.citem {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.citem:last-child { border-bottom: none; }
.citem:hover { background: rgba(227,176,75,.022); }

.citem__img {
  width: 92px; height: 68px;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--dune-soft), var(--dune-deep));
  border: 1px solid var(--line-soft);
  color: rgba(227,176,75,.26);
  font-size: 1.1rem;
  transition: border-color .25s var(--ease);
}
.citem__img:hover { border-color: var(--line-strong); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }

.citem__info { min-width: 0; }
.citem__cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .69rem; color: var(--ink-faint); margin-bottom: 5px;
}
.citem__cat i { font-size: .9em; opacity: .7; }
.citem__title { font-size: .93rem; line-height: 1.55; font-weight: 500; }
.citem__title a { color: var(--ink); transition: color .22s var(--ease); }
.citem__title a:hover { color: var(--gold); }
.citem__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.citem__unit { font-size: .74rem; color: var(--ink-faint); margin-top: 8px; }
.citem__unit b { color: var(--ink-soft); font-weight: 500; font-variant-numeric: tabular-nums; }

.citem__qty { display: flex; justify-content: center; }
.citem__qty .qty button:disabled { opacity: .28; cursor: not-allowed; }
.citem__qty-fixed {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .73rem; color: var(--water);
  padding: 6px 11px; border-radius: 20px;
  border: 1px solid rgba(58,166,196,.26);
  background: rgba(58,166,196,.07);
  white-space: nowrap;
}

.citem__total { text-align: end; min-width: 92px; }
.citem__total b {
  display: block; font-size: 1rem; color: var(--gold);
  font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.citem__total small { font-size: .69rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.citem__del .icon-btn { width: 30px; height: 30px; font-size: .78rem; }
.citem__del .icon-btn:hover { color: #E08272; border-color: rgba(196,82,62,.34); }

.cart-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.cart-note {
  font-size: .78rem; color: #E5AB55; line-height: 1.75;
  display: flex; align-items: flex-start; gap: 8px; max-width: 52ch;
}
.cart-note i { margin-top: 4px; }
.cart-note b { color: var(--gold); }

.cart-assure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-assure__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 17px;
  background: rgba(18,15,20,.72);
}
.cart-assure__item > i { color: var(--gold-deep); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.cart-assure__item b { display: block; font-size: .81rem; color: var(--ink); font-weight: 500; margin-bottom: 3px; }
.cart-assure__item span { display: block; font-size: .72rem; color: var(--ink-faint); line-height: 1.7; }

/* ---------- بطاقة الملخّص ---------- */
.sum-card { margin-bottom: 0; }
.sum-card__hint {
  font-size: .74rem; color: var(--ink-faint); line-height: 1.8;
  margin-top: 14px; display: flex; align-items: flex-start; gap: 8px;
}
.sum-card__hint i { color: var(--gold-deep); margin-top: 4px; flex-shrink: 0; }
.sum-card__hint a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.sum-card__hint b { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- الكوبون ---------- */
.coupon-form__row { display: flex; gap: 8px; }
.coupon-form__row .input { flex: 1; min-width: 0; font-size: .84rem; }
.coupon-form__row .btn { flex-shrink: 0; }
.coupon-on {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(46,158,126,.4);
  border-radius: var(--r-sm);
  background: rgba(46,158,126,.07);
}
.coupon-on__label { display: block; font-size: .68rem; color: var(--ink-faint); margin-bottom: 3px; }
.coupon-on b { font-size: .9rem; color: #4FCCA6; letter-spacing: .04em; }
.coupon-on small { display: block; font-size: .7rem; color: var(--ink-faint); margin-top: 3px; }

/* ---------- صفحة الدفع ---------- */
.checkout__main { min-width: 0; }
.checkout__side { min-width: 0; }
.pay-opt.is-disabled { opacity: .55; cursor: not-allowed; }
.pay-opt.is-disabled .pay-opt__row { pointer-events: auto; }
.pay-opt--wallet { border-color: rgba(46,158,126,.28); background: rgba(46,158,126,.045); }
.pay-opt--wallet .pay-opt__icon { color: #4FCCA6; background: rgba(46,158,126,.1); }
.pay-opt--wallet:has(input:checked) { border-color: rgba(46,158,126,.5); background: rgba(46,158,126,.09); }
.pay-opt .keybox { margin-top: 10px; }

.buyer-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: rgba(12,10,14,.35);
}
.buyer-chip > div { flex: 1; min-width: 0; }
.buyer-chip b { display: block; font-size: .92rem; color: var(--ink); font-weight: 500; }
/* ⚠️ محصور على أبناء div — وإلا أصاب `span.avatar` فأفسد حجم الحرف وتوسيطه */
.buyer-chip > div span { display: block; font-size: .76rem; color: var(--ink-faint); direction: ltr; text-align: start; }

.order-lines { display: flex; flex-direction: column; }
.checkout__perks {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.checkout__perks span { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--ink-faint); }
.checkout__perks i { color: var(--oasis); width: 14px; }

/* ---------- صفحة نجاح الطلب ---------- */
.succ-card {
  text-align: center;
  padding: 40px clamp(18px, 4vw, 44px);
  margin-bottom: 24px;
  border: 1px solid rgba(46,158,126,.2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(110% 130% at 50% -10%, rgba(46,158,126,.1), transparent 62%),
    linear-gradient(165deg, rgba(30,26,32,.5), rgba(12,10,14,.8));
}
.succ-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}
.succ-card > p {
  font-size: .92rem; color: var(--ink-dim); line-height: 1.9;
  max-width: 54ch; margin-inline: auto;
}
.succ-card > p b { color: var(--sand); }

.succ-num { max-width: 330px; margin: 24px auto 0; }
.succ-num > span {
  display: block; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px;
}
.succ-num .keybox { font-size: .95rem; letter-spacing: .06em; }
.succ-num .keybox button { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; white-space: nowrap; }
.succ-num > small { display: block; font-size: .71rem; color: var(--ink-faint); margin-top: 9px; line-height: 1.7; }

.succ-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.succ-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
}
.succ-main { min-width: 0; }
.succ-side { position: sticky; top: 96px; min-width: 0; }

.panel--spot {
  border-color: rgba(227,176,75,.3);
  box-shadow: 0 0 0 1px rgba(227,176,75,.06), 0 18px 44px -28px rgba(227,176,75,.28);
}

.pay-steps__lead { font-size: .88rem; color: var(--ink-soft); line-height: 1.9; }
.pay-target { margin-top: 15px; }
.pay-target__label {
  display: flex; align-items: center; gap: 7px;
  font-size: .72rem; color: var(--ink-faint); margin-bottom: 7px;
}
.pay-target__label i { color: var(--gold-deep); }

.pay-steps { list-style: none; counter-reset: ps; display: grid; gap: 12px; }
.pay-steps li {
  counter-increment: ps;
  position: relative;
  padding-inline-start: 34px;
  font-size: .84rem;
  color: var(--ink-dim);
  line-height: 1.85;
}
.pay-steps li::before {
  content: counter(ps);
  position: absolute; inset-inline-start: 0; top: 1px;
  width: 23px; height: 23px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .71rem;
  color: var(--gold);
  border: 1px solid rgba(227,176,75,.3);
  background: rgba(227,176,75,.08);
  font-variant-numeric: tabular-nums;
}
.pay-steps li b { color: var(--ink); font-weight: 500; }
.pay-steps li a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- قائمة مفتاح/قيمة ---------- */
.kv { display: grid; gap: 1px; }
.kv > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.kv > div:last-child { border-bottom: none; }
.kv dt { font-size: .75rem; color: var(--ink-faint); }
.kv dd { font-size: .83rem; color: var(--ink-soft); min-width: 0; }

/* ---------- استجابة مسار الشراء ---------- */
@media (max-width: 1100px) {
  .cart-layout,
  .succ-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-side,
  .succ-side { position: static; }
}
@media (max-width: 780px) {
  .citem {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas:
      'img info del'
      'img qty total';
    row-gap: 12px;
    padding: 15px 14px;
  }
  .citem__img  { grid-area: img; width: 76px; height: 76px; align-self: start; }
  .citem__info { grid-area: info; }
  .citem__qty  { grid-area: qty; justify-content: start; }
  .citem__total { grid-area: total; }
  .citem__del  { grid-area: del; align-self: start; }
  .citem__unit { display: none; }
  .progress-steps { margin-bottom: 22px; }
  .pstep span:not(.pstep__dot) { font-size: .68rem; }
}
@media (max-width: 480px) {
  /* ⚠️ على 360px كان المسار يُحسب `62px 56px 92px` — الصورة وعمود الإجمالي
     يأكلان الصف فيبقى للعنوان 56px فقط فينكسر إلى 5 أسطر.
     الحل: الإجمالي والكمية ينزلان أسفل العنوان، فيبقى عمود المعلومات ~132px */
  .citem {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas:
      'img info del'
      'img qty  qty'
      'img tot  tot';
    column-gap: 10px;
    row-gap: 9px;
    padding: 14px 12px;
  }
  .citem__img { width: 52px; height: 52px; }
  .citem__title { font-size: .85rem; line-height: 1.5; }
  .citem__tags { margin-top: 6px; }
  .citem__total {
    grid-area: tot;
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
    text-align: start; min-width: 0;
  }
  .citem__total b { display: inline; font-size: .95rem; }
  .cart-actions { flex-direction: column; align-items: stretch; }
  .succ-card { padding: 30px 16px; border-radius: var(--r-lg); }
  .kv > div { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
  /* الأفاتار 56px يزحم الشريحة على الشاشات الضيقة ويكسر الاسم لسطرين */
  .buyer-chip { gap: 11px; padding: 12px 13px; }
  .buyer-chip .avatar-lg { width: 42px; height: 42px; font-size: 1rem; }
  .buyer-chip b { font-size: .86rem; }
  .buyer-chip > div span { font-size: .72rem; }
}

/* ── أدوات مساعدة للمرحلة 1 (بديل الأنماط السطرية) ── */
.wrap--pb   { padding-bottom: 70px; }
.wrap--pt   { padding-block: 44px 0; }
.divider--tight { margin-block: 14px; }
.divider--mid   { margin-block: 16px; }
.divider--wide  { margin-block: 18px; }
.link-gold  { color: var(--gold); }
.link-gold:hover { color: var(--gold-bright); }
.txt-ok     { color: var(--oasis); }
.txt-gold-b { color: var(--gold); }
.txt-bad    { color: #E08272; }
.flex-fill  { flex: 1; min-width: 0; }
.mb-panel   { margin-bottom: 22px; }
.pay-opt__fees { margin-top: 12px; font-size: .75rem; color: var(--ink-faint); }
.pay-icons--center { justify-content: center; margin-top: 16px; }
.keybox--wide { min-width: 210px; }
.stack-sm   { display: grid; gap: 9px; }
.stack-xs   { display: grid; gap: 8px; }
.note-pre   { line-height: 1.9; white-space: pre-wrap; }

/* ==========================================================================
   المرحلة 2 — العروض والخصومات (/deals)
   ========================================================================== */
.eyebrow--amber { color: var(--amber-glow); }
.eyebrow--amber::before { background: linear-gradient(90deg, transparent, var(--amber-glow)); }

/* أزرار متعدّدة داخل حالة الفراغ */
.empty__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.deals-band { text-align: center; }
.deals-band__meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 9px; margin-top: 16px;
}
.deals-band__ends { margin-top: 18px; font-size: .8rem; color: var(--ink-faint); }
.deals-band__ends b { color: var(--sand); font-weight: 500; }

/* ---------- بطاقة كوبون ---------- */
.cpn {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(30,26,32,.5), rgba(14,12,16,.8));
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease-out);
}
.cpn:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.cpn__val {
  padding: 18px 20px 15px;
  text-align: center;
  border-bottom: 1px dashed var(--line);
  background: radial-gradient(ellipse 90% 130% at 50% 0%, rgba(227,176,75,.09), transparent 68%);
}
.cpn__val b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.cpn__val span { font-size: .68rem; color: var(--ink-faint); letter-spacing: .06em; }

.cpn__body { padding: 16px 18px; display: grid; gap: 12px; flex: 1; }
.cpn__desc { font-size: .82rem; color: var(--ink-dim); line-height: 1.85; }
.cpn__terms { display: grid; gap: 7px; }
.cpn__terms li {
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--ink-faint);
}
.cpn__terms li i { color: var(--gold-deep); font-size: .8em; flex-shrink: 0; width: 13px; text-align: center; }
.cpn__terms b { color: var(--ink-soft); font-weight: 500; font-variant-numeric: tabular-nums; }

.cpn__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  background: rgba(8,6,10,.35);
  font-size: .73rem; color: var(--ink-faint);
}
.cpn__foot > span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 480px) {
  .cpn__val b { font-size: 1.65rem; }
  .cpn__foot { flex-direction: column; align-items: stretch; }
  .cpn__foot .btn { width: 100%; }
}

/* ==========================================================================
   المرحلة 2 — المنتجات الحصرية (/exclusive)
   ========================================================================== */

/* ---------- فلسفة الحصري ---------- */
.xintro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-block: clamp(24px, 3.5vw, 40px);
}
.xintro__text { min-width: 0; }
.xintro__text h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); margin: 8px 0 14px; }
.xintro__text > p { font-size: .93rem; color: var(--ink-dim); line-height: 2; max-width: 62ch; }

.xperks { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.xperks li { display: flex; align-items: flex-start; gap: 12px; font-size: .86rem; color: var(--ink-dim); line-height: 1.85; }
.xperks li > i {
  flex-shrink: 0; margin-top: 5px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .76rem;
  color: var(--water);
  background: rgba(58,166,196,.09);
  border: 1px solid rgba(58,166,196,.22);
}
.xperks b { color: var(--ink); font-weight: 500; }

.xintro__stats {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.xstat {
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(30,26,32,.5), rgba(12,10,14,.75));
  transition: border-color .3s var(--ease);
}
.xstat:hover { border-color: var(--line-strong); }
.xstat--wide { grid-column: 1 / -1; }
.xstat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.xstat span { display: block; font-size: .72rem; color: var(--ink-faint); margin-top: 6px; line-height: 1.6; }

/* ---------- شبكة الحصريات المتاحة ---------- */
.xgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 22px;
}
.xcard--full { gap: 0; }
.xcard--full h3 { margin-bottom: 9px; }
.xcard--full h3 a { color: var(--ink); transition: color .22s var(--ease); }
.xcard--full h3 a:hover { color: var(--gold); }
.xcard--full > p { margin-bottom: 14px; }

.xcard__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 15px;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(140deg, var(--dune-soft), var(--dune-deep));
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: rgba(58,166,196,.24);
  font-size: 2.4rem;
  transition: border-color .3s var(--ease);
}
.xcard__media:hover { border-color: rgba(58,166,196,.36); }
.xcard__media img { width: 100%; height: 100%; object-fit: cover; }

.xcard__cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; color: var(--ink-faint); margin-bottom: 8px;
}
.xcard__cat i { opacity: .7; font-size: .92em; }

.xcard__perks { list-style: none; display: grid; gap: 7px; margin-bottom: 16px; }
.xcard__perks li { display: flex; align-items: center; gap: 9px; font-size: .76rem; color: var(--ink-faint); }
.xcard__perks i { color: var(--water); font-size: .82em; width: 14px; text-align: center; flex-shrink: 0; }

.xcard__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; min-width: 0; }
.xcard__price b {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.xcard__price del { font-size: .82rem; color: var(--ink-faint); }
.xcard__acts { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- أرشيف المُباع ---------- */
.xsold {
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(14,12,16,.6);
  opacity: .72;
  transition: opacity .3s var(--ease);
}
.xsold:hover { opacity: 1; }
.xsold__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--dune-deep), var(--void));
  color: rgba(255,255,255,.08);
  font-size: 1.9rem;
  filter: grayscale(1);
}
.xsold__media img { width: 100%; height: 100%; object-fit: cover; }
.xsold__stamp {
  position: absolute; inset-inline-end: 9px; top: 9px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .66rem;
  color: var(--ink-dim);
  background: rgba(8,6,10,.82);
  border: 1px solid var(--line-cool);
  backdrop-filter: blur(4px);
}
.xsold__body { padding: 13px 14px 15px; }
.xsold__cat { display: block; font-size: .68rem; color: var(--ink-faint); margin-bottom: 5px; }
.xsold__body h3 { font-size: .85rem; color: var(--ink-dim); font-weight: 500; line-height: 1.6; }
.xsold__date {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 9px; font-size: .69rem; color: var(--ink-faint);
}

@media (max-width: 1024px) {
  .xintro { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .xintro__stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
  .xstat--wide { grid-column: auto; }
}
@media (max-width: 480px) {
  .xcard__acts { width: 100%; }
  .xcard__acts .btn { flex: 1; justify-content: center; }
  .xstat b { font-size: 1.5rem; }
}

/* ==========================================================================
   المرحلة 2 — تتبّع الطلب (/track)
   ========================================================================== */
/* أرقام/أكواد بمحاذاة لاتينية ثابتة العرض */
.mono {
  direction: ltr; unicode-bidi: isolate;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}
code.mono {
  background: rgba(227,176,75,.08);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: var(--r-xs);
  font-size: .88em;
}

.track-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.track-form-col { min-width: 0; position: sticky; top: 96px; }
.track-result-col { min-width: 0; }

/* ---------- خط زمني للحالات ---------- */
.tline { list-style: none; display: grid; gap: 0; }
.tline__item {
  position: relative;
  display: flex; align-items: flex-start; gap: 15px;
  padding-bottom: 22px;
}
.tline__item:last-child { padding-bottom: 0; }
/* الخط الواصل بين النقاط */
.tline__item:not(:last-child)::before {
  content: '';
  position: absolute;
  inset-inline-start: 16px;
  top: 34px; bottom: 4px;
  width: 1px;
  background: var(--line-soft);
}
.tline__item.done:not(:last-child)::before { background: rgba(46,158,126,.32); }

.tline__dot {
  flex-shrink: 0;
  width: 33px; height: 33px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .8rem;
  color: var(--ink-faint);
  border: 1px solid var(--line-cool);
  background: rgba(18,15,20,.9);
  position: relative; z-index: 1;
  transition: all .3s var(--ease);
}
.tline__item.done .tline__dot {
  color: var(--oasis);
  border-color: rgba(46,158,126,.4);
  background: rgba(46,158,126,.1);
}
.tline__item.active .tline__dot {
  color: var(--gold);
  border-color: rgba(227,176,75,.48);
  background: rgba(227,176,75,.12);
  box-shadow: 0 0 0 4px rgba(227,176,75,.07);
}

.tline__body { min-width: 0; padding-top: 3px; }
.tline__body b { display: block; font-size: .89rem; color: var(--ink-dim); font-weight: 500; }
.tline__item.done .tline__body b,
.tline__item.active .tline__body b { color: var(--ink); }
.tline__body > span { display: block; font-size: .78rem; color: var(--ink-faint); line-height: 1.8; margin-top: 4px; }
.tline__body small {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: .71rem; color: var(--gold);
}

@media (max-width: 1024px) {
  .track-layout { grid-template-columns: minmax(0, 1fr); }
  .track-form-col { position: static; }
}

/* ==========================================================================
   المرحلة 2 — الأسئلة الشائعة (/faq)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.faq-side { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 18px; }

.faq-search { position: relative; }
.faq-search i {
  position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint); font-size: .82rem; pointer-events: none;
}
.faq-search .input { padding-inline-start: 36px; }

.faq-nav {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 4px 6px 8px;
}
.faq-nav .side-link { font-size: .845rem; }
.faq-nav .pill {
  min-width: 22px; text-align: center; font-size: .68rem; padding: 2px 6px;
  border-radius: 99px; background: rgba(255,255,255,.05); color: var(--ink-dim);
}

.faq-help {
  border: 1px solid rgba(227,176,75,.22); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(227,176,75,.08), rgba(20,17,22,.5));
  padding: 18px 17px; text-align: center;
}
.faq-help i { font-size: 1.35rem; color: var(--gold-deep); }
.faq-help h4 { margin: 9px 0 6px; font-size: .94rem; color: var(--ink); }
.faq-help p { font-size: .8rem; color: var(--ink-dim); line-height: 1.8; margin-bottom: 14px; }

.faq-main { display: grid; gap: 30px; }
.faq-group__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.faq-group__head i { color: var(--gold-deep); font-size: .95rem; }
.faq-group__head h2 { font-size: 1.08rem; color: var(--ink); margin: 0; }
.faq-group__n {
  font-size: .68rem; color: var(--ink-faint); background: rgba(255,255,255,.05);
  border-radius: 99px; padding: 2px 8px;
}
.faq-main .acc__a > div a { color: var(--gold); }

@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .faq-side { position: static; }
  .faq-nav { display: none; }
}

/* ==========================================================================
   المرحلة 2 — الصفحات الثابتة (/page/:slug)
   ========================================================================== */
.doc-stamp { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-faint); }
.doc-stamp i { font-size: .78rem; color: var(--gold-deep); }
.doc-stamp__ago { color: var(--ink-faint); opacity: .75; }

.doc {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.4); padding: 34px 32px;
}
.doc .prose { max-width: 70ch; }
.doc .prose > :first-child { margin-top: 0; }

.doc-more { margin-bottom: 26px; }
.doc-more .side-group__t { padding-inline-start: 0; margin-bottom: 10px; }

.doc-ask {
  margin-top: 26px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border: 1px solid rgba(227,176,75,.2); border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(227,176,75,.07), rgba(20,17,22,.45));
  padding: 20px 22px;
}
.doc-ask h4 { font-size: .96rem; color: var(--ink); margin: 0 0 6px; }
.doc-ask h4 i { color: var(--gold-deep); margin-inline-end: 6px; }
.doc-ask p { font-size: .83rem; color: var(--ink-dim); margin: 0; }
.doc-ask__acts { display: flex; gap: 9px; flex-shrink: 0; }

@media (max-width: 640px) {
  .doc { padding: 24px 19px; }
  .doc-ask { flex-direction: column; align-items: stretch; }
  .doc-ask__acts .btn { flex: 1; }
}

/* ==========================================================================
   المرحلة 2 — طلب تصميم مخصّص (/custom-order)
   ========================================================================== */
.cq-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cq-step {
  position: relative; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 24px 21px 21px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.cq-step:hover { border-color: rgba(227,176,75,.3); transform: translateY(-2px); }
.cq-step__n {
  position: absolute; top: -12px; inset-inline-start: 20px;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; font-size: .74rem; font-weight: 700;
  background: var(--gold-deep); color: var(--void);
}
.cq-step > i { font-size: 1.4rem; color: var(--gold-deep); }
.cq-step h3 { font-size: .99rem; color: var(--ink); margin: 12px 0 8px; }
.cq-step p { font-size: .83rem; color: var(--ink-dim); line-height: 1.85; margin: 0; }

.cq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 26px; align-items: start; }
.cq-form-col { min-width: 0; }
.cq-side { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 18px; min-width: 0; }

.cq-assure {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(107,138,110,.28); border-radius: var(--r);
  background: rgba(107,138,110,.08); padding: 12px 14px;
  font-size: .82rem; color: var(--ink-soft); line-height: 1.7;
}
.cq-assure i { color: var(--oasis); flex-shrink: 0; }

.cq-svc {
  display: flex; align-items: center; gap: 12px; padding: 14px 17px;
  border-bottom: 1px solid var(--line-soft); transition: background .25s var(--ease);
}
.cq-svc:last-child { border-bottom: none; }
.cq-svc:hover { background: rgba(227,176,75,.05); }
.cq-svc strong { display: block; font-size: .855rem; color: var(--ink); line-height: 1.5; }
.cq-svc span { display: block; font-size: .755rem; color: var(--ink-faint); margin-top: 4px; line-height: 1.6; }
.cq-svc__price { font-size: .84rem; color: var(--gold); white-space: nowrap; flex-shrink: 0; }

.cq-why {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 19px 18px;
}
.cq-why ul { margin-top: 12px; display: grid; gap: 10px; }
.cq-why li { display: flex; gap: 9px; font-size: .81rem; color: var(--ink-dim); line-height: 1.75; }
.cq-why li i { color: var(--oasis); font-size: .78rem; margin-top: 5px; flex-shrink: 0; }

.cq-next { text-align: start; max-width: 46ch; margin-inline: auto; }
.cq-next h3 { font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.cq-next ul { display: grid; gap: 10px; }
.cq-next li { display: flex; gap: 9px; font-size: .84rem; color: var(--ink-dim); line-height: 1.8; }
.cq-next li i { color: var(--gold-deep); font-size: .8rem; margin-top: 5px; flex-shrink: 0; }

@media (max-width: 1024px) {
  .cq-layout { grid-template-columns: minmax(0, 1fr); }
  .cq-side { position: static; }
}
@media (max-width: 720px) {
  .cq-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* ==========================================================================
   المرحلة 2 — مركز الدعم (/support)
   ========================================================================== */
.sup-open {
  display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
  border: 1px solid rgba(216,158,58,.3); border-radius: var(--r-lg);
  background: linear-gradient(115deg, rgba(216,158,58,.1), rgba(20,17,22,.5));
  padding: 16px 19px; transition: border-color .3s var(--ease);
}
.sup-open:hover { border-color: rgba(227,176,75,.5); }
.sup-open > i { font-size: 1.25rem; color: var(--gold-deep); flex-shrink: 0; }
.sup-open strong { display: block; font-size: .92rem; color: var(--ink); }
.sup-open span:not(.btn) { display: block; font-size: .8rem; color: var(--ink-dim); margin-top: 4px; }
.sup-open .btn { flex-shrink: 0; }

.sup-depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.sup-dept {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 22px 20px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.sup-dept:hover {
  border-color: rgba(227,176,75,.34); transform: translateY(-3px);
  background: rgba(227,176,75,.05);
}
.sup-dept__icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r);
  background: rgba(227,176,75,.1); border: 1px solid rgba(227,176,75,.2);
  color: var(--gold-deep); font-size: 1.02rem;
}
.sup-dept h3 { font-size: .95rem; color: var(--ink); margin: 14px 0 8px; }
.sup-dept p { font-size: .8rem; color: var(--ink-dim); line-height: 1.8; margin: 0 0 16px; flex: 1; }
.sup-dept__go { font-size: .78rem; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.sup-dept__go i { font-size: .7rem; transition: transform .25s var(--ease); }
.sup-dept:hover .sup-dept__go i { transform: translateX(-3px); }

.sup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 30px; align-items: start; }
.sup-main { min-width: 0; }
.sup-side { position: sticky; top: calc(var(--nav-h) + 18px); min-width: 0; }
.sup-main .acc + .acc { margin-top: 10px; }
.sup-form-foot { flex-wrap: wrap; gap: 12px; }
.sup-form-foot .hint { margin: 0; }

.sup-ch {
  display: flex; align-items: center; gap: 12px; padding: 14px 17px;
  border-bottom: 1px solid var(--line-soft); transition: background .25s var(--ease);
}
.sup-ch:last-child { border-bottom: none; }
a.sup-ch:hover { background: rgba(227,176,75,.05); }
.sup-ch > i { width: 20px; text-align: center; color: var(--gold-deep); font-size: .95rem; flex-shrink: 0; }
.sup-ch strong { display: block; font-size: .82rem; color: var(--ink); }
.sup-ch span { display: block; font-size: .77rem; color: var(--ink-dim); margin-top: 3px; }

.sup-sla {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 19px 18px;
}
.sup-sla ul { margin-top: 12px; display: grid; gap: 11px; }
.sup-sla li { display: flex; gap: 9px; font-size: .81rem; color: var(--ink-dim); line-height: 1.78; }
.sup-sla li i { color: var(--oasis); font-size: .8rem; margin-top: 5px; flex-shrink: 0; }
.sup-sla li b { color: var(--sand); }

@media (max-width: 1100px) {
  .sup-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .sup-layout { grid-template-columns: minmax(0, 1fr); }
  .sup-side { position: static; }
}
@media (max-width: 560px) {
  .sup-depts { grid-template-columns: minmax(0, 1fr); }
  .sup-open { flex-wrap: wrap; }
  .sup-open .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   المرحلة 3 — هيكل صفحات الحساب (.acc-layout + الشريط الجانبي)
   ========================================================================== */
.acc-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.acc-side { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 14px; min-width: 0; }
.acc-main { min-width: 0; display: grid; gap: 24px; }

.acc-card {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(227,176,75,.07), rgba(20,17,22,.55));
  overflow: hidden;
}
.acc-card__top { display: flex; align-items: center; gap: 12px; padding: 17px 16px 15px; }
.acc-ava {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: rgba(227,176,75,.14); border: 1px solid rgba(227,176,75,.28);
  color: var(--gold); font-family: var(--font-display); font-size: 1.15rem;
}
.acc-ava img { width: 100%; height: 100%; object-fit: cover; }
.acc-card__id { min-width: 0; }
.acc-card__id strong { display: block; font-size: .9rem; color: var(--ink); line-height: 1.4; }
.acc-card__id span { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 3px; }

.acc-card__nums { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-soft); }
.acc-num { padding: 12px 14px; transition: background .25s var(--ease); }
.acc-num + .acc-num { border-inline-start: 1px solid var(--line-soft); }
.acc-num:hover { background: rgba(227,176,75,.06); }
.acc-num span { display: block; font-size: .68rem; color: var(--ink-faint); }
.acc-num b { display: block; font-size: .88rem; color: var(--ink); margin-top: 4px; }
.acc-num b i { font-size: .68rem; color: var(--gold-deep); }

.acc-nav {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(20,17,22,.45); padding: 5px 6px 7px;
}
.acc-nav .side-link { font-size: .855rem; }
.acc-nav .pill {
  min-width: 21px; text-align: center; font-size: .67rem; padding: 2px 6px;
  border-radius: 99px; background: rgba(255,255,255,.06); color: var(--ink-dim);
}
.acc-out .btn { color: var(--ink-faint); }
.acc-out .btn:hover { color: var(--danger); }

/* رأس داخلي مشترك لصفحات الحساب */
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.acc-head h1 { font-size: 1.42rem; color: var(--ink); margin: 0; }
.acc-head h1 i { color: var(--gold-deep); font-size: .92em; margin-inline-end: 8px; }
.acc-head p { font-size: .84rem; color: var(--ink-dim); margin: 7px 0 0; max-width: 62ch; line-height: 1.75; }
.acc-head__acts { display: flex; gap: 9px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .acc-side { position: static; }
  .acc-card__top { padding: 14px; }
  /* الشريط يتحوّل لقائمة أفقية قابلة للتمرير */
  .acc-nav {
    display: flex; gap: 6px; overflow-x: auto; padding: 7px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .acc-nav .side-link { white-space: nowrap; flex-shrink: 0; }
  .acc-nav .side-link.active::before { display: none; }
  .acc-nav .side-link .flex-fill { flex: 0 0 auto; }
  .acc-out { display: none; }
}

/* ==========================================================================
   المرحلة 3 — عناصر مشتركة داخل صفحات الحساب
   ========================================================================== */
.acc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* صف قائمة عام (تذكرة / إشعار / عنصر) */
.acc-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 17px;
  border-bottom: 1px solid var(--line-soft); transition: background .25s var(--ease);
}
.acc-row:last-child { border-bottom: none; }
a.acc-row:hover { background: rgba(227,176,75,.05); }
.acc-row strong { display: block; font-size: .855rem; color: var(--ink); line-height: 1.5; }
.acc-row small { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 4px; }
.acc-row.is-new { background: rgba(227,176,75,.045); }
.acc-row.is-new strong { color: var(--sand); }
.acc-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(227,176,75,.16);
}

/* صف تحميل (بصورة) */
.dl-row {
  display: flex; align-items: center; gap: 13px; padding: 12px 17px;
  border-bottom: 1px solid var(--line-soft); transition: background .25s var(--ease);
}
.dl-row:last-child { border-bottom: none; }
.dl-row:hover { background: rgba(227,176,75,.05); }
.dl-row__media {
  width: 54px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); color: var(--ink-faint);
}
.dl-row__media img { width: 100%; height: 100%; object-fit: cover; }
.dl-row strong { display: block; font-size: .865rem; color: var(--ink); line-height: 1.5; }
.dl-row small { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 4px; }
.dl-row__go { flex-shrink: 0; }

.acc-quiet { font-size: .84rem; color: var(--ink-dim); line-height: 1.85; margin: 0; }
.acc-quiet i { margin-inline-end: 6px; color: var(--gold-deep); }

.clamp-1 {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .acc-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dl-row__go span, .dl-row__go { font-size: .74rem; }
  .dl-row { padding: 12px 14px; }
  .acc-row { padding: 12px 14px; }
}
.acc-sub { display: block; font-size: .71rem; color: var(--ink-faint); margin-top: 3px; }

/* صف ترخيص (تفاصيل الطلب / التحميلات) */
.lic-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 17px;
  border-bottom: 1px solid var(--line-soft);
}
.lic-row:last-child { border-bottom: none; }
.lic-row strong { display: block; font-size: .875rem; color: var(--ink); margin-bottom: 8px; }
.lic-row small { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 8px; }
.lic-row .keybox { max-width: 360px; }
.lic-row > .btn, .lic-row > .badge { flex-shrink: 0; }
.acc-foot { flex-wrap: wrap; gap: 10px; }

@media (max-width: 560px) {
  .lic-row { flex-direction: column; align-items: stretch; }
  .lic-row > .btn { justify-content: center; }
}

/* ==========================================================================
   المرحلة 3 — مكتبة التحميلات
   ========================================================================== */
.dl-meter {
  height: 4px; border-radius: 99px; margin: 7px 0 6px;
  background: rgba(255,255,255,.07); overflow: hidden; max-width: 220px;
}
.dl-meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.dl-row.is-off { opacity: .62; }
.dl-row.is-off .dl-row__media { filter: grayscale(1); }

.cq-why-list { display: grid; gap: 11px; }
.cq-why-list li { display: flex; gap: 10px; font-size: .835rem; color: var(--ink-dim); line-height: 1.8; }
.cq-why-list li i { color: var(--gold-deep); font-size: .82rem; margin-top: 5px; flex-shrink: 0; width: 15px; text-align: center; }

/* ==========================================================================
   المرحلة 3 — تفاصيل الترخيص
   ========================================================================== */
.dlq__nums { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .83rem; color: var(--ink-dim); }
.dlq__nums b { color: var(--ink); }
.dl-meter--wide { max-width: none; margin: 9px 0 7px; height: 5px; }
.btn.disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ==========================================================================
   المرحلة 3 — المحفظة والنقاط
   ========================================================================== */
.wl-card {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(227,176,75,.1), rgba(20,17,22,.55));
  padding: 22px 22px 20px; position: relative; overflow: hidden;
}
.wl-card::after {
  content: ''; position: absolute; inset-inline-end: -30px; top: -30px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,176,75,.13), transparent 70%);
}
.wl-card--points { background: linear-gradient(155deg, rgba(107,138,110,.11), rgba(20,17,22,.55)); }
.wl-card--points::after { background: radial-gradient(circle, rgba(107,138,110,.15), transparent 70%); }
.wl-card__big {
  display: block; font-family: var(--font-display); font-size: 1.85rem;
  color: var(--gold); margin: 10px 0 8px; font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.wl-card__big i { font-size: .6em; color: var(--gold-deep); }
.wl-card--points .wl-card__big { color: var(--sand); }
.wl-card p { font-size: .83rem; color: var(--ink-dim); line-height: 1.8; margin: 0; position: relative; z-index: 1; }
.wl-card__meta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px;
  padding-top: 13px; border-top: 1px solid var(--line-soft);
  font-size: .77rem; color: var(--ink-faint); position: relative; z-index: 1;
}
.wl-card__meta i { margin-inline-end: 5px; }

/* ==========================================================================
   المرحلة 3 — الإشعارات
   ========================================================================== */
.nt-row { align-items: flex-start; }
.nt-row.is-new { background: rgba(227,176,75,.045); }
.nt-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-size: .88rem;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
  color: var(--ink-soft); margin-top: 1px;
}
.nt-ic.n-ok   { color: var(--oasis); border-color: rgba(107,138,110,.3); background: rgba(107,138,110,.1); }
.nt-ic.n-warn { color: var(--warn);  border-color: rgba(214,158,46,.3);  background: rgba(214,158,46,.1); }
.nt-ic.n-bad  { color: var(--danger);border-color: rgba(192,72,72,.3);   background: rgba(192,72,72,.1); }
.nt-ic.n-info { color: var(--water); border-color: rgba(90,138,168,.3);  background: rgba(90,138,168,.1); }

.nt-side {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end;
  gap: 7px; text-align: end; padding-inline-start: 10px;
}
.nt-side small { font-size: .72rem; color: var(--ink-faint); white-space: nowrap; }

@media (max-width: 560px) {
  .nt-row { flex-wrap: wrap; }
  .nt-side { flex-direction: row; align-items: center; width: 100%; padding: 0; }
}

/* ==========================================================================
   المرحلة 3 — تقييماتي
   ========================================================================== */
.stars-inline { display: inline-flex; gap: 3px; font-size: .78rem; color: var(--gold); }
.stars-inline .fa-regular { color: var(--line-strong); }

.rv-new {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: rgba(255,255,255,.018); padding: 15px 16px 16px;
}
.rv-new + .rv-new { margin-top: 12px; }
.rv-new__head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.rv-new__head .dl-row__media { flex-shrink: 0; }
.rv-new__head strong { display: block; font-size: .875rem; color: var(--ink); line-height: 1.5; }
.rv-new__head small { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 3px; }

.rv-form { display: grid; gap: 12px; }
.rv-form .form-grid { gap: 12px; }

.rv-item { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.rv-item:last-child { border-bottom: 0; }
.rv-item__top {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 9px;
}
.rv-item__top strong { font-size: .875rem; color: var(--ink); }
.rv-item__top small { font-size: .73rem; color: var(--ink-faint); }
.rv-item__body { font-size: .85rem; color: var(--ink-dim); line-height: 1.9; }
.rv-item__body p { margin: 0 0 6px; }
.rv-item__body p:last-child { margin-bottom: 0; }

.rv-reply {
  margin-top: 12px; padding: 11px 13px; border-radius: var(--r-sm);
  background: rgba(107,138,110,.07); border: 1px solid rgba(107,138,110,.2);
  border-inline-start: 2px solid var(--oasis);
  font-size: .82rem; color: var(--ink-dim); line-height: 1.85;
}
.rv-reply b { display: block; color: var(--oasis); font-size: .78rem; margin-bottom: 4px; }
.rv-reply b i { margin-inline-end: 5px; }

/* ==========================================================================
   المرحلة 3 — الطلبات المخصّصة
   ========================================================================== */
.cr-card {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(255,255,255,.018); overflow: hidden;
}
.cr-card.is-rejected { opacity: .82; }
.cr-card.is-rejected .cr-ic { filter: grayscale(1); }

.cr-card__top {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.014);
}
.cr-card__top strong { display: block; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.cr-card__top small { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 3px; }

.cr-ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: .95rem; color: var(--gold);
  border: 1px solid rgba(227,176,75,.25); background: rgba(227,176,75,.08);
}

/* شريط مسار الطلب */
.cr-flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; list-style: none; margin: 0; padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.cr-flow__i { position: relative; text-align: center; }
.cr-flow__i::before {
  content: ''; position: absolute; top: 10px; inset-inline-end: 50%;
  width: 100%; height: 2px; background: var(--line-soft);
}
.cr-flow__i:first-child::before { display: none; }
.cr-flow__i.is-done::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.cr-flow__dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 22px; height: 22px; margin: 0 auto 8px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--dune-deep);
  font-size: .5rem; color: var(--ink-faint);
}
.cr-flow__i.is-done .cr-flow__dot {
  border-color: var(--gold-deep); background: rgba(227,176,75,.14); color: var(--gold);
}
.cr-flow__i.is-now .cr-flow__dot {
  box-shadow: 0 0 0 4px rgba(227,176,75,.11);
  background: var(--gold); color: var(--void); border-color: var(--gold);
}
.cr-flow__t {
  display: block; font-size: .69rem; color: var(--ink-faint); line-height: 1.55;
  padding: 0 3px;
}
.cr-flow__i.is-done .cr-flow__t { color: var(--ink-soft); }
.cr-flow__i.is-now .cr-flow__t { color: var(--gold); font-weight: 600; }

.cr-card__body { padding: 16px; display: grid; gap: 14px; }
.cr-card__body > .alert { margin: 0; }
.cr-card .alert { margin: 14px 16px 0; }

.cr-note {
  border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  background: rgba(0,0,0,.16); padding: 12px 14px;
}
.cr-note > b {
  display: block; font-size: .76rem; color: var(--sand-dim);
  letter-spacing: .04em; margin-bottom: 7px;
}
.cr-note > b i { color: var(--gold-deep); margin-inline-end: 5px; }
.cr-ref { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; margin-top: 9px; }

/* عرض السعر */
.cr-quote {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 15px 16px; border-top: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(227,176,75,.075), transparent 65%);
}
.cr-quote__num {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  color: var(--gold); margin-top: 5px; font-variant-numeric: tabular-nums;
}
.cr-quote .acc-quiet { margin-top: 6px; }
.cr-quote__acts { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }

.cr-wait {
  margin: 0; padding: 13px 16px; border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,.012);
}
.cr-wait i { color: var(--gold-deep); margin-inline-end: 6px; }
.cr-card > .rv-reply { margin: 0 16px 16px; }

@media (max-width: 620px) {
  .cr-flow { grid-template-columns: repeat(5, 1fr); padding: 15px 10px 12px; }
  .cr-flow__t { font-size: .62rem; }
  .cr-quote { flex-direction: column; align-items: stretch; }
  .cr-quote__acts .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   المرحلة 3 — إعدادات الحساب
   ========================================================================== */
.set-id {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(227,176,75,.07), rgba(20,17,22,.5));
  padding: 18px 20px;
}
.set-id__ava { width: 60px; height: 60px; font-size: 1.5rem; flex-shrink: 0; }
.set-id__ava img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.set-id > .flex-fill > strong {
  display: block; font-family: var(--font-display); font-size: 1.1rem;
  color: var(--ink); line-height: 1.5;
}
.set-id > .flex-fill > small {
  display: block; font-size: .8rem; color: var(--ink-faint); margin-top: 3px;
}
.set-id__tags { margin-top: 11px; gap: 7px; }
.set-id__tags .chip { cursor: default; font-size: .72rem; }
.set-id__nums {
  display: flex; gap: 20px; flex-shrink: 0;
  padding-inline-start: 20px; border-inline-start: 1px solid var(--line-soft);
}

.set-cols { align-items: start; }
.set-cols .panel { margin: 0; }
.set-cols .panel__body { display: block; }
.set-tips { margin-top: 4px; }
.set-tips li i { color: var(--oasis); }

.set-danger {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid rgba(192,72,72,.26); border-radius: var(--r-lg);
  background: rgba(192,72,72,.05); padding: 16px 18px;
}
.set-danger strong { display: block; font-size: .9rem; color: #E5988A; line-height: 1.6; }
.set-danger strong i { margin-inline-end: 6px; }
.set-danger p {
  margin: 7px 0 0; font-size: .82rem; color: var(--ink-dim); line-height: 1.85;
}

@media (max-width: 700px) {
  .set-id__nums {
    padding: 13px 0 0; border-inline-start: 0; width: 100%;
    border-top: 1px solid var(--line-soft);
  }
  .set-danger .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   المرحلة 4 — تذاكر الدعم (القائمة)
   ========================================================================== */
.tk-row { align-items: center; }
.tk-row.is-off { opacity: .58; }
.tk-row.is-off .tk-ic { filter: grayscale(1); }

.tk-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-size: .88rem;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
  color: var(--ink-soft);
}
.tk-ic.d-general      { color: var(--sand);  border-color: rgba(214,183,124,.28); background: rgba(214,183,124,.09); }
.tk-ic.d-technical    { color: var(--water); border-color: rgba(90,138,168,.3);   background: rgba(90,138,168,.1); }
.tk-ic.d-billing      { color: var(--gold);  border-color: rgba(227,176,75,.28);  background: rgba(227,176,75,.09); }
.tk-ic.d-custom_order { color: var(--oasis); border-color: rgba(107,138,110,.3);  background: rgba(107,138,110,.1); }

.tk-row__meta {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; text-align: end;
}
.tk-row__badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tk-row__meta small { font-size: .72rem; color: var(--ink-faint); white-space: nowrap; }

@media (max-width: 640px) {
  .tk-row { flex-wrap: wrap; }
  .tk-row__meta {
    flex-direction: row; align-items: center; justify-content: space-between;
    width: 100%; padding-top: 4px;
  }
  .tk-row .dl-row__go { display: none; }
}

/* ==========================================================================
   المرحلة 4 — تذكرة جديدة
   ========================================================================== */
.tn-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px; align-items: start;
}
.tn-side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 18px); }
.tn-side .panel { margin: 0; }
.tn-layout > .panel { margin: 0; }
.tn-layout .panel__body { display: grid; gap: 16px; }

/* اختيار القسم */
.tn-depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tn-dept { display: block; cursor: pointer; }
.tn-dept input { position: absolute; opacity: 0; pointer-events: none; }
.tn-dept__box {
  display: block; height: 100%; padding: 13px 14px;
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: rgba(255,255,255,.02); transition: border-color .18s var(--ease), background .18s var(--ease);
}
.tn-dept:hover .tn-dept__box { border-color: var(--line); background: rgba(255,255,255,.035); }
.tn-dept__ic {
  display: block; font-size: .95rem; color: var(--ink-faint); margin-bottom: 9px;
  transition: color .18s var(--ease);
}
.tn-dept__box b {
  display: block; font-size: .855rem; color: var(--ink); line-height: 1.5; margin-bottom: 5px;
}
.tn-dept__box small {
  display: block; font-size: .74rem; color: var(--ink-faint); line-height: 1.7;
}
.tn-dept input:checked + .tn-dept__box {
  border-color: rgba(227,176,75,.45); background: rgba(227,176,75,.075);
  box-shadow: inset 0 0 0 1px rgba(227,176,75,.12);
}
.tn-dept input:checked + .tn-dept__box .tn-dept__ic { color: var(--gold); }
.tn-dept input:focus-visible + .tn-dept__box { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.tn-link-hint { display: block; margin-top: -6px; }
.tn-link-hint i { color: var(--gold-deep); margin-inline-end: 5px; }

@media (max-width: 980px) {
  .tn-layout { grid-template-columns: 1fr; }
  .tn-side { position: static; }
}
@media (max-width: 560px) {
  .tn-depts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   المرحلة 4 — تفاصيل التذكرة
   ========================================================================== */
.td-title { word-break: break-word; }
.td-close-f { display: contents; }

.td-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(255,255,255,.02); padding: 15px 17px;
}
.td-bar__badges { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.td-bar__badges .chip { cursor: default; font-size: .72rem; }
.td-bar__meta { display: block; margin-top: 9px; font-size: .76rem; }
.td-bar__links { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }

.td-empty { padding: 20px 18px; }

/* خيط المحادثة */
.td-thread { list-style: none; margin: 0; padding: 0; }
.td-msg {
  display: flex; gap: 13px; padding: 17px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.td-msg:last-child { border-bottom: 0; }
.td-msg.is-staff { background: rgba(107,138,110,.045); }
.td-msg.is-last.is-staff { background: rgba(107,138,110,.075); }

.td-msg__ava {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-size: .95rem;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.04);
  color: var(--ink-soft);
}
.td-msg__ava img { width: 100%; height: 100%; object-fit: cover; }
.td-msg.is-staff .td-msg__ava {
  color: var(--oasis); border-color: rgba(107,138,110,.34); background: rgba(107,138,110,.12);
  font-size: .82rem;
}

.td-msg__body { min-width: 0; flex: 1; }
.td-msg__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px;
}
.td-msg__head strong { font-size: .83rem; color: var(--ink); }
.td-msg.is-staff .td-msg__head strong { color: var(--oasis); }
.td-msg__head small { font-size: .72rem; color: var(--ink-faint); }
.td-msg__text { font-size: .855rem; line-height: 1.95; }

.td-msg__att {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: .78rem; color: var(--gold); text-decoration: none;
  padding: 5px 10px; border-radius: var(--r-xs);
  border: 1px solid rgba(227,176,75,.25); background: rgba(227,176,75,.07);
}
.td-msg__att:hover { border-color: rgba(227,176,75,.45); background: rgba(227,176,75,.12); }

@media (max-width: 620px) {
  .td-bar__links { width: 100%; }
  .td-bar__links .btn { flex: 1; justify-content: center; }
  .td-msg { padding: 15px 14px; gap: 11px; }
  .td-msg__ava { width: 32px; height: 32px; font-size: .82rem; }
}

/* ==========================================================================
   المرحلة 5 — عناصر مشتركة للوحة التحكم
   ========================================================================== */

/* ترويسة الصفحة */
.adm-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.adm-head h1 {
  margin: 0; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ink); line-height: 1.4;
}
.adm-head h1 i { color: var(--gold-deep); font-size: .85em; margin-inline-end: 8px; }
.adm-head p {
  margin: 7px 0 0; font-size: .83rem; color: var(--ink-dim); line-height: 1.8;
  max-width: 68ch;
}
.adm-head__acts { display: flex; gap: 9px; flex-wrap: wrap; flex-shrink: 0; }

/* بطاقات الأرقام */
.adm-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: 13px; margin-bottom: 22px;
}
.adm-stat {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: rgba(255,255,255,.022); padding: 15px 16px;
  text-decoration: none; display: block; position: relative; overflow: hidden;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
a.adm-stat:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.adm-stat__ic {
  display: block; font-size: .9rem; color: var(--gold-deep); margin-bottom: 10px;
}
.adm-stat b {
  display: block; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums;
}
.adm-stat span { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: 5px; }
.adm-stat.tone-gold  b { color: var(--gold); }
.adm-stat.tone-ok    b { color: var(--oasis); }
.adm-stat.tone-warn  b { color: var(--warn); }
.adm-stat.tone-bad   b { color: var(--danger); }
.adm-stat__sub { font-size: .71rem; color: var(--ink-faint); margin-top: 7px; display: block; }

/* شريط التصفية */
.adm-filters {
  display: flex; align-items: flex-end; gap: 11px; flex-wrap: wrap;
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: rgba(255,255,255,.018); padding: 13px 15px; margin-bottom: 18px;
}
.adm-filters .field { margin: 0; min-width: 0; }
.adm-filters .field--grow { flex: 1 1 220px; }
.adm-filters .label { font-size: .72rem; margin-bottom: 5px; }
.adm-filters .input, .adm-filters .select { min-width: 130px; }
.adm-filters__acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* شريط سفلي مثبّت للحفظ */
.adm-save {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: linear-gradient(120deg, rgba(227,176,75,.06), rgba(20,17,22,.5));
}
.adm-save p { margin: 0; font-size: .8rem; color: var(--ink-faint); line-height: 1.75; }

/* شبكة عمودين للنماذج الطويلة */
.adm-cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px; align-items: start;
}
.adm-cols > * { min-width: 0; }
.adm-cols__side { display: grid; gap: 16px; position: sticky; top: 18px; }
.adm-cols .panel, .adm-cols__side .panel { margin: 0; }

/* جدول مضغوط */
.tbl.tbl--tight th, .tbl.tbl--tight td { padding: 9px 11px; font-size: .8rem; }
.tbl .tbl-mini { display: block; font-size: .72rem; color: var(--ink-faint); margin-top: 3px; }
.tbl__acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.tbl__thumb {
  width: 40px; height: 30px; border-radius: var(--r-xs); object-fit: cover;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
  display: grid; place-items: center; color: var(--ink-faint); font-size: .7rem;
  flex-shrink: 0;
}
.tbl__cell { display: flex; align-items: center; gap: 10px; }
.tbl__cell > div { min-width: 0; }

/* صفوف قابلة للنقر */
.adm-lite { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.adm-lite:last-child { border-bottom: 0; }

@media (max-width: 1080px) {
  .adm-cols { grid-template-columns: 1fr; }
  .adm-cols__side { position: static; }
}
@media (max-width: 640px) {
  .adm-head { align-items: flex-start; }
  .adm-head__acts { width: 100%; }
  .adm-head__acts .btn { flex: 1; justify-content: center; }
  .adm-filters { flex-direction: column; align-items: stretch; }
  .adm-filters .input, .adm-filters .select { width: 100%; min-width: 0; }
  .adm-filters__acts .btn { flex: 1; justify-content: center; }
  .adm-save { flex-direction: column; align-items: stretch; }
  .adm-save .btn { justify-content: center; }
}

/* ==========================================================================
   المرحلة 5 — اللوحة الرئيسية
   ========================================================================== */
.adm-alerts { display: grid; gap: 9px; margin-bottom: 22px; }
.adm-alert {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  padding: 12px 15px; border-radius: var(--r); font-size: .85rem;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02);
  color: var(--ink-dim); transition: border-color .18s var(--ease);
}
.adm-alert:hover { border-color: var(--line-strong); }
.adm-alert b { color: var(--ink); font-variant-numeric: tabular-nums; }
.adm-alert > i:first-child { flex-shrink: 0; width: 18px; text-align: center; }
.adm-alert span { flex: 1; }
.adm-alert__go { font-size: .8rem; opacity: .5; }
.adm-alert.tone-warn { border-color: rgba(214,158,46,.28); background: rgba(214,158,46,.06); }
.adm-alert.tone-warn > i:first-child, .adm-alert.tone-warn b { color: var(--warn); }
.adm-alert.tone-info { border-color: rgba(90,138,168,.28); background: rgba(90,138,168,.06); }
.adm-alert.tone-info > i:first-child, .adm-alert.tone-info b { color: var(--water); }
.adm-alert.tone-gold { border-color: rgba(227,176,75,.28); background: rgba(227,176,75,.06); }
.adm-alert.tone-gold > i:first-child, .adm-alert.tone-gold b { color: var(--gold); }
.adm-alert.tone-ok { border-color: rgba(107,138,110,.28); background: rgba(107,138,110,.06); }
.adm-alert.tone-ok > i:first-child, .adm-alert.tone-ok b { color: var(--oasis); }

/* مخطط أعمدة */
.adm-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 180px;
  padding-top: 22px;
}
.adm-chart__col {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; height: 100%; gap: 7px;
}
.adm-chart__bar {
  width: 100%; max-width: 40px; border-radius: 5px 5px 0 0; position: relative;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  min-height: 2px; transition: filter .18s var(--ease);
}
.adm-chart__col:hover .adm-chart__bar { filter: brightness(1.2); }
.adm-chart__bar.is-zero { background: rgba(255,255,255,.07); }
.adm-chart__val {
  position: absolute; top: -19px; inset-inline-start: 50%; transform: translateX(50%);
  font-size: .64rem; color: var(--gold); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.adm-chart__col > small {
  font-size: .66rem; color: var(--ink-faint); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* ترتيب الأكثر مبيعًا */
.adm-rank {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: .72rem;
  font-family: var(--font-display); color: var(--ink-faint);
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
}
.acc-row:first-child .adm-rank {
  color: var(--gold); border-color: rgba(227,176,75,.32); background: rgba(227,176,75,.1);
}
.tbl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-num { flex-shrink: 0; font-variant-numeric: tabular-nums; font-size: .95rem; }

/* عناصر الجانب */
.adm-tk { display: block; text-decoration: none; }
.adm-tk strong { display: block; font-size: .82rem; color: var(--ink); line-height: 1.55; }
.adm-tk small { display: block; font-size: .72rem; color: var(--ink-faint); margin: 4px 0 7px; }
.adm-tk:hover strong { color: var(--gold); }

.adm-act { display: flex; align-items: center; gap: 10px; }
.adm-act > i { flex-shrink: 0; width: 17px; text-align: center; color: var(--ink-faint); font-size: .8rem; }
.adm-act strong { display: block; font-size: .79rem; color: var(--ink); }
.adm-act small { display: block; font-size: .71rem; color: var(--ink-faint); margin-top: 2px; }
.adm-act > small { flex-shrink: 0; white-space: nowrap; }

/* مبيعات الأقسام */
.adm-cat + .adm-cat { margin-top: 12px; }
.adm-cat__top {
  display: flex; align-items: center; gap: 8px; font-size: .79rem; color: var(--ink-dim);
}
.adm-cat__top b { color: var(--ink); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.adm-cat__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.adm-cat .dl-meter { margin: 6px 0 4px; }
.adm-cat > small { font-size: .7rem; }

@media (max-width: 720px) {
  .adm-chart { height: 150px; gap: 4px; }
  .adm-chart__val { display: none; }
}

/* ==========================================================================
   المرحلة 5 — أدوات صغيرة للجداول
   ========================================================================== */
.d-inline { display: inline-block; }
.tbl del { color: var(--ink-faint); }
.tbl .adm-cat__dot { display: inline-block; margin-inline-end: 6px; vertical-align: middle; }

/* ===== لوحة التحكم: صفوف الأقسام ===== */
.adm-catrow {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.adm-catrow:last-child { border-bottom: 0; }
.adm-catrow:hover { background: rgba(255,255,255,.02); }
.adm-catrow.is-off { opacity: .55; }
.adm-catrow__ic {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 1rem;
}
.adm-catrow__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.adm-catrow__top strong { font-size: .95rem; color: var(--ink); }
.adm-catrow small { color: var(--ink-dim); font-size: .74rem; }
.adm-catrow__desc { margin: 5px 0 0; color: var(--ink-soft); font-size: .78rem; }
.adm-catrow .dl-meter { margin-top: 8px; }
.adm-catrow__acts { flex-shrink: 0; display: flex; align-items: center; gap: 5px; }
.adm-catrow__acts .btn { padding: 6px 9px; }
@media (max-width: 620px) {
  .adm-catrow { flex-wrap: wrap; }
  .adm-catrow__acts { width: 100%; justify-content: flex-end; }
}

/* ===== لوحة التحكم: نموذج المنتج ===== */
.pf-preview {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 320px;
  background: rgba(0,0,0,.25);
}
.pf-preview img { display: block; width: 100%; height: auto; }

.pf-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; }
.pf-type { cursor: pointer; }
.pf-type input { position: absolute; opacity: 0; pointer-events: none; }
.pf-type__box {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.015);
  transition: all .22s var(--ease);
  height: 100%;
}
.pf-type__box i { color: var(--gold-deep); font-size: 1.05rem; }
.pf-type__box b { display: block; margin: 7px 0 3px; font-size: .87rem; color: var(--ink); }
.pf-type__box small { display: block; font-size: .73rem; color: var(--ink-dim); line-height: 1.65; }
.pf-type:hover .pf-type__box { border-color: rgba(227,176,75,.4); }
.pf-type input:checked + .pf-type__box {
  border-color: var(--gold);
  background: rgba(227,176,75,.09);
  box-shadow: 0 0 0 1px rgba(227,176,75,.25);
}
.pf-type input:checked + .pf-type__box i { color: var(--gold); }

.pf-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pf-gal__i {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(0,0,0,.25);
}
.pf-gal__i img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pf-gal__i figcaption {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  font-size: .73rem;
  color: var(--ink-dim);
  border-top: 1px solid var(--line-soft);
}
.pf-gal__i figcaption > span { flex: 1; min-width: 0; }

/* ===== لوحة التحكم: خليّة العميل في الجدول ===== */
.adm-usr { display: flex; align-items: flex-start; gap: 10px; }
.adm-usr > div { min-width: 0; }

/* ===== لوحة التحكم: التقارير ===== */
.mt-panel { margin-top: 22px; }
.tbl tr.is-off { opacity: .5; }

/* ==========================================================================
   المرحلة 6 — أصناف صفحة المنتج الناقصة
   ========================================================================== */

/* شارات فوق صورة المعرض */
.pgallery__flags {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 24px);
}
.pgallery__flags:empty { display: none; }

/* رأس صندوق الشراء */
.buybox__cat {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .75rem; color: var(--ink-faint); text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: 99px;
  padding: 4px 11px; margin-bottom: 12px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.buybox__cat:hover { color: var(--gold); border-color: rgba(227,176,75,.4); }
.buybox__cat i { font-size: .72rem; color: var(--gold-deep); }
.buybox__lead { margin: 9px 0 0; font-size: .87rem; color: var(--ink-dim); line-height: 1.85; }
.buybox__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  margin-top: 13px; font-size: .77rem;
}
.buybox__meta .muted { display: inline-flex; align-items: center; gap: 6px; }
.buybox__meta .muted i { color: var(--ink-faint); font-size: .74rem; }
.buybox__meta .dot { color: var(--line-strong); font-size: .7rem; }
@media (max-width: 620px) { .buybox__meta .dot { display: none; } }

/* مجموعة الباقات */
.tiers { margin-block: 4px 16px; }
.tiers__label {
  display: flex; align-items: center; gap: 7px;
  font-size: .74rem; color: var(--ink-faint); margin-bottom: 9px;
  letter-spacing: .04em;
}
.tiers__label i { color: var(--gold-deep); font-size: .72rem; }
.tiers .tier:last-child { margin-bottom: 0; }

/* زرّ المفضّلة في حالته المُفعّلة */
.btn.is-fav { color: var(--gold); border-color: rgba(227,176,75,.35); background: rgba(227,176,75,.08); }
.btn.is-fav i { color: var(--gold); }

/* تبويب الوصف والمحتويات */
.pinfo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pinfo > * { min-width: 0; }
.pinfo__main { display: grid; gap: 20px; }
.pinfo__side { display: grid; gap: 16px; position: sticky; top: 96px; }
.pinfo .panel, .pinfo__side .panel { margin: 0; }
@media (max-width: 940px) {
  .pinfo { grid-template-columns: 1fr; }
  .pinfo__side { position: static; }
}

/* قائمة المراجعات */
.reviews-list { display: grid; gap: 16px; }
.reviews-list .review { margin: 0; }

/* نصّ ثانوي عام */
.muted { color: var(--ink-faint); }
