/* ==========================================================================
   جوار | Jewar Pro — طبقة التصميم الاحترافية
   تُحمَّل بعد styles.css على الصفحات العامة، وكل القواعد تحت body.jp
   عشان ما تأثرش على لوحات التحكم.
   ========================================================================== */

:root {
  --jp-primary: #3a0b40;
  --jp-primary-700: #4d1255;
  --jp-primary-600: #6a1e6e;
  --jp-primary-50: #f6eef7;
  --jp-primary-100: #ecdcee;
  --jp-accent: #c9a227;
  --jp-accent-50: #fbf5e1;
  --jp-ink: #17151c;
  --jp-ink-2: #3d3a45;
  --jp-muted: #6e6a78;
  --jp-line: #e9e6ee;
  --jp-line-2: #f1eff4;
  --jp-bg: #ffffff;
  --jp-bg-soft: #f7f6f9;
  --jp-green: #1faa59;
  --jp-wa: #25d366;
  --jp-radius-sm: 8px;
  --jp-radius: 12px;
  --jp-radius-lg: 16px;
  --jp-shadow-xs: 0 1px 2px rgba(23, 21, 28, .06);
  --jp-shadow-sm: 0 2px 8px rgba(23, 21, 28, .06), 0 1px 2px rgba(23, 21, 28, .04);
  --jp-shadow: 0 8px 28px rgba(23, 21, 28, .08);
  --jp-shadow-lg: 0 18px 48px rgba(58, 11, 64, .14);
  --jp-container: 1200px;
  --jp-header-h: 72px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
body.jp {
  --nav-h: var(--jp-header-h);
  --nav-h-s: var(--jp-header-h);
  background: var(--jp-bg);
  color: var(--jp-ink);
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.jp [hidden] { display: none !important; }
/* clip بدل hidden: بيمنع السكرول العرضي من غير ما يوقّف العناصر اللي بتثبت فوق (sticky) */
body.jp { overflow-x: clip; overflow-y: visible; }
/* أعلى أولوية من أي display في كلاسات الصفحات (مثلاً .properties-grid) */
body.jp [hidden]:not(#jp-none) { display: none !important; }
body.jp .bg-orbs,
body.jp .hero-watermark,
body.jp .footer-watermark { display: none !important; }

body.jp .jp-container {
  width: 100%;
  max-width: var(--jp-container);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  body.jp .jp-container { padding-inline: 16px; }
}

/* ── Header ───────────────────────────────────────────────────────────── */
body.jp .navbar,
body.jp .navbar.scrolled {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--jp-header-h);
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--jp-line);
  box-shadow: none !important;
  padding: 0 max(24px, calc((100vw - var(--jp-container)) / 2 + 24px));
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1000;
}
body.jp .navbar .logo { display: flex; align-items: center; flex-shrink: 0; }
body.jp .navbar .logo-img {
  height: 48px;
  width: auto;
  filter: none !important;
  object-fit: contain;
}
@media (min-width: 1025px) {
  body.jp .navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline: auto;
  }
}
body.jp .navbar .nav-links a {
  color: var(--jp-ink-2) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--jp-radius-sm);
  text-shadow: none !important;
  transition: color .15s, background .15s;
  position: relative;
}
body.jp .navbar .nav-links a::after { display: none !important; }
body.jp .navbar .nav-links a:hover { color: var(--jp-primary) !important; background: var(--jp-primary-50); }
body.jp .navbar .nav-links a.active { color: var(--jp-primary) !important; font-weight: 700; }
body.jp .navbar .nav-actions { display: flex; align-items: center; gap: 10px; }
body.jp .navbar .nav-cta {
  background: var(--jp-primary) !important;
  color: #fff !important;
  border-radius: var(--jp-radius-sm) !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.jp .navbar .nav-cta:hover { background: var(--jp-primary-700) !important; }
body.jp .navbar .nav-fav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  color: var(--jp-ink-2) !important;
  box-shadow: none !important;
}
body.jp .navbar .nav-fav-btn:hover { color: var(--jp-primary) !important; border-color: var(--jp-primary-100) !important; }
body.jp .navbar .mobile-menu-btn span { background: var(--jp-ink) !important; }

@media (max-width: 1024px) {
  body.jp { --jp-header-h: 62px; --nav-h: 62px; --nav-h-s: 62px; }
  body.jp .navbar, body.jp .navbar.scrolled { padding: 0 16px; gap: 12px; }
  body.jp .navbar .logo-img { height: 40px; }
  body.jp .navbar .nav-cta { padding: 8px 12px !important; font-size: 13px !important; }
  body.jp .navbar .nav-fav-btn { width: 36px; height: 36px; }
}

/* ── Section scaffold ─────────────────────────────────────────────────── */
body.jp main > .section,
body.jp .jp-section {
  width: 100%;
  max-width: var(--jp-container);
  margin-inline: auto;
  padding: 44px 24px 0;
  box-sizing: border-box;
  background: transparent;
}
body.jp .reveal,
body.jp .reveal.active,
body.jp .reveal.visible { opacity: 1 !important; transform: none !important; }

body.jp .jp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
body.jp .jp-sec-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--jp-ink);
  line-height: 1.35;
  letter-spacing: 0;
}
body.jp .jp-sec-head h2 span { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
body.jp .jp-sec-head p { margin: 4px 0 0; color: var(--jp-muted); font-size: 14px; }
body.jp .jp-see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jp-primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  padding: 6px 2px;
}
body.jp .jp-see-all svg { width: 16px; height: 16px; transition: transform .15s; }
body.jp .jp-see-all:hover svg { transform: translateX(-3px); }
@media (max-width: 768px) {
  body.jp main > .section, body.jp .jp-section { padding: 32px 16px 0; }
  body.jp .jp-sec-head h2 { font-size: 20px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
body.jp .hero.jp-hero {
  position: relative;
  min-height: 0;
  height: auto;
  padding: var(--jp-header-h) 0 0;
  margin: 0;
  display: block;
  background: none;
  overflow: visible;
}
body.jp .jp-hero-media {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--jp-primary) url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&h=900&fit=crop&auto=format&q=72') center 60% / cover no-repeat;
}
body.jp .jp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(31, 4, 36, .78) 0%, rgba(31, 4, 36, .45) 45%, rgba(31, 4, 36, .1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 40%);
}
body.jp .jp-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
  color: #fff;
}
body.jp .jp-hero-eyebrow {
  font-family: 'Aref Ruqaa', 'Tajawal', serif;
  font-size: 22px;
  color: #f1d67a;
  margin: 0 0 6px;
}
body.jp .jp-hero-copy h1,
body.jp .jp-hero-copy .hero-title-ar {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
  max-width: 640px;
}
body.jp .jp-hero-copy .hero-sub-text {
  margin: 12px 0 0 !important;
  font-size: 17px !important;
  color: rgba(255, 255, 255, .9) !important;
  max-width: 560px;
  line-height: 1.7;
}
body.jp .jp-hero-copy .hero-sub-text strong { color: #fff; }

/* Search card overlapping the hero */
body.jp .jp-hero .search-engine {
  position: relative;
  z-index: 5;
  max-width: calc(var(--jp-container) - 48px);
  width: calc(100% - 48px);
  margin: -86px auto 0;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius-lg) !important;
  box-shadow: var(--jp-shadow-lg) !important;
  padding: 8px 24px 22px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
body.jp .jp-hero .search-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--jp-line);
  margin: 0 -24px 18px;
  padding: 0 24px;
  background: none !important;
}
body.jp .jp-hero .s-tab {
  flex: 0 0 auto;
  background: none !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  color: var(--jp-muted) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px 12px !important;
  box-shadow: none !important;
}
body.jp .jp-hero .s-tab.active { color: var(--jp-primary) !important; border-bottom-color: var(--jp-primary) !important; }
body.jp .jp-hero .search-bar { margin: 0 0 14px !important; padding: 0 !important; }
body.jp .jp-hero .search-input-wrap {
  height: 52px;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius) !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
body.jp .jp-hero .search-input-wrap:focus-within {
  border-color: var(--jp-primary-600) !important;
  box-shadow: 0 0 0 3px var(--jp-primary-50) !important;
}
body.jp .jp-hero .search-input-wrap input { font-size: 15px; color: var(--jp-ink); }
body.jp .jp-hero .search-filters {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap: 12px;
  align-items: end;
}
body.jp .jp-hero .filter-group > label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--jp-ink-2) !important;
  margin: 0 0 6px;
  text-align: start;
}
body.jp .jp-hero .dropdown-trigger {
  height: 48px;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius) !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  color: var(--jp-ink) !important;
}
body.jp .jp-hero .dropdown-group.open .dropdown-trigger { border-color: var(--jp-primary-600) !important; }
body.jp .jp-hero .search-submit {
  height: 48px;
  width: 100%;
  background: var(--jp-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--jp-radius) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  transform: none !important;
}
body.jp .jp-hero .search-submit:hover { background: var(--jp-primary-700) !important; }
body.jp .jp-hero .dropdown-menu {
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius) !important;
  box-shadow: var(--jp-shadow) !important;
  background: #fff !important;
}

/* الموبايل: الهيرو كارت صورة بحواف مدورة وشريط بحث زجاجي راكب عليه (زي التطبيق) */
@media (max-width: 768px) {
  body.jp .hero.jp-hero { padding: calc(var(--jp-header-h) + env(safe-area-inset-top, 0px) + 10px) 12px 0; }
  body.jp .jp-hero-media {
    height: auto;
    min-height: 236px;
    display: flex;
    align-items: flex-end;
    border-radius: 24px;
    background-position: center;
    box-shadow: 0 16px 36px rgba(58, 11, 64, .2);
    isolation: isolate;
  }
  body.jp .jp-hero-media::after {
    background: linear-gradient(0deg, rgba(27, 4, 32, .9) 0%, rgba(27, 4, 32, .52) 50%, rgba(27, 4, 32, .08) 100%);
  }
  body.jp .jp-hero-copy { height: auto; padding: 60px 18px 50px !important; text-align: start; align-items: flex-start; }
  body.jp .jp-hero-copy > * { text-align: start !important; }
  body.jp .jp-hero-eyebrow { font-size: 15px; margin-bottom: 2px; }
  body.jp .jp-hero-copy h1, body.jp .jp-hero-copy .hero-title-ar { font-size: 25px !important; line-height: 1.35 !important; }
  body.jp .jp-hero-copy .hero-sub-text { font-size: 13.5px !important; line-height: 1.65; margin-top: 6px !important; }
  body.jp .jp-hero .search-engine {
    width: calc(100% - 20px);
    margin: -32px auto 0;
    padding: 8px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .72) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, .8) !important;
    box-shadow: 0 14px 34px rgba(58, 11, 64, .16), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
  }
  body.jp .jp-hero .search-tabs,
  body.jp .jp-hero .search-bar,
  body.jp .jp-hero .search-filters { display: none !important; }
  body.jp .jp-hero .mobile-search-wrapper { display: block !important; max-width: none; }
  body.jp .jp-hero .m-search-top { display: flex; align-items: center; gap: 8px; margin: 0; }
  body.jp .jp-hero .m-input-group {
    flex: 1;
    min-width: 0;
    height: 50px;
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding-inline: 14px 6px !important;
    background: #fff !important;
    border: 1px solid rgba(58, 11, 64, .08) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(23, 21, 28, .04) !important;
    transition: border-color .15s, box-shadow .15s;
  }
  body.jp .jp-hero .m-input-group:focus-within { border-color: var(--jp-primary-100) !important; box-shadow: 0 0 0 3px rgba(58, 11, 64, .08) !important; }
  body.jp .jp-hero .m-input-group > svg { flex: none; }
  /* 16px عشان آيفون ما يعملش زوم لما تدوس على الخانة */
  body.jp .jp-hero .m-input-group input { flex: 1; min-width: 0; height: 100%; padding: 0 !important; border: 0; background: transparent; font-size: 16px; color: var(--jp-ink); }
  body.jp .jp-hero .m-input-group input::placeholder { color: #9a94a3; font-size: 14px; }
  body.jp .jp-hero .m-go {
    display: none;
    flex: none;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    border: 0; border-radius: 11px;
    background: var(--jp-primary); color: #fff;
    cursor: pointer;
  }
  body.jp .jp-hero .m-input-group:has(input:not(:placeholder-shown)) .m-go { display: inline-flex; }
  body.jp .jp-hero .m-go:active, body.jp .jp-hero .m-filter-btn:active { transform: scale(.94); }
  body.jp .jp-hero .m-filter-btn {
    width: 50px; height: 50px; flex: none;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--jp-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(58, 11, 64, .26) !important;
  }
  body.jp .jp-hero .m-search-submit-btn { display: none !important; }
}
@media (max-width: 380px) {
  body.jp .jp-hero-copy h1, body.jp .jp-hero-copy .hero-title-ar { font-size: 22px !important; }
}

/* ── Quick access tiles ("ابحث عن") ──────────────────────────────────── */
body.jp .jp-quick {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
body.jp .jp-quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius);
  color: var(--jp-ink-2);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.jp .jp-quick a:hover { border-color: var(--jp-primary-100); box-shadow: var(--jp-shadow-sm); transform: translateY(-2px); color: var(--jp-primary); }
body.jp .jp-quick .jp-quick-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--jp-primary-50);
  color: var(--jp-primary);
}
body.jp .jp-quick .jp-quick-ic svg { width: 24px; height: 24px; }
body.jp .jp-quick a.is-accent .jp-quick-ic { background: var(--jp-accent-50); color: #9a7a14; }
@media (max-width: 1024px) {
  body.jp .jp-quick { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  body.jp .jp-quick { gap: 8px; }
  body.jp .jp-quick a { min-height: 84px; font-size: 12px; padding: 10px 4px; gap: 8px; }
  body.jp .jp-quick .jp-quick-ic { width: 38px; height: 38px; }
}

/* ── Offers banner carousel ───────────────────────────────────────────── */
body.jp .offers-section { padding-top: 28px !important; }
body.jp .offer-card { border-radius: var(--jp-radius-lg) !important; box-shadow: none !important; border: 1px solid var(--jp-line); overflow: hidden; }
body.jp .offers-container { position: relative; }
body.jp .offer-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 4;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 0 !important;
  width: 40px !important; height: 40px !important;
  background: #fff !important;
  color: var(--jp-ink) !important;
  border: 1px solid var(--jp-line) !important;
  box-shadow: var(--jp-shadow-sm) !important;
}
body.jp .offer-prev { right: -18px !important; left: auto !important; }
body.jp .offer-next { left: -18px !important; right: auto !important; }
@media (max-width: 1024px) { body.jp .offer-nav { display: none !important; } }
body.jp .offer-dot { background: var(--jp-line) !important; }
body.jp .offer-dot.active { background: var(--jp-primary) !important; }

/* ── Entity carousels (projects / compounds) ──────────────────────────── */
body.jp .entity-section-wrap,
body.jp .carousel-container,
body.jp .entity-carousel-wrap { position: relative; max-width: none; margin: 0; padding: 0; }
body.jp .entity-carousel-wrap::before,
body.jp .entity-carousel-wrap::after { display: none !important; }
body.jp .entity-track {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 8px;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
body.jp .entity-track::-webkit-scrollbar { display: none; }
body.jp .entity-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  width: auto !important;
  height: auto !important;
  flex: none !important;
  border-radius: var(--jp-radius) !important;
  overflow: hidden;
  background: var(--jp-bg-soft);
  scroll-snap-align: start;
  box-shadow: none !important;
  border: 1px solid var(--jp-line);
  transform: none !important;
  text-decoration: none;
}
body.jp .entity-card > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
body.jp .entity-card:hover > img { transform: scale(1.04); }
body.jp .entity-card .jp-ent-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 12px;
  background: linear-gradient(0deg, rgba(20, 10, 24, .82), rgba(20, 10, 24, 0));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.jp .jp-ent-name { font-size: 16px; font-weight: 800; line-height: 1.3; }
body.jp .jp-ent-sub { font-size: 12px; opacity: .85; font-weight: 500; }
body.jp .entity-card-more {
  display: grid !important;
  place-items: center;
  background: var(--jp-primary-50) !important;
  border: 1px dashed var(--jp-primary-100) !important;
}
body.jp .entity-more-circle {
  background: #fff !important;
  color: var(--jp-primary) !important;
  border: 1px solid var(--jp-primary-100) !important;
  box-shadow: none !important;
}
body.jp .entity-more-text { color: var(--jp-primary) !important; font-weight: 800; }
body.jp .entity-more-sub { color: var(--jp-muted) !important; }
body.jp .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px !important; height: 40px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--jp-ink) !important;
  border: 1px solid var(--jp-line) !important;
  box-shadow: var(--jp-shadow-sm) !important;
  font-size: 22px;
  line-height: 1;
}
body.jp .carousel-container > .carousel-nav:first-child { right: -18px; left: auto; }
body.jp .carousel-container > .carousel-nav:last-child { left: -18px; right: auto; }
@media (max-width: 1024px) {
  body.jp .entity-track { grid-auto-columns: calc((100% - 16px) / 2.3); }
  body.jp .carousel-nav { display: none !important; }
}
@media (max-width: 480px) {
  body.jp .entity-track { grid-auto-columns: 72%; gap: 12px; }
}

/* ── Areas grid ───────────────────────────────────────────────────────── */
body.jp #areasTrack {
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius-lg);
  overflow: hidden;
  background: #fff;
}
body.jp #areasTrack .area-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 12px 20px;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 .5px var(--jp-line) !important;
  text-decoration: none;
  transition: background .15s;
  min-width: 0;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}
body.jp #areasTrack .area-card:hover { background: var(--jp-bg-soft); }
body.jp #areasTrack .area-card-imgwrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--jp-line);
  margin-bottom: 8px;
}
body.jp #areasTrack .area-card-img { width: 100%; height: 100%; object-fit: cover; }
body.jp #areasTrack .area-card-name { font-size: 15px; font-weight: 800; color: var(--jp-ink); text-align: center; }
body.jp #areasTrack .area-card-count { font-size: 12px; color: var(--jp-muted); font-weight: 500; }
body.jp #areasTrack .area-card-more {
  grid-column: 1 / -1;
  flex-direction: row !important;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background: var(--jp-bg-soft);
}
body.jp #areasTrack .area-card-more .area-more-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--jp-primary); color: #fff;
  border: 0; box-shadow: none; margin: 0; order: 2;
}
body.jp #areasTrack .area-card-more .area-more-circle svg { width: 16px; height: 16px; }
body.jp #areasTrack .area-card-more .area-card-name { color: var(--jp-primary); font-size: 14px; }
body.jp #areasTrack .area-card-more .area-card-count { font-size: 13px; }
body.jp #areasTrack .area-card-more .area-card-count::before { content: "· "; }
/* الموبايل: صف أفقي بيتسحب — في قسم «الرئيسية بشكل التطبيق» آخر الملف */

/* ── Property cards ───────────────────────────────────────────────────── */
body.jp .properties-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  padding: 0 !important;
}
@media (max-width: 1024px) { body.jp .properties-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px)  { body.jp .properties-grid { grid-template-columns: 1fr !important; gap: 16px !important; } }

body.jp .property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  transform: none;
}
body.jp .property-card:hover { box-shadow: var(--jp-shadow) !important; border-color: transparent !important; transform: translateY(-2px); }
body.jp .property-card .card-header { position: relative; border-radius: 0 !important; height: auto !important; min-height: 0 !important; overflow: hidden; }
body.jp .property-card .card-img-wrap,
body.jp .property-card .card-img-container { aspect-ratio: 16 / 10; height: auto !important; border-radius: 0 !important; overflow: hidden; }
body.jp .property-card .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
body.jp .property-card:hover .card-img { transform: scale(1.03); }
body.jp .property-card .card-actions-top {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  z-index: 4;
  display: flex;
  gap: 6px;
}
body.jp .property-card .action-btn {
  width: 34px !important; height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .95) !important;
  color: var(--jp-ink-2) !important;
  border: 0 !important;
  box-shadow: var(--jp-shadow-xs) !important;
  display: grid; place-items: center;
  backdrop-filter: none !important;
}
body.jp .property-card .action-btn svg { width: 16px; height: 16px; }
body.jp .property-card .action-btn.active,
body.jp .property-card .icon-heart.active { color: #e0245e !important; }
body.jp .property-card .icon-heart.active svg { fill: currentColor; }
body.jp .property-card .icon-compare.active { background: var(--jp-primary) !important; color: #fff !important; }
body.jp .property-card .icon-compare span { font-size: 10px !important; }
body.jp .property-card .card-badge-overlay {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  top: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(23, 21, 28, .72) !important;
  color: #fff !important;
  backdrop-filter: blur(4px);
  line-height: 1.2;
  white-space: pre-line;
}
body.jp .property-card .card-badge-overlay span { display: none !important; }
body.jp .property-card .card-badge-overlay strong { display: block !important; font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; }
body.jp .property-card.weekly .card-badge-overlay { background: var(--jp-green) !important; }
body.jp .property-card .card-dev-logo {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  inset-inline-start: auto;
  bottom: auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: var(--jp-shadow-sm);
  overflow: hidden;
  z-index: 3;
}
body.jp .property-card .card-dev-logo img { width: 100%; height: 100%; object-fit: cover; }
body.jp .property-card .onboarding-tooltip { display: none !important; }
body.jp .property-card .card-body {
  padding: 14px 16px 16px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
body.jp .property-card .card-title-row { margin: 0; flex: none; }
body.jp .property-card .jp-card-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--jp-ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
body.jp .property-card .jp-card-title:hover { color: var(--jp-primary); }
body.jp .property-card { cursor: pointer; }
body.jp a.dev-card-small { text-decoration: none; }
body.jp .property-card .card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px !important;
  color: var(--jp-muted) !important;
  font-weight: 500 !important;
  margin-top: 2px;
}
body.jp .property-card .card-location svg { width: 14px; height: 14px; flex-shrink: 0; }
body.jp .property-card .card-type { color: var(--jp-primary) !important; font-weight: 700; }
body.jp .property-card .card-specs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 14px !important;
  padding: 10px 0 0;
  border-top: 1px solid var(--jp-line-2);
  margin: 0 !important;
}
body.jp .property-card .card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px !important;
  color: var(--jp-ink-2) !important;
  font-weight: 500 !important;
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
}
body.jp .property-card .card-specs span::before,
body.jp .property-card .card-specs span::after { display: none !important; content: none !important; }
body.jp .property-card .card-specs svg { width: 16px; height: 16px; color: var(--jp-muted); }
body.jp .property-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 0 !important;
  border: 0 !important;
}
body.jp .property-card .card-price-wrap { display: flex; flex-direction: column; gap: 2px; }
body.jp .property-card .card-price {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--jp-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: 'Tajawal', sans-serif !important;
  letter-spacing: 0 !important;
  direction: rtl;
}
body.jp .property-card .card-price::after {
  content: " جم";
  font-size: 13px;
  font-weight: 700;
  color: var(--jp-muted);
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: static !important;
}
body.jp .property-card .jp-card-install { font-size: 12px; color: var(--jp-muted); font-weight: 500; }
body.jp .property-card .action-buttons { display: flex; gap: 8px; }
body.jp .property-card .btn-whatsapp,
body.jp .property-card .btn-call {
  width: 40px !important; height: 40px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
}
body.jp .property-card .btn-whatsapp { background: var(--jp-wa) !important; color: #fff !important; }
body.jp .property-card .btn-call { background: var(--jp-primary) !important; color: #fff !important; }
body.jp .property-card .btn-whatsapp svg,
body.jp .property-card .btn-call svg { width: 18px; height: 18px; }

/* Blurred "see more" row on home */
body.jp .props-blur-row { grid-column: 1 / -1; position: relative; }
body.jp .props-more-btn {
  background: var(--jp-primary) !important;
  color: #fff !important;
  border-radius: var(--jp-radius-sm) !important;
  padding: 12px 22px !important;
  font-weight: 800 !important;
  box-shadow: var(--jp-shadow) !important;
}

/* Skeletons */
body.jp .skeleton { border-radius: var(--jp-radius) !important; min-height: 340px; background: linear-gradient(90deg, #f3f2f6 25%, #eceaf0 37%, #f3f2f6 63%) 0 0 / 400% 100% !important; }

/* ── Developers strip ─────────────────────────────────────────────────── */
body.jp .dev-grid-compact {
  display: grid !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 12px !important;
}
body.jp .dev-card-small {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px !important;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s;
}
body.jp .dev-card-small:hover { box-shadow: var(--jp-shadow-sm) !important; border-color: var(--jp-primary-100) !important; }
body.jp .dev-grid-compact .dev-card-small { width: auto !important; min-width: 0; flex: none !important; }
body.jp .dev-card-small .dev-img-wrap { width: 64px !important; height: 64px !important; border-radius: 50% !important; overflow: hidden; border: 1px solid var(--jp-line); box-shadow: none !important; }
body.jp .dev-card-small .dev-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
body.jp .dev-card-small .dev-name { font-size: 12px !important; font-weight: 700 !important; color: var(--jp-ink-2) !important; text-align: center; line-height: 1.3; }
@media (max-width: 1024px) { body.jp .dev-grid-compact { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 480px)  { body.jp .dev-grid-compact { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; } }

/* ── Promo banners ────────────────────────────────────────────────────── */
body.jp .jp-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
body.jp .jp-promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 132px;
  padding: 22px 24px;
  border-radius: var(--jp-radius-lg);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
body.jp .jp-promo::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  inset-inline-end: -60px;
  top: -80px;
  z-index: -1;
  opacity: .5;
}
body.jp .jp-promo .jp-promo-cta svg { width: 16px; height: 16px; }
body.jp .jp-promo h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
body.jp .jp-promo p { margin: 0; font-size: 14px; line-height: 1.6; }
body.jp .jp-promo .jp-promo-cta {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--jp-radius-sm);
  font-weight: 800;
  font-size: 14px;
}
body.jp .jp-promo.is-sell { background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .jp-promo.is-sell::before { background: var(--jp-primary-100); }
body.jp .jp-promo.is-sell p { color: var(--jp-ink-2); }
body.jp .jp-promo.is-sell .jp-promo-cta { background: var(--jp-primary); color: #fff; }
body.jp .jp-promo.is-ai { background: var(--jp-accent-50); color: #6b520a; }
body.jp .jp-promo.is-ai::before { background: #f5e6b3; }
body.jp .jp-promo.is-ai p { color: var(--jp-ink-2); }
body.jp .jp-promo.is-ai .jp-promo-cta { background: #fff; color: #6b520a; border: 1px solid #ecd98f; }
body.jp .jp-promo .jp-promo-steps { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--jp-ink-2); }
body.jp .jp-promo .jp-promo-steps b {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--jp-primary); color: #fff; font-size: 11px; margin-inline-end: 5px;
}
@media (max-width: 768px) {
  body.jp .jp-promos { grid-template-columns: 1fr; }
  body.jp .jp-promo { flex-direction: column; align-items: flex-start; padding: 18px; }
}

/* ── Trust strip (stats) ──────────────────────────────────────────────── */
body.jp .stats-section { max-width: var(--jp-container); margin: 44px auto 0; padding: 0 24px; background: none !important; }
body.jp .stats-bar {
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius-lg) !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}
body.jp .stats-bar .stat {
  padding: 22px 12px;
  border-inline-start: 1px solid var(--jp-line);
  text-align: center;
  background: none !important;
}
body.jp .stats-bar .stat:first-child { border-inline-start: 0; }
body.jp .stat-num {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: var(--jp-primary) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
body.jp .stat-label { font-size: 13px !important; color: var(--jp-muted) !important; font-weight: 600; }
@media (max-width: 768px) {
  body.jp .stats-section { padding: 0 16px; margin-top: 32px; }
  body.jp .stats-bar { grid-template-columns: repeat(2, 1fr); }
  body.jp .stats-bar .stat:nth-child(3) { border-inline-start: 0; }
  body.jp .stats-bar .stat:nth-child(n+3) { border-top: 1px solid var(--jp-line); }
  body.jp .stat-num { font-size: 24px !important; }
}

/* ── Lead form ────────────────────────────────────────────────────────── */
body.jp .jp-lead {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius-lg);
  overflow: hidden;
  background: #fff;
}
body.jp .jp-lead-info {
  position: relative;
  padding: 36px 32px;
  background: var(--jp-primary);
  color: #fff;
  overflow: hidden;
}
body.jp .jp-lead-info::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  inset-inline-start: -120px; bottom: -160px;
  background: rgba(255, 255, 255, .06);
}
body.jp .jp-lead-info h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; color: #fff; }
body.jp .jp-lead-info > p { margin: 0 0 22px; color: rgba(255, 255, 255, .82); line-height: 1.7; font-size: 15px; }
body.jp .jp-lead-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
body.jp .jp-lead-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
body.jp .jp-lead-points svg { width: 20px; height: 20px; flex-shrink: 0; color: #f1d67a; }
body.jp .jp-lead .crm-card {
  max-width: none !important;
  margin: 0 !important;
  padding: 32px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: start;
}
body.jp .jp-lead .crm-icon,
body.jp .jp-lead .crm-title,
body.jp .jp-lead .crm-sub { display: none !important; }
body.jp .jp-lead .crm-form { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
body.jp .jp-lead .crm-field { margin: 0 !important; }
body.jp .jp-lead .crm-field:nth-child(n+3) { grid-column: 1 / -1; }
body.jp .jp-lead .crm-field label { display: block; font-size: 13px; font-weight: 700; color: var(--jp-ink-2); margin-bottom: 6px; text-align: start; }
body.jp .jp-lead .crm-field input,
body.jp .jp-lead .crm-field select,
body.jp .jp-lead .crm-field textarea {
  width: 100%;
  height: 46px;
  border: 1px solid var(--jp-line) !important;
  border-radius: var(--jp-radius-sm) !important;
  background: #fff !important;
  padding: 0 12px !important;
  font: inherit;
  font-size: 14px;
  color: var(--jp-ink);
  box-shadow: none !important;
  box-sizing: border-box;
}
body.jp .jp-lead .crm-field textarea { height: 92px; padding: 10px 12px !important; resize: vertical; }
body.jp .jp-lead .crm-field input:focus,
body.jp .jp-lead .crm-field select:focus,
body.jp .jp-lead .crm-field textarea:focus { outline: none; border-color: var(--jp-primary-600) !important; box-shadow: 0 0 0 3px var(--jp-primary-50) !important; }
body.jp .jp-lead .crm-phone { display: flex; gap: 8px; }
body.jp .jp-lead .crm-phone select { width: 110px; flex-shrink: 0; }
body.jp .jp-lead .crm-submit {
  grid-column: 1 / -1;
  height: 48px;
  border: 0 !important;
  border-radius: var(--jp-radius-sm) !important;
  background: var(--jp-primary) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  box-shadow: none !important;
  cursor: pointer;
}
body.jp .jp-lead .crm-submit:hover { background: var(--jp-primary-700) !important; }
@media (max-width: 860px) {
  body.jp .jp-lead { grid-template-columns: 1fr; }
  body.jp .jp-lead-info { padding: 24px 20px; }
  body.jp .jp-lead-info h2 { font-size: 22px; }
  body.jp .jp-lead .crm-card { padding: 20px !important; }
  body.jp .jp-lead .crm-form { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
body.jp .footer.jp-footer {
  margin-top: 64px;
  padding: 48px 0 0 !important;
  background: var(--jp-bg-soft) !important;
  color: var(--jp-ink-2) !important;
  border-top: 1px solid var(--jp-line);
  text-align: start;
  overflow: hidden;
}
body.jp .jp-foot-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 32px;
}
body.jp .jp-foot-cols h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--jp-primary);
}
body.jp .jp-foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
body.jp .jp-foot-cols a {
  color: var(--jp-ink-2) !important;
  font-size: 13.5px;
  text-decoration: none;
  line-height: 1.4;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
body.jp .jp-foot-cols a:hover { color: var(--jp-primary) !important; text-decoration: underline; }
body.jp .jp-foot-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--jp-line);
}
body.jp .jp-foot-brand img { height: 60px; width: auto; }
body.jp .jp-foot-brand .jp-foot-tag { font-family: 'Aref Ruqaa', serif; color: var(--jp-primary); font-size: 18px; margin-top: 4px; }
body.jp .jp-foot-social { display: flex; gap: 10px; }
body.jp .jp-foot-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: var(--jp-primary) !important;
  color: #fff !important;
  text-decoration: none;
  transition: background .15s;
}
body.jp .jp-foot-social a:hover { background: var(--jp-primary-600) !important; }
body.jp .jp-foot-social svg { width: 18px; height: 18px; }
body.jp .jp-foot-social .social-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.jp .jp-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--jp-line);
  font-size: 13px;
  color: var(--jp-muted);
}
body.jp .jp-foot-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
body.jp .jp-foot-bottom a { color: var(--jp-muted) !important; text-decoration: none; }
body.jp .jp-foot-bottom a:hover { color: var(--jp-primary) !important; }
@media (max-width: 1024px) { body.jp .jp-foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  body.jp .footer.jp-footer { margin-top: 40px; padding-top: 32px !important; padding-bottom: 72px !important; }
  body.jp .jp-foot-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  body.jp .jp-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Floating AI button: calmer ───────────────────────────────────────── */
body.jp .wa-float { bottom: 24px !important; }
body.jp .robot-speech-bubble { font-size: 13px !important; box-shadow: var(--jp-shadow) !important; border: 1px solid var(--jp-line); }

/* ── Mobile nav drawer ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.jp .navbar .nav-links {
    background: #fff !important;
    border-top: 1px solid var(--jp-line);
    box-shadow: var(--jp-shadow) !important;
  }
  body.jp .navbar .nav-links a { font-size: 16px; padding: 12px 16px; }
}

/* ── Shared small UI ──────────────────────────────────────────────────── */
body.jp .jp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: var(--jp-radius-sm);
  font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
body.jp .jp-btn-primary { background: var(--jp-primary); color: #fff; }
body.jp .jp-btn-primary:hover { background: var(--jp-primary-700); }
body.jp .jp-btn-outline { background: #fff; color: var(--jp-primary); border-color: var(--jp-primary-100); }
body.jp .jp-btn-outline:hover { border-color: var(--jp-primary); }
body.jp .jp-btn-wa { background: var(--jp-wa); color: #fff; }
body.jp :focus-visible { outline: 2px solid var(--jp-primary-600); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  body.jp *, body.jp *::before, body.jp *::after { transition: none !important; animation-duration: .01ms !important; }
}

/* Toast: hidden until shown */
body.jp .toast:not(.show) { visibility: hidden; }

/* ── Breadcrumbs ──────────────────────────────────────────────────────── */
body.jp .jp-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: var(--jp-muted); margin: 0 0 10px;
}
body.jp .jp-crumbs a { color: var(--jp-muted); text-decoration: none; }
body.jp .jp-crumbs a:hover { color: var(--jp-primary); text-decoration: underline; }
body.jp .jp-crumbs > span:last-child { color: var(--jp-ink-2); font-weight: 600; }

/* ── Listing pages: projects / compounds / areas ─────────────────────── */
body.jp .ent-page-wrap,
body.jp .areas-page-wrap {
  max-width: var(--jp-container) !important;
  margin: 0 auto !important;
  padding: calc(var(--jp-header-h) + 24px) 24px 0 !important;
  box-sizing: border-box;
  background: none !important;
}
body.jp .ent-page-head,
body.jp .areas-page-head {
  text-align: start !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}
body.jp .ent-page-head h1,
body.jp .areas-page-head h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--jp-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  margin: 0 0 4px !important;
}
body.jp .ent-page-head p,
body.jp .areas-page-head p { margin: 0 !important; color: var(--jp-muted) !important; font-size: 14px !important; }
body.jp .ent-page-head .jp-count { font-weight: 700; color: var(--jp-ink-2) !important; margin-bottom: 2px !important; }
body.jp .ent-page-head .jp-count:empty { display: none; }
body.jp .ent-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
body.jp .ent-card {
  position: relative;
  display: block !important;
  aspect-ratio: 4 / 3;
  border-radius: var(--jp-radius) !important;
  overflow: hidden;
  border: 1px solid var(--jp-line) !important;
  box-shadow: none !important;
  background: var(--jp-bg-soft) !important;
  text-decoration: none;
  transform: none !important;
  padding: 0 !important;
}
body.jp .ent-card::after {
  content: ""; position: absolute; inset: 40% 0 0 0;
  background: linear-gradient(0deg, rgba(20, 10, 24, .82), rgba(20, 10, 24, 0));
  pointer-events: none;
}
body.jp .ent-card .ent-card-img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .5s ease; border-radius: 0 !important; aspect-ratio: auto !important; }
body.jp .ent-card:hover .ent-card-img { transform: scale(1.04); }
body.jp .ent-card .ent-card-name,
body.jp .ent-card .ent-card-sub {
  position: absolute; z-index: 2; inset-inline: 14px; color: #fff !important;
  text-align: start !important; background: none !important; padding: 0 !important;
}
body.jp .ent-card .ent-card-name { bottom: 32px; font-size: 17px !important; font-weight: 800 !important; }
body.jp .ent-card .ent-card-sub { bottom: 12px; font-size: 12.5px; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.jp .ent-card:not(:has(.ent-card-sub)) .ent-card-name { bottom: 14px; }
body.jp .ent-page-empty, body.jp .areas-page-empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--jp-muted); }

body.jp .areas-page-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius-lg);
  overflow: hidden;
  background: #fff;
  padding: 0 !important;
  max-width: none !important;
}
body.jp .areas-page-grid .area-card {
  display: flex !important; flex-direction: column; align-items: center; gap: 4px;
  padding: 24px 12px 20px !important; background: #fff !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: 0 0 0 .5px var(--jp-line) !important; text-decoration: none; margin: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important;
}
body.jp .areas-page-grid .area-card:hover { background: var(--jp-bg-soft) !important; }
body.jp .areas-page-grid .area-card-imgwrap { width: 72px !important; height: 72px !important; border-radius: 50%; overflow: hidden; border: 0 !important; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--jp-line) !important; margin-bottom: 8px; }
body.jp .areas-page-grid .area-card-img { width: 100%; height: 100%; object-fit: cover; }
body.jp .areas-page-grid .area-card-name { font-size: 15px !important; font-weight: 800 !important; color: var(--jp-ink) !important; text-align: center; }
body.jp .areas-page-grid .area-card-count { font-size: 12px !important; color: var(--jp-muted) !important; }

@media (max-width: 1024px) {
  body.jp .ent-grid { grid-template-columns: repeat(3, 1fr) !important; }
  body.jp .areas-page-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
  body.jp .ent-page-wrap, body.jp .areas-page-wrap { padding: calc(var(--jp-header-h) + 16px) 16px 0 !important; }
  body.jp .ent-page-head h1, body.jp .areas-page-head h1 { font-size: 22px !important; }
  body.jp .ent-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  body.jp .ent-card .ent-card-name { font-size: 14px !important; bottom: 28px; }
  body.jp .ent-card .ent-card-sub { font-size: 11px; bottom: 10px; }
  body.jp .areas-page-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── Developers listing ───────────────────────────────────────────────── */
body.jp .jp-dev-grid { grid-template-columns: repeat(6, 1fr) !important; }
body.jp .jp-dev-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 10px 16px; background: #fff; border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius); text-decoration: none; transition: box-shadow .15s, border-color .15s;
}
body.jp .jp-dev-card:hover { box-shadow: var(--jp-shadow-sm); border-color: var(--jp-primary-100); }
body.jp .jp-dev-logo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 1px solid var(--jp-line); margin-bottom: 6px; background: #fff; }
body.jp .jp-dev-logo img { width: 100%; height: 100%; object-fit: cover; }
body.jp .jp-dev-name { font-size: 14px; font-weight: 800; color: var(--jp-ink); text-align: center; }
body.jp .jp-dev-sub { font-size: 12px; color: var(--jp-muted); }
@media (max-width: 1024px) { body.jp .jp-dev-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 640px)  { body.jp .jp-dev-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ── Tablet header: hamburger menu instead of wrapped links ──────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  body.jp .navbar .nav-links {
    display: none;
    position: fixed; top: var(--jp-header-h); right: 0; left: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
    background: #fff !important; border-top: 1px solid var(--jp-line);
    box-shadow: var(--jp-shadow) !important; border-radius: 0 0 var(--jp-radius-lg) var(--jp-radius-lg);
    z-index: 999;
  }
  body.jp .navbar .nav-links.show { display: flex; }
  body.jp .navbar .nav-links a { width: 100%; text-align: start; font-size: 16px; padding: 14px 4px; border-bottom: 1px solid var(--jp-line-2); border-radius: 0; }
  body.jp .navbar .nav-links a:last-child { border-bottom: 0; }
  body.jp .navbar .mobile-menu-btn { display: flex !important; }
  body.jp .navbar .nav-actions { margin-inline-start: auto; }
}

/* ── Hero search: single focus ring, scrollable menus, price inputs ── */
body.jp .jp-hero .search-input-wrap input,
body.jp .jp-hero .search-input-wrap input:focus {
  border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent !important;
  padding: 0 !important; height: 100%; flex: 1; min-width: 0;
}
body.jp .jp-hero .search-input-wrap { display: flex !important; align-items: center; gap: 10px; }
body.jp .jp-hero .dropdown-menu { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 12px !important; }
body.jp .jp-hero .check-item { padding: 8px 6px !important; border-radius: 8px; }
body.jp .jp-hero .check-item:hover { background: var(--jp-bg-soft); }
body.jp .jp-hero .check-item input { accent-color: var(--jp-primary); width: 18px; height: 18px; }
body.jp .jp-hero .price-inputs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
body.jp .jp-hero .price-input-wrapper { display: flex; flex-direction: column; gap: 6px; }
body.jp .jp-hero .price-label { font-size: 12px; font-weight: 700; color: var(--jp-ink-2); }
body.jp .jp-hero .price-input-wrapper input {
  height: 42px; width: 100%; box-sizing: border-box; padding: 0 10px !important; direction: ltr; text-align: right;
  border: 1px solid var(--jp-line) !important; border-radius: var(--jp-radius-sm) !important; background: #fff !important;
  font: inherit; font-size: 14px; color: var(--jp-ink); box-shadow: none !important;
}
body.jp .jp-hero .price-input-wrapper input:focus { outline: none; border-color: var(--jp-primary-600) !important; box-shadow: 0 0 0 3px var(--jp-primary-50) !important; }
body.jp .jp-hero .n-btn {
  min-width: 42px; height: 38px; border-radius: 999px !important; border: 1px solid var(--jp-line) !important;
  background: #fff !important; color: var(--jp-ink-2) !important; font-weight: 700; box-shadow: none !important;
}
body.jp .jp-hero .n-btn.active { background: var(--jp-primary) !important; border-color: var(--jp-primary) !important; color: #fff !important; }

/* search suggestions */
body.jp .search-suggestions {
  background: #fff !important; border: 1px solid var(--jp-line) !important; border-radius: var(--jp-radius) !important;
  box-shadow: var(--jp-shadow) !important; overflow: hidden; margin-top: 6px;
}
body.jp .suggestion-item { padding: 10px 14px !important; border-bottom: 1px solid var(--jp-line-2) !important; }
body.jp .suggestion-item:hover { background: var(--jp-bg-soft) !important; }

/* ── Favorites modal ─────────────────────────────────────────────────── */
body.jp .modal-overlay { background: rgba(23, 21, 28, .45) !important; backdrop-filter: blur(3px); }
body.jp .fav-modal { border-radius: var(--jp-radius-lg) !important; border: 1px solid var(--jp-line); box-shadow: var(--jp-shadow-lg) !important; padding: 0 !important; overflow: hidden; }
body.jp .fav-modal .modal-header { padding: 18px 20px !important; border-bottom: 1px solid var(--jp-line); margin: 0 !important; }
body.jp .fav-modal .modal-header h3 { font-size: 18px !important; font-weight: 800 !important; color: var(--jp-ink) !important; margin: 0; }
body.jp .fav-modal .modal-header h3 span { display: none; }
body.jp .fav-modal .close-modal { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--jp-line) !important; background: #fff !important; color: var(--jp-ink-2) !important; }
body.jp .fav-list { padding: 8px 12px 14px !important; max-height: min(60vh, 520px); overflow-y: auto; }
body.jp .fav-item { border: 1px solid var(--jp-line) !important; border-radius: var(--jp-radius) !important; padding: 10px !important; margin: 8px 0 !important; box-shadow: none !important; background: #fff !important; }
body.jp .fav-item:hover { border-color: var(--jp-primary-100) !important; }
body.jp .fav-list .empty-state { padding: 32px 12px; color: var(--jp-muted); text-align: center; }

/* ── Compare bar: floating panel ─────────────────────────────────────── */
body.jp .compare-bar {
  left: 50% !important; right: auto !important; bottom: 20px !important;
  width: min(560px, calc(100% - 32px)) !important;
  transform: translate(-50%, 140%) !important;
  background: #fff !important; backdrop-filter: none !important;
  border: 1px solid var(--jp-line) !important; border-radius: var(--jp-radius-lg) !important;
  box-shadow: var(--jp-shadow-lg) !important; padding: 12px 14px 12px 12px !important;
}
body.jp .compare-bar.show { transform: translate(-50%, 0) !important; }
body.jp .compare-bar-content { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
body.jp .compare-count { font-weight: 800 !important; color: var(--jp-ink) !important; font-size: 15px !important; }
body.jp .compare-count::before { display: none !important; }
body.jp .compare-count::after { content: " للمقارنة"; font-weight: 600; color: var(--jp-muted); }
body.jp .compare-actions { display: flex; gap: 8px; }
body.jp .btn-start-compare {
  height: 42px; padding: 0 16px !important; border-radius: var(--jp-radius-sm) !important;
  background: var(--jp-primary) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; font-weight: 800 !important;
}
body.jp .btn-cancel-compare {
  height: 42px; padding: 0 14px !important; border-radius: var(--jp-radius-sm) !important;
  background: #fff !important; color: var(--jp-ink-2) !important; border: 1px solid var(--jp-line) !important; box-shadow: none !important; font-weight: 700 !important;
}
body.jp .compare-badge { background: rgba(255, 255, 255, .2) !important; color: #fff !important; }
body:has(.compare-bar.show) .wa-float { bottom: 100px !important; }

/* ── Mobile nav drawer & filter sheet polish ─────────────────────────── */
@media (max-width: 768px) {
  body.jp .navbar .nav-links a { font-size: 17px !important; font-weight: 700 !important; color: var(--jp-ink) !important; text-align: start; padding: 14px 4px !important; }
  body.jp .navbar .nav-links a.active { color: var(--jp-primary) !important; }
  body.jp .navbar .nav-links { padding: 8px 20px 18px !important; border-radius: 0 0 var(--jp-radius-lg) var(--jp-radius-lg) !important; background: #fff !important; }
  body.jp .sheet-content { border-radius: 20px 20px 0 0 !important; }
  body.jp .btn-apply-mobile { background: var(--jp-primary) !important; border-radius: var(--jp-radius) !important; box-shadow: none !important; }
  body.jp .m-check-item { border: 1px solid var(--jp-line) !important; background: #fff !important; border-radius: var(--jp-radius-sm) !important; }
  body.jp .m-check-item:has(input:checked) { border-color: var(--jp-primary) !important; background: var(--jp-primary-50) !important; }
  body.jp .m-check-item input { accent-color: var(--jp-primary); }
  body.jp .compare-bar { bottom: 12px !important; }
}

/* suggestions list (hero search) */
body.jp .search-suggestions .suggestion-header { padding: 10px 14px 6px !important; font-size: 12px !important; font-weight: 800 !important; color: var(--jp-muted) !important; background: none !important; }
body.jp .search-suggestions .suggestions-list { display: block !important; padding: 0 !important; }
body.jp .search-suggestions .suggestion-item { display: flex !important; align-items: center; gap: 12px; text-decoration: none; color: var(--jp-ink); }
body.jp .search-suggestions .suggestion-img-wrap { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--jp-line); }
body.jp .search-suggestions .suggestion-img { width: 100%; height: 100%; object-fit: cover; }
body.jp .search-suggestions .suggestion-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
body.jp .search-suggestions .suggestion-name { font-weight: 700; font-size: 14px; color: var(--jp-ink); }
body.jp .search-suggestions .suggestion-sub { font-size: 12px; color: var(--jp-muted); }
body.jp .search-suggestions .suggestion-tag { font-size: 11px; font-weight: 800; color: var(--jp-primary); background: var(--jp-primary-50); padding: 3px 8px; border-radius: 999px; }
body.jp .search-suggestions { max-height: 380px; overflow-y: auto; }
body.jp .jp-hero .search-bar { position: relative !important; }
body.jp .jp-hero .search-suggestions {
  position: absolute !important; top: calc(100% + 6px) !important; bottom: auto !important;
  left: 0 !important; right: 0 !important; width: auto !important; margin: 0 !important; z-index: 30 !important;
}
body.jp .search-suggestions .suggestion-header { text-align: start !important; }

/* ── Content pages: about / blog ─────────────────────────────────────── */
body.jp .jp-page {
  max-width: var(--jp-container);
  margin: 0 auto;
  padding: calc(var(--jp-header-h) + 24px) 24px 8px;
  box-sizing: border-box;
}
body.jp .jp-page-head { margin: 0 0 28px; }
body.jp .jp-page-head h1 {
  margin: 0 0 6px; font-size: 30px; font-weight: 800; line-height: 1.3;
  color: var(--jp-ink); background: none; -webkit-text-fill-color: currentColor; text-wrap: balance;
}
body.jp .jp-page-head p { margin: 0; color: var(--jp-muted); font-size: 15px; line-height: 1.8; max-width: 62ch; }
body.jp .jp-page > section + section { margin-top: 56px; }
body.jp .jp-page .jp-sec-head h2 { font-size: 22px; }

body.jp .jp-ic-chip {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--jp-primary-50); color: var(--jp-primary);
}
body.jp .jp-ic-chip svg { width: 24px; height: 24px; }

/* About — story + live figures */
body.jp .jp-about-story {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
body.jp .jp-about-story:has(> .jp-about-figures[hidden]) { grid-template-columns: minmax(0, 1fr); }
body.jp .jp-about-motto { margin: 0 0 10px; color: #7a5d08; font-weight: 800; font-size: 15px; }
body.jp .jp-about-copy h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--jp-ink); line-height: 1.35; }
body.jp .jp-about-copy > p:not(.jp-about-motto) { margin: 0; font-size: 17px; line-height: 2; color: var(--jp-ink-2); max-width: 60ch; }
body.jp .jp-about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

body.jp .jp-about-figures {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--jp-primary); color: #fff;
  border-radius: var(--jp-radius-lg);
  box-shadow: var(--jp-shadow-lg);
}
body.jp .jp-about-figures::before {
  content: ""; position: absolute; top: -70px; inset-inline-start: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 162, 39, .32), rgba(201, 162, 39, 0)); pointer-events: none;
}
body.jp .jp-fig-cap {
  grid-column: 1 / -1; margin: 0; padding: 18px 24px 0;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #e9d38a;
}
body.jp .jp-fig { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 26px; }
body.jp .jp-fig:nth-of-type(odd) { border-inline-end: 1px solid rgba(255, 255, 255, .12); }
body.jp .jp-fig:nth-of-type(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
body.jp .jp-fig.is-wide { grid-column: 1 / -1; border-inline-end: 0; }
body.jp .jp-fig b { font-size: 38px; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; direction: ltr; text-align: end; unicode-bidi: isolate; }
body.jp .jp-fig span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .74); }

/* About — vision / mission */
body.jp .jp-about-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.jp .jp-vm-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); }
body.jp .jp-vm-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-vm-card p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--jp-ink-2); }

/* About — what we offer */
body.jp .jp-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.jp .jp-offer-tile {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  background: var(--jp-bg-soft); border: 1px solid transparent; border-radius: var(--jp-radius-lg);
  color: inherit; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s;
}
body.jp .jp-offer-tile:hover { background: #fff; border-color: var(--jp-primary-100); box-shadow: var(--jp-shadow-sm); }
body.jp .jp-offer-tile .jp-ic-chip { background: #fff; margin-bottom: 6px; }
body.jp .jp-offer-tile h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-offer-tile p { margin: 0; flex: 1; font-size: 14px; line-height: 1.8; color: var(--jp-muted); }
body.jp .jp-offer-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--jp-primary); }
body.jp .jp-offer-go svg { width: 16px; height: 16px; transition: transform .15s; }
body.jp .jp-offer-tile:hover .jp-offer-go svg { transform: translateX(-3px); }

/* Closing CTA band */
body.jp .jp-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: var(--jp-radius-lg); background: var(--jp-primary-50);
}
body.jp .jp-cta-band h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--jp-primary); }
body.jp .jp-cta-band p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--jp-ink-2); }
body.jp .jp-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

@media (max-width: 1024px) {
  body.jp .jp-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.jp .jp-about-story { gap: 32px; }
}
@media (max-width: 860px) {
  body.jp .jp-about-story { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body.jp .jp-page { padding: calc(var(--jp-header-h) + 16px) 16px 8px; }
  body.jp .jp-page-head h1 { font-size: 24px; }
  body.jp .jp-page > section + section { margin-top: 40px; }
  body.jp .jp-about-copy h2 { font-size: 23px; }
  body.jp .jp-about-copy > p:not(.jp-about-motto) { font-size: 16px; }
  body.jp .jp-about-actions .jp-btn { flex: 1 1 auto; }
  body.jp .jp-fig { padding: 18px 18px 22px; }
  body.jp .jp-fig b { font-size: 30px; }
  body.jp .jp-about-vm, body.jp .jp-offer-grid { grid-template-columns: minmax(0, 1fr); }
  body.jp .jp-vm-card { padding: 20px; }
  body.jp .jp-offer-tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; }
  body.jp .jp-offer-tile .jp-ic-chip { grid-row: 1 / span 3; margin: 0; }
  body.jp .jp-offer-tile > :not(.jp-ic-chip) { grid-column: 2; }
  body.jp .jp-cta-band { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  body.jp .jp-cta-actions .jp-btn { flex: 1 1 auto; }
}

/* Blog — list */
body.jp .blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: none; margin: 0; padding: 0;
}
body.jp .blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg);
  box-shadow: none; transform: none; transition: box-shadow .15s, border-color .15s;
}
body.jp .blog-card:hover { transform: none; box-shadow: var(--jp-shadow-sm); border-color: var(--jp-primary-100); }
body.jp .blog-card .blog-card-link { display: block; overflow: hidden; }
body.jp .blog-card .blog-cover,
body.jp .blog-card .blog-cover-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
body.jp .blog-card:hover .blog-cover { transform: scale(1.03); }
body.jp .blog-cover-placeholder { background: var(--jp-primary-50) url('logo-purple-trim.png') center / 72px auto no-repeat; }
body.jp .blog-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
body.jp .blog-body h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.55; }
body.jp .blog-body h3 a { color: var(--jp-ink); text-decoration: none; }
body.jp .blog-body h3 a:hover { color: var(--jp-primary); }
body.jp .blog-excerpt { margin: 0; font-size: 14px; line-height: 1.8; color: var(--jp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.jp .blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: auto; padding-top: 4px; font-size: 12.5px; color: var(--jp-muted); }
body.jp .blog-meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; vertical-align: middle; margin-inline-end: 12px; }
body.jp .blog-grid .skeleton { min-height: 320px; }

/* Blog — single post */
body.jp .blog-post { grid-column: 1 / -1; width: 100%; max-width: 760px; margin: 0 auto; }
body.jp .blog-post-title {
  margin: 4px 0 10px; font-size: 34px; font-weight: 800; line-height: 1.45; color: var(--jp-ink);
  background: none; -webkit-text-fill-color: currentColor; text-wrap: balance;
}
body.jp .blog-post > .blog-meta { margin: 0 0 22px; padding: 0; font-size: 14px; }
body.jp .blog-post > .blog-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--jp-radius-lg); margin: 0 0 28px; }
body.jp .blog-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; font-size: 15px; font-weight: 700; color: var(--jp-primary); text-decoration: none; }
body.jp .blog-back:hover { text-decoration: underline; text-underline-offset: 3px; }
body.jp .ent-page-empty .blog-back { margin-top: 12px; }

/* Readable rich text (blog posts, entity descriptions) */
body.jp .jp-prose { font-size: 17px; line-height: 2; color: var(--jp-ink-2); overflow-wrap: anywhere; }
body.jp .jp-prose > :first-child { margin-top: 0; }
body.jp .jp-prose p { margin: 0 0 1em; }
body.jp .jp-prose h2, body.jp .jp-prose h3, body.jp .jp-prose h4 {
  color: var(--jp-ink); font-weight: 800; line-height: 1.5; background: none; -webkit-text-fill-color: currentColor;
}
body.jp .jp-prose h2 { font-size: 24px; margin: 1.6em 0 .5em; }
body.jp .jp-prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
body.jp .jp-prose h4 { font-size: 17px; margin: 1.2em 0 .3em; }
body.jp .jp-prose ul, body.jp .jp-prose ol { margin: 0 0 1em; padding-inline-start: 1.4em; }
body.jp .jp-prose ul { list-style: disc; }
body.jp .jp-prose ol { list-style: decimal; }
body.jp .jp-prose li { margin: .25em 0; }
body.jp .jp-prose li::marker { color: var(--jp-primary-600); }
body.jp .jp-prose a { color: var(--jp-primary-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.jp .jp-prose a:hover { color: var(--jp-primary); text-decoration-thickness: 2px; }
body.jp .jp-prose strong, body.jp .jp-prose b { color: var(--jp-ink); font-weight: 800; }
body.jp .jp-prose blockquote {
  margin: 1.4em 0; padding: 12px 18px; color: var(--jp-ink);
  background: var(--jp-accent-50); border-inline-start: 3px solid var(--jp-accent); border-radius: var(--jp-radius-sm);
}
body.jp .jp-prose img { display: block; max-width: 100%; height: auto; margin: 1.2em 0; border-radius: var(--jp-radius); }
body.jp .jp-prose figure { margin: 1.4em 0; }
body.jp .jp-prose figcaption { font-size: 13px; color: var(--jp-muted); text-align: center; margin-top: 6px; }
body.jp .jp-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; }
body.jp .jp-prose th, body.jp .jp-prose td { border: 1px solid var(--jp-line); padding: 8px 12px; text-align: start; }
body.jp .jp-prose th { background: var(--jp-bg-soft); color: var(--jp-ink); font-weight: 800; }
body.jp .jp-prose hr { border: 0; border-top: 1px solid var(--jp-line); margin: 2em 0; }
body.jp .jp-prose code { background: var(--jp-bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

@media (max-width: 1024px) {
  body.jp .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.jp .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.jp .blog-post-title { font-size: 26px; }
  body.jp .jp-prose { font-size: 16px; line-height: 1.95; }
  body.jp .jp-prose h2 { font-size: 21px; }
  body.jp .jp-prose h3 { font-size: 18px; }
  body.jp .blog-post > .blog-cover { border-radius: var(--jp-radius); margin-bottom: 20px; }
}

/* ── Sell page: wizard + guide sidebar ───────────────────────────────── */
body.jp .jp-sell-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
body.jp .jp-sell .steps-section,
body.jp .jp-sell .sell-form-section { max-width: none; margin: 0; padding: 0; }
body.jp .jp-sell .wizard-progress { max-width: none; margin: 0 0 14px; }
body.jp .jp-sell .wizard-progress-count { text-align: start; color: var(--jp-muted); }
body.jp .jp-sell .wizard-progress-count b { color: var(--jp-primary); }
body.jp .jp-sell .wseg-bar { height: 6px; background: var(--jp-line); }
body.jp .jp-sell .wseg-fill { background: var(--jp-primary); }
body.jp .jp-sell .wseg-label { color: var(--jp-primary); }
body.jp .jp-sell .form-card {
  margin: 0; padding: 28px; background: #fff;
  border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); box-shadow: var(--jp-shadow-sm);
}
body.jp .jp-sell .form-card::before { display: none; }
body.jp .jp-sell .wizard-step-head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-sell .wizard-step-head p { font-size: 14px; color: var(--jp-muted); }
body.jp .jp-sell .form-group label { color: var(--jp-ink-2); font-size: 14px; font-weight: 700; }
body.jp .jp-sell .sell-form-section .form-group input,
body.jp .jp-sell .sell-form-section .form-group textarea,
body.jp .jp-sell .sell-form-section .form-group select {
  background: #fff; border: 1px solid #d9d5df; border-radius: var(--jp-radius-sm); box-shadow: none;
}
body.jp .jp-sell .sell-form-section .form-group input:focus,
body.jp .jp-sell .sell-form-section .form-group textarea:focus,
body.jp .jp-sell .sell-form-section .form-group select:focus {
  border-color: var(--jp-primary-600); box-shadow: 0 0 0 3px var(--jp-primary-50); outline: none;
}
body.jp .jp-sell .wz-btn { height: 48px; padding: 0 20px; border-radius: var(--jp-radius-sm); font-size: 15px; font-weight: 800; }
body.jp .jp-sell .wz-next,
body.jp .jp-sell .wz-submit { background: var(--jp-primary); color: #fff; box-shadow: none; }
body.jp .jp-sell .wz-next:hover,
body.jp .jp-sell .wz-submit:hover { background: var(--jp-primary-700); transform: none; box-shadow: none; }
body.jp .jp-sell .wz-prev { background: #fff; color: var(--jp-ink-2); border: 1px solid var(--jp-line); }
body.jp .jp-sell .wz-prev:hover { border-color: var(--jp-primary); color: var(--jp-primary); }
body.jp .jp-sell .upload-zone { border: 1.5px dashed #cfc9d6; background: var(--jp-bg-soft); border-radius: var(--jp-radius); }
body.jp .jp-sell .upload-zone:hover { border-color: var(--jp-primary-600); background: var(--jp-primary-50); }
body.jp .jp-sell .check-item { background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-sm); }
body.jp .jp-sell .check-item:has(input:checked) { background: var(--jp-primary-50); border-color: var(--jp-primary-600); color: var(--jp-primary); }
body.jp .jp-sell .success-msg {
  padding: 40px 24px; background: #fff; border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius-lg); box-shadow: var(--jp-shadow-sm);
}
body.jp .jp-sell .success-msg .check { width: 64px; height: 64px; font-size: 30px; font-weight: 800; color: var(--jp-green); background: #e8f7ee; }
body.jp .jp-sell .success-msg h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-sell .success-msg p { margin: 0 0 20px; color: var(--jp-ink-2); }

body.jp .jp-sell-aside {
  position: sticky; top: calc(var(--jp-header-h) + 20px);
  display: flex; flex-direction: column; gap: 20px; padding: 24px;
  background: var(--jp-bg-soft); border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg);
}
body.jp .jp-sell-aside h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-sell-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
body.jp .jp-sell-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
body.jp .jp-sell-steps li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 14.5px; top: 34px; bottom: -16px; width: 1px; background: var(--jp-primary-100);
}
body.jp .jp-sell-steps b {
  position: relative; z-index: 1; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--jp-primary); color: #fff; font-size: 14px; font-weight: 800;
}
body.jp .jp-sell-steps h3 { margin: 4px 0 2px; font-size: 15px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-sell-steps p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--jp-muted); }
body.jp .jp-sell-points { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--jp-line); display: flex; flex-direction: column; gap: 10px; }
body.jp .jp-sell-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.7; color: var(--jp-ink-2); }
body.jp .jp-sell-points svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--jp-green); }
body.jp .jp-sell-help { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--jp-line); }
body.jp .jp-sell-help p { margin: 0; font-size: 14px; font-weight: 700; color: var(--jp-ink-2); }

@media (max-width: 1024px) {
  body.jp .jp-sell-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
}
@media (max-width: 860px) {
  body.jp .jp-sell-layout { grid-template-columns: minmax(0, 1fr); }
  body.jp .jp-sell-aside { position: static; }
}
@media (max-width: 640px) {
  body.jp .jp-sell .form-card { padding: 20px 16px; }
  body.jp .jp-sell-aside { padding: 20px 16px; }
}

/* ── Developer profile page ──────────────────────────────────────────── */
body.jp .dev-top { max-width: var(--jp-container); margin: 0 auto; padding: 20px 24px 0; box-sizing: border-box; }
body.jp .dev-hero {
  width: auto; max-width: calc(var(--jp-container) - 48px); height: 320px; min-height: 0; max-height: none;
  margin: 0 auto; border-radius: var(--jp-radius-lg); background: var(--jp-primary);
}
body.jp .dev-hero-slide img { filter: none; }
body.jp .dev-hero-blur { background: linear-gradient(0deg, rgba(20, 10, 24, .78) 0%, rgba(20, 10, 24, .2) 55%, rgba(20, 10, 24, 0) 100%); }
body.jp .dev-hero-blur::after { display: none; }
body.jp .dev-profile-bar { padding: 0 28px 24px; text-align: start; }
body.jp .dev-profile-inner { max-width: none; flex-direction: row; align-items: center; gap: 16px; }
body.jp .dev-logo { width: 84px; height: 84px; border: 3px solid #fff; box-shadow: var(--jp-shadow); object-fit: cover; flex: none; }
body.jp .dev-id { min-width: 0; }
body.jp .dev-profile-inner .dev-name { font-size: 28px; font-weight: 800; color: #fff; text-shadow: none; }
body.jp .dev-sub { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86); }
body.jp .dev-sub:empty { display: none; }

body.jp .dev-stats-strip { max-width: var(--jp-container); margin: 0 auto; padding: 20px 24px 0; box-sizing: border-box; }
body.jp .dev-stats-inner { max-width: none; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
body.jp .dev-stat-item {
  background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius);
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 16px; gap: 12px;
}
body.jp .dev-stat-item:hover { transform: none; background: #fff; box-shadow: var(--jp-shadow-sm); }
body.jp .dev-stat-icon { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .dev-stat-icon svg { width: 22px; height: 22px; }
body.jp .dev-stat-num { font-size: 20px; font-weight: 800; color: var(--jp-ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
body.jp .dev-stat-label { font-size: 12.5px; font-weight: 600; color: var(--jp-muted); white-space: normal; }

body.jp .dev-main { max-width: var(--jp-container); padding: 32px 24px 8px; box-sizing: border-box; }
body.jp .dev-about-block {
  margin: 0 0 40px; padding: 24px 28px; background: #fff;
  border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); box-shadow: none;
}
body.jp .dev-about-block::before, body.jp .dev-about-block::after { display: none; }
body.jp .dev-about-block h2 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--jp-ink); }
body.jp .dev-about-content { font-size: 16px; line-height: 1.95; color: var(--jp-ink-2); }
body.jp .dev-sec + .dev-sec { margin-top: 40px; }
body.jp .dev-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; border: 1px dashed var(--jp-line); border-radius: var(--jp-radius-lg); background: var(--jp-bg-soft); }
body.jp .dev-empty p { margin: 0; color: var(--jp-muted); }
body.jp .dev-error { display: flex; flex-direction: column; align-items: center; gap: 12px; }
body.jp .dev-error-ic { width: 56px; height: 56px; }

@media (max-width: 768px) {
  body.jp .dev-top { padding: 14px 16px 0; }
  body.jp .dev-hero { max-width: none; height: 240px; margin: 0 16px; }
  body.jp .dev-profile-bar { padding: 0 16px 16px; }
  body.jp .dev-logo { width: 64px; height: 64px; }
  body.jp .dev-profile-inner .dev-name { font-size: 21px; }
  body.jp .dev-sub { font-size: 13px; }
  body.jp .dev-profile-inner .ask-allam-btn .ask-allam-label { display: none; }
  body.jp .dev-stats-strip { padding: 14px 16px 0; }
  body.jp .dev-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.jp .dev-stat-item { padding: 12px; gap: 10px; }
  body.jp .dev-stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.jp .dev-stat-icon { width: 38px; height: 38px; }
  body.jp .dev-stat-num { font-size: 17px; }
  body.jp .dev-main { padding: 24px 16px 8px; }
  body.jp .dev-about-block { padding: 18px 16px; margin-bottom: 28px; }
  body.jp .dev-about-content { font-size: 15px; }
}

/* ── Compare page ─────────────────────────────────────────────────────── */
body.jp .cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); }
body.jp .cmp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
body.jp .cmp-table th,
body.jp .cmp-table td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--jp-line-2); font-size: 15px; line-height: 1.6; }
body.jp .cmp-table tbody tr:last-child > * { border-bottom: 0; }
body.jp .cmp-table tbody th,
body.jp .cmp-corner {
  position: sticky; inset-inline-start: 0; z-index: 1; width: 170px;
  background: var(--jp-bg-soft); color: var(--jp-muted); font-size: 14px; font-weight: 700;
}
body.jp .cmp-corner { z-index: 2; vertical-align: bottom; font-size: 13px; }
body.jp .cmp-table td { color: var(--jp-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
body.jp .cmp-unit-card { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 280px; }
body.jp .cmp-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--jp-radius); background: var(--jp-bg-soft); }
body.jp .cmp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.jp .cmp-remove {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--jp-ink); cursor: pointer; box-shadow: var(--jp-shadow-sm);
}
body.jp .cmp-remove:hover { color: #c62828; }
body.jp .cmp-title {
  min-height: 3em; font-size: 15px; font-weight: 800; line-height: 1.5; color: var(--jp-ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.jp .cmp-title:hover { color: var(--jp-primary); }
body.jp .cmp-view { height: 38px; font-size: 13px; }
body.jp .cmp-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; max-width: 280px;
  aspect-ratio: 4 / 3; border: 1.5px dashed #cfc9d6; border-radius: var(--jp-radius); background: var(--jp-bg-soft);
  color: var(--jp-primary); font-size: 14px; font-weight: 800; text-decoration: none;
}
body.jp .cmp-add span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--jp-line); font-size: 22px; line-height: 1; }
body.jp .cmp-add:hover { border-color: var(--jp-primary-600); background: var(--jp-primary-50); }
body.jp .cmp-table td.is-best { background: #f1faf4; }
body.jp .cmp-best { display: inline-block; margin-inline-start: 8px; padding: 1px 8px; border-radius: 999px; background: #dff3e6; color: #17803f; font-size: 11.5px; font-weight: 800; vertical-align: middle; }
body.jp .cmp-na { color: #b4afbd; }
body.jp .cmp-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; text-align: center;
  background: var(--jp-bg-soft); border: 1px dashed var(--jp-line); border-radius: var(--jp-radius-lg);
}
body.jp .cmp-empty h2 { margin: 4px 0 0; font-size: 20px; font-weight: 800; color: var(--jp-ink); }
body.jp .cmp-empty p { margin: 0 0 6px; max-width: 46ch; color: var(--jp-muted); }
body.jp .cmp-loading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) {
  body.jp .cmp-table { width: max-content; min-width: 0; }
  body.jp .cmp-table th, body.jp .cmp-table td { padding: 12px; font-size: 14px; }
  body.jp .cmp-table tbody th, body.jp .cmp-corner { width: 92px; min-width: 92px; font-size: 12.5px; }
  body.jp .cmp-unit, body.jp .cmp-table td { width: 180px; min-width: 180px; }
  body.jp .cmp-loading { grid-template-columns: 1fr; }
}

/* ── Unified navigation: secondary links live in the mobile drawer ───── */
@media (min-width: 1025px) {
  body.jp .navbar .nav-links .nav-extra { display: none !important; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  body.jp .navbar, body.jp .navbar.scrolled { gap: 12px; }
  body.jp .navbar .nav-links { gap: 0; }
  body.jp .navbar .nav-links a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1024px) {
  body.jp .navbar .nav-links .nav-extra-first { margin-top: 6px; border-top: 1px solid var(--jp-line) !important; }
  body.jp .navbar .nav-links a.nav-extra { font-size: 15px !important; font-weight: 600 !important; color: var(--jp-ink-2) !important; }
  body.jp .navbar .nav-links a.nav-extra.active { color: var(--jp-primary) !important; }
  body.jp .navbar .nav-links { max-height: calc(100dvh - var(--jp-header-h)); overflow-y: auto; }
}

/* ── Forms (contact) ─────────────────────────────────────────────────── */
body.jp .jp-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.jp .jp-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
body.jp .jp-field > label, body.jp .jp-field > legend { font-size: 14px; font-weight: 700; color: var(--jp-ink-2); padding: 0; margin-bottom: 6px; }
body.jp .jp-field input, body.jp .jp-field select, body.jp .jp-field textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px;
  font: inherit; font-size: 15px; color: var(--jp-ink);
  background: #fff; border: 1px solid #d9d5df; border-radius: var(--jp-radius-sm); outline: none;
}
body.jp .jp-field textarea { min-height: 110px; resize: vertical; line-height: 1.8; }
body.jp .jp-field input:focus, body.jp .jp-field select:focus, body.jp .jp-field textarea:focus { border-color: var(--jp-primary-600); box-shadow: 0 0 0 3px var(--jp-primary-50); }
body.jp .jp-phone { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; }
body.jp .jp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.jp .jp-chips label { cursor: pointer; }
body.jp .jp-chips label { position: relative; }
body.jp .jp-chips input { position: absolute; inset: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
body.jp .jp-chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--jp-line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--jp-ink-2); background: #fff; transition: border-color .15s, background .15s, color .15s; }
body.jp .jp-chips input:checked + span { border-color: var(--jp-primary-600); background: var(--jp-primary-50); color: var(--jp-primary); font-weight: 800; }
body.jp .jp-chips input:focus-visible + span { outline: 2px solid var(--jp-primary-600); outline-offset: 2px; }
body.jp .jp-btn-block { width: 100%; height: 48px; font-size: 15px; }
body.jp .jp-form-hint { margin: -6px 0 18px; font-size: 13px; color: var(--jp-muted); }
body.jp .jp-form-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--jp-muted); }
body.jp .jp-form-note a { color: var(--jp-primary-600); }
body.jp .jp-form-error { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--jp-radius-sm); background: #fdecec; color: #b3261e; font-size: 14px; font-weight: 600; }
body.jp .jp-form-success { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 8px; text-align: center; }
body.jp .jp-form-success[hidden] { display: none !important; }
body.jp .jp-form-success h2 { margin: 4px 0 0; font-size: 22px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-form-success p { margin: 0 0 8px; color: var(--jp-ink-2); }
body.jp .jp-success-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #e8f7ee; color: var(--jp-green); }
body.jp .jp-success-ic svg { width: 28px; height: 28px; }

/* Contact page */
body.jp .jp-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
body.jp .jp-contact-form-card { padding: 28px; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); box-shadow: var(--jp-shadow-sm); }
body.jp .jp-contact-form-card h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-contact-aside { display: flex; flex-direction: column; gap: 12px; }
body.jp .jp-channel {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); transition: border-color .15s, box-shadow .15s;
}
body.jp .jp-channel:hover { border-color: var(--jp-primary-100); box-shadow: var(--jp-shadow-sm); }
body.jp .jp-channel b { display: block; font-size: 16px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-channel small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--jp-muted); }
body.jp .jp-channel small[dir="ltr"] { direction: ltr; text-align: right; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
body.jp .jp-channel-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .jp-channel-ic svg { width: 22px; height: 22px; }
body.jp .jp-channel.is-wa .jp-channel-ic { background: #e6f9ee; color: #128c4a; }
body.jp .jp-channel-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 4px 4px 0; font-size: 14px; color: var(--jp-muted); }
body.jp .jp-channel-social a { color: var(--jp-primary); font-weight: 700; text-decoration: none; }
body.jp .jp-channel-social a:hover { text-decoration: underline; }
body.jp .jp-contact-note { margin-top: 8px; padding: 20px; border-radius: var(--jp-radius-lg); background: var(--jp-primary-50); }
body.jp .jp-contact-note h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--jp-primary); }
body.jp .jp-contact-note p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: var(--jp-ink-2); }

/* Legal pages */
body.jp .jp-legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
body.jp .jp-legal-toc { position: sticky; top: calc(var(--jp-header-h) + 20px); display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); background: var(--jp-bg-soft); }
body.jp .jp-legal-toc a { padding: 8px 10px; border-radius: var(--jp-radius-sm); font-size: 14px; font-weight: 600; color: var(--jp-ink-2); text-decoration: none; }
body.jp .jp-legal-toc a:hover { background: #fff; color: var(--jp-primary); }
body.jp .jp-legal article { max-width: 760px; }
body.jp .jp-legal .jp-prose h2 { scroll-margin-top: calc(var(--jp-header-h) + 20px); }

/* 404 */
body.jp .jp-404-box { max-width: 640px; margin: 24px auto 0; padding: 40px 24px; text-align: center; }
body.jp .jp-404-box > .jp-404-code { margin: 0; font-size: 96px; font-weight: 900; line-height: 1; color: var(--jp-primary-100); letter-spacing: .04em; }
body.jp .jp-404-box h1 { margin: 8px 0 8px; font-size: 28px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-404-box > p { margin: 0 0 20px; color: var(--jp-muted); }
body.jp .jp-404-search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 20px; }
body.jp .jp-404-search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: inherit; font-size: 15px; border: 1px solid #d9d5df; border-radius: var(--jp-radius-sm); outline: none; }
body.jp .jp-404-search input:focus { border-color: var(--jp-primary-600); box-shadow: 0 0 0 3px var(--jp-primary-50); }
body.jp .jp-404-search .jp-btn { height: 48px; }
body.jp .jp-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.jp .jp-404-links a { padding: 8px 14px; border: 1px solid var(--jp-line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--jp-ink-2); text-decoration: none; }
body.jp .jp-404-links a:hover { border-color: var(--jp-primary-100); color: var(--jp-primary); background: var(--jp-primary-50); }

@media (max-width: 960px) {
  body.jp .jp-contact-layout { grid-template-columns: minmax(0, 1fr); }
  body.jp .jp-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.jp .jp-legal-toc { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  body.jp .jp-contact-form-card { padding: 20px 16px; }
  body.jp .jp-phone { grid-template-columns: 110px minmax(0, 1fr); }
  body.jp .jp-404-box > .jp-404-code { font-size: 72px; }
  body.jp .jp-404-box h1 { font-size: 23px; }
}

/* CMS: multi-line texts from the dashboard keep their line breaks */
body.jp [data-cms-ml] { white-space: pre-line; }
body.jp .jp-channel-info { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); }
body.jp .jp-channel-info p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--jp-ink-2); line-height: 1.7; }
body.jp .jp-channel-info b { font-size: 13px; color: var(--jp-muted); font-weight: 700; }

/* ── Map page: keep floating controls off the bottom sheet on phones ── */
@media (max-width: 768px) {
  body.jp-map.detail-mode .map-3d-btn,
  body.jp-map.detail-mode .map-sat-btn,
  body.jp-map.detail-mode .map-locate,
  body.jp-map.detail-mode .map-count,
  body.jp-map.detail-mode .map-reset,
  body.jp-map.detail-mode .map-showlist,
  body.jp-map.detail-mode .mapboxgl-ctrl-bottom-left,
  body.jp-map.sheet-open .map-3d-btn,
  body.jp-map.sheet-open .map-sat-btn,
  body.jp-map.sheet-open .map-locate,
  body.jp-map.sheet-open .map-count,
  body.jp-map.sheet-open .mapboxgl-ctrl-bottom-left { display: none !important; }
}
body.jp-map .pm-desc { line-height: 1.9; }
body.jp-map .pm-desc img { max-width: 100%; height: auto; border-radius: 10px; }

/* ── Customer account: header button, drawer item, sign-in dialog ───── */
body.jp .navbar .jp-auth-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding-inline: 12px 14px; flex: none;
  border-radius: 999px; border: 1px solid var(--jp-line); background: #fff; color: var(--jp-ink-2);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
body.jp .navbar .jp-auth-btn:hover { color: var(--jp-primary); border-color: var(--jp-primary-100); background: var(--jp-primary-50); }
body.jp .navbar .jp-auth-btn.is-user { padding-inline: 4px 14px; }
body.jp .navbar .jp-auth-btn[aria-busy="true"], body.jp .navbar .jp-auth-menu[aria-busy="true"] { opacity: .6; cursor: progress; }
body.jp .jp-auth-av {
  width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--jp-primary); color: #fff; font-size: 14px; font-weight: 800;
}
body.jp .jp-auth-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.jp .jp-auth-txt { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1025px) { body.jp .navbar .nav-links .jp-auth-menu { display: none !important; } }
@media (min-width: 1025px) and (max-width: 1240px) {
  body.jp .navbar .jp-auth-btn { width: 40px; padding: 0; justify-content: center; }
  body.jp .navbar .jp-auth-btn .jp-auth-txt { display: none; }
}
@media (max-width: 1024px) {
  body.jp .navbar .jp-auth-btn { display: none; }
  body.jp .navbar .nav-links a.jp-auth-menu {
    display: flex !important; align-items: center; gap: 12px;
    margin: 4px 0 10px; padding: 12px 14px !important;
    background: var(--jp-primary-50); border: 1px solid var(--jp-primary-100) !important; border-radius: var(--jp-radius) !important;
  }
  body.jp .navbar .nav-links a.jp-auth-menu > svg { width: 26px; height: 26px; color: var(--jp-primary); flex: none; }
  body.jp .navbar .nav-links a.jp-auth-menu .jp-auth-av { width: 36px; height: 36px; font-size: 15px; }
  body.jp .jp-auth-menu b { display: block; font-size: 15px; font-weight: 800; color: var(--jp-ink); }
  body.jp .jp-auth-menu small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--jp-muted); }
}

.jw-ov {
  position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(23, 21, 28, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.jw-ov.show { display: flex; animation: jwFade .18s ease; }
html.jw-lock, html.jw-lock body { overflow: hidden !important; }
.jw-card {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box;
  background: #fff; color: var(--jp-ink); border-radius: var(--jp-radius-lg); box-shadow: var(--jp-shadow-lg);
  padding: 28px 24px 22px; direction: rtl; text-align: start; font-family: inherit;
}
.jw-ov.show .jw-card { animation: jwUp .22s ease; }
.jw-card [hidden] { display: none !important; }
.jw-card .jw-close {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: var(--jp-bg-soft); color: var(--jp-ink-2); cursor: pointer;
}
.jw-card .jw-close:hover { background: var(--jp-line-2); color: var(--jp-ink); }
.jw-card .jw-logo { display: block; width: 62px; height: auto; margin: 0 auto 12px; }
.jw-card .jw-title { margin: 0 0 6px; text-align: center; font-size: 22px; font-weight: 800; line-height: 1.35; color: var(--jp-ink); background: none; -webkit-text-fill-color: currentColor; }
.jw-card .jw-sub { margin: 0 auto 20px; max-width: 34ch; text-align: center; font-size: 14px; line-height: 1.7; color: var(--jp-muted); }
.jw-card .jw-form { display: grid; gap: 14px; margin: 0; }
.jw-card .jw-field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--jp-ink-2); }
.jw-card .jw-inp {
  width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px;
  border: 1px solid var(--jp-line); border-radius: var(--jp-radius); background: #fff; color: var(--jp-ink);
  font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.jw-card .jw-inp::placeholder { color: #a7a2b0; }
.jw-card .jw-inp:focus { border-color: var(--jp-primary-600); box-shadow: 0 0 0 3px var(--jp-primary-50); }
.jw-card .jw-ltr { direction: ltr; text-align: left; }
.jw-card .jw-pass { position: relative; }
.jw-card .jw-pass .jw-inp { padding-inline-end: 76px; }
.jw-card .jw-eye {
  position: absolute; top: 50%; inset-inline-end: 6px; transform: translateY(-50%);
  border: 0; background: none; padding: 8px 10px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--jp-primary-600);
}
.jw-card .jw-link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--jp-primary-600); }
.jw-card .jw-link:hover { text-decoration: underline; }
.jw-card .jw-forgot { justify-self: start; margin-top: -6px; font-size: 13px; }
.jw-card .jw-btn {
  height: 50px; width: 100%; border: 0; border-radius: var(--jp-radius); cursor: pointer;
  background: var(--jp-primary); color: #fff; font: inherit; font-size: 16px; font-weight: 800;
  transition: background .15s, opacity .15s;
}
.jw-card .jw-btn:hover:not(:disabled) { background: var(--jp-primary-700); }
.jw-card .jw-btn:disabled { opacity: .45; cursor: not-allowed; }
.jw-card .jw-btn.is-loading { opacity: .7; cursor: progress; }
.jw-card .jw-msg { margin: 0; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 1.6; color: #c81e2b; }
.jw-card .jw-msg:empty { display: none; }
.jw-card .jw-msg.ok { color: #127a43; }
.jw-card .jw-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 13px; font-weight: 700; color: var(--jp-muted); }
.jw-card .jw-or::before, .jw-card .jw-or::after { content: ""; flex: 1; height: 1px; background: var(--jp-line); }
.jw-card .jw-soc { display: grid; gap: 10px; }
.jw-card .jw-soc-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; width: 100%;
  border: 1px solid var(--jp-line); border-radius: var(--jp-radius); background: #fff; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--jp-ink);
}
.jw-card .jw-soc-btn:hover { background: var(--jp-bg-soft); }
.jw-card .jw-soc-btn.jw-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.jw-card .jw-soc-btn.jw-fb:hover { background: #166fe0; }
.jw-card .jw-switch { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--jp-ink-2); }
.jw-card .jw-acc-top { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 4px 0 18px; }
.jw-card .jw-acc-pic {
  width: 76px; height: 76px; margin-bottom: 12px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--jp-primary); color: #fff; font-size: 30px; font-weight: 800;
}
.jw-card .jw-acc-pic img { width: 100%; height: 100%; object-fit: cover; }
.jw-card .jw-acc-mail { font-size: 14px; color: var(--jp-muted); overflow-wrap: anywhere; }
.jw-card .jw-acc-links { display: grid; gap: 10px; margin-bottom: 14px; }
.jw-card .jw-acc-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--jp-line); border-radius: var(--jp-radius); color: var(--jp-ink); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.jw-card .jw-acc-link:hover { border-color: var(--jp-primary-100); background: var(--jp-primary-50); }
.jw-card .jw-acc-link > span:nth-child(2) { flex: 1; min-width: 0; }
.jw-card .jw-acc-link b { display: block; font-size: 15px; }
.jw-card .jw-acc-link small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--jp-muted); }
.jw-card .jw-acc-link > svg { flex: none; color: var(--jp-muted); }
.jw-card .jw-acc-ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--jp-primary-50); color: var(--jp-primary);
}
.jw-card .jw-logout {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px;
  border: 1px solid #f1c9cd; border-radius: var(--jp-radius); background: #fff; color: #c81e2b; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700;
}
.jw-card .jw-logout:hover { background: #fdf1f2; }
.jw-card .jw-confirm p { margin: 4px 0 12px; text-align: center; font-weight: 700; }
.jw-card .jw-confirm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jw-card .jw-danger { background: #c81e2b; }
.jw-card .jw-danger:hover:not(:disabled) { background: #a81824; }
.jw-card .jw-ghost { background: var(--jp-bg-soft); color: var(--jp-ink); }
.jw-card .jw-ghost:hover:not(:disabled) { background: var(--jp-line-2); }
@media (max-width: 520px) {
  .jw-ov { padding: 0; align-items: flex-end; }
  .jw-ov > .jw-card { max-width: none; max-height: 94dvh; border-radius: 18px 18px 0 0; padding: 26px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes jwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes jwUp { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jw-ov.show, .jw-ov.show .jw-card { animation: none; } }

/* ── Login page ──────────────────────────────────────────────────────── */
body.jp .jp-auth-layout { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 40px; }
body.jp .jw-card.jw-card--page { max-width: none; max-height: none; overflow: visible; box-shadow: var(--jp-shadow-sm); border: 1px solid var(--jp-line); }
body.jp .jp-auth-perks { padding: 8px 0; }
body.jp .jp-auth-perks h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-auth-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
body.jp .jp-auth-perks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--jp-bg-soft); border-radius: var(--jp-radius-lg); }
body.jp .jp-auth-perks li > svg { flex: none; width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 10px; background: #fff; color: var(--jp-primary); }
body.jp .jp-auth-perks b { display: block; margin-bottom: 2px; font-size: 16px; color: var(--jp-ink); }
body.jp .jp-auth-perks p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--jp-muted); }
body.jp .jp-auth-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; color: var(--jp-muted); font-size: 14px; }
body.jp .jp-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--jp-primary-100); border-top-color: var(--jp-primary); animation: jwSpin .8s linear infinite; }
@keyframes jwSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  body.jp .jp-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.jp .jp-auth-layout .jw-card--page { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) { body.jp .jw-card.jw-card--page { padding: 22px 16px 18px; } }

/* ── My requests ─────────────────────────────────────────────────────── */
body.jp .jp-req-acct {
  display: flex; align-items: center; gap: 12px; margin: -8px 0 24px; padding: 12px 14px;
  background: var(--jp-bg-soft); border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg);
}
body.jp .jp-req-acct[hidden] { display: none; }
body.jp .jp-req-acct .jp-auth-av { width: 40px; height: 40px; font-size: 16px; }
body.jp .jp-req-acct-txt { flex: 1; min-width: 0; }
body.jp .jp-req-acct-txt b { display: block; font-size: 15px; color: var(--jp-ink); }
body.jp .jp-req-acct-txt small { display: block; font-size: 13px; color: var(--jp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
body.jp .jp-req-list { display: grid; gap: 12px; padding-bottom: 32px; }
body.jp .jp-req-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); }
body.jp .jp-req-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .jp-req-ico.is-sell { background: var(--jp-accent-50); color: #8a6d12; }
body.jp .jp-req-ico.is-contact { background: #e9f7ef; color: #13824a; }
body.jp .jp-req-body { flex: 1; min-width: 0; }
body.jp .jp-req-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
body.jp .jp-req-tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .jp-req-tag.is-sell { background: var(--jp-accent-50); color: #7a600e; }
body.jp .jp-req-tag.is-contact { background: #e9f7ef; color: #13824a; }
body.jp .jp-req-top time { font-size: 12.5px; color: var(--jp-muted); }
body.jp .jp-req-body h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--jp-ink); line-height: 1.5; overflow-wrap: anywhere; }
body.jp .jp-req-meta { margin: 0; font-size: 14px; color: var(--jp-ink-2); line-height: 1.7; }
body.jp .jp-req-msg { margin: 6px 0 0; font-size: 13.5px; color: var(--jp-muted); line-height: 1.7; overflow-wrap: anywhere; }
body.jp .jp-req-link { display: inline-flex; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--jp-primary); text-decoration: none; }
body.jp .jp-req-link:hover { text-decoration: underline; }
body.jp .jp-req-skel { height: 96px; border-radius: var(--jp-radius-lg); background: linear-gradient(90deg, var(--jp-line-2), #fff, var(--jp-line-2)); background-size: 200% 100%; animation: jpSkel 1.2s ease-in-out infinite; }
@keyframes jpSkel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
body.jp .jp-state {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  margin: 0 0 40px; padding: 40px 20px; background: var(--jp-bg-soft); border: 1px dashed var(--jp-line); border-radius: var(--jp-radius-lg);
}
body.jp .jp-state > svg { width: 48px; height: 48px; color: var(--jp-primary-600); }
body.jp .jp-state h2 { margin: 4px 0 0; font-size: 19px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-state p { margin: 0; max-width: 46ch; font-size: 14.5px; line-height: 1.8; color: var(--jp-muted); }
body.jp .jp-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ── Favorites page ──────────────────────────────────────────────────── */
body.jp .jp-page-head.jp-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
body.jp .jp-fav-sec { margin-bottom: 40px; }
body.jp .jp-fav-sec[hidden] { display: none; }
body.jp .jp-fav-sec > h2 { margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-fav-sec > h2 small { font-size: 14px; font-weight: 600; color: var(--jp-muted); }
body.jp .jp-fav-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
body.jp .jp-fav-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--jp-line); border-radius: var(--jp-radius-lg); color: var(--jp-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
body.jp .jp-fav-item:hover { border-color: var(--jp-primary-100); box-shadow: var(--jp-shadow-sm); }
body.jp .jp-fav-item img { width: 72px; height: 72px; flex: none; border-radius: 10px; object-fit: cover; background: var(--jp-bg-soft); }
body.jp .jp-fav-item span { flex: 1; min-width: 0; }
body.jp .jp-fav-item b { display: block; font-size: 15px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.jp .jp-fav-item small { display: block; font-size: 13px; color: var(--jp-muted); }
body.jp .jp-fav-rm {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--jp-line); background: #fff; color: var(--jp-muted); cursor: pointer;
}
body.jp .jp-fav-rm:hover { color: #c81e2b; border-color: #f1c9cd; background: #fdf1f2; }
body.jp .properties-grid > .property-card.jp-leaving { opacity: 0; transform: scale(.97); transition: opacity .2s, transform .2s; }
body.jp .fav-all-link { display: block; padding: 12px 16px; border-top: 1px solid var(--jp-line); text-align: center; font-size: 14px; font-weight: 800; color: var(--jp-primary); text-decoration: none; }
body.jp .fav-all-link:hover { background: var(--jp-primary-50); }
body.jp i[data-cms] { font-style: normal; }

/* ══════════════════════════════════════════════════════════════════════
   نسخة الموبايل زي التطبيق (≤ 768px): شريط علوي زجاجي + شريط تنقل سفلي
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --jp-tabbar-h: 64px;
  --jp-glass: rgba(255, 255, 255, .74);
  --jp-glass-2: rgba(255, 255, 255, .86);
  --jp-glass-dark: rgba(23, 12, 28, .42);
  --jp-glass-line: rgba(255, 255, 255, .55);
  --jp-blur: saturate(180%) blur(20px);
  --jp-blur-sm: saturate(160%) blur(10px);
}
body.jp .jp-tabbar, body.jp .navbar .jp-back { display: none; }

@media (max-width: 768px) {
  /* ── الشريط العلوي ── */
  body.jp .navbar, body.jp .navbar.scrolled {
    height: calc(var(--jp-header-h) + env(safe-area-inset-top, 0px)) !important;
    padding: env(safe-area-inset-top, 0px) 12px 0 !important;
    gap: 8px !important;
    background: var(--jp-glass) !important;
    -webkit-backdrop-filter: var(--jp-blur) !important; backdrop-filter: var(--jp-blur) !important;
    border-bottom: 1px solid rgba(23, 21, 28, .06) !important;
    box-shadow: none !important;
  }
  body.jp .navbar .logo { position: static !important; transform: none !important; left: auto !important; }
  body.jp .navbar .logo-img { height: 38px; }
  body.jp .navbar .nav-links, body.jp .navbar .mobile-menu-btn, body.jp .navbar .nav-cta { display: none !important; }
  body.jp .navbar .nav-actions {
    position: static !important; padding: 0 !important; pointer-events: auto !important;
    margin-inline-start: auto !important; display: flex; align-items: center; gap: 8px;
  }
  body.jp .navbar .nav-fav-btn,
  body.jp .navbar .jp-auth-btn,
  body.jp .navbar .jp-back {
    width: 40px; height: 40px; padding: 0 !important; flex: none;
    display: inline-flex !important; align-items: center; justify-content: center;
    border-radius: 50% !important; border: 1px solid rgba(23, 21, 28, .08) !important;
    background: var(--jp-glass-2) !important; color: var(--jp-ink) !important;
    -webkit-backdrop-filter: var(--jp-blur-sm); backdrop-filter: var(--jp-blur-sm);
    box-shadow: 0 2px 10px rgba(23, 21, 28, .06) !important; cursor: pointer;
  }
  body.jp .navbar .jp-auth-btn .jp-auth-txt { display: none; }
  body.jp .navbar .jp-auth-btn .jp-auth-av { width: 32px; height: 32px; }
  body.jp .navbar .jp-back { margin-inline-end: 2px; }
  body.jp .navbar .jp-back:active, body.jp .navbar .nav-fav-btn:active, body.jp .navbar .jp-auth-btn:active { transform: scale(.94); }

  /* ── شريط التنقل السفلي ── */
  body.jp .jp-tabbar {
    position: fixed; inset: auto 0 0 0; z-index: 1000;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--jp-tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 6px 6px env(safe-area-inset-bottom, 0px);
    background: var(--jp-glass);
    -webkit-backdrop-filter: var(--jp-blur); backdrop-filter: var(--jp-blur);
    border-top: 1px solid rgba(23, 21, 28, .07);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 30px rgba(23, 21, 28, .08);
  }
  body.jp .jp-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 0; color: #8b8595; text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  body.jp .jp-tab-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 30px; border-radius: 999px; transition: background .2s, transform .15s;
  }
  body.jp .jp-tab-lbl { font-size: 11.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
  body.jp .jp-tab .f { fill: transparent; transition: fill .2s; }
  body.jp .jp-tab.is-active { color: var(--jp-primary); }
  body.jp .jp-tab.is-active .jp-tab-ic { background: var(--jp-primary-50); }
  body.jp .jp-tab.is-active .f { fill: currentColor; fill-opacity: .18; }
  body.jp .jp-tab.is-active svg { stroke-width: 2.1; }
  body.jp .jp-tab.is-active .jp-tab-lbl { font-weight: 800; }
  body.jp .jp-tab:active .jp-tab-ic { transform: scale(.9); }

  body.jp.has-tabbar { padding-bottom: calc(var(--jp-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  body.jp.has-tabbar .wa-float { bottom: calc(var(--jp-tabbar-h) + 14px + env(safe-area-inset-bottom, 0px)) !important; }
  body.jp.has-tabbar .compare-bar { bottom: calc(var(--jp-tabbar-h) + 10px + env(safe-area-inset-bottom, 0px)) !important; }
  body.jp.has-tabbar:has(.compare-bar.show) .wa-float { bottom: calc(var(--jp-tabbar-h) + 96px + env(safe-area-inset-bottom, 0px)) !important; }
  body.jp.has-tabbar .toast { bottom: calc(var(--jp-tabbar-h) + 18px + env(safe-area-inset-bottom, 0px)) !important; }

  /* ── زجاج خفيف على العناصر العايمة ── */
  body.jp .modal-overlay, body.jp .jw-ov { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  body.jp .compare-bar {
    background: var(--jp-glass-2) !important;
    -webkit-backdrop-filter: var(--jp-blur) !important; backdrop-filter: var(--jp-blur) !important;
    border-color: var(--jp-glass-line) !important;
  }
}

/* ── شاشة «المزيد» ─────────────────────────────────────────────────── */
body.jp .jp-more { max-width: 560px; }
body.jp .jp-more-head {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 16px 18px; margin: 0 0 18px; overflow: hidden; border-radius: 24px;
  background: linear-gradient(160deg, var(--jp-primary-50), #fff 70%);
  border: 1px solid var(--jp-line);
}
body.jp .jp-more-head::before, body.jp .jp-more-head::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(34px); opacity: .55; pointer-events: none;
}
body.jp .jp-more-head::before { width: 180px; height: 180px; background: #d9b8e0; top: -70px; inset-inline-start: -40px; }
body.jp .jp-more-head::after { width: 150px; height: 150px; background: #f3dfa2; bottom: -80px; inset-inline-end: -30px; }
body.jp .jp-more-head > * { position: relative; }
body.jp .jp-more-av {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--jp-glass-2); color: var(--jp-muted); border: 1px solid var(--jp-glass-line);
  -webkit-backdrop-filter: var(--jp-blur-sm); backdrop-filter: var(--jp-blur-sm);
  box-shadow: 0 8px 24px rgba(58, 11, 64, .1); font-size: 32px; font-weight: 800;
}
body.jp .jp-more-av.is-user { background: var(--jp-primary); color: #fff; }
body.jp .jp-more-av img { width: 100%; height: 100%; object-fit: cover; }
body.jp .jp-more-hi { margin: 12px 0 2px; font-size: 22px; font-weight: 800; color: var(--jp-ink); background: none; -webkit-text-fill-color: currentColor; }
body.jp .jp-more-mail { margin: 0; font-size: 13.5px; color: var(--jp-muted); direction: ltr; }
body.jp .jp-more-login { width: 100%; max-width: 360px; height: 50px; margin-top: 14px; border-radius: 14px; font-size: 16px; box-shadow: 0 10px 24px rgba(58, 11, 64, .22); }
body.jp .jp-more-group { display: grid; gap: 8px; margin: 0 0 20px; }
body.jp .jp-more-group > h2 { margin: 0 4px 2px; font-size: 13px; font-weight: 800; color: var(--jp-muted); letter-spacing: .01em; }
body.jp .jp-more-row {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px;
  background: #fff; border: 1px solid var(--jp-line); border-radius: 16px;
  color: var(--jp-ink); text-decoration: none; box-shadow: 0 2px 8px rgba(23, 21, 28, .03);
  transition: border-color .15s, background .15s, transform .12s;
}
body.jp .jp-more-row:active { transform: scale(.985); background: var(--jp-bg-soft); }
body.jp .jp-more-row .ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--jp-primary-50); color: var(--jp-primary);
}
body.jp .jp-more-row .ic.is-ai { background: linear-gradient(135deg, var(--jp-primary), var(--jp-primary-600)); color: #fff; }
body.jp .jp-more-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.jp .jp-more-row .t { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 700; }
body.jp .jp-more-row .b {
  flex: none; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--jp-primary); color: #fff; font-size: 12px; font-weight: 800;
}
body.jp .jp-more-row .b.is-ai { background: var(--jp-accent-50); color: #7a600e; border: 1px solid #efd98f; }
body.jp .jp-more-row .b[hidden] { display: none; }
body.jp .jp-more-row .chev { flex: none; width: 18px; height: 18px; color: #a19aab; }
body.jp .jp-more-social { display: flex; justify-content: center; gap: 12px; margin: 6px 0 10px; }
body.jp .jp-more-social a {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--jp-line); color: var(--jp-primary);
}
body.jp .jp-more-social svg { width: 20px; height: 20px; }
body.jp .jp-more-copy { margin: 0 0 18px; text-align: center; font-size: 12.5px; color: var(--jp-muted); }
@media (max-width: 768px) {
  body.jp .jp-page.jp-more { padding-top: calc(var(--jp-header-h) + env(safe-area-inset-top, 0px) + 14px); }
}

/* ══════════════════════════════════════════════════════════════════════
   الرئيسية بشكل التطبيق (≤ 768px): كروت خدمات، صفوف بتتسحب بالصباع،
   نقاط تحت السلايدر، وكروت عقارات بزراير واضحة
   ══════════════════════════════════════════════════════════════════════ */
body.jp .jp-m-services,
body.jp .jp-snap-dots,
body.jp .property-card .jp-btn-lbl { display: none; }

@media (max-width: 768px) {
  body.jp main > .section, body.jp .jp-section { padding-top: 28px; }
  body.jp .jp-sec-head { margin-bottom: 14px; }
  body.jp .jp-sec-head h2 { font-size: 19px; }
  body.jp .jp-sec-head p { font-size: 13px; }
  body.jp .jp-see-all { font-size: 13.5px; padding: 6px 0; }

  /* ── كروت الخدمات ٢×٢ ── */
  body.jp .jp-m-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 16px 0;
  }
  body.jp .jp-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-height: 138px;
    padding: 14px 14px 16px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--jp-line);
    box-shadow: 0 6px 20px rgba(23, 21, 28, .05);
    color: var(--jp-ink);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s, box-shadow .15s;
  }
  body.jp .jp-svc::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 120px; height: 120px;
    top: -52px; inset-inline-start: -44px;
    border-radius: 50%;
    background: var(--svc-glow, #e6d2ea);
    filter: blur(30px);
    opacity: .75;
    pointer-events: none;
  }
  body.jp .jp-svc:nth-child(2) { --svc-glow: #f6e6ae; }
  body.jp .jp-svc:nth-child(3) { --svc-glow: #d9bfe0; }
  body.jp .jp-svc:nth-child(4) { --svc-glow: #cfeede; }
  body.jp .jp-svc:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(23, 21, 28, .06); }
  body.jp .jp-svc-ic {
    width: 44px; height: 44px;
    margin-bottom: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    color: var(--jp-primary);
    box-shadow: 0 4px 12px rgba(58, 11, 64, .1);
  }
  body.jp .jp-svc-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body.jp .jp-svc-ic.is-b { color: #8a6d12; }
  body.jp .jp-svc-ic.is-c { background: linear-gradient(135deg, var(--jp-primary), var(--jp-primary-600)); color: #fff; box-shadow: 0 6px 14px rgba(58, 11, 64, .28); }
  body.jp .jp-svc-ic.is-d { color: #13824a; }
  body.jp .jp-svc b { font-size: 15px; font-weight: 800; line-height: 1.35; }
  body.jp .jp-svc small { font-size: 12px; line-height: 1.6; color: var(--jp-muted); }
  body.jp .jp-svc-go {
    position: absolute; top: 16px; inset-inline-end: 12px;
    width: 26px; height: 26px; padding: 5px; box-sizing: border-box;
    border-radius: 50%; background: var(--jp-bg-soft);
    fill: none; stroke: #8b8595; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  }

  /* ── «ابحث عن»: صف دواير ── */
  body.jp .jp-quick { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  body.jp .jp-quick a {
    min-height: 0;
    padding: 0;
    gap: 7px;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
  }
  body.jp .jp-quick a:hover { transform: none; box-shadow: none; }
  body.jp .jp-quick .jp-quick-ic {
    width: min(56px, 100%); height: auto; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--jp-primary-50);
    box-shadow: inset 0 0 0 1px var(--jp-primary-100);
    transition: transform .12s;
  }
  body.jp .jp-quick .jp-quick-ic svg { width: 24px; height: 24px; }
  body.jp .jp-quick a:active .jp-quick-ic { transform: scale(.92); }
  body.jp .jp-quick a.is-accent { display: none; }

  /* ── العروض ── */
  body.jp .offers-section { padding-top: 24px !important; }
  body.jp .offer-card { border-radius: 20px !important; border: 0; }
  body.jp .offer-dots { gap: 6px; margin-top: 12px; }
  body.jp .offer-dot { width: 6px; height: 6px; border-radius: 999px; box-shadow: none !important; transition: width .3s ease, background .3s ease; }
  body.jp .offer-dot.active { width: 20px; }

  /* ── المشاريع والكمبوندات: سلايدر بيبان منه الكارت اللي بعده ── */
  body.jp .entity-section-wrap { margin-inline: -16px; }
  body.jp .entity-track {
    grid-auto-columns: 80%;
    gap: 12px;
    padding: 2px 16px 14px;
    scroll-padding-inline: 16px;
  }
  body.jp .entity-card {
    aspect-ratio: 16 / 11;
    border: 0;
    border-radius: 20px !important;
    box-shadow: 0 8px 22px rgba(23, 21, 28, .1) !important;
  }
  body.jp .entity-card .jp-ent-meta { padding: 44px 16px 14px; }
  body.jp .jp-ent-name { font-size: 17px; }
  body.jp #compoundsTrack { grid-auto-columns: calc((100% - 24px) / 2.2); }
  body.jp #compoundsTrack .entity-card {
    aspect-ratio: auto;
    overflow: visible;
    background: none;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.jp #compoundsTrack .entity-card > img {
    display: block;
    height: auto;
    aspect-ratio: 1 / 1.08;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(23, 21, 28, .1);
    background: var(--jp-bg-soft);
    transform: none;
  }
  body.jp #compoundsTrack .jp-ent-meta { position: static; padding: 10px 4px 0; background: none; color: var(--jp-ink); }
  body.jp #compoundsTrack .jp-ent-sub { order: -1; font-size: 12.5px; color: var(--jp-muted); opacity: 1; }
  body.jp #compoundsTrack .jp-ent-name { font-size: 15px; }
  body.jp #compoundsTrack .entity-card-more { aspect-ratio: 1 / 1.08; align-self: start; border-radius: 18px !important; }

  /* ── المناطق: صف صور بيتسحب ── */
  body.jp #areasTrack {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    margin: 0 -16px !important;
    padding: 2px 16px 8px !important;
    border: 0;
    border-radius: 0;
    background: none;
  }
  body.jp #areasTrack::-webkit-scrollbar { display: none; }
  body.jp #areasTrack .area-card {
    flex: 0 0 112px;
    padding: 0;
    gap: 2px;
    background: none;
    box-shadow: none !important;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }
  body.jp #areasTrack .area-card:hover { background: none; }
  body.jp #areasTrack .area-card-imgwrap {
    width: 112px; height: 112px;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(23, 21, 28, .1);
    margin-bottom: 8px;
  }
  body.jp #areasTrack .area-card-name { font-size: 14px; }
  body.jp #areasTrack .area-card-more {
    flex-direction: column !important;
    justify-content: center;
    height: 112px;
    gap: 6px;
    border-radius: 20px;
    background: var(--jp-primary-50);
    box-shadow: inset 0 0 0 1px var(--jp-primary-100) !important;
  }
  body.jp #areasTrack .area-card-more .area-more-circle { order: 0; }
  body.jp #areasTrack .area-card-more .area-card-count::before { content: none; }

  /* ── «نرشح لك» و«أحدث العقارات»: سلايدر كروت ── */
  body.jp #featuredGrid,
  body.jp #propertiesGrid {
    grid-auto-flow: column;
    grid-template-columns: none !important;
    grid-auto-columns: 86%;
    gap: 12px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    margin-inline: -16px;
    padding: 4px 16px 16px !important;
  }
  body.jp #featuredGrid::-webkit-scrollbar,
  body.jp #propertiesGrid::-webkit-scrollbar { display: none; }
  body.jp #featuredGrid > *,
  body.jp #propertiesGrid > * { min-width: 0; scroll-snap-align: start; }
  body.jp #propsOverlay,
  body.jp #propertiesGrid > .props-blur-row { display: none !important; }

  /* ── كارت العقار بشكل التطبيق (في كل الصفحات) ── */
  body.jp .property-card {
    border-radius: 20px !important;
    border-color: rgba(23, 21, 28, .06) !important;
    box-shadow: 0 8px 24px rgba(23, 21, 28, .07) !important;
  }
  body.jp .property-card:hover { transform: none; }
  body.jp .property-card .action-btn {
    background: rgba(255, 255, 255, .72) !important;
    -webkit-backdrop-filter: saturate(160%) blur(10px) !important;
    backdrop-filter: saturate(160%) blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .7) !important;
  }
  body.jp .property-card .card-body { padding: 14px !important; }
  body.jp .property-card .card-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  body.jp .property-card .action-buttons { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
  body.jp .property-card .btn-whatsapp,
  body.jp .property-card .btn-call {
    width: auto !important; height: 44px !important;
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px !important;
    font-size: 14.5px; font-weight: 800; text-decoration: none;
  }
  body.jp .property-card .btn-call {
    order: -1;
    background: #fff !important;
    color: var(--jp-primary) !important;
    box-shadow: inset 0 0 0 1.5px var(--jp-primary-100) !important;
  }
  body.jp .property-card .btn-whatsapp:active,
  body.jp .property-card .btn-call:active { transform: scale(.97) !important; }
  body.jp .property-card .jp-btn-lbl { display: inline; }

  /* ── المطورين: صف لوجوهات دايرية ── */
  body.jp #developersGrid {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    margin: 0 -16px !important;
    padding: 2px 16px 6px !important;
  }
  body.jp #developersGrid::-webkit-scrollbar { display: none; }
  body.jp #developersGrid .dev-card-small {
    flex: 0 0 74px !important;
    gap: 6px;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    scroll-snap-align: start;
  }
  body.jp #developersGrid .dev-img-wrap {
    width: 66px !important; height: 66px !important;
    background: #fff;
    box-shadow: 0 4px 12px rgba(23, 21, 28, .08) !important;
  }
  body.jp #developersGrid .dev-name { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px !important; }

  /* ── بانرات البيع وعلّام ── */
  body.jp .jp-promo { border-radius: 20px; }

  /* ── نقاط السلايدر ── */
  body.jp .jp-snap-dots { display: flex; justify-content: center; align-items: center; gap: 6px; height: 6px; margin-top: 2px; }
  body.jp .jp-snap-dots[hidden] { display: none; }
  body.jp .jp-snap-dots i { width: 6px; height: 6px; border-radius: 999px; background: #d9d4df; transition: width .3s ease, background .3s ease; }
  body.jp .jp-snap-dots i.on { width: 20px; background: var(--jp-primary); }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  body.jp .jp-snap-dots i, body.jp .offer-dot { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   شاشة العقارات (البحث) بشكل التطبيق
   ══════════════════════════════════════════════════════════════════════ */
body.jp .jp-dev-strip,
body.jp .jp-map-fab { display: none; }

@media (max-width: 768px) {
  /* شريط البحث والفلاتر ثابت تحت الشريط العلوي وزجاجي */
  body.jp .search-main-header {
    position: sticky;
    top: calc(var(--jp-header-h) + env(safe-area-inset-top, 0px));
    z-index: 60;
    gap: 10px;
    margin: -8px -20px 0;
    padding: 10px 20px 10px;
    background: var(--jp-glass);
    -webkit-backdrop-filter: var(--jp-blur);
    backdrop-filter: var(--jp-blur);
    border-bottom: 1px solid rgba(23, 21, 28, .06);
  }
  body.jp .search-main-header .filter-icon-btn,
  body.jp .search-main-header .main-search-input {
    height: 48px;
    border-radius: 14px;
    border-color: rgba(58, 11, 64, .12);
    background: #fff;
  }
  body.jp .search-main-header .filter-icon-btn { width: 48px; }
  body.jp .search-main-header .main-search-input input { font-size: 16px; }
  body.jp .search-main-header .main-search-input input::placeholder { font-size: 14px; }
  body.jp .search-main-header .qf-tag,
  body.jp .search-main-header .sort-box {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--jp-line);
    color: var(--jp-ink);
  }
  body.jp .search-main-header .qf-tag.active,
  body.jp .search-main-header .qf-tag.has-value {
    background: var(--jp-primary-50);
    box-shadow: inset 0 0 0 1.5px var(--jp-primary-100);
    color: var(--jp-primary);
  }

  /* لوجوهات المطورين */
  body.jp .jp-dev-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: 20px;
    margin: 0 -20px;
    padding: 4px 20px 2px;
  }
  body.jp .jp-dev-strip::-webkit-scrollbar { display: none; }
  body.jp .jp-dev-strip[hidden] { display: none; }
  body.jp .jp-dev-chip {
    flex: 0 0 auto;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--jp-ink-2);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  body.jp .jp-dev-logo {
    width: 60px; height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 1px var(--jp-line), 0 4px 12px rgba(23, 21, 28, .07);
    transition: box-shadow .15s, transform .12s;
  }
  body.jp .jp-dev-logo img { width: 100%; height: 100%; object-fit: cover; }
  body.jp .jp-dev-nm { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 700; }
  body.jp .jp-dev-chip.is-on .jp-dev-logo { box-shadow: 0 0 0 2.5px var(--jp-primary), 0 6px 14px rgba(58, 11, 64, .22); }
  body.jp .jp-dev-chip.is-on .jp-dev-nm { color: var(--jp-primary); font-weight: 800; }
  body.jp .jp-dev-chip:active .jp-dev-logo { transform: scale(.94); }

  /* زرار «اعرض على الخريطة» العايم فوق شريط التنقل */
  body.jp .jp-map-fab {
    position: fixed;
    z-index: 900;
    left: 50%;
    bottom: calc(var(--jp-tabbar-h) + 14px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(40, 8, 45, .84);
    -webkit-backdrop-filter: var(--jp-blur);
    backdrop-filter: var(--jp-blur);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 28px rgba(58, 11, 64, .35);
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  body.jp .jp-map-fab svg { width: 18px; height: 18px; }
  body.jp .jp-map-fab:active { transform: translateX(-50%) scale(.96); }
  body.jp:has(.compare-bar.show) .jp-map-fab,
  body.jp:has(.filter-sidebar.open) .jp-map-fab { display: none; }
  body.jp #resultsGrid { padding-bottom: 64px !important; }
}

/* ── فلاتر البحث: اختيارات واضحة + شاشات بتطلع من تحت بشكل التطبيق ── */
body.jp .filter-sidebar input[type="checkbox"],
body.jp .type-modal input[type="checkbox"],
body.jp .sort-modal input[type="radio"] { accent-color: var(--jp-primary); width: 19px; height: 19px; }
body.jp .f-circles { gap: 6px; flex-wrap: nowrap; }
body.jp .f-circle {
  flex: 1 1 0; min-width: 0; max-width: 64px; width: auto; height: 42px; padding: 0; box-sizing: border-box;
  border-radius: 999px; border: 1px solid var(--jp-line); background: #fff;
  color: var(--jp-ink-2); font-weight: 700;
}
body.jp .f-circle.active { border-color: var(--jp-primary); background: var(--jp-primary-50); color: var(--jp-primary); font-weight: 800; }
body.jp .sort-overlay, body.jp .type-overlay, body.jp .rooms-overlay, body.jp .sidebar-overlay {
  background: rgba(23, 12, 28, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
  body.jp .sort-modal, body.jp .type-modal, body.jp .rooms-modal {
    border-radius: 24px 24px 0 0;
    padding-top: 30px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
  body.jp .sort-modal::before, body.jp .type-modal::before, body.jp .rooms-modal::before {
    content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 5px; border-radius: 999px; background: #dcd6e2;
  }
  body.jp .rooms-modal .rooms-confirm-btn, body.jp .sort-confirm-btn { height: 52px; padding: 0; border-radius: 14px; }
  body.jp .rooms-modal .m-section + .m-section { margin-top: 18px; }
  body.jp .filter-sidebar .sidebar-footer { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* ══════════════════════════════════════════════════════════════════════
   الخريطة: كارت المناطق الزجاجي + شريط البحث زجاجي على الموبايل
   ══════════════════════════════════════════════════════════════════════ */
body.jp .map-areas {
  position: fixed;
  z-index: 57;
  top: calc(var(--nav-h-s, 70px) + 92px);
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 14px 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 16px 40px rgba(31, 4, 36, .18);
  animation: jpAreasIn .38s cubic-bezier(.16, 1, .3, 1);
}
body.jp .map-areas[hidden] { display: none; }
body.jp .map-areas-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
body.jp .map-areas-head b { font-size: 15.5px; font-weight: 800; color: var(--jp-ink); }
body.jp .map-areas-head button {
  width: 30px; height: 30px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(23, 21, 28, .07); color: var(--jp-ink-2); cursor: pointer;
}
body.jp .map-areas-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 172px; overflow-y: auto; }
body.jp .map-area-chip {
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 11, 64, .1);
  background: rgba(255, 255, 255, .88);
  color: var(--jp-ink);
  font: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, color .15s, transform .12s;
}
body.jp .map-area-chip:hover, body.jp .map-area-chip:focus-visible { border-color: var(--jp-primary); color: var(--jp-primary); }
body.jp .map-area-chip:active { transform: scale(.95); }
@keyframes jpAreasIn { from { opacity: 0; transform: translate(-50%, 10px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@media (max-width: 860px) {
  body.jp .map-areas { top: calc(var(--nav-h-s, 70px) + 150px); }
  body.jp .map-filterbar {
    background: rgba(255, 255, 255, .78) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    border-color: rgba(255, 255, 255, .7) !important;
  }
}
@media (prefers-reduced-motion: reduce) { body.jp .map-areas { animation: none; } }

/* ── صفحات التفاصيل: شريط الاتصال اللي تحت زجاجي ومدوّر زي شريط التطبيق ── */
@media (max-width: 768px) {
  body.jp .pd-mob-cta,
  body.jp.cpd-ready .cpd-mbar {
    background: var(--jp-glass) !important;
    -webkit-backdrop-filter: var(--jp-blur) !important;
    backdrop-filter: var(--jp-blur) !important;
    border-top: 1px solid rgba(23, 21, 28, .07) !important;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 30px rgba(23, 21, 28, .08) !important;
  }
}

/* ── شاشة الدخول على الموبايل: من غير كارت ولا عناوين مكررة، زي شاشة التطبيق ── */
@media (max-width: 520px) {
  body.jp .jp-auth-page .jp-page-head { display: none; }
  body.jp .jp-auth-page .jw-card.jw-card--page { border: 0; box-shadow: none; padding: 10px 2px 18px; }
  body.jp:has(.jp-auth-page) .wa-float { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   معرض الصور: شبكة كل الصور (زي ناوي) + سلايدر الكمبيوتر بالغباش
   ══════════════════════════════════════════════════════════════════════ */
html.jp-lock, html.jp-lock body { overflow: hidden !important; }
.jp-pgrid {
  position: fixed; inset: 0; z-index: 3500;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  backdrop-filter: saturate(180%) blur(26px);
  opacity: 0; transform: translateY(28px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
  font-family: 'Tajawal', system-ui, sans-serif;
}
.jp-pgrid.show { opacity: 1; transform: none; }
.jp-pgrid[hidden] { display: none; }
.jp-pgrid-head {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 980px; margin: 0 auto; box-sizing: border-box;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
}
.jp-pgrid-t { display: flex; flex-direction: column; min-width: 0; }
.jp-pgrid-t b { font-size: 17px; font-weight: 800; color: var(--jp-ink); }
.jp-pgrid-t small { font-size: 12.5px; color: var(--jp-muted); }
.jp-pgrid-x {
  order: 2; margin-inline-start: auto; flex: none;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(40, 32, 48, .55); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.jp-pgrid-x:active { transform: scale(.93); }
.jp-pgrid-x:focus { outline: none; }
.jp-pgrid-x:focus-visible { outline: 3px solid var(--jp-primary-100); outline-offset: 2px; }
.jp-pgrid-cta .pd-mob-wa, .jp-pgrid-cta .pd-mob-call { justify-content: center; height: 46px; padding: 0 12px; border-radius: 12px; }
.jp-pgrid-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  width: 100%; max-width: 980px; margin: 0 auto; box-sizing: border-box;
  padding: 4px 16px 18px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(112px, 31vw, 250px); gap: 8px; align-content: start;
}
.jp-pgrid-tile {
  position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--jp-bg-soft); cursor: zoom-in; -webkit-tap-highlight-color: transparent;
  animation: jpTileIn .45s cubic-bezier(.16, 1, .3, 1) both;
}
.jp-pgrid-tile:nth-child(2) { animation-delay: .03s; } .jp-pgrid-tile:nth-child(3) { animation-delay: .06s; }
.jp-pgrid-tile:nth-child(4) { animation-delay: .09s; } .jp-pgrid-tile:nth-child(n+5) { animation-delay: .12s; }
.jp-pgrid-tile.is-w { grid-column: span 3; }
.jp-pgrid-tile.is-b { grid-column: span 2; }
.jp-pgrid-tile.is-s { grid-column: span 1; }
.jp-pgrid-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.jp-pgrid-tile:hover img { transform: scale(1.03); }
.jp-pgrid-tile:active { transform: scale(.985); }
.jp-pgrid-cta {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(23, 21, 28, .07);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 30px rgba(23, 21, 28, .08);
}
.jp-pgrid-cta[hidden] { display: none; }
.jp-pgrid-cta .jp-btn { height: 46px; font-size: 15px; }
@keyframes jpTileIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (min-width: 769px) { .jp-pgrid-body { grid-auto-rows: clamp(150px, 20vw, 250px); gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .jp-pgrid, .jp-pgrid-tile { transition: none; animation: none; }
}

/* سلايدر الكمبيوتر والتابلت */
body.jp .jp-peek { display: none; }
@media (min-width: 769px) {
  body.jp .has-peek > .pd-mosaic,
  body.jp .has-peek > .cpd-mosaic { display: none !important; }
  body.jp .jp-peek {
    display: block; position: relative; overflow: hidden;
    height: clamp(340px, 36vw, 480px);
    border-radius: 20px; background: var(--jp-bg-soft);
    isolation: isolate;
  }
  body.jp .jp-peek-track {
    display: flex; gap: 10px; height: 100%;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }
  body.jp .jp-peek-slide {
    position: relative; flex: 0 0 74%; height: 100%;
    padding: 0; border: 0; border-radius: 18px; overflow: hidden;
    background: var(--jp-bg-soft); cursor: pointer;
  }
  body.jp .jp-peek.is-single .jp-peek-slide { flex-basis: 100%; }
  /* الصور اللي على الجنب: غباش احترافي بدل التظليل */
  body.jp .jp-peek-slide img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: blur(14px) saturate(1.1) brightness(1.04);
    transform: scale(1.12);
    transition: filter .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  }
  body.jp .jp-peek-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    transition: opacity .5s;
  }
  body.jp .jp-peek-slide:not(.is-on):hover img { filter: blur(9px) saturate(1.1) brightness(1.04); }
  body.jp .jp-peek-slide.is-on { cursor: zoom-in; }
  body.jp .jp-peek-slide.is-on img { filter: none; transform: none; }
  body.jp .jp-peek-slide.is-on::after { opacity: 0; }
  body.jp .jp-peek-ic {
    position: absolute; inset: 0; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: opacity .35s;
  }
  body.jp .jp-peek-ic svg {
    width: 54px; height: 54px; padding: 13px; box-sizing: border-box; border-radius: 50%;
    background: rgba(23, 12, 28, .3); border: 1px solid rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(23, 12, 28, .18);
  }
  body.jp .jp-peek-slide.is-on .jp-peek-ic { opacity: 0; }
  body.jp .jp-peek-nav {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .6); color: var(--jp-ink);
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 8px 22px rgba(23, 21, 28, .14);
    transition: transform .15s, background .15s;
  }
  body.jp .jp-peek-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
  body.jp .jp-peek-nav.is-prev { right: 14px; }
  body.jp .jp-peek-nav.is-next { left: 14px; }
  body.jp .jp-peek-count {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff;
    direction: ltr; unicode-bidi: isolate;
    background: rgba(23, 12, 28, .45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  body.jp .jp-peek-all {
    position: absolute; bottom: 14px; left: 14px; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, .7); cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 800; color: var(--jp-ink);
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 8px 22px rgba(23, 21, 28, .12);
  }
  body.jp .jp-peek-all:hover { color: var(--jp-primary); background: #fff; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  body.jp .jp-peek-slide { flex-basis: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  body.jp .jp-peek-track, body.jp .jp-peek-slide img { transition: none; }
}
/* صورة الكارت لو ما اتحمّلتش: لوجو جوار في النص بدل مساحة فاضية */
body.jp .property-card .card-img.is-fallback { object-fit: contain; padding: 18% 30%; box-sizing: border-box; background: var(--jp-bg-soft); opacity: .55; }

/* ══ المفضلة: كارت علوي زجاجي فيه ملخص وأدوات + فلترة بالنوع ══ */
body.jp .jp-btn-ghost { background: transparent; color: var(--jp-muted); border-color: transparent; }
body.jp .jp-btn-ghost:hover { color: #c81e2b; background: #fdf1f2; }
body.jp .jp-fav-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 0 22px; padding: 22px 24px;
  border-radius: 24px; border: 1px solid var(--jp-line);
  background: linear-gradient(150deg, rgba(246, 238, 247, .9), rgba(255, 255, 255, .85) 60%, rgba(251, 245, 225, .8));
}
body.jp .jp-fav-hero::before, body.jp .jp-fav-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .6; pointer-events: none;
}
body.jp .jp-fav-hero::before { width: 220px; height: 220px; background: #f3c1d2; top: -90px; inset-inline-end: -40px; }
body.jp .jp-fav-hero::after { width: 200px; height: 200px; background: #d9bfe0; bottom: -110px; inset-inline-start: 10%; }
body.jp .jp-fav-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
body.jp .jp-fav-hero h1 { margin: 4px 0 4px; font-size: 30px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-fav-hero p { margin: 0; color: var(--jp-muted); font-size: 14.5px; }
body.jp .jp-fav-hero-ic {
  flex: none; width: 58px; height: 58px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #e0245e; background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 24px rgba(224, 36, 94, .16);
}
body.jp .jp-fav-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body.jp .jp-fav-stats[hidden] { display: none; }
body.jp .jp-fav-stats span {
  display: flex; flex-direction: column; min-width: 110px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
body.jp .jp-fav-stats b { font-size: 18px; font-weight: 800; color: var(--jp-ink); font-variant-numeric: tabular-nums; }
body.jp .jp-fav-stats small { font-size: 12px; color: var(--jp-muted); font-weight: 600; }
body.jp .jp-fav-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
body.jp .jp-fav-tools[hidden] { display: none; }
body.jp .jp-fav-tools .jp-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; }
body.jp .jp-fav-tools .jp-btn[hidden] { display: none; }
body.jp .jp-fav-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; padding-bottom: 2px; }
body.jp .jp-fav-filters::-webkit-scrollbar { display: none; }
body.jp .jp-fav-filters[hidden] { display: none; }
body.jp .jp-fav-filters button {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--jp-ink-2);
  background: #fff; border: 1px solid var(--jp-line);
}
body.jp .jp-fav-filters button small { color: var(--jp-muted); font-weight: 700; }
body.jp .jp-fav-filters button.is-on { background: var(--jp-primary); border-color: var(--jp-primary); color: #fff; }
body.jp .jp-fav-filters button.is-on small { color: rgba(255, 255, 255, .75); }
@media (max-width: 768px) {
  body.jp .jp-fav-hero { padding: 18px 16px; border-radius: 22px; margin-top: 4px; }
  body.jp .jp-fav-hero h1 { font-size: 24px; }
  body.jp .jp-fav-hero-ic { width: 50px; height: 50px; border-radius: 16px; }
  body.jp .jp-fav-stats span { flex: 1 1 0; min-width: 0; padding: 9px 10px; }
  body.jp .jp-fav-stats b { font-size: 15.5px; }
  body.jp .jp-fav-tools .jp-btn { flex: 1 1 auto; justify-content: center; }
  body.jp .jp-fav-page .jp-fav-hero .jp-crumbs { display: none; }
}

/* ══ من نحن: صورة كبيرة فوق + أرقام زجاجية راكبة عليها + خطوات الشغل ══ */
body.jp .jp-about-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 340px; display: flex; align-items: flex-end;
  border-radius: 28px;
  background: var(--jp-primary) url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=70&auto=format&fit=crop') center 55% / cover no-repeat;
  box-shadow: 0 20px 50px rgba(58, 11, 64, .18);
}
body.jp .jp-about-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(27, 4, 32, .88) 0%, rgba(27, 4, 32, .45) 55%, rgba(27, 4, 32, .12) 100%);
}
body.jp .jp-about-hero-in { position: relative; padding: 34px 36px 92px; color: #fff; max-width: 760px; }
body.jp .jp-about-hero .jp-crumbs, body.jp .jp-about-hero .jp-crumbs a { color: rgba(255, 255, 255, .78); }
body.jp .jp-about-hero .jp-crumbs span:last-child { color: #fff; }
body.jp .jp-about-hero .jp-about-motto { margin: 14px 0 4px; font-family: 'Aref Ruqaa', 'Tajawal', serif; font-size: 22px; font-weight: 700; color: #f1d67a; }
body.jp .jp-about-hero h1 { margin: 0 0 8px; font-size: 40px; font-weight: 800; line-height: 1.25; color: #fff; -webkit-text-fill-color: #fff; background: none; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
body.jp .jp-about-intro { margin: 0; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .9); max-width: 56ch; }

body.jp .jp-about-figures.is-glass {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  width: calc(100% - 48px); margin: -58px auto 0;
  color: var(--jp-ink); overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 16px 40px rgba(58, 11, 64, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}
body.jp .jp-about-figures.is-glass::before { display: none; }
body.jp .jp-about-figures.is-glass .jp-fig-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
body.jp .jp-about-figures.is-glass .jp-fig { padding: 20px 22px; border: 0; border-inline-end: 1px solid rgba(58, 11, 64, .08); align-items: center; text-align: center; }
body.jp .jp-about-figures.is-glass .jp-fig:last-of-type { border-inline-end: 0; }
body.jp .jp-about-figures.is-glass .jp-fig.is-wide { grid-column: auto; }
body.jp .jp-about-figures.is-glass .jp-fig b { color: var(--jp-primary); font-size: 34px; text-align: center; }
body.jp .jp-about-figures.is-glass .jp-fig span { color: var(--jp-muted); }
body.jp .jp-about-figures.is-glass + .jp-about-story { margin-top: 56px; }

body.jp .jp-about .jp-about-story { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
body.jp .jp-about-steps {
  padding: 24px; border-radius: 22px;
  background: linear-gradient(160deg, var(--jp-primary-50), #fff 70%);
  border: 1px solid var(--jp-line);
}
body.jp .jp-about-steps h3 { margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--jp-ink); }
body.jp .jp-about-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
body.jp .jp-about-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
body.jp .jp-about-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; bottom: -14px; inset-inline-start: 17px; width: 2px;
  background: linear-gradient(var(--jp-primary-100), transparent);
}
body.jp .jp-step-n {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--jp-primary); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 14px rgba(58, 11, 64, .25);
}
body.jp .jp-about-steps b { display: block; margin-top: 5px; font-size: 16px; color: var(--jp-ink); }
body.jp .jp-about-steps p { margin: 2px 0 0; font-size: 14px; line-height: 1.75; color: var(--jp-muted); }
body.jp .jp-vm-card { background: rgba(255, 255, 255, .8); border-radius: 22px; transition: box-shadow .2s, transform .2s; }
body.jp .jp-vm-card:hover { box-shadow: var(--jp-shadow); transform: translateY(-2px); }
body.jp .jp-about .jp-cta-band { border-radius: 24px; }

@media (max-width: 900px) {
  body.jp .jp-about .jp-about-story { grid-template-columns: minmax(0, 1fr); }
  body.jp .jp-about-figures.is-glass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.jp .jp-about-figures.is-glass .jp-fig:nth-of-type(2) { border-inline-end: 0; }
  body.jp .jp-about-figures.is-glass .jp-fig:nth-of-type(n+3) { border-top: 1px solid rgba(58, 11, 64, .08); }
}
@media (max-width: 768px) {
  body.jp .jp-about-hero { min-height: 300px; border-radius: 24px; margin-inline: -4px; }
  body.jp .jp-about-hero-in { padding: 22px 18px 78px; }
  body.jp .jp-about-hero .jp-crumbs { display: none; }
  body.jp .jp-about-hero .jp-about-motto { margin-top: 0; font-size: 17px; }
  body.jp .jp-about-hero h1 { font-size: 28px; }
  body.jp .jp-about-intro { font-size: 14.5px; }
  body.jp .jp-about-figures.is-glass { width: calc(100% - 20px); margin-top: -52px; border-radius: 20px; }
  body.jp .jp-about-figures.is-glass .jp-fig { padding: 14px 10px; }
  body.jp .jp-about-figures.is-glass .jp-fig b { font-size: 26px; }
  body.jp .jp-about-figures.is-glass + .jp-about-story { margin-top: 36px; }
  body.jp .jp-about-steps { padding: 18px 16px; }
  /* الشركاء: صف لوجوهات بيتسحب */
  body.jp #partnersGrid {
    display: flex !important; flex-wrap: nowrap; justify-content: flex-start; gap: 10px !important;
    overflow-x: auto; scrollbar-width: none; margin: 0 -16px !important; padding: 2px 16px 6px !important;
  }
  body.jp #partnersGrid::-webkit-scrollbar { display: none; }
  body.jp #partnersGrid .dev-card-small { flex: 0 0 76px !important; padding: 0 !important; background: none !important; border: 0 !important; gap: 6px; }
  body.jp #partnersGrid .dev-img-wrap { width: 66px !important; height: 66px !important; background: #fff; box-shadow: 0 4px 12px rgba(23, 21, 28, .08) !important; }
  body.jp #partnersGrid .dev-name { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px !important; }
}

/* ══ الخريطة: قايمة النتايج زجاجية وكروتها أوضح ══ */
body.jp .map-results {
  background: rgba(255, 255, 255, .82) !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, .85);
}
body.jp .map-results .results-head { border-bottom-color: rgba(58, 11, 64, .07); }
body.jp .res-card {
  align-items: stretch; padding: 10px; border-radius: 18px; margin-bottom: 10px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(58, 11, 64, .06);
  box-shadow: 0 4px 14px rgba(23, 21, 28, .04);
}
body.jp .res-card:hover, body.jp .res-card.hl { background: #fff; }
body.jp .res-card img { width: 100px; height: 88px; border-radius: 14px; }
body.jp .res-name { font-size: 1.02rem; }
body.jp .res-units { align-self: flex-start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--jp-primary-50); color: var(--jp-primary); }
body.jp .res-units.is-none { background: #f3f2f6; color: #8b8595; }
body.jp .res-price { margin-top: 6px; }

/* قسم مقفول من لوحة التحكم */
.jp-cms-off{display:none !important}

/* ═══════════════════════════════════════════════════════════════════
   الحركة — ظهور ناعم وتفاعل خفيف، بنفس الإيقاع في كل الصفحات
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --jp-ease-out: cubic-bezier(.22, 1, .36, 1);
  --jp-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --jp-dur-in: .7s;
}
@keyframes jpRise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes jpRiseSm { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes jpSoftIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes jpHeroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes jpPop { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 65% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes jpTabIn { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-3px) scale(1.14); } 100% { transform: none; } }
@keyframes jpShine { from { transform: translateX(120%) skewX(-18deg); } to { transform: translateX(-220%) skewX(-18deg); } }

/* 1) ظهور الأقسام والكروت وإنت بتنزل */
html.jp-motion body.jp [data-jp-in]:not(.is-in),
html.jp-motion body.jp [data-jp-group]:not(.is-in) > * { opacity: 0; }
html.jp-motion body.jp [data-jp-in].is-in {
  animation: jpRise var(--jp-dur-in) var(--jp-ease-out) backwards;
  animation-delay: calc(var(--jp-i, 0) * 80ms);
}
html.jp-motion body.jp [data-jp-group].is-in > * {
  animation: jpRiseSm .6s var(--jp-ease-out) backwards;
  animation-delay: calc(var(--jp-i, 0) * 60ms);
}
/* صور الكروت: بتظهر بهدوء بعد التحميل */
html.jp-motion body.jp img.card-img,
html.jp-motion body.jp img.ent-card-img { transition: opacity .6s ease, transform .5s ease; }
html.jp-motion body.jp img.jp-img-wait { opacity: 0; }

/* 2) أول الصفحة: الصورة بتقرّب بهدوء والكلام بيطلع ورا بعضه */
body.jp .jp-hero-media::before,
body.jp .jp-about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: inherit; pointer-events: none;
  animation: jpHeroZoom 2.4s var(--jp-ease-out) both;
}
body.jp .jp-about-hero { position: relative; overflow: hidden; isolation: isolate; }
body.jp .jp-about-hero::before { z-index: -1; }
body.jp .jp-hero-media::after { z-index: 1; }
body.jp .jp-hero-copy > *,
body.jp .jp-about-hero-in > *,
body.jp .jp-fav-hero-txt > * {
  animation: jpRise .8s var(--jp-ease-out) backwards;
}
body.jp .jp-hero-copy > :nth-child(1), body.jp .jp-about-hero-in > :nth-child(1), body.jp .jp-fav-hero-txt > :nth-child(1) { animation-delay: .05s; }
body.jp .jp-hero-copy > :nth-child(2), body.jp .jp-about-hero-in > :nth-child(2), body.jp .jp-fav-hero-txt > :nth-child(2) { animation-delay: .15s; }
body.jp .jp-hero-copy > :nth-child(3), body.jp .jp-about-hero-in > :nth-child(3), body.jp .jp-fav-hero-txt > :nth-child(3) { animation-delay: .25s; }
body.jp .jp-hero-copy > :nth-child(n+4), body.jp .jp-about-hero-in > :nth-child(n+4), body.jp .jp-fav-hero-txt > :nth-child(n+4) { animation-delay: .35s; }
body.jp .jp-hero .search-engine { animation: jpRise .8s var(--jp-ease-out) .35s backwards !important; }

/* 3) تفاعل الأزرار والكروت */
body.jp .jp-btn,
body.jp .jp-see-all,
body.jp .action-btn,
body.jp .f-circle,
body.jp .jp-dev-chip,
body.jp .jp-quick a,
body.jp .jp-svc,
body.jp .jp-promo,
body.jp .s-tab,
body.jp .jp-fav-filters button {
  transition: transform .25s var(--jp-ease-out), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.jp .jp-btn:active,
body.jp .action-btn:active,
body.jp .f-circle:active,
body.jp .jp-dev-chip:active,
body.jp .jp-quick a:active,
body.jp .jp-svc:active,
body.jp .s-tab:active,
body.jp .jp-fav-filters button:active { transform: scale(.95); transition-duration: .08s; }
body.jp .property-card, body.jp .ent-card { transition: transform .35s var(--jp-ease-out), box-shadow .35s ease, border-color .25s ease; }
body.jp .property-card:active, body.jp .ent-card:active { transform: scale(.985); transition-duration: .1s; }
@media (hover: hover) and (min-width: 769px) {
  body.jp .jp-btn-primary:hover, body.jp .jp-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(58, 11, 64, .18); }
  body.jp .ent-card:hover { transform: translateY(-4px); box-shadow: var(--jp-shadow); }
  body.jp .property-card:hover { transform: translateY(-4px); }
  body.jp .jp-promo:hover { transform: translateY(-3px); }
  body.jp .jp-see-all:hover svg { transform: translateX(-4px); }
  body.jp .jp-see-all svg { transition: transform .3s var(--jp-ease-out); }
}
/* لمعة خفيفة بتعدّي على زرار البحث الأساسي أول ما الصفحة تفتح */
body.jp .jp-hero .search-submit { position: relative; overflow: hidden; }
body.jp .jp-hero .search-submit::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: jpShine 1.1s ease 1.2s both; pointer-events: none;
}

/* زرار المفضلة بينبض */
body.jp .jp-pop svg, body.jp .jp-pop .cpd-act-ic { animation: jpPop .5s var(--jp-ease-spring); }

/* 4) شريط التطبيق تحت: الأيقونة النشطة بتنط نطة صغيرة */
@media (max-width: 768px) {
  body.jp .jp-tab.is-active .jp-tab-ic { animation: jpTabIn .55s var(--jp-ease-spring) .1s both; }
  body.jp .jp-tab { transition: color .2s ease, transform .2s var(--jp-ease-out); }
  body.jp .jp-tab:active { transform: scale(.9); }
}

/* 5) انتقال ناعم بين الصفحات (المتصفحات اللي بتدعمه) — الشريط فوق وتحت ثابتين */
@view-transition { navigation: auto; }
body.jp .navbar { view-transition-name: jp-topbar; }
body.jp .jp-tabbar { view-transition-name: jp-tabbar; }
::view-transition-old(root) { animation: jpVtOut .2s ease both; }
::view-transition-new(root) { animation: jpVtIn .45s var(--jp-ease-out) both; }
::view-transition-group(jp-topbar), ::view-transition-group(jp-tabbar) { animation: none; }
@keyframes jpVtOut { to { opacity: 0; } }
@keyframes jpVtIn { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  body.jp .jp-hero-media::before, body.jp .jp-about-hero::before,
  body.jp .jp-hero-copy > *, body.jp .jp-about-hero-in > *, body.jp .jp-fav-hero-txt > *,
  body.jp .jp-hero .search-engine { animation: none !important; }
}
