.dealer-map {
  border-top: 0;
}

.dealer-map__flag {
  display: block;
  width: 48px;
  height: 32px;
  overflow: hidden;
  border: 1px solid #d3dce4;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 46, 82, .12);
  object-fit: cover;
}

.dealer-map__details {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
}

.dealer-map__details .dealer-map__service {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid #dce6ed;
  background: #f6f9fb;
  color: #173c68;
}

.dealer-map__service span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  background: #0075ba;
  color: #fff;
  font-size: 13px;
}

.dealer-map__service strong {
  font-size: 10px;
  letter-spacing: .08em;
}

.dealer-map__service--clickable {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dealer-map__service--clickable:hover,
.dealer-map__service--clickable:focus-visible {
  border-color: #0075ba;
  background: #eef7fc;
  outline: none;
}

.dealer-map__service--clickable b {
  margin-left: auto;
  color: #0075ba;
  font-size: 17px;
}

.dealer-map__details > .dealer-map__full-details {
  display: block;
  min-width: 0;
  margin: 8px 0 0;
  padding: 16px 0 2px;
  border-top: 1px solid #d9e1e8;
}

.dealer-map__full-details[hidden] {
  display: none !important;
}

.dealer-map__full-details .dealer-map__dealer-logo {
  position: static !important;
  display: block !important;
  width: auto !important;
  max-width: 170px !important;
  height: 42px !important;
  max-height: 42px !important;
  margin: 0 0 18px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.dealer-map__full-details dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.dealer-map__full-details dl > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
}

.dealer-map__full-details dt {
  color: #8295a8;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dealer-map__full-details dd {
  min-width: 0;
  margin: 0;
  color: #405a72;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.dealer-map__full-details a {
  color: #0075ba;
  text-decoration: none;
}

.dealer-map__list {
  grid-template-columns: repeat(4, 1fr);
}

.dealer-map__list button:nth-child(n + 5) {
  display: none;
}

.dealer-map.is-list-expanded .dealer-map__list button {
  display: grid;
}

.dealer-map__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-top: 1px solid #d9e1e8;
  background: #f7fafc;
  color: #173c68;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.dealer-map__more:hover {
  background: #edf5f9;
  color: #0075ba;
}

.dealer-map__more span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 1200px) {
  .dealer-map__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .dealer-map__list {
    grid-template-columns: 1fr;
  }
}
