:root {
  --sosemo-navy: hsl(231, 41%, 18%);
  --sosemo-navy-2: rgb(7, 13, 36);
  --sosemo-orange: #E74800;
  --sosemo-white: #F7F7F7;
}

/* --- Custom Sosemo marker --- */

.sosemo-marker {
  background: transparent;
  border: none;
}

.sosemo-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sosemo-white);
  border: 8px solid var(--sosemo-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sosemo-pin span {
  width: 6px;
  height: 6px;
  background: var(--sosemo-white);
  border-radius: 2px;
}

/* Hover / focus (desktop) */
.leaflet-marker-icon:hover .sosemo-pin,
.leaflet-marker-icon:focus .sosemo-pin {
  transform: scale(1.15);
  box-shadow:
    0 0 0 6px rgba(255, 106, 0, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.45);
}




.spm-wrap {

  position: relative;

}



.spm-map {

  width: 100%;

  border-radius: 14px;

  overflow: hidden;

  background: #f2f4f7;

}



.spm-map--blocked {

  filter: blur(2px);

  pointer-events: none;

}



.spm-consent-btn {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 10px 14px;

  border-radius: 10px;

  border: 1px solid rgba(0,0,0,0.12);

  background: #fff;

  cursor: pointer;

  margin-bottom: 10px;

}



.spm-popup .spm-city {

  font-weight: 700;

  margin-bottom: 6px;

}



.spm-popup .spm-address {

  font-size: 0.95rem;

  margin-bottom: 6px;

  opacity: 0.9;

}



.spm-popup .spm-desc {

  font-size: 0.95rem;

  line-height: 1.35;

}




.leaflet-popup-content-wrapper {
  background: var(--sosemo-navy);
  color: var(--sosemo-white);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  padding: 4px;
  max-width: 80vw;
}

.leaflet-popup-tip {
  background: var(--sosemo-navy);
}

.spm-popup {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.spm-popup .spm-city {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.spm-popup .spm-address {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.spm-popup .spm-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}
