/* Reusable HIGHSIDER PRO dealer/store-locator CTA section */

.store-locator {
  --store-locator-border: rgba(0, 0, 0, 0.12);
  --store-locator-line: rgba(0, 0, 0, 0.16);
  --store-locator-text: #050505;
  --store-locator-muted: rgba(0, 0, 0, 0.68);

  width: 100%;
  margin: clamp(64px, 9vw, 128px) auto;
  padding-top: clamp(32px, 5vw, 64px);
  border-top: 2px solid var(--store-locator-border);
  color: var(--store-locator-text);
}

.store-locator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.store-locator-kicker {
  display: inline-block;
  margin: 0 0 18px;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.store-locator-kicker::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  background: currentColor;
}

.store-locator-title {
  max-width: 7.4em;
  margin: 0 0 24px;
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 950;
  line-height: 0.93;
  text-transform: uppercase;
}

.store-locator-subline {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 850;
  line-height: 1.02;
  text-transform: uppercase;
}

.store-locator-copy {
  max-width: 560px;
  margin: 0 0 28px;
}

.store-locator-copy p {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.store-locator-copy .store-locator-strong {
  margin-top: 18px;
  font-weight: 800;
}

.store-locator-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 210px;
  min-height: 56px;
  padding: 0 28px;
  background: #050505;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.store-locator-button:hover {
  transform: translateY(-1px);
  background: #c8102e;
}

.store-locator-visual {
  width: 100%;
  min-height: clamp(420px, 43vw, 680px);
  background: #efefed;
  overflow: hidden;
}

.store-locator-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 43vw, 680px);
  object-fit: cover;
  object-position: center;
}

.store-locator-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(34px, 4vw, 58px);
  border-top: 0;
}

.store-locator-feature {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 160px;
  padding: 0 clamp(22px, 3vw, 48px);
  border-left: 1px solid var(--store-locator-line);
  text-align: center;
}

.store-locator-feature:first-child {
  border-left: 0;
}

.store-locator-feature img {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  object-fit: contain;
}

.store-locator-feature h3 {
  max-width: 13em;
  margin: 0 0 8px;
  font-size: clamp(15px, 1.12vw, 19px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.store-locator-feature p {
  max-width: 240px;
  margin: 0;
  color: var(--store-locator-text);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

@media (max-width: 1100px) {
  .store-locator-grid {
    grid-template-columns: 1fr;
  }

  .store-locator-title {
    max-width: 10em;
  }

  .store-locator-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .store-locator-feature:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .store-locator {
    margin-block: 56px;
  }

  .store-locator-title {
    font-size: clamp(46px, 14vw, 72px);
  }

  .store-locator-visual,
  .store-locator-image {
    min-height: 360px;
  }

  .store-locator-features {
    grid-template-columns: 1fr;
  }

  .store-locator-feature,
  .store-locator-feature:nth-child(odd) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--store-locator-line);
  }

  .store-locator-feature:first-child {
    border-top: 0;
  }
}
