
/* VEA PREMIUM MAP MOBILE V1 */
.vea-premium-property-popup .leaflet-popup-content-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.vea-premium-property-popup .leaflet-popup-content {
  margin: 0 !important;
  width: 270px !important;
  max-width: min(270px, calc(100vw - 36px)) !important;
}
.vea-premium-property-popup .leaflet-popup-tip-container {
  display: none !important;
}
.vea-premium-property-popup .leaflet-popup-close-button {
  z-index: 10 !important;
  top: 7px !important;
  right: 8px !important;
  width: 25px !important;
  height: 25px !important;
  line-height: 25px !important;
  border-radius: 50% !important;
  background: rgba(18,32,52,.94) !important;
  color: #fff !important;
}
.vea-premium-property-popup {
  margin-bottom: 12px;
}
#vea-map-listing-content img {
  max-width: 100%;
}

@media (max-width: 767px) {
  html, body {
    max-width: 100%;
    overflow-x: clip;
  }
  #vea-home-map,
  #vea-home-map-3d,
  .vea-home-map,
  .vea-map-section {
    max-width: 100%;
    min-width: 0;
  }
  #vea-home-map {
    min-height: 410px;
  }
  #vea-property-panel {
    box-sizing: border-box;
    max-width: calc(100vw - 24px);
    overflow-x: hidden;
  }
  #vea-map-listing-content {
    max-width: 100%;
    overflow-x: hidden;
  }
  #vea-map-listing-content > div {
    box-sizing: border-box;
  }
  #vea-map-listing-content a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .vea-premium-property-popup .leaflet-popup-content {
    width: min(250px, calc(100vw - 45px)) !important;
  }
  .vea-premium-property-popup img {
    max-width: 100%;
  }
  .leaflet-container .leaflet-popup {
    max-width: calc(100vw - 28px);
  }
  .leaflet-control-zoom {
    margin-right: 12px !important;
  }
  input[type="search"],
  input[type="text"],
  select {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 390px) {
  #vea-home-map {
    min-height: 370px;
  }
  .vea-premium-property-popup .leaflet-popup-content {
    width: 225px !important;
  }
}

/* VEA ADIM66 COMPACT CARD */
.vea-premium-property-popup .leaflet-popup-content-wrapper {
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.vea-premium-property-popup .leaflet-popup-content {
  width: 210px !important;
  max-width: 210px !important;
  margin: 0 !important;
}
.vea-premium-property-popup .leaflet-popup-content > a {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 210px !important;
  max-width: 210px !important;
  border-radius: 12px !important;
}
.vea-premium-property-popup .leaflet-popup-content img {
  width: 100% !important;
  height: 68px !important;
  object-fit: cover !important;
}
.vea-premium-property-popup .leaflet-popup-content > a > div {
  padding: 7px 10px !important;
}
.vea-premium-property-popup .leaflet-popup-content > a > div > div {
  margin-bottom: 4px !important;
}
.vea-premium-property-popup .leaflet-popup-content > a > div > div:nth-child(2) {
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.vea-premium-property-popup .leaflet-popup-content > a > div > div:nth-child(3) {
  font-size: 15px !important;
}
.vea-premium-property-popup .leaflet-popup-tip-container {
  display: none !important;
}
.vea-premium-property-popup .leaflet-popup-close-button {
  z-index: 20 !important;
}
picture[data-vea-dark-logo] {
  display: contents;
}
@media (max-width: 767px) {
  .vea-premium-property-popup .leaflet-popup-content,
  .vea-premium-property-popup .leaflet-popup-content > a {
    width: 195px !important;
    max-width: 195px !important;
  }
  .vea-premium-property-popup .leaflet-popup-content img {
    height: 60px !important;
  }
}

/* VEA ADIM67 3D COMPACT POPUP */
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="]) {
  max-width: 230px !important;
  z-index: 20;
}
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
.maplibregl-popup-content {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
.maplibregl-popup-content > div {
  width: 210px !important;
  max-width: 210px !important;
}
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
.maplibregl-popup-content a {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
.maplibregl-popup-close-button {
  z-index: 5 !important;
  top: 6px !important;
  right: 6px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #17283e !important;
  color: #ffffff !important;
}
.maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
.maplibregl-popup-tip {
  display: none !important;
}
@media (max-width: 767px) {
  .maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
  .maplibregl-popup-content > div {
    width: 195px !important;
    max-width: 195px !important;
  }
  .maplibregl-popup:has(a[href^="/ilanlar/onizleme?id="])
  .maplibregl-popup-content img {
    height: 60px !important;
  }
}
