/* Open Street Maps */
.leaflet-control-attribution { display: none !important; }

.leaflet-container img {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container {
  z-index: 1;
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.leaflet-popup-content {
  margin: 12px 16px;
  line-height: 1.5;
}

.leaflet-popup-content a {
  color: var(--brand-color-main);
}

/* Search */
#haendlerSearch {
  width: 100%;
}

/* Results */
.cntnr-osm__results {
  position: relative;
  width: 100%;
  max-height: 45vh;
  overflow-y: auto;
  background: var(--main-light);
}

.cntnr-osm__results::before,
.cntnr-osm__results::after {
  content: '';
  position: sticky;
  display: block;
  width: 100%;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}

.cntnr-osm__results::before {
  top: 0;
  background: linear-gradient(180deg, var(--brand-color-main) 0%, transparent 100%);
}

.cntnr-osm__results::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--brand-color-main) 0%, transparent 100%);
}

#haendlerList .cntnr-columns {
  border-bottom: 1px solid var(--main-dark);
  padding: var(--gap-inner);
}

/* Premium Badge */
.osm-badge-premium {
  display: inline-block;
  background: var(--brand-color-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 4px;
}

#haendlerkarte {
  border-radius: var(--radius__medium);
}