/* ==========================================================
   Land Shireel — Zoom styles
   ========================================================== */

/* طبقة أرقام القطع */
#map .leaflet-pane.labelsPane {
  transition: none !important;
}

/* يتم التحكم بالإظهار/الإخفاء من js/zoom.js */
#map .plot-label {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: none !important;
}

#map .plot-label::before,
#map .plot-label::after {
  display: none !important;
}

#map .plot-number,
#map .metric-only {
  display: inline-block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  transform-origin: center center;
  transition: none !important;
  pointer-events: none !important;
}

#map .plot-number {
  font-weight: 800;
  color: #111827;
  text-shadow:
    0 1px 0 #fff,
    1px 0 0 #fff,
    -1px 0 0 #fff,
    0 -1px 0 #fff;
}

/* حجم أرقام القطع يتبع Zoom مباشرة؛ لا تسمح لأي CSS آخر بتثبيته */
#map .plot-number,
#map .metric-only{
  font-size: var(--plot-font-size, 11px) !important;
}

/* تسميات الحالات غير المتاحة للبيع بدل أرقام القطع */
.plot-status-label {
  display: inline-block;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}
.plot-status-label-sold { color: #ef4444 !important; -webkit-text-fill-color: #ef4444 !important; }
.plot-status-label-reserved { color: #3b82f6 !important; -webkit-text-fill-color: #3b82f6 !important; }


/* Hide video control */
.video-btn,.video-button,.video-control,.btn-video,.video-toggle,
[data-action="video"],[data-video],[data-tool="video"],
button[title*="فيديو"],button[aria-label*="فيديو"],
a[title*="فيديو"],a[aria-label*="فيديو"]{
  display:none!important;
}


/* Planning menu: video controls disabled */
#videoBtn,
#videoGuideBtn,
#mobileVideoBtn,
.video-action,
.video-menu-item,
[data-action="video"],
[data-video="project"],
a[href*="youtube.com"] .video-action{
  display:none !important;
}
