.leaflet-popup-content-wrapper {
  border-radius: 10px;
  background: #62705C;
  width: 270px;
  color: #fff;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.55);
  }

.leaflet-popup-tip {
  background: #62705C;
}
.leaflet-popup-content {
  width: 260px !important;
  margin: 5px auto !important;
  max-width: 90vw;
}

.popup-card img { width: 100%; height: auto; display: block; padding: 6px; box-sizing: border-box; background: #A4BF9C; }

.popup-card { overflow: hidden;width: 100%; justify-content: center;}



.popup-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0px;
}

.popup-desc {
  font-size: 13px;
  opacity: 0.85;
  text-align: justify;
}

.popup-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.popup-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin-top: 6px;
  padding: 6px 8px;

  background: rgba(164, 191, 156, 0.15);
  border: 1px solid rgba(164, 191, 156, 0.6);

  color: #ffffff !important;

  border-radius: 8px;

  font-size: 13px;
  font-weight: 400;

  text-decoration: none;

  transition: all 0.2s ease;
  cursor: pointer;
 } 
  .popup-link:hover {
  background: rgba(164, 191, 156, 0.25);
  border-color: rgba(164, 191, 156, 0.9);
  }
  .popup-features {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  flex-wrap: nowrap;
   justify-content: center;
}
.popup-features span {
  white-space: nowrap;
}
.popup-card img {
  cursor: pointer;
  transition: 0.2s ease;
}

.popup-card img:hover {
  opacity: 0.85;
  transform: scale(1.01);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox.open {
  display: flex;
}

#lightbox-img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);

  cursor: zoom-in;
  transform-origin: center;
  transition: transform 0.2s ease;
  touch-action: none;
}
.popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
   justify-content: center;
}
.popup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  justify-content: center;
}