.dealer-header__tab {}

.main-layout__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}



/* Header */
.dealer-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.dealer-header__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dealer-header__tab:hover {
  opacity: 0.7;
}

.dealer-header__tab-icon {
  width: 20px;
  height: 20px;
  border: 2px dashed #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.dealer-header__tab-icon.is-active {
  background-color: #333;
}

.dealer-header__tab-icon-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
}



/* Search Box */
.dealer-search {
  padding: 16px 20px;
  background-color: #fff;
}

.dealer-search__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border: 2px dashed #333;
}

.dealer-search__icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
}

.dealer-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
}

.dealer-search__input::placeholder {
  color: #999;
}

.dealer-search__submit {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.dealer-search__submit:hover {
  transform: translateX(4px);
}



/* Results */
.dealer-results {
  padding: 20px;
  background-color: #f5f5f5;
}

.dealer-results__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  flex-wrap: wrap;
}

.dealer-results__count {
  font-weight: bold;
}

.dealer-results__filter {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dealer-results__filter:hover {
  opacity: 0.7;
}



/* Dealer Card */
.dealer-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.dealer-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dealer-card__header {
  display: flex;
  gap: 16px;
}


.dealer-card__location {
  flex-shrink: 0;
  text-align: center;
}

.dealer-card__pin {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

}


.dealer-card__distance {
  font-size: 14px;
  color: #666;
}

.dealer-card__content {
  flex: 1;
}

.dealer-card__badges {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.dealer-card__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  background: #f5fbfb;
  padding: 4px 5px;
  border-radius: 6px;
}

.dealer-card__badge-icon {
  width: 16px;
  height: 16px;
}

.dealer-card__name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.dealer-card__address {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
}

.dealer-card__phone {
  font-size: 15px;
  color: #666;
}

.dealer-card__actions {
  display: flex;
  margin-top: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.dealer-card__action {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dealer-card__action:hover {
  opacity: 0.7;
}



/* Bottom Navigation */
.bottom-nav {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background-color: #9c9c9c;
  color: #fff;
  z-index: 1000;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: none;
  color: #fff;
  transition: opacity 0.2s;
}

.bottom-nav__item:hover {
  opacity: 0.8;
}

.bottom-nav__item.is-active {
  background-color: #000;
}

.bottom-nav__item:is-active {
  background-color: #fff;
  color: #000;
}

.bottom-nav__icon {
  font-size: 20px;
  line-height: 0;
}

.bottom-nav__icon svg {
  width: 20px;
  height: 20px;
}

.bottom-nav__item:first-child .bottom-nav__icon svg path {
  stroke: #fff;
}

.bottom-nav__icon svg path {
  fill: white;
  /* stroke: white; */
}

.dealer-card.is-active {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dealer-results {
  padding: 0 32px 24px;
  overflow-y: auto;
  max-height: calc(100vh - 150px);
}

.dealer-results__header {
  position: sticky;
  top: 0;
  background-color: #f5f5f5;
  z-index: 1;
  padding: 24px;
  margin: 0 -24px;
}

@media (min-width: 768px) {
  .dealer-header {
    padding: 20px 32px;
  }

  .dealer-header__tab {
    margin-right: 32px;
    font-size: 16px;
  }

  .dealer-search {
    padding: 20px 32px;
    /* max-height: calc(100vh - 150px); */
  }


}

@media (min-width: 1024px) {



  .main-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    height: 100vh;
    background: #f5f5f5;
  }

  .main-layout__sidebar {
    /* overflow-y: auto; */
    border-right: 1px solid #e0e0e0;
  }

  .main-layout__map {
    background-color: #e8f5f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
  }

  .bottom-nav {
    display: none;
  }

}
 .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 20px;
}

/* Element: contact-info__item */
.contact-info__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Element: contact-info__icon */
.contact-info__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon svg {
    width: 40px;
    height: 40px;
    stroke: #333333;
    stroke-width: 2;
    fill: none;
}

/* Element: contact-info__label */
.contact-info__label {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Element: contact-info__value */
.contact-info__value {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
    word-break: break-word;
}

/* Element: contact-info__value--link */
.contact-info__value--link {
    /* color: #0066cc; */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info__value--link:hover {
    color: #0052a3;
    text-decoration: underline;
}
.main-showroom-map iframe{
    width: 100%;
}
@media (max-width: 1024px) {
  .main-layout__map {
    height: 100vh;
    /* display: none; */
  }

  .dealer-results {
    display: none;
  }
}

@media (max-width: 480px) {
  .dealer-card__actions {}

  .dealer-card {
    padding: 16px;
  }

  .dealer-card__header {}
}