html,
body,
#map {
  height: 100%;
  margin: 0;
}
/* Remove ALL backgrounds and borders */
.leaflet-popup-content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  width: auto !important;
  background: none !important;
}
/* Remove the white tip/arrow */
.leaflet-popup-tip-container {
  display: none !important;
}
.leaflet-popup-tip {
  display: none !important;
}
/* Image should have no styles */
.popup-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Remove close button */
.leaflet-popup-close-button {
  display: none !important;
}
/* Ensure popup appears above everything */
.leaflet-popup-pane {
  z-index: 1000 !important;
}
/* Remove any wrapper styling */
.custom-image-popup {
  background: none !important;
}
.custom-image-popup .leaflet-popup-content-wrapper {
  background: none !important;
  box-shadow: none !important;
}

#introVideo {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

#introVideo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#skipIntro {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

/**
 * SVG Route Animation Styles
 *
 * These styles define the appearance of the animated route paths
 * - st1: Outer stroke (border/outline) - thicker, darker
 * - st0: Inner stroke (main line) - thinner, brighter
 */
/* Outer stroke (border/shadow effect) */
.str1 {
  fill: none;
  stroke: #1a1a1a; /* Dark color for contrast */
  stroke-width: 30; /* Thicker for border effect */
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}
/* Inner stroke (main colored line) */
.str0 {
  fill: none;
  stroke: #b49041; /* Gold/yellow color - highly visible */
  stroke-width: 15; /* Thinner than outer stroke */
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

/* Glossy circular map buttons */
.map-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0); /* Transparent black */
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3),
    /* Outer glow */ 0 0 20px rgba(255, 255, 255, 0.2),
    /* Soft halo */ inset 0 0 8px rgba(255, 255, 255, 0.3); /* Inner glow */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important;
  position: relative;
}
/* Glossy highlight (white reflection) */
.map-btn::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 40%;
  background: linear-gradient(180deg, rgb(14, 13, 13), rgb(15, 15, 15));
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}
/* Hover effect with enhanced glow */
.map-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
    0 0 35px rgba(255, 255, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}
/* Icon inside the button */
.map-btn img {
  width: 22px;
  height: 22px;
  z-index: 2;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.map-btn:hover img {
  opacity: 1;
  transform: scale(1.1);
}
.night-btn {
  font-size: 18px;
  color: rgb(12, 12, 12);
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgb(17, 17, 17);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.night-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.map-buttons {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 80px;
  z-index: 10000;
}

.links-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center; /* 👈 THIS is critical */
  gap: 14px;

  z-index: 9999;
}

.links-buttons button {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;

  display: flex; /* 👈 NOT inline-flex */
  align-items: center;
  justify-content: center;
}

.links-buttons img {
  display: block; /* removes baseline alignment */
  width: 240px; /* same width for both */
  height: auto;
}

body.intro-playing .links-buttons {
  opacity: 0;
  pointer-events: none;
}

/* ICON STYLING */
.circle-btn svg {
  width: 24px;
  height: 24px;
  z-index: 2;
}
/* POPUPS */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.popup-overlay.active {
  display: flex;
}
.popup-content {
  background: rgba(255, 255, 255, 0.575);
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
}
.video-container iframe {
  width: 100%;
  height: 315px;
  border-radius: 12px;
}
/* Phases styling */
.st0 {
  filter: url(#outer-glow-1);
}
.st0,
.st1,
.st2,
.st3,
.st4,
.st5 {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 8px;
}
.st6 {
  opacity: 0.61;
}
.st7 {
  fill: #00b7ff;
  opacity: 0.3;
}
.st7,
.st8,
.st9,
.st10,
.st11,
.st12 {
  mix-blend-mode: multiply;
}
.st1 {
  filter: url(#outer-glow-3);
}
.st13 {
  fill: #fff;
}
.st8 {
  fill: #ffb600;
  opacity: 0.3;
}
.st9 {
  fill: #0037ff;
  opacity: 0.3;
}
.st2 {
  filter: url(#outer-glow-5);
}
.st10 {
  fill: red;
  opacity: 0.3;
}
.st14 {
  opacity: 0.63;
}
.st15 {
  isolation: isolate;
}
.st3 {
  filter: url(#outer-glow-2);
}
.st4 {
  filter: url(#outer-glow-4);
}
.st11 {
  fill: #0fa;
  opacity: 0.3;
}
.st16 {
  opacity: 0.66;
}
.st5 {
  filter: url(#outer-glow-6);
}
.st12 {
  fill: #ff4e00;
  opacity: 0.3;
}
.st17 {
  opacity: 0.62;
}
/* position them on top-left of the map */
.map-controls {
  position: absolute;
  top: 71px;
  left: 10px;
  z-index: 1000;
  background: rgba(233, 226, 226, 0.452);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.89);
}
.map-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin: 4px 0;
  border: none;
  color: white;
  border-radius: 6px;
  background: #000000;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.map-button:hover {
  background: #7a7676;
}
.filter-container {
  display: flex;
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
}
.filter-options {
  display: none;
  flex-direction: column;
  margin-top: 6px;
  animation: fadeIn 0.3s ease;
}
.filter-options.show {
  display: flex;
}
.map-button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.image-modal.show {
  display: block;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.image-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100vw - 80px);
  height: calc(100vh - 120px);
  max-width: 1400px;
  max-height: 85vh;

  background: #000;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.image-modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 👈 THIS fixes initial zoom */

  cursor: grab;
  transform-origin: center center;
  transition: transform 0.25s ease;

  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;

  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;

  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 20px;
  line-height: 1;

  cursor: pointer;
  z-index: 10;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 10000; /* above Leaflet */
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;

  background: black;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button */
.video-close {
  position: absolute;
  top: -40px;
  right: 0;

  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.circle-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.555
  ); /* slightly darker semi-transparent black */
  transition: background-color 0.3s; /* smooth hover effect */
}
.circle-btn:hover {
  /*background: rgba(255, 255, 255, 0.35);*/
  transform: scale(1.08);
  background-color: rgba(0, 0, 0, 0.6); /* darker on hover */
}

.btn-image {
  width: 10px;
  height: 10px;
  object-fit: contain;
  pointer-events: none; /* so the button still works */
}
.circle-btn img {
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
}



a {
  z-index: 1500;
  text-decoration: none; /* removes underline */
  color: inherit; /* makes text use parent color */
}

/* Phase 1 page styling */

.stypes0 {
  fill: #fff;
}

.stypes1 {
  opacity: 0.3;
}

.stypes2 {
  stroke-width: 2px;
}

.stypes2,
.stypes3 {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 3;
}

.stypes4 {
  opacity: 0.4;
}

.stypes3 {
  stroke-width: 2px;
}

.stypes5 {
  opacity: 0.5;
}

/* Zoom button container */
#zoomControls {
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999999;
}
/* Each button */
.zoom-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  border: none;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* slightly darker semi-transparent black */
  transition: background-color 0.3s; /* smooth hover effect */
}
.zoom-btn:hover {
  /*background: rgba(255, 255, 255, 0.35);*/
  transform: scale(1.08);
  background-color: rgba(0, 0, 0, 0.6); /* darker on hover */
}

/* POPUPS */
.popup-overlay-phase1 {
  display: none;
  position: fixed;
  margin-right: 20px;
  margin-top: 20px;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.6); */
  z-index: 10000;
  justify-content: end;
  align-items: start;
}

.popup-overlay-phase1.active {
  display: flex;
}

.popup-content-phase1 {
  /* background: rgba(255, 255, 255, 0.575); */
  padding: 0px;
  border-radius: 50px;
  max-width: 250px;
  text-align: center;
}

.popup-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.popup-buttons button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #1e1e1e;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.popup-buttons button:hover {
  background: #333;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery-content img {
  max-width: 70vw;
  max-height: 80vh;
  border-radius: 10px;
}

.gallery-prev,
.gallery-next,
.gallery-close {
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
}

.vr-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647 !important;
  display: none;
}

.vr-modal.show {
  display: block;
}

.vr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.vr-content {
  position: absolute;
  inset: 5%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.vr-content iframe {
  width: 100%;
  height: 100%;
}

.vr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* =============================================
   360° TOUR MAP MARKERS
   ============================================= */
.tour-360-icon {
  background: none !important;
  border: none !important;
}

.tour-360-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.tour-360-btn:hover {
  transform: scale(1.1);
  box-shadow: none;
}

.tour-360-btn img {
  width: 30px;
  height: 30px;
  pointer-events: none;
}


/* ========================================= */
/* RESPONSIVE STYLES (MOBILE & TABLET)       */
/* ========================================= */

@media (max-width: 768px) {
  /* Home Page Links */
  .links-buttons {
    bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .links-buttons img {
    width: 42vw;
    max-width: 180px;
  }

  /* Zoom Controls */
  #zoomControls {
    bottom: 20px;
    right: 15px;
  }
  .zoom-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* Home Screen Map Buttons */
  .circle-btn, .map-btn {
    width: 40px;
    height: 40px;
  }
  #playBtn img, #nightModeBtn img, #lightModeBtn img {
    width: 40px;
    height: 40px;
  }

  /* Video Modal */
  .video-modal-content {
    width: 95vw;
  }
  .video-close {
    font-size: 24px;
    top: -35px;
  }

  /* Image Modal */
  .image-modal-content {
    width: 95vw;
    height: auto;
    max-height: 90vh;
    padding: 8px;
  }

  /* Popup Overlay Phase 1 */
  .popup-overlay-phase1 {
    margin: 0;
    justify-content: center;
    align-items: center;
  }
  .popup-content-phase1 {
    max-width: 85vw;
    padding: 10px;
  }

  /* Smaller Filter Dropdown */
  .map-controls {
    top: 71px;
    left: 10px;
    padding: 6px;
  }
  #filter {
    font-size: 13px;
    padding: 6px 10px;
  }
  .filter-options {
    max-height: 50vh;
    overflow-y: auto;
    width: 130px; 
  }
  .filter-options .map-button {
    font-size: 12px;
    padding: 6px;
  }

  /* Gallery Modal */
  .gallery-content {
    gap: 5px;
  }
  .gallery-content img {
    max-width: 75vw;
    max-height: 80vh;
  }
  .gallery-prev, .gallery-next {
    font-size: 28px;
    padding: 10px; /* larger tap target */
  }
  .gallery-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
}

/* Figma new map buttons */
.map-buttons .group-166,
.map-buttons .group-166 * {
  box-sizing: border-box;
}

.map-buttons .group-166 {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-buttons .rectangle-45 {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.map-buttons .figma-btn-wrapper {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-buttons #infoBtn.figma-btn-wrapper {
  top: 0;
  height: 50%;
}

.map-buttons #playBtn.figma-btn-wrapper {
  top: 50%;
  height: 50%;
}

.map-buttons #infoBtn .info-2,
.map-buttons #playBtn .play-1 {
  width: 24px;
  height: 24px;
  object-fit: contain;
  position: absolute;
  left: 10px;
  top: 8px;
}

/* Figma Zoom Controls */
.group-165, .group-165 * { box-sizing: border-box; }
#zoomControls.group-165 {
  position: fixed;
  bottom: 15px;
  right: 20px;
  width: 43px;
  height: 120px;
  z-index: 999999;
  display: block;
}
.rectangle-48 {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 120px;
  height: 43px;
  position: absolute;
  left: 43px;
  top: 0px;
  transform-origin: 0 0;
  transform: rotate(90deg) scale(1, 1);
  pointer-events: none;
}
.figma-zoom-wrapper {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
  position: absolute;
  width: 43px;
  height: 40px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-in-btn { top: 0; }
.zoom-out-btn { top: 40px; }
.full-screen-btn { top: 80px; }
.figma-zoom-wrapper:hover {
  transform: scale(1.1);
}
.zoom-in-1 {
  width: 16.56px;
  height: 16.56px;
  object-fit: cover;
  pointer-events: none;
}
.magnifying-glass-1 {
  width: 17.39px;
  height: 18.22px;
  object-fit: cover;
  pointer-events: none;
}
.minimize-1 {
  width: 20px;
  height: 20px;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 768px) {
  #zoomControls.group-165 {
    bottom: 15px;
    right: 15px;
  }
}

/* PARTNER LOGOS BUTTONS (EXACT FIGMA CODE IMPLEMENTATION) */
.custom-partner-logos {
  position: fixed;
  bottom: 15px;
  left: 20px;
  z-index: 999999;
  width: 39px;
  height: 115px; /* Base figma height */
}

.custom-partner-logos * {
  box-sizing: border-box;
}

/* Background rectangle from logo_buttons */
.custom-partner-logos .rectangle-46 {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 39px;
  height: 115px;
  position: absolute;
  left: 0px;
  top: 8px;
  pointer-events: none;
}

/* Hover Containers that catch the mouse */
.partner-hover-container {
  position: absolute;
  left: 0;
  width: 39px;
  cursor: pointer;
}
/* When hovering, expand the container so moving the mouse right keeps the menu open */
.partner-hover-container:hover {
  width: 175px; 
  z-index: 100 !important;
}

.zomra-row { top: 0px; height: 53px; z-index: 10; }
.opet-row { top: 41px; height: 40px; z-index: 9; }
.cube-row { top: 82.6px; height: 34.41px; z-index: 8; }

/* Base static icons from logo_buttons figma */
.zomra-3 { width: 34px; height: 53px; position: absolute; left: 0px; top: 0px; object-fit: cover; pointer-events: none; }
.opet-w-png-3 { width: 40px; height: 40px; position: absolute; left: 0px; top: 0px; object-fit: cover; pointer-events: none; }
.cube-base-wrapper { width: 39px; height: 34.41px; position: absolute; left: 0px; top: 0px; pointer-events: none; }
.cube-logo-square-copy-2 { border-radius: 20px; width: 39px; height: 34.41px; position: absolute; left: 0px; top: 0px; object-fit: cover; }

/* Slide out animation wrapper */
.slide-out-anchor {
  position: absolute;
  left: 45px; /* Slight offset outside the column */
  top: 50%;
  transform: translateY(-50%);
  width: 0px;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

/* On hover, slide the anchor open */
.partner-hover-container:hover .slide-out-anchor {
  width: 130px; /* Big enough for the Figma width */
}

/* Figma slide out inner contents - strictly preserved coordinates */
.group-182 { width: 126px; height: 53px; position: relative; }
.group-182 .rectangle-47 { background: rgba(0, 0, 0, 0.65); border-radius: 5px; width: 37px; height: 126px; position: absolute; left: 126px; top: 9px; transform-origin: 0 0; transform: rotate(90deg) scale(1, 1); }
.zomra-4 { width: 120px; height: 53px; position: absolute; left: 6px; top: 0px; object-fit: cover; max-width: none; }

.group-183 { position: relative; width: 126px; height: 89px; }
.group-183 .rectangle-49 { background: rgba(0, 0, 0, 0.65); border-radius: 5px; width: 37px; height: 126px; position: absolute; left: 126px; top: 24px; transform-origin: 0 0; transform: rotate(90deg) scale(1, 1); }
.opet-02-03-removebg-preview-1 { width: 89px; height: 89px; position: absolute; left: 18px; top: 0px; object-fit: cover; max-width: none; }

.group-184 { position: relative; width: 126px; height: 47px; }
.group-184 .rectangle-48 { background: rgba(0, 0, 0, 0.65); border-radius: 5px; width: 37px; height: 126px; position: absolute; left: 126px; top: 15px; transform-origin: 0 0; transform: rotate(90deg) scale(1, 1); }
.artboard-1-copy-2-1-copy-1 { width: 124px; height: 47px; position: absolute; left: 4px; top: 0px; object-fit: cover; max-width: none; }

@media (max-width: 768px) {
  .custom-partner-logos { bottom: 15px; left: 15px; }
}

/* ZOMRA LOGO (fixed, top-left, separate from navbar) */
.zomra-logo-fixed {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 35px;
  height: 43px;
  z-index: 1000001;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zomra-logo-fixed .logo-bg {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 35px;
  height: 43px;
  position: absolute;
  left: 0;
  top: 0;
}

.zomra-logo-fixed img {
  width: 34px;
  height: 53px;
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.0);
  transform-origin: center;
  object-fit: cover;
}

/* ZOMRA NAVBAR */
.zomra-navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 63px;
  z-index: 1000000;
  display: flex;
  align-items: center;
}

.zomra-navbar {
  position: relative;
  height: 43px;
  max-width: 500px;
  width: auto;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transition: max-width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.zomra-navbar.collapsed {
  max-width: 115px; /* transition animates down to this, then content takes over */
  width: fit-content;
}

.zomra-navbar .nav-zomra-text {
  color: #ffffff;
  font-family: "Arboria-Medium", "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  position: static;
  margin-left: 11px;
  padding: 2px 6px;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  flex-shrink: 0;
  /* Figma rectangle-47: highlighted background behind Zomra */
  background: rgba(137, 137, 137, 0.6);
  border-radius: 5px;
}

.zomra-navbar .nav-separator-line {
  width: 0; /* visual separator handled by spacing */
  height: 0;
  position: static;
  margin: 0 4px;
  flex-shrink: 0;
}

.zomra-navbar .nav-item {
  color: #b7b7b7;
  font-family: "Arboria-Medium", "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  position: static;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.zomra-navbar .nav-item:hover {
  color: #ffffff;
}

.zomra-navbar .nav-item.active {
  color: #ffffff;
}

.zomra-navbar .nav-sep-icon {
  width: 11px;
  height: 11px;
  position: static;
  margin: 0 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.zomra-navbar .nav-arrow-tab {
  background: rgba(137, 137, 137, 0.6);
  border-radius: 0 5px 5px 0;
  width: 15px;
  height: 43px;
  position: static;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zomra-navbar .nav-arrow-tab img {
  width: 8px;
  height: 8px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.zomra-navbar.collapsed .nav-arrow-tab img {
  transform: rotate(180deg);
}

.zomra-navbar.collapsed .nav-separator-line,
.zomra-navbar.collapsed .nav-sep-icon,
.zomra-navbar.collapsed .nav-item {
  display: none;
  pointer-events: none;
}

/* ===== PHASE FILTER MENU ===== */
.phase-filter-menu {
  position: fixed;
  top: 83px;
  left: 20px;
  width: 172px;
  height: 297px;
  z-index: 999998;
  box-sizing: border-box;
}

.phase-filter-menu .pfm-bg {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  position: absolute;
  inset: 0;
}

.phase-filter-menu .pfm-title {
  color: #ffffff;
  font-family: "Arboria-Bold", "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 50;
  position: absolute;
  left: 9px;
  top: 9px;
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
}

.phase-filter-menu .pfm-arrow {
  width: 8px;
  height: 8px;
  position: absolute;
  left: 96px;
  top: 20px;
  transform-origin: 0 0;
  transform: rotate(90deg) scale(1, 1);
  object-fit: cover;
  cursor: pointer;
}

.phase-filter-menu .pfm-line {
  border-top: 1px solid #ffffff;
  width: 156px;
  position: absolute;
  left: 8px;
  top: 42px;
}

.phase-filter-menu .pfm-show-all-row {
  position: absolute;
  left: 0;
  top: 50px;
  width: 172px;
  height: 37px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.phase-filter-menu .pfm-show-all-label {
  color: #ffffff;
  font-family: "Arboria-Medium", "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 500;
  position: absolute;
  left: 9px;
  -webkit-font-smoothing: antialiased;
}

.phase-filter-menu .pfm-toggle {
  position: absolute;
  left: 133px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 15px;
  cursor: pointer;
}

.phase-filter-menu .pfm-toggle-track {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 1px solid rgba(137, 137, 137, 0.6);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.phase-filter-menu .pfm-toggle-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(137, 137, 137, 0.6);
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  transition: left 0.2s ease, background 0.2s ease;
}

.phase-filter-menu.show-all-on .pfm-toggle-track {
  background: #ffffff;
  border-color: transparent;
}

.phase-filter-menu.show-all-on .pfm-toggle-dot {
  background: #000000;
  left: 19px;
}

.phase-filter-menu .pfm-phase-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  position: absolute;
  left: 0;
  top: 88px;
  width: 172px;
  box-sizing: border-box;
}

.phase-filter-menu .pfm-phase-item {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.phase-filter-menu .pfm-phase-item span {
  color: #ffffff;
  font-family: "Arboria-Medium", "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  left: 10px;
  width: 155px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.phase-filter-menu .pfm-phase-border {
  position: absolute;
  left: 10px;
  top: 2px;
  width: 155px;
  height: 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.15s ease;
}

.phase-filter-menu.show-all-on .pfm-phase-item .pfm-phase-border {
  border-color: #ffffff;
}

.phase-filter-menu .pfm-phase-item:hover .pfm-phase-border {
  border-color: rgba(137, 137, 137, 0.6);
}

.phase-filter-menu .pfm-phase-item.selected .pfm-phase-border {
  border-color: #ffffff;
}

.phase-filter-menu .pfm-phase-item.selected:hover .pfm-phase-border {
  border-color: #ffffff;
}

.phase-filter-menu.unit-filter-menu .pfm-arrow {
  left: 126px;
}

.phase-filter-menu.unit-filter-menu {
  height: 361px;
}

.phase-filter-menu.collapsed {
  height: 43px;
  overflow: hidden;
}

.phase-filter-menu.collapsed .pfm-line,
.phase-filter-menu.collapsed .pfm-show-all-row,
.phase-filter-menu.collapsed .pfm-phase-list {
  display: none;
}

.phase-filter-menu.collapsed .pfm-arrow {
  transform: rotate(0deg) scale(1, 1);
}


/* Remove left margin on arrow when collapsed so no gap after Zomra text */
.zomra-navbar.collapsed .nav-arrow-tab {
  margin-left: 6px;
}

/* ===================================================
   MOBILE RESPONSIVENESS OVERRIDES (≤ 768px)
   =================================================== */
@media (max-width: 768px) {

  /* --- Navbar: prevent bleed into top-right buttons --- */
  .zomra-navbar {
    max-width: calc(100vw - 70px);
  }
  .zomra-navbar .nav-item {
    font-size: 14px;
  }

  /* --- Filter menu: cap height, make list scrollable --- */
  .phase-filter-menu {
    max-height: 55vh !important;
    overflow: hidden;
  }
  .phase-filter-menu .pfm-phase-list {
    max-height: calc(55vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Unit Types filter (phase 1) has 8 items — give it a bit more room */
  .phase-filter-menu.unit-filter-menu {
    max-height: 65vh !important;
  }
  .phase-filter-menu.unit-filter-menu .pfm-phase-list {
    max-height: calc(65vh - 90px);
  }
  /* Scale down text slightly so more fits */
  .phase-filter-menu .pfm-title      { font-size: 17px; }
  .phase-filter-menu .pfm-show-all-label { font-size: 14px; }
  .phase-filter-menu .pfm-phase-item { height: 27px; }
  .phase-filter-menu .pfm-phase-item span { font-size: 12px; }

  /* --- Partner logos: lift them above the back button --- */
  .custom-partner-logos {
    bottom: 15px;
    left: 15px;
  }

  /* --- Zoom controls: preserve 3-button height --- */
  #zoomControls.group-165 {
    bottom: 15px;
    right: 15px;
    height: 120px;
  }

  /* --- Map buttons: fix position and sizing on mobile --- */
  .map-buttons {
    top: 20px;
    right: 15px;
    width: 36px;
    height: 64px;
  }
  .map-buttons .rectangle-45 {
    width: 100%;
    height: 100%;
  }
  .map-buttons .figma-btn-wrapper {
    width: 100%;
  }
  .map-buttons #infoBtn.figma-btn-wrapper {
    height: 32px;
  }
  .map-buttons #playBtn.figma-btn-wrapper {
    top: 32px;
    height: 32px;
  }
  .map-buttons #infoBtn .info-2,
  .map-buttons #playBtn .play-1 {
    width: 14px;
    height: 14px;
    left: 8px;
    top: 7px;
  }
}

/* ===================================================
   VERY SMALL PHONES (≤ 480px)
   =================================================== */
@media (max-width: 480px) {
  /* Shrink nav text further */
  .zomra-navbar .nav-item {
    font-size: 13px;
  }
  .zomra-navbar-wrapper {
    left: 58px;
  }

  /* Shrink top-right map buttons slightly */
  .map-buttons {
    top: 18px;
    right: 8px;
    width: 30px;
    height: 54px;
  }
  .map-buttons .rectangle-45 {
    width: 100%;
    height: 100%;
  }
  .map-buttons .figma-btn-wrapper {
    width: 100%;
  }
  .map-buttons #infoBtn.figma-btn-wrapper {
    height: 27px;
  }
  .map-buttons #playBtn.figma-btn-wrapper {
    top: 27px;
    height: 27px;
  }
  .map-buttons #infoBtn .info-2,
  .map-buttons #playBtn .play-1 {
    width: 12px;
    height: 12px;
    left: 7px;
    top: 6px;
  }
}

/* ===================================================================
   UNIT FILTER PANEL  (Figma: Unit_Filtering exports)
   =================================================================== */

/* ---- Outer container ---- */
.uf-panel {
  /* Fixed position, top-left, below nav bar */
  position: fixed;
  top: 71px;
  left: 10px;
  z-index: 9000;

  /* Figma collapsed size (group-197: 172x428) */
  width: 172px;
  height: 428px;

  /* Smooth expand/collapse when See More is clicked */
  transition: height 0.3s ease;

  /* Required so absolutely-positioned children work */
  box-sizing: border-box;
  overflow: hidden;
}

/* Expanded state — triggered by JS adding class .uf-panel--expanded */
.uf-panel.uf-panel--expanded {
  /* Slightly increased from Figma 658px to fit Clear button */
  height: 685px;
}

.uf-scroll-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: visible;
  padding-right: 0;
}

@media (max-width: 1024px) {
  .uf-scroll-content {
    overflow-y: auto;
    padding-right: 12px;
  }
}

.uf-scroll-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ---- Semi-transparent dark background (Figma: rectangle-44) ---- */
.uf-rect-bg {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---- Header row ---- */
.uf-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 172px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  box-sizing: border-box;
}

.uf-collapse-toggle {
  width: 15px;
  height: 43px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uf-collapse-toggle img {
  width: 8px;
  height: 8px;
  object-fit: cover;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

.uf-panel.uf-panel--collapsed {
  height: 43px;
}

.uf-panel.uf-panel--collapsed .uf-divider,
.uf-panel.uf-panel--collapsed .uf-show-all-row,
.uf-panel.uf-panel--collapsed .uf-type-row,
.uf-panel.uf-panel--collapsed .uf-see-more-wrapper,
.uf-panel.uf-panel--collapsed .uf-expanded,
.uf-panel.uf-panel--collapsed .uf-scrollbar {
  display: none;
}

.uf-panel.uf-panel--collapsed .uf-collapse-toggle img {
  transform: rotate(-90deg);
}

.uf-show-all-row {
  position: absolute;
  top: 50px;
  left: 9px;
  width: 154px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uf-show-all-label {
  color: #ffffff;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 17px;
  font-weight: 500;
  -webkit-text-stroke: 1px transparent;
  user-select: none;
}

/* Title text (Figma: unit-filter) */
.uf-title {
  color: #ffffff;
  font-family: "Arboria-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  -webkit-text-stroke: 1px transparent;
  user-select: none;
}

/* Show All toggle pill (Figma: group-152 = rectangle-34 + ellipse-11) */
.uf-toggle {
  cursor: pointer;
  flex-shrink: 0;
}
.uf-toggle-track {
  width: 32px;
  height: 15px;
  border-radius: 50px;
  border: 1px solid rgba(137, 137, 137, 0.6);
  position: relative;
}
.uf-toggle-thumb {
  width: 34.38%;   /* matches Figma ellipse-11 proportions */
  height: 73.33%;
  background: rgba(137, 137, 137, 0.6);
  border-radius: 50%;
  position: absolute;
  top: 13.33%;
  left: 6.25%;
  transition: left 0.2s ease;
}
/* Active state: thumb slides right */
.uf-toggle.active .uf-toggle-thumb {
  left: 59.38%;
}

.uf-toggle.active .uf-toggle-track {
  background: #ffffff;
  border-color: transparent;
}

.uf-toggle.active .uf-toggle-thumb {
  background: #000000;
}

/* ---- Horizontal divider (Figma: line-11) ---- */
.uf-divider {
  position: absolute;
  top: 42px;
  left: 8px;
  width: 156px;
  height: 0;
  border-top: 1px solid #ffffff;
}

/* ---- Unit type rows (Figma: each row sits at absolute y positions) ---- */
/* Row heights from Figma: each text is at +33px intervals starting from y=85 */
.uf-type-row {
  position: absolute;
  left: 8px;
  width: 155px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  box-sizing: border-box;

  /* Text style (Figma: Arboria-Medium 14px white) */
  color: #ffffff;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 14px;
  font-weight: 500;
  -webkit-text-stroke: 1px transparent;

  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

/* Hover state (Figma: duplex selected border example in reference image 1) */
.uf-type-row:hover {
  border-color: rgba(137, 137, 137, 0.6);
}

/* Selected / Clicked state — unique color per type (Figma: Unit_Filtering_Clicked/style.css) */
.uf-type-row.selected[data-type="Duplex"]        { background: #7f8fc4a1; border-color: transparent; }
.uf-type-row.selected[data-type="Apartment"]     { background: #fdc594a8; border-color: transparent; }
.uf-type-row.selected[data-type="Twin_House"]    { background: #fb7ea19c; border-color: transparent; }
.uf-type-row.selected[data-type="Stand_Alone_A"] { background: #33967793; border-color: transparent; }
.uf-type-row.selected[data-type="Stand_Alone_B"] { background: #6b390088; border-color: transparent; }
.uf-type-row.selected[data-type="Stand_Alone_C"] { background: #e4c9cda1; border-color: transparent; }
.uf-type-row.selected[data-type="Stand_Alone_D"] { background: #bf00039f; border-color: transparent; }
.uf-type-row.selected[data-type="Town_House_Six"]{ background: #95a8979f; border-color: transparent; }

/* Row vertical positions (Figma absolute top values from style.css) */
.uf-type-row[data-type="Duplex"]        { top: 85px;  }
.uf-type-row[data-type="Apartment"]     { top: 118px; }
.uf-type-row[data-type="Twin_House"]    { top: 151px; }
.uf-type-row[data-type="Stand_Alone_A"] { top: 184px; }
.uf-type-row[data-type="Stand_Alone_B"] { top: 217px; }
.uf-type-row[data-type="Stand_Alone_C"] { top: 250px; }
.uf-type-row[data-type="Stand_Alone_D"] { top: 283px; }
.uf-type-row[data-type="Town_House_Six"]{ top: 316px; }

/* ---- See More button area ---- */
.uf-see-more-wrapper {
  position: absolute;
  left: 20px;
  top: 362px;
  width: 132px;
  height: 34px;
}

/* Figma: rectangle-57 — shimmer background behind See More */
.uf-see-more-bg {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background:
    linear-gradient(
      0deg,
      rgba(86, 86, 86, 0.6) 0%,
      rgba(0, 0, 0, 0.36) 14.9%,
      rgba(0, 0, 0, 0.36) 26.4%,
      rgba(0, 0, 0, 0.36) 35.1%,
      rgba(0, 0, 0, 0.36) 72.6%,
      rgba(0, 0, 0, 0.36) 91.3%,
      rgba(123, 123, 123, 0.6) 100%
    ),
    linear-gradient(
      90deg,
      rgba(137, 137, 137, 0) 5.8%,
      rgba(137, 137, 137, 0.24) 19.7%,
      rgba(137, 137, 137, 0.5) 28.4%,
      rgba(137, 137, 137, 0.6) 43.3%,
      rgba(137, 137, 137, 0.6) 52.9%,
      rgba(137, 137, 137, 0.6) 63.5%,
      rgba(137, 137, 137, 0.34) 79.3%,
      rgba(137, 137, 137, 0.04) 97.6%
    );
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  filter: blur(2.65px);
  pointer-events: none;
}

/* See More text button (Figma: see-more class) */
.uf-see-more-btn {
  position: absolute;
  inset: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  z-index: 1;
}

/* ---- CRM Expanded section (hidden by default) ---- */
.uf-expanded {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 172px;
  height: 658px;
  pointer-events: none;
}

/* Visible when JS adds class .uf-expanded--visible */
.uf-expanded.uf-expanded--visible {
  display: block;
}

/* Section labels (Figma: availability / area / price) */
.uf-section-label {
  position: absolute;
  color: #ffffff;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 14px;
  font-weight: 500;
  -webkit-text-stroke: 1px transparent;
}

.uf-section-label--availability {
  left: 50%;
  transform: translateX(-50%);
  top: 410px;
  width: 71px;
  text-align: center;
}

.uf-section-label--area {
  left: 9px;
  top: 520px;
  width: 71px;
}

.uf-section-label--price {
  left: 9px;
  top: 581px;
  width: 71px;
}

/* Availability pill buttons (Figma: rectangle-38 / rectangle-39 in expanded CSS) */
.uf-avail-grid {
  position: absolute;
  top: 441px;
  left: 9px;
  width: 153px;
  display: grid;
  grid-template-columns: 64px 80px;
  column-gap: 9px;
  row-gap: 7px;
}
.uf-avail-btn {
  height: 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: none;
  color: #ffffff;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 13px;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
  pointer-events: auto;
}

.uf-avail-btn:hover,
.uf-avail-btn.active {
  background: rgba(137, 137, 137, 0.35);
}

/* Slider track (Figma uses a thin SVG line — we replicate with CSS) */
.uf-range-track {
  position: absolute;
  left: 8px;
  width: 155px;
  height: 9px;
}

.uf-range-track--area {
  top: 543px;
}

.uf-range-track--price {
  top: 604px;
}

.uf-range-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(137, 137, 137, 0.6);
  border-radius: 1px;
  transform: translateY(-50%);
}

.uf-range-fill {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #535353;
  border-radius: 1px;
  transform: translateY(-50%);
}

.uf-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 9px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.uf-range-input::-webkit-slider-runnable-track {
  height: 9px;
  background: transparent;
}

.uf-range-input::-moz-range-track {
  height: 9px;
  background: transparent;
  border: none;
}

.uf-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  background: #535353;
  border-radius: 50%;
  border: none;
  pointer-events: all;
  cursor: pointer;
}

.uf-range-input::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: #535353;
  border-radius: 50%;
  border: none;
  pointer-events: all;
  cursor: pointer;
}

.uf-range-input--min {
  z-index: 2;
}

.uf-range-input--max {
  z-index: 3;
}

/* Min / max value labels row */
.uf-range-labels {
  position: absolute;
  left: 8px;
  width: 155px;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  font-family: "Arboria-Light", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.uf-range-labels--area {
  top: 553px;
}

.uf-range-labels--price {
  top: 614px;
}

/* ---- Custom vertical scrollbar ---- */
.uf-scrollbar {
  position: absolute;
  top: 60px;
  right: 2px;
  width: 8px;
  height: calc(100% - 90px);
  display: none;
  justify-content: center;
  align-items: flex-start;
  transition: opacity 0.2s ease;
}

@media (max-width: 1024px) {
  .uf-scrollbar {
    display: flex;
  }
}

.uf-scrollbar.hidden {
  opacity: 0;
  pointer-events: none;
}

.uf-scrollbar-track {
  position: relative;
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.uf-scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 24px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: grab;
}

.uf-scrollbar-thumb:active {
  cursor: grabbing;
}
/* No results message */
.uf-no-results {
  position: absolute;
  top: 362px;
  left: 10px;
  width: 152px;
  color: #ff9d9d;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 13px;
  text-align: center;
  display: none;
  pointer-events: none;
  z-index: 5;
}

.uf-no-results.visible {
  display: block;
}

/* ===================================================================
   END UNIT FILTER PANEL
   =================================================================== */

/* =================================================================
   MOBILE / TABLET NAV BAR  (Figma: Dropdown_Navigation_Bar + Dropdown_Filtering_Menu)
   ================================================================= */

.mob-nav-bar,
.mob-nav-dropdown,
.mob-filter-dropdown {
  display: none;
}

@media (max-width: 1024px) {
  .mob-nav-bar { display: block; }
  .zomra-navbar-wrapper { display: none !important; }
  .phase-filter-menu {
    display: none !important;
  }
  .uf-panel {
    display: none;
    height: min(428px, calc(100vh - 90px));
  }
  .uf-panel.uf-panel--expanded {
    height: min(658px, calc(100vh - 90px));
  }
  .uf-panel.uf-panel-mobile-open {
    display: block;
    z-index: 1000002;
  }
}

.mob-nav-bar.group-209,
.mob-nav-bar.group-209 * {
  box-sizing: border-box;
}

.mob-nav-bar.group-209 {
  position: fixed;
  top: 20px;
  left: 63px;
  width: 113px;
  height: 33px;
  z-index: 1000001;
}

.mob-nav-bar .rectangle-45 {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 113px;
  height: 33px;
  position: absolute;
  left: 0;
  top: 0;
}

.mob-nav-bar .rectangle-47 {
  background: rgba(137, 137, 137, 0.6);
  border-radius: 5px;
  width: 23px;
  height: 75px;
  position: absolute;
  left: 82px;
  top: 5px;
  transform-origin: 0 0;
  transform: rotate(90deg) scale(1, 1);
}

.mob-nav-bar .zomra {
  color: #ffffff;
  text-align: left;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 13px;
  top: 6px;
  width: 50px;
  height: 26px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

.mob-nav-bar .arrow-right-6 {
  width: 8px;
  height: 8px;
  position: absolute;
  left: 68px;
  top: 14px;
  transform-origin: center;
  transform: rotate(90deg) scale(1, 1);
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.25s ease;
}

.mob-nav-bar.group-209.nav-open .arrow-right-6 {
  transform: rotate(270deg) scale(1, 1);
}

.mob-nav-bar .filter-1 {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 90px;
  top: 8px;
  object-fit: cover;
  aspect-ratio: 1;
}

.mob-nav-bar .mob-nav-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mob-nav-zomra-btn {
  left: 0;
  width: 82px;
}

.mob-nav-filter-btn {
  right: 0;
  width: 31px;
}

.mob-nav-dropdown {
  position: fixed;
  top: 57px;
  left: 63px;
  width: 113px;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
  z-index: 1000000;
}

.mob-nav-dropdown.mob-dropdown-open {
  display: block;
}

.mob-dropdown-bg {
  background: rgba(0, 0, 0, 0.65);
  position: absolute;
  inset: 0;
  border-radius: 0 0 5px 5px;
}

.mob-nav-row {
  display: block;
  position: relative;
  color: #b7b7b7;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 14px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
  padding: 10px 13px;
  transition: color 0.15s ease;
}

.mob-nav-row:hover,
.mob-nav-row-active {
  color: #ffffff;
}

.group-160,
.group-160 * {
  box-sizing: border-box;
}

.group-160 {
  position: fixed;
  top: 57px;
  left: 63px;
  width: 151px;
  height: 274px;
  z-index: 999999;
}

.mob-filter-dropdown.mob-filter-open {
  display: block;
}

.mob-filter-hidden {
  display: none !important;
}

.rectangle-44 {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  width: 151px;
  height: 274px;
  position: absolute;
  left: 0;
  top: 0;
}

.group-153 {
  width: 81px;
  height: 37px;
  position: absolute;
  left: 9px;
  top: 9px;
}

.phases {
  color: #ffffff;
  text-align: left;
  font-family: "Arboria-Bold", sans-serif;
  font-size: 17px;
  font-weight: 700;
  -webkit-text-stroke: 1px transparent;
}

.line-11 {
  margin-top: -1px;
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px 0 0 0;
  width: 136px;
  height: 0;
  position: absolute;
  left: 8px;
  top: 42px;
}

.show-all {
  color: #ffffff;
  text-align: left;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  left: 9px;
  top: 50px;
  width: 72px;
  height: 37px;
  -webkit-text-stroke: 1px transparent;
}

.group-152 {
  width: 32px;
  height: 15px;
  position: absolute;
  left: 112px;
  top: 55px;
  cursor: pointer;
}

.rectangle-34 {
  border-radius: 50px;
  border-style: solid;
  border-color: rgba(137, 137, 137, 0.6);
  border-width: 1px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ellipse-11 {
  background: rgba(137, 137, 137, 0.6);
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.2s ease, background 0.2s ease;
}

.group-152.mob-toggle-on .rectangle-34 {
  background: #ffffff;
  border-color: transparent;
}

.group-152.mob-toggle-on .ellipse-11 {
  left: calc(100% - 14px);
  background: #000000;
}

.arrow-right-3 {
  width: 8px;
  height: 8px;
  position: absolute;
  left: 92px;
  top: 19px;
  transform-origin: 0 0;
  transform: rotate(90deg) scale(1, 1);
  object-fit: cover;
  aspect-ratio: 1;
}

.group-113,
.group-103 {
  width: 151px;
  height: 235px;
}

.phase-link {
  color: #ffffff;
  text-align: center;
  font-family: "Arboria-Medium", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  position: absolute;
  left: 0;
  width: 100%;
  height: 32px;
  line-height: 32px;
  -webkit-text-stroke: 1px transparent;
}

.phase-link:hover {
  color: #b7b7b7;
}

.phase-1 { top: 88px; }
.phase-2 { top: 120px; }
.phase-3 { top: 152px; }
.phase-4 { top: 184px; }
.phase-5 { top: 216px; }
.phase-commercial { top: 248px; }

/* =================================================================
   END MOBILE / TABLET NAV BAR
   ================================================================= */

/* =================================================================
   INTERACTIVE LOCATION MARKERS
   ================================================================= */

/* Base marker - Leaflet divIcon wrapper. Must allow overflow so the
   shadow-DOM label/popup content can render outside the 1×1 icon. */
.interactive-marker {
  overflow: visible !important;
  background: none !important;
  border: none !important;
}

/* Label host - clickable. Scaling is handled inside shadow DOM. */
.interactive-label-host {
  overflow: visible !important;
  cursor: pointer;
}

/* Popup host. Scaling is handled inside shadow DOM. */
.interactive-popup-host {
  overflow: visible !important;
  pointer-events: none;
}



/* =================================================================
   END INTERACTIVE LOCATION MARKERS
   ================================================================= */
