.d1im-map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  background: #f2f4f6;
}
.d1im-map {
  width: 100%;
  min-height: 280px;
  z-index: 1;
}
.d1im-map-status {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 25px;
  background: #f4f5f7;
  color: #68707b;
  font-size: 14px;
}
.d1im-map-status.is-error {
  color: #b42318;
}
.d1im-map-status.is-empty {
  color: #475467;
}
.d1im-map-popup {
  width: 245px;
}
.d1im-map-popup img {
  display: block;
  width: 100%;
  height: 115px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
}
.d1im-map-popup div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.d1im-map-popup strong {
  font-size: 14px;
  line-height: 1.3;
}
.d1im-map-popup span {
  color: #69707a;
  font-size: 11px;
  line-height: 1.4;
}
.d1im-map-popup b {
  color: var(--d1im-primary, #5a3fa3);
  font-size: 13px;
}
.d1im-map-popup a {
  margin-top: 3px;
  color: #17191d !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
}
.leaflet-popup-content {
  margin: 12px;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
.d1im-location-section {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid #e5e7eb;
}
.d1im-routes {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}
.d1im-routes h3 {
  margin: 0 0 13px;
  font-size: 18px;
}
.d1im-routes > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.d1im-routes a {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  padding: 12px;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  background: #fff;
  color: #202327 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.d1im-routes a:hover {
  border-color: var(--d1im-primary);
  transform: translateY(-2px);
}
.d1im-routes a > span {
  grid-row: 1/3;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.d1im-route-google > span {
  background: #4285f4;
}
.d1im-route-waze > span {
  background: #22b8cf;
}
.d1im-routes b {
  font-size: 12px;
}
.d1im-routes em {
  color: #69707a;
  font-size: 9px;
  font-style: normal;
}
@media (max-width: 420px) {
  .d1im-routes > div {
    grid-template-columns: 1fr;
  }
}
