.pmc-location-map {
  --pmc-location-map-accent: var(--bs-primary, #24bcc8);
  --pmc-location-map-border: #d9dde2;
  --pmc-location-map-muted: #5b6470;
  --pmc-location-map-soft: #f8fafb;
  background: #fff;
  border: 1px solid var(--pmc-location-map-border);
  display: grid;
  grid-template-columns: minmax(18rem, 38%) minmax(0, 1fr);
  height: clamp(28rem, 68vh, 34rem);
  min-height: 28rem;
  overflow: hidden;
  width: 100%;
}

.pmc-location-map__panel {
  border-right: 1px solid var(--pmc-location-map-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.pmc-location-map__search {
  background: var(--pmc-location-map-soft);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.125rem;
}

.pmc-location-map__search-label {
  color: #68737d;
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.pmc-location-map__search-help {
  color: var(--pmc-location-map-muted);
  font-size: .875rem;
  line-height: 1.35;
  margin: 0 0 .75rem;
}

.pmc-location-map__search-row {
  display: flex;
  gap: .5rem;
}

.pmc-location-map__search-input {
  border: 1px solid var(--pmc-location-map-border);
  border-radius: 0;
  flex: 1 1 auto;
  min-height: 2.75rem;
  min-width: 0;
  padding: .5rem .75rem;
}

.pmc-location-map__place-autocomplete {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.pmc-location-map__status {
  color: var(--pmc-location-map-muted);
  font-size: .875rem;
  padding: .75rem 1.125rem 0;
}

.pmc-location-map__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.pmc-location-map__item {
  border-bottom: 1px solid #edf0f2;
  cursor: pointer;
  padding: 1rem 1.125rem;
  transition: background-color .15s ease;
}

.pmc-location-map__item:hover,
.pmc-location-map__item:focus,
.pmc-location-map__item.is-active {
  background: #f8fbfc;
}

.pmc-location-map__item:focus {
  outline: 0;
}

.pmc-location-map__item:focus-visible {
  outline: .15rem solid var(--pmc-location-map-accent);
  outline-offset: -.15rem;
}

.pmc-location-map__item-country,
.pmc-location-map__details-country,
.pmc-location-map__fallback-country {
  color: var(--pmc-location-map-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.pmc-location-map__item-title,
.pmc-location-map__details-title,
.pmc-location-map__fallback-title {
  color: #26323d;
  font-size: 1.125rem;
  line-height: 1.25;
  margin: 0 0 .375rem;
}

.pmc-location-map__item-address,
.pmc-location-map__details-address,
.pmc-location-map__fallback-address {
  color: var(--pmc-location-map-muted);
  line-height: 1.45;
  margin: 0 0 .75rem;
}

.pmc-location-map__item-distance {
  color: var(--pmc-location-map-muted);
  font-size: .875rem;
  margin: 0 0 .75rem;
}

.pmc-location-map__details {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.125rem;
}

.pmc-location-map__details-contact {
  border-top: 1px solid #edf0f2;
  margin-top: 1rem;
  padding-top: .75rem;
}

.pmc-location-map__contact-row {
  margin-bottom: .35rem;
}

.pmc-location-map__contact-row a,
.pmc-location-map__fallback-item a {
  color: var(--pmc-location-map-accent);
}

.pmc-location-map__details-text {
  border-top: 1px solid #edf0f2;
  margin-top: 1rem;
  padding-top: 1rem;
}

.pmc-location-map__details-text > :last-child,
.pmc-location-map__fallback-details > :last-child {
  margin-bottom: 0;
}

.pmc-location-map__map-wrap {
  height: 100%;
  min-height: 0;
  position: relative;
}

.pmc-location-map__map {
  height: 100%;
  min-height: 0;
  width: 100%;
}

.pmc-location-map__map-message {
  align-items: center;
  background: #f4f6f8;
  color: var(--pmc-location-map-muted);
  display: flex;
  font-size: .9375rem;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: absolute;
  text-align: center;
}

.pmc-location-map__marker {
  background: var(--pmc-location-map-accent);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 .125rem .35rem rgba(0, 0, 0, .25);
  display: block;
  height: .9rem;
  width: .9rem;
}

.pmc-location-map__marker.is-active {
  background: var(--bs-danger, #f05133);
  height: 1.15rem;
  width: 1.15rem;
}

.pmc-location-map__fallback {
  overflow-y: auto;
  padding: 1.125rem;
}

.pmc-location-map.is-enhanced .pmc-location-map__fallback {
  display: none;
}

.pmc-location-map__fallback-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmc-location-map__fallback-item {
  border-bottom: 1px solid #edf0f2;
  padding: 1rem 0;
}

.pmc-location-map__empty {
  color: var(--pmc-location-map-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .pmc-location-map {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .pmc-location-map__panel {
    border-bottom: 1px solid var(--pmc-location-map-border);
    border-right: 0;
    max-height: clamp(26rem, 62vh, 32rem);
  }

  .pmc-location-map__map-wrap,
  .pmc-location-map__map {
    height: 24rem;
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .pmc-location-map__search-row {
    flex-direction: column;
  }

}
