.distributor-loc {
  padding-block: 48px;

  @media (width >=1024px) {
    padding-block: 80px 56px;
  }

  .sl-heading :is(h1, h2, h3, h4, h5, h6, p) {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;

    @media (width >=1024px) {
      font-size: 32px;
      text-align: center;
      line-height: 38px;
    }
  }


  .sl-container,
  .sl-top,
  .sl-search-row,
  .sl-filters,
  .sl-content,
  .sl-left,
  .sl-list,
  .sl-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sl-search-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;

    @media (width >=1024px) {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr auto;
      align-items: end;
      margin-top: 0;
    }
  }

  .sl-pincode-field {
    width: 100%;
    position: relative;
  }

  .sl-pincode-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #8d8d8d;
    width: 100%;
    min-height: calc(24px + 8px * 2);

    @media (width >=1024px) {
      min-height: 40px;
      padding: 0;
    }
  }

  .sl-pincode-input {
    flex: 1;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #000;
    padding: 2px 8px 2px 0;
    outline: none;

    @media (width >=1024px) {
      min-height: 40px;
    }
  }

  .sl-pincode-icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: url("/genuine-parts/icons/pincode-locator.svg") center / 24px 24px no-repeat;
    flex-shrink: 0;
    cursor: pointer;

    @media (width >=1024px) {
      width: 40px;
      height: 40px;
      min-width: 40px;
      min-height: 40px;
      background-size: 24px 24px;
    }
  }

  .sl-cta-button {
    width: 100%;
    cursor: pointer;

    @media (width >=1024px) {
      width: auto;
    }
  }

  .cmp-button--primary {
    background-color: #171c8f;
    color: #fff;
    border-color: #171c8f;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
  }

  .sl-pincode-error {
    font-size: 10px;
    font-weight: 400;
    color: #f0373a;
    position: absolute;
    top: 90%;
    left: 0;
    right: 0;
    line-height: 14px;
    padding-top: 4px;
  }

  .sl-intro,
  .sl-results-head {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md-5);
  }

  .sl-intro-heading :is(h1, h2, h3, h4, h5, h6, p) {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;

    @media (width >=1024px) {
      font-size: 16px;
    }
  }

  .sl-intro-text :is(h1, h2, h3, h4, h5, h6, p) {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .sl-no-distributors {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 100%;
    align-self: start;
  }

  .sl-list[hidden],
  .sl-no-distributors[hidden] {
    display: none;
  }

  .sl-no-distributors-image {
    width: 100%;
    aspect-ratio: 509 / 218;
    position: relative;
  }


  .sl-no-distributors-text {
    font-size: 32px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
    width: 100%;
    text-align: center;

    @media (width >=1024px) {
      .sl-no-distributors-text {
        line-height: 38px;
      }
    }
  }

  .sl-results-head-title {
    h1,h2,h3,h4,h5,h6,p {
      font-size: 20px;
      font-weight: 600;
      line-height: 24px;

      @media (width >=1024px) {
        font-size: 32px;
        line-height: 38px;
      }
    }
  }

  .sl-list {
    overflow: auto;
    scrollbar-color: #171c8f transparent;

    @media (width >=1024px) {
      height: 604px;
      max-height: none;
      padding-right: 4px;
      gap: 32px;
    }
  }

  .sl-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 16px;
    border-bottom: 1px solid #8d8d8d;
    cursor: pointer;

    @media (width >=1024px) {
      gap: 16px;
      padding: 0 0 24px;
    }
  }

  .sl-card-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin: 0;

    @media (width >=1024px) {
      font-size: 24px;
      line-height: 28px;
    }
  }

  .sl-distance {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #000;
    margin: 0;

    @media (width >=1024px) {
      font-size: 16px;
      line-height: 20px;
    }
  }

  .sl-address {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: #000;
  }

  .sl-card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;

    @media (width >=1024px) {
      gap: 20px;
    }
  }

  .sl-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #171c8f;
    position: relative;

    @media (width >=1024px) {
      font-size: 14px;
      line-height: 20px;
    }
  }

  .sl-contact-item a {
    color: #171c8f;
    text-decoration: none;
  }

  .sl-contact-icon--phone {
    background: url("/genuine-parts/icons/phone_icon.svg") center / contain no-repeat;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    background-color: #f5f5f5;
  }

  .sl-contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }


  .sl-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;

    @media (width >=1024px) {
      margin-top: 16px;
    }
  }

  .sl-card-direction {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #171c8f;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;

    @media (width >=1024px) {
      .sl-card-direction {
        font-size: 14px;
        line-height: 20px;
      }
    }
  }

  .sl-card-direction-icon {
    width: 24px;
    height: 24px;
    background: url("/genuine-parts/icons/Icon_Arrow.svg") center / contain no-repeat;
}

  .school-loc :is(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
  }

  .sl-no-results-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fcd7d8;
    padding: 8px;
    width: 100%;

    @media (width >=1024px) {
      align-items: center;
      justify-content: space-between;
      padding: 8px 16px;
    }
  }

  .sl-no-results-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #f0373a;
    margin: 0;

    @media (width >=1024px) {
      font-size: 16px;
    }
  }

  @media (width >=1024px) {
    .sl-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      align-items: stretch;
      margin-top: 40px;
      min-height: 600px;
    }
  }

  .sl-right,
  .sl-map {
    position: relative;
    width: 100%;
    height: 400px;
  }

  @media (width >=1024px) {
    .sl-right,
    .sl-map {
      height: 100%;
      min-height: 600px;
    }
  }

  .sl-map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sl-map-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #d9d9d9;
    border-top-color: #171c8f;
    border-radius: 50%;
    animation: sl-map-spin 0.8s linear infinite;
  }

  @keyframes sl-map-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .sl-city-dropdown-field .sl-city-dropdown-container {
    width: 100%;
    min-height: calc(24px + 8px * 2);

    @media (width >=1024px) {
      min-height: 40px;
    }
  }

  .sl-city-dropdown .searchable-dropdown-main-wrapper,
  .sl-radius-dropdown .searchable-dropdown-main-wrapper {
    border-bottom: 0.5px solid #8d8d8d;

    @media (width >=1024px) {
      .sl-city-dropdown .searchable-dropdown-main-wrapper,
      .sl-radius-dropdown .searchable-dropdown-main-wrapper {
        min-height: 40px;
        padding: 0;
      }
    }
  }

  .sl-card.sl-card-active {
    background: #f0f4ff;
    border-radius: 8px;
    padding: 16px;
    border-bottom: none;
}

.marker-hover {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.marker-hover:hover,
.marker-selected {
  transform: scale(1.2);
}

.dealer-tooltip {
  position: absolute;
  left: var(--tooltip-left, 0);
  top: var(--tooltip-top, 0);
  transform: translate(-50%, -100%);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.dealer-tooltip.tooltip-visible {
  opacity: 1;
  visibility: visible;
}

.dealer-tooltip .tooltip-content {
  background: #eef0f1;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
  padding: 12px 20px;
  white-space: nowrap;
}

.dealer-tooltip .dealer-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #333;
  line-height: 1.3;
}

.dealer-tooltip .dealer-distance {
  font-size: 14px;
  font-weight: 400;
  color: #8d8d8d;
  margin-top: 4px;
}

.sl-map.map-loaded .sl-map-placeholder {
    display: none;
}

  .sl-city-dropdown .searchable-dropdown-main-input,
  .sl-radius-dropdown .searchable-dropdown-main-input {
    padding: 2px 40px 2px 0;
    color: #000;

    @media (width >=1024px) {
      min-height: 40px;
      font-size: 14px;
      line-height: 18px;
    }
  }

  .sl-city-dropdown .searchable-dropdown-arrow,
  .sl-radius-dropdown .searchable-dropdown-arrow {
    svg {
      width: 24px;
      height: 24px;
      color: #939393;
    }
  }

  .sl-on-button-container {
    width: 100%;
    min-height: calc(24px + 8px * 2);

    @media (width >=1024px) {
      min-height: 40px;
    }
  }


.sl-contact-icon--email {
  background: url('/genuine-parts/icons/email_icon.svg') center/contain no-repeat;
  width: 24px;
  height: 24px;
}

    .sl-contact-icon.sl-contact-icon--email {
    background-size: 16px;
  }

  .sl-no-results-banner[hidden] {
    display: none;
}

  @media (width >=1024px) {
    .sl-top {
      gap: 48px;
      margin-top: 48px;
    }

    .sl-intro {
      min-height: 70px;
    }

    .sl-left {
      gap: 32px;
    }

    .sl-filters {
      display: contents;
    }

    .sl-filters .sl-field {
      width: 100%;
    }
  }


}