.dealers {
  margin: 90px 0;
  background: #ffffff;
}
@media (max-width: 900px) {
  .dealers {
    margin: 60px 0;
  }
}
.dealers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .dealers__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.dealers__head-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dealers__title {
  margin: 0;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 45px;
  color: #1a1a1a;
}
@media (max-width: 1200px) {
  .dealers__title {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (max-width: 900px) {
  .dealers__title {
    font-size: 28px;
    line-height: 34px;
  }
}
.dealers__subtitle {
  margin: 8px 0 0;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #6b7280;
}
.dealers__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.dealers__filter {
  padding: 9px 17px;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  background: #ffffff;
  color: #6b7280;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 13.3px;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dealers__filter:hover:not(.is-active) {
  border-color: #ff8c00;
  color: #ff8c00;
}
.dealers__filter.is-active {
  background: #ff8c00;
  border-color: #ff8c00;
  color: #ffffff;
}
.dealers__grid {
  display: grid;
  grid-template-columns: minmax(0, 826px) minmax(0, 400px);
  grid-gap: 14px;
  gap: 14px;
}
@media (max-width: 1200px) {
  .dealers__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  }
}
@media (max-width: 900px) {
  .dealers__grid {
    grid-template-columns: 1fr;
  }
}
.dealers__grid--stacked {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.dealers__grid--no-legend {
  gap: 12px;
}
.dealers__map-wrap {
  border-radius: 12px;
  overflow: hidden;
}
.dealers__map {
  width: 100%;
  height: 448px;
  background: #f5f7fb;
}
@media (max-width: 900px) {
  .dealers__map {
    height: 360px;
  }
}
.dealers__map--full {
  height: 520px;
}
@media (max-width: 900px) {
  .dealers__map--full {
    height: 380px;
  }
}
.dealers__cards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
}
@media (max-width: 1200px) {
  .dealers__cards-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dealers__cards-list {
    grid-template-columns: 1fr;
  }
}
.dealers__empty {
  text-align: center;
  color: #8892a6;
  padding: 40px 20px;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
}

.dealer-card {
  padding: 20px;
  background: #ffffff url("../../../img/card-dots.svg") no-repeat right bottom;
  border: 1px solid #263B87;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(15, 27, 61, 0.18);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.dealer-card[hidden] {
  display: none;
}
.dealer-card:hover {
  background-color: #fafbfc;
  border-color: #ff8c00;
  box-shadow: 0 16px 44px rgba(15, 27, 61, 0.28);
}
.dealer-card.is-highlighted {
  background: rgba(255, 140, 0, 0.08);
  border-color: #ff8c00;
}
.dealer-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dealer-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 25.6px;
  color: #1a1a1a;
}
.dealer-card__tier-dot {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dealer-card__tier-dot--sm {
  width: 8px;
  height: 8px;
}
.dealer-card__tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1px 10px 2px;
  border-radius: 100px;
  background: #f5f7fb;
  color: #5c626b;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dealer-card__status {
  flex-shrink: 0;
  padding: 1px 8px 2.19px;
  border-radius: 100px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 19.2px;
  white-space: nowrap;
}
.dealer-card__status--active {
  background: #dcfce7;
  color: #166534;
}
.dealer-card__status--inactive {
  background: #fee2e2;
  color: #991b1b;
}
.dealer-card__addr {
  margin: 0;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  color: #6b7280;
}
.dealer-card__phone {
  margin: 0;
  padding-top: 4px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
}
.dealer-card__phone a {
  color: #ff8c00;
  -webkit-text-decoration: none;
  text-decoration: none;
}
.dealer-card__phone a:hover {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

.leaflet-popup-content {
  margin: 12px 14px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.leaflet-popup-content strong {
  display: block;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.leaflet-popup-content a {
  color: #ff8c00;
  -webkit-text-decoration: none;
  text-decoration: none;
}

.dealers__address-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff8c00;
  border-color: #ff8c00;
  color: #ffffff;
}
.dealers__address-btn svg {
  display: block;
}
.dealers__address-btn:hover:not(.is-active) {
  background: #e67c00;
  border-color: #e67c00;
  color: #ffffff;
}

.dealers__origin {
  margin: 12px 0 0;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}
.dealers__origin-label {
  font-weight: 700;
  color: #1a1a1a;
}
.dealers__origin-change {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff8c00;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 14px;
  -webkit-text-decoration: underline;
  text-decoration: underline;
  cursor: pointer;
}
.dealers__origin-change:hover {
  -webkit-text-decoration: none;
  text-decoration: none;
}

.dealers__modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dealers__modal[hidden] {
  display: none;
}
.dealers__modal-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 27, 61, 0.55);
}
.dealers__modal-dialog {
  position: relative;
  width: min(480px, 100%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 27, 61, 0.25);
  padding: 32px;
}
@media (max-width: 600px) {
  .dealers__modal-dialog {
    padding: 24px;
  }
}
.dealers__modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.dealers__modal-close:hover {
  color: #ff8c00;
}
.dealers__modal-title {
  margin: 0 0 8px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: #1a1a1a;
}
.dealers__modal-desc {
  margin: 0 0 20px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #6b7280;
}
.dealers__modal-form {
  display: flex;
  gap: 10px;
}
@media (max-width: 600px) {
  .dealers__modal-form {
    flex-direction: column;
  }
}
.dealers__modal-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 16px;
  color: #4a5673;
}
.dealers__modal-input:focus {
  outline: none;
  border-color: #ff8c00;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}
.dealers__modal-submit {
  flex-shrink: 0;
}
.dealers__modal-error {
  margin: 12px 0 0;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 14px;
  color: #991b1b;
}

body.dealers-modal-open {
  overflow: hidden;
}

.dealers__list-hint {
  margin: 0;
  padding: 20px;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}
.dealers__list-hint[hidden] {
  display: none;
}

.dealers__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Play",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif;
  font-size: 13.5px;
  color: #4a5673;
}

.dealers__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dealers__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
/*# sourceMappingURL=styles.css.map */
