.store-directory {
  max-width: 85rem;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.store-directory h1 {
  margin-bottom: 1.5rem;
}

.store-directory h2 {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.store-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  border-block: 1px solid var(--line);
  padding: .45rem 0;
  margin-bottom: 1.75rem;
}

.store-cities a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
}

.store-directory-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 1fr) minmax(0, 2fr);
  grid-template-areas: "list map";
  gap: clamp(1.5rem, 4vw, 4rem);
}

.store-directory-layout.no-map {
  grid-template-columns: 1fr;
  grid-template-areas: "list";
}

.store-list {
  grid-area: list;
}

.store-city,
.store-map {
  scroll-margin-top: 7.5rem;
}

.store-city + .store-city {
  margin-top: 1.75rem;
}

.store-city ul {
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
}

.store-entry {
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}

.store-entry h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 500;
}

.store-entry address,
.store-map-label p {
  font-style: normal;
  overflow-wrap: anywhere;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.store-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .88rem;
}

.store-links a[aria-current] {
  font-weight: 600;
}

.store-map {
  grid-area: map;
  align-self: start;
  position: sticky;
  top: 7rem;
  min-width: 0;
}

.store-map-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: .85rem;
}

.store-map-label p {
  margin: .3rem 0 0;
}

.store-map-label > a {
  flex-shrink: 0;
  font-size: .88rem;
}

.store-map iframe {
  display: block;
  width: 100%;
  height: clamp(21rem, 55vh, 36rem);
  border: 1px solid var(--line);
  background: #f4f4f4;
}

@media (max-width: 760px) {
  .store-directory-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "map" "list";
  }

  .store-map {
    position: static;
  }

  .store-map-label {
    flex-wrap: wrap;
  }

  .store-map iframe {
    height: 20rem;
  }
}
