/* ============================================================
   مبادرة — شاشة البحث + التنبيهات v1
   يعتمد tokens.css + components.css
   ============================================================ */

.mb-srch {
  min-height: 100dvh;
  background: var(--bg);
  padding-block-end: var(--space-10);
}

/* ============ الشريط العلوي ============ */
.mb-srch__top {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: var(--header-height);
  padding-inline: var(--space-5);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-block-end: 0.5px solid var(--border);
}
.mb-srch__brand {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--accent);
  letter-spacing: var(--tracking-tight);
}
.mb-srch__nav {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mb-srch__nav::-webkit-scrollbar { display: none; }
.mb-srch__nav a {
  position: relative;
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  padding-block: var(--space-2);
  transition: color var(--duration-fast) var(--ease-out);
}
.mb-srch__nav a:hover { color: var(--body); }
.mb-srch__nav a.is-active {
  color: var(--accent);
  font-weight: var(--weight-semibold);
}
.mb-srch__nav a.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.mb-srch__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  margin-inline-start: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  vertical-align: 2px;
}

/* ============ التخطيط ============ */
.mb-srch__layout {
  display: flex;
  gap: var(--space-6);
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-5) var(--space-4) 0;
  align-items: flex-start;
}
.mb-srch__main { flex: 1; min-width: 0; }

/* ============ رأس النتائج ============ */
.mb-srch__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-block-end: var(--space-3);
}
.mb-srch__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
.mb-srch__count {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-block-start: 2px;
}
.mb-srch__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: var(--control-h-sm);
  padding-inline: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--accent);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.mb-srch__filter-btn:hover { border-color: var(--accent); background: var(--accent-subtle); }

/* حبوب الفلاتر النشطة */
.mb-srch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block-end: var(--space-4);
}
.mb-srch__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  transition: background var(--duration-fast) var(--ease-out);
}
.mb-srch__chip:hover { background: var(--indigo-100); }
.mb-srch__chip--reset {
  background: transparent;
  color: var(--muted);
  border: 0.5px solid var(--border);
}
.mb-srch__chip--reset:hover { color: var(--accent); border-color: var(--accent); background: transparent; }

/* ============ شبكة البطاقات ============ */
.mb-srch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 760px)  { .mb-srch__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .mb-srch__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ بطاقة العضو — قياسات محسوبة، شبكة 4px ============
   القاعدة: 4 داخل العنصر · 8 بين الإخوة · 12 بين المقاطع · 16 قبل الفعل
   الحواف 20×16 · صورة 56 · تاج 44 · اسم24+4+ميتا16=44 · وسوم 20/24 · زر 44
*/
.mb-mcard {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;                       /* حواف البطاقة */
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration-base) var(--ease-out), opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.mb-mcard:hover { box-shadow: var(--shadow-md); }
.mb-mcard.is-removing { opacity: 0; transform: scale(0.97); }

/* صف علوي: ارتفاع 20 */
.mb-mcard__toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  margin-block-end: 12px;                   /* بين المقاطع */
}
.mb-mcard__presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;                                 /* بين الإخوة */
  font-size: 11px;
  line-height: 20px;
  color: var(--indigo-400);
}
.mb-mcard__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.16);   /* هالة ساكنة تكبّر البصمة لـ16px */
  flex-shrink: 0;
  margin-inline-end: -2px;
}
.mb-mcard__joined {
  display: inline-flex;
  align-items: center;
  height: 20px;                             /* pill صغير */
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: var(--radius-pill);
  padding: 0 8px;
  font-weight: var(--weight-semibold);
}
.mb-mcard__seen {
  display: inline-flex;
  align-items: center;
  height: 20px;                             /* pill صغير */
  font-size: 10px;
  color: var(--faint);
  background: var(--stone-50);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 8px;
}

/* صف الهوية: 56 — كتلة النص 24+4+16=44 تحاذي التاج 44 */
.mb-mcard__idrow {
  display: flex;
  align-items: center;
  height: 56px;
  margin-block-end: 12px;                   /* بين المقاطع */
}
.mb-mcard__photo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 0.5px solid var(--border);
  background: var(--accent-subtle);
  margin-inline-end: 12px;
}
.mb-mcard__photo--sm { width: 46px; height: 46px; margin-inline-end: 0; }
.mb-mcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.18);
}
.mb-mcard__photo-ph {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(8px);
  transform: scale(1.2);
  background: radial-gradient(circle at 45% 32%, var(--indigo-100) 0%, var(--indigo-300) 40%, var(--indigo-500) 68%, var(--indigo-800) 100%);
}
.mb-mcard__idtxt { flex: 1; min-width: 0; }
.mb-mcard__namerow {
  display: flex;
  align-items: center;
  height: 24px;                             /* سطر الاسم */
  gap: 8px;                                 /* بين الإخوة */
  margin-block-end: 4px;                    /* داخل العنصر */
}
.mb-mcard__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--weight-semibold);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-mcard__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;                             /* pill صغير */
  font-size: 10px;
  border-radius: var(--radius-pill);
  padding: 0 8px;
  font-weight: var(--weight-medium);
  flex-shrink: 0;
}
.mb-mcard__tag--verified { background: var(--accent-subtle); color: var(--accent); }
.mb-mcard__meta {
  font-size: 12px;
  line-height: 16px;                        /* 24+4+16 = 44 */
  color: var(--indigo-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-mcard__crown {
  width: 44px;
  height: 44px;                             /* = كتلة النص */
  flex-shrink: 0;
  margin-inline-start: 8px;                 /* بين الإخوة */
}

/* صف النية: ارتفاع 24 */
.mb-mcard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;                                 /* بين الإخوة */
  margin-block-end: 12px;                   /* بين المقاطع */
}
.mb-mcard__chips span {
  display: inline-flex;
  align-items: center;
  height: 24px;                             /* pill إشارة */
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: var(--radius-pill);
  padding: 0 12px;
  font-weight: var(--weight-medium);
}
.mb-mcard__chips .mb-mcard__urg {
  background: var(--surface);
  border: 1px solid var(--accent);
  font-weight: var(--weight-semibold);
}

/* الاقتباس: سطران كحد أقصى 2×22=44 */
.mb-mcard__quote {
  border-inline-start: 3px solid var(--indigo-200);
  padding-inline-start: 12px;
  margin-block-end: 16px;                   /* قبل الفعل */
}
.mb-mcard__quote-l {
  font-size: 10px;
  line-height: 16px;
  color: var(--indigo-400);
  margin-block-end: 4px;                    /* داخل العنصر */
}
.mb-mcard__quote-t {
  font-size: 13px;
  line-height: 22px;
  max-height: 44px;
  overflow: hidden;
  color: var(--accent);
}

/* الفعل: زر 44 لمسي */
.mb-mcard__actions { margin-block-start: auto; }
.mb-mcard__actions .mb-mcard__view { height: 44px; border-radius: 10px; }
.mb-mcard__hide {
  align-self: center;
  height: 20px;
  line-height: 20px;
  margin-block-start: 12px;                 /* بين المقاطع */
  font-size: 11px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}
.mb-mcard__hide:hover { color: var(--danger); }

/* فاصل «نشطون اليوم أيضًا» */
.mb-srch__divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: var(--weight-medium);
  margin-block: 4px;
}
.mb-srch__divider::before,
.mb-srch__divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

/* ============ فارغ ============ */
.mb-srch__empty {
  text-align: center;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-5);
}
.mb-srch__empty-t {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--ink);
  margin-block-end: var(--space-2);
}
.mb-srch__empty-d {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-block-end: var(--space-5);
}

/* ============ الترقيم ============ */
.mb-srch__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-block-start: var(--space-7);
}
.mb-srch__pageinfo { font-size: var(--text-sm); color: var(--muted); }

/* ============ الفلاتر ============ */
.mb-srch__filters {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
}
.mb-srch__filters-head {
  padding: var(--space-4) var(--space-5) 0;
}
.mb-srch__filters-grab { display: none; }
.mb-srch__form { padding: var(--space-4) var(--space-5) var(--space-5); }
.mb-srch__agerow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.mb-srch__agesep { color: var(--faint); }
.mb-srch__more { margin-block: var(--space-2) var(--space-4); }
.mb-srch__more summary {
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--accent);
  padding-block: var(--space-2);
  list-style: none;
}
.mb-srch__more summary::-webkit-details-marker { display: none; }
.mb-srch__more summary::after {
  content: '+';
  margin-inline-start: var(--space-2);
  color: var(--muted);
}
.mb-srch__more[open] summary::after { content: '−'; }
.mb-srch__more > .mb-field { margin-block-start: var(--space-4); }
.mb-srch__form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-start: var(--space-5);
}
.mb-srch__scrim { display: none; }

/* ديسكتوب: لوحة جانبية ثابتة */
@media (min-width: 1024px) {
  .mb-srch__filters {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
    max-height: calc(100dvh - var(--header-height) - var(--space-8));
    overflow-y: auto;
  }
  .mb-srch__filter-btn { display: none; }
}

/* جوال وتابلت: Sheet سفلية */
@media (max-width: 1023.98px) {
  .mb-srch__scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(28, 26, 23, 0.5);
    backdrop-filter: blur(3px);
    z-index: var(--z-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out);
  }
  .mb-srch__filters {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--z-modal);
    max-height: 86dvh;
    overflow-y: auto;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    border: none;
    box-shadow: var(--shadow-xl);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-spring);
    overscroll-behavior: contain;
  }
  .mb-srch.filters-open .mb-srch__scrim { opacity: 1; pointer-events: auto; }
  .mb-srch.filters-open .mb-srch__filters { transform: none; }
  .mb-srch__filters-grab {
    display: block;
    width: 36px;
    height: 4px;
    border-radius: var(--radius-pill);
    background: var(--border-strong);
    margin: 0 auto var(--space-3);
  }
}

/* ============ صفحة التنبيهات ============ */
.mb-ntf {
  max-width: var(--container-md);
  margin-inline: auto;
  padding: var(--space-5) var(--space-4) 0;
}
.mb-ntf__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-start: var(--space-4);
}
.mb-ntf__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}
.mb-ntf__item.is-new {
  border-inline-start: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent-subtle) 40%, var(--surface));
}
.mb-ntf__txt { flex: 1; min-width: 0; }
.mb-ntf__line {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: var(--leading-snug);
}
.mb-ntf__name { font-weight: var(--weight-semibold); color: var(--ink); }
.mb-ntf__cnt {
  font-size: var(--text-2xs);
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: var(--radius-pill);
  padding: 1px var(--space-2);
  margin-inline-start: var(--space-1);
}
.mb-ntf__meta {
  font-size: var(--text-2xs);
  color: var(--muted);
  margin-block-start: 2px;
}

/* ===== إشعارات الإدارة في صفحة التنبيهات ===== */
.mb-ntf__admin {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-end: var(--space-5);
}
.mb-ntf__adm {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--muted);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.mb-ntf__adm.is-new { background: var(--surface); }
.mb-ntf__adm--alert   { border-inline-start-color: var(--warning); }
.mb-ntf__adm--suspend { border-inline-start-color: var(--warning); }
.mb-ntf__adm--ban     { border-inline-start-color: var(--danger); }
.mb-ntf__adm--unban   { border-inline-start-color: var(--success); }

.mb-ntf__adm-ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mb-ntf__adm--alert   .mb-ntf__adm-ic { background: var(--warning-bg); color: var(--warning); }
.mb-ntf__adm--suspend .mb-ntf__adm-ic { background: var(--warning-bg); color: var(--warning); }
.mb-ntf__adm--ban     .mb-ntf__adm-ic { background: var(--danger-bg);  color: var(--danger); }
.mb-ntf__adm--unban   .mb-ntf__adm-ic { background: var(--success-bg); color: var(--success); }

.mb-ntf__adm-txt { flex: 1; min-width: 0; }
.mb-ntf__adm-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--ink);
  margin-block-end: 3px;
}
.mb-ntf__adm-body {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: var(--leading-normal);
  margin-block-end: var(--space-2);
}
.mb-ntf__adm-meta {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: var(--weight-medium);
}

/* ===== إشعارات النظام (الاشتراك) ===== */
.mb-ntf__sys { display: flex; flex-direction: column; gap: var(--space-3); margin-block-end: var(--space-5); }
.mb-ntf__sysrow {
  display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 3px solid var(--premium);
  border-radius: var(--radius-lg); padding: var(--space-4);
}
.mb-ntf__sysrow--warn { border-inline-start-color: var(--warning); }
.mb-ntf__sysrow--end  { border-inline-start-color: var(--danger); }
.mb-ntf__sys-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--premium-bg); color: var(--premium);
}
.mb-ntf__sysrow--warn .mb-ntf__sys-ic { background: var(--warning-bg); color: var(--warning); }
.mb-ntf__sysrow--end  .mb-ntf__sys-ic { background: var(--danger-bg); color: var(--danger); }
.mb-ntf__sys-tx { flex: 1; min-width: 0; }
.mb-ntf__sys-title { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--ink); margin-block-end: 3px; }
.mb-ntf__sys-body { font-size: var(--text-sm); color: var(--body); line-height: var(--leading-normal); margin-block-end: var(--space-2); }
.mb-ntf__sys-cta { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--accent); text-decoration: none; }
.mb-ntf__sys-cta:hover { text-decoration: underline; }

/* تعميم عام في إشعارات الإدارة */
.mb-ntf__adm--broadcast { border-inline-start-color: var(--accent); }
.mb-ntf__adm--broadcast .mb-ntf__adm-ic { background: var(--accent-subtle); color: var(--accent); }

/* منطقة الخطر في الإعدادات */
.nts-eyebrow--danger { color: var(--danger); }
.nts-navrow--danger b { color: var(--danger); }
.nts-navrow--danger:hover b { color: var(--danger); }

/* زر حذف إشعار الإدارة */
.mb-ntf__adm { position: relative; }
.mb-ntf__adm-x {
  position: absolute;
  inset-inline-end: var(--space-2);
  inset-block-start: var(--space-2);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--faint);
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.mb-ntf__adm-x:hover { color: var(--danger); background: var(--danger-bg); }
.mb-ntf__adm-txt { padding-inline-end: var(--space-6); }

/* ===== صفحة الاشتراك المميز ===== */
.mb-prm { max-width: var(--container-lg); margin-inline: auto; padding: var(--space-6) var(--space-4) var(--space-10); }
.mb-prm__head { text-align: center; margin-block-end: var(--space-6); }
.mb-prm__title { font-size: var(--text-2xl); font-weight: var(--weight-bold); color: var(--ink); letter-spacing: var(--tracking-tight); }
.mb-prm__sub { font-size: var(--text-sm); color: var(--muted); margin-block-start: var(--space-2); }

.mb-prm__active {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--premium-bg); border: 1px solid var(--premium);
  border-radius: var(--radius-lg); padding: var(--space-4);
  max-width: 560px; margin: 0 auto var(--space-6);
}
.mb-prm__active-crown { width: 34px; height: 34px; }
.mb-prm__active-tx b { display: block; font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--premium); }
.mb-prm__active-tx span { font-size: var(--text-xs); color: var(--body); }

.mb-prm__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-block-end: var(--space-6); }
@media (max-width: 900px) { .mb-prm__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mb-prm__grid { grid-template-columns: 1fr; } }

.mb-prm__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-4);
  text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.mb-prm__card.is-hot { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.mb-prm__hottag {
  position: absolute; top: -11px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--accent); color: var(--on-accent);
  font-size: var(--text-2xs); font-weight: var(--weight-bold);
  padding: 3px 12px; border-radius: var(--radius-pill); white-space: nowrap;
}
.mb-prm__name { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--ink); }
.mb-prm__tag { font-size: var(--text-2xs); color: var(--muted); margin-block: 2px var(--space-3); }
.mb-prm__price { font-size: var(--text-3xl); font-weight: var(--weight-bold); color: var(--accent); line-height: 1; }
.mb-prm__price small { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--muted); }
.mb-prm__per { font-size: var(--text-2xs); color: var(--muted); margin-block: var(--space-1) var(--space-2); }
.mb-prm__save {
  font-size: var(--text-2xs); font-weight: var(--weight-bold);
  background: var(--success-bg); color: var(--success);
  padding: 2px 10px; border-radius: var(--radius-pill);
  margin-block-end: var(--space-3);
}
.mb-prm__card .mb-btn { margin-block-start: auto; }

.mb-prm__feats {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  max-width: 640px; margin-inline: auto;
}
.mb-prm__feats-t { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--ink); margin-block-end: var(--space-3); }
.mb-prm__feat { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); color: var(--body); padding-block: var(--space-1); line-height: var(--leading-normal); }
.mb-prm__feat svg { color: var(--success); flex-shrink: 0; margin-block-start: 3px; }
.mb-prm__feat b { color: var(--ink); font-weight: var(--weight-semibold); }

/* صفحة إتمام الاشتراك */
.mb-prm--checkout { max-width: var(--container-sm); }
.mb-prm__cobox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.mb-prm__cosum {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-block-end: 1px solid var(--border);
  background: var(--surface-sunk);
}
.mb-prm__cosum-l { font-size: var(--text-xs); color: var(--muted); }
.mb-prm__cosum b { font-size: var(--text-md); color: var(--ink); }
.mb-prm__cosum-p { margin-inline-start: auto; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--accent); }
.mb-prm__cosoon { text-align: center; padding: var(--space-8) var(--space-5); }
.mb-prm__cosoon-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: var(--radius-full);
  background: var(--accent-subtle); color: var(--accent);
  margin-block-end: var(--space-4);
}
.mb-prm__cosoon b { display: block; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--ink); margin-block-end: var(--space-2); }
.mb-prm__cosoon p { font-size: var(--text-sm); color: var(--body); line-height: var(--leading-relaxed); max-width: 380px; margin: 0 auto var(--space-5); }

/* شبكة أسعار الباقات بالأدمن */
.mb-adm__pkgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 640px) { .mb-adm__pkgrid { grid-template-columns: repeat(2, 1fr); } }

/* ===== وسوم المدن ===== */
.mb-srch__cityrow { display: flex; gap: var(--space-2); }
.mb-srch__cityadd { flex-shrink: 0; width: var(--control-h-md); padding: 0; }
.mb-srch__citylist { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-2); }
.mb-srch__citytag {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  background: var(--accent-subtle); color: var(--accent);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.mb-srch__citytag button { color: var(--accent); font-size: 11px; padding: 0 2px; opacity: .7; }
.mb-srch__citytag button:hover { opacity: 1; }
.mb-srch__multi { font-size: var(--text-2xs); color: var(--muted); font-weight: var(--weight-regular); }

/* ===== البحوث المحفوظة ===== */
.mb-srch__savedbar { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-block-end: var(--space-3); }
.mb-srch__savedbar:empty { display: none; }
.mb-srch__savedpill {
  display: inline-flex; align-items: center; gap: var(--space-1);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--body);
}
.mb-srch__savedpill a { display: inline-flex; align-items: center; gap: var(--space-1); color: inherit; }
.mb-srch__savedpill.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mb-srch__savedpill button { color: var(--muted); font-size: 10px; padding: 0 2px; }
.mb-srch__savedpill.is-on button { color: var(--indigo-200); }
.mb-srch__savebtn {
  display: inline-flex; align-items: center; gap: var(--space-1);
  border: 1.5px dashed var(--border-strong); color: var(--body);
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.mb-srch__savebtn:hover { border-color: var(--accent); color: var(--accent); }
.mb-srch__saveform { display: inline-flex; gap: var(--space-2); align-items: center; }
.mb-srch__saveform .mb-input { height: var(--control-h-sm); width: 190px; font-size: var(--text-sm); }