.eslm-wrap{
  width: 100%;
}

.eslm-map{
  width: 100%;
  background: #f2f2f2;
  overflow: hidden;
}

.eslm-map.eslm-shadow{
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.eslm-attrib{
  font-size: 11px;
  line-height: 1.3;
  opacity: .72;
  margin-top: 8px;
}

.eslm-marker svg{
  display:block;
}

.eslm-popup{
  font-size: 14px;
  line-height: 1.2;
  padding: 2px 0;
}

/* Ajustes Leaflet para que el mapa se vea “premium” */
.eslm-map .leaflet-control-zoom a{
  border-radius: 10px;
}
.eslm-map .leaflet-bar{
  border: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.eslm-map .leaflet-control-zoom a{
  color: #111;
}

.eslm-popup-addr{
  margin-top: 6px;
  font-size: 13px;
  opacity: .85;
}


.eslm-popup{
  --eslm-accent: #6D0202;
  max-width: 260px;
}

.eslm-popup-title{
  display: block;
}

.eslm-popup-img{
  display: flex;
  justify-content: center;
  margin: 2px 0 10px;
}

.eslm-popup-img img{
  width: 92px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.eslm-popup-actions{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.eslm-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.10);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.eslm-btn-primary{
  background: var(--eslm-accent);
  color: #fff;
  border-color: transparent;
}

.eslm-btn-secondary{
  background: #fff;
  color: #111;
}

.eslm-btn-primary:hover{
  filter: brightness(0.95);
}

.eslm-btn-secondary:hover{
  background: rgba(0,0,0,0.04);
}

/* Fuerza el color del botón principal (algunos temas sobreescriben enlaces) */
.eslm-popup a.eslm-btn-primary,
.eslm-popup a.eslm-btn-primary:visited,
.eslm-popup a.eslm-btn-primary:hover,
.eslm-popup a.eslm-btn-primary:active{
  color: #fff !important;
}

/* Atribución Leaflet (obligatoria por licencia) - más discreta */
.eslm-map .leaflet-control-attribution{
  font-size: 10px;
  line-height: 1.2;
  opacity: .78;
}
.eslm-map .leaflet-control-attribution a{
  color: inherit;
  text-decoration: none;
}
