.store-locator-block {
  --store-locator-blue: var(--icm-color-primary-strong);
  --store-locator-blue-deep: var(--icm-color-primary-dark);
  --store-locator-green: var(--icm-color-accent-strong);
  --store-locator-text: var(--icm-color-text-dark);
  --store-locator-shadow: var(--icm-shadow-surface-md);
  --store-locator-border: rgb(255 255 255 / 14%);
  --store-locator-surface: var(--icm-color-surface);
}

.store-locator-block .store-locator-block-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.store-locator-block .store-locator-block-content {
  padding-block: clamp(0.75rem, 1.5vw, 1.5rem);
}

.store-locator-block .store-locator-block-eyebrow {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--store-locator-blue) 70%, white);
  border-radius: 999px;
  color: var(--store-locator-blue);
  font-size: var(--icm-font-size--1);
  font-weight: var(--icm-font-weight-bold);
  line-height: 1;
}

.store-locator-block .store-locator-block-title {
  margin: 1.15rem 0 1.5rem;
  color: var(--store-locator-text);
  font-size: var(--icm-font-size-11);
  font-weight: var(--icm-font-weight-black);
  letter-spacing: -0.04em;
  line-height: 0.92;

  span {
    color: var(--store-locator-blue);
  }
}

.store-locator-block .store-locator-block-list {
  display: grid;
  gap: 1rem;
}

.store-locator-block .store-locator-block-card {
  overflow: clip;
  border-radius: 1.6rem;
  background: var(--store-locator-surface);
  box-shadow: var(--store-locator-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.store-locator-block .store-locator-block-card.is-active {
  background: linear-gradient(180deg, var(--store-locator-blue) 0%, var(--store-locator-blue-deep) 100%);
  color: #fff;
}

.store-locator-block .store-locator-block-card.is-active .store-locator-block-trigger-title,
.store-locator-block .store-locator-block-card.is-active .store-locator-block-trigger-arrow,
.store-locator-block .store-locator-block-card.is-active .store-locator-block-meta-link,
.store-locator-block .store-locator-block-card.is-active .store-locator-block-more-link {
  color: #fff;
}

.store-locator-block .store-locator-block-card:not(.is-active) .store-locator-block-trigger-title,
.store-locator-block .store-locator-block-card:not(.is-active) .store-locator-block-trigger-arrow {
  color: var(--store-locator-text);
}

.store-locator-block .store-locator-block-card:not(.is-active) .store-locator-block-meta-link,
.store-locator-block .store-locator-block-card:not(.is-active) .store-locator-block-more-link {
  color: var(--store-locator-blue);
}

.store-locator-block .store-locator-block-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.store-locator-block .store-locator-block-trigger-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
}

.store-locator-block .store-locator-block-icon {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-locator-blue) 15%, white);
  color: var(--store-locator-blue);
  font-size: var(--icm-font-size-0);
}

.store-locator-block .store-locator-block-card.is-active .store-locator-block-icon {
  background: rgb(255 255 255 / 14%);
  color: #fff;
}

.store-locator-block .store-locator-block-trigger-text {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.store-locator-block .store-locator-block-trigger-title {
  color: inherit;
  font-size: var(--icm-font-size-0);
  font-weight: var(--icm-font-weight-semibold);
  line-height: 1.1;
  transition: color 180ms ease;
}

.store-locator-block .store-locator-block-trigger-address {
  color: rgb(255 255 255 / 82%);
  font-size: var(--icm-font-size-0);
  line-height: 1.35;
}

.store-locator-block .store-locator-block-trigger-arrow {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 2.15rem;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: var(--icm-font-size-0);
  transition: color 180ms ease;
}

.store-locator-block .store-locator-block-card-details {
  padding: 0 1.2rem 1.05rem;
  font-size: var(--icm-font-size--1);
}

.store-locator-block .store-locator-block-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--store-locator-border);
}

.store-locator-block .store-locator-block-meta-link,
.store-locator-block .store-locator-block-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  font-size: inherit;
  font-weight: var(--icm-font-weight-semibold);
  text-decoration: none;
  transition: color 180ms ease;
}

.store-locator-block .store-locator-block-more-link {
  margin-left: auto;
}

.store-locator-block .store-locator-block-map-wrap {
  height: 100%;
  overflow: clip;
  border-radius: 2rem;
  background: #d9e2f0;
  box-shadow: var(--store-locator-shadow);
}

.store-locator-block .store-locator-block-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
}

.store-locator-block .store-locator-block-map-empty {
  display: grid;
  min-height: 24rem;
  place-items: center;
  padding: 2rem;
  color: var(--store-locator-text);
  font-weight: var(--icm-font-weight-bold);
}

@media (max-width: 1199.98px) {
  .store-locator-block .store-locator-block-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-locator-block .store-locator-block-map-wrap {
    min-height: 36rem;
  }

  .store-locator-block .store-locator-block-map-frame {
    min-height: 36rem;
  }
}

@media (max-width: 767.98px) {
  .store-locator-block .store-locator-block-title {
    margin-bottom: 1.2rem;
    font-size: var(--icm-font-size-9);
  }

  .store-locator-block .store-locator-block-trigger {
    padding: 0.95rem 1rem;
  }

  .store-locator-block .store-locator-block-trigger-title {
    font-size: var(--icm-font-size-0);
  }

  .store-locator-block .store-locator-block-trigger-address,
  .store-locator-block .store-locator-block-meta-link,
  .store-locator-block .store-locator-block-more-link {
    font-size: var(--icm-font-size--1);
  }

  .store-locator-block .store-locator-block-card-meta {
    align-items: flex-start;
  }

  .store-locator-block .store-locator-block-more-link {
    margin-left: 0;
  }

  .store-locator-block .store-locator-block-map-wrap {
    min-height: 24rem;
  }

  .store-locator-block .store-locator-block-map-frame {
    min-height: 24rem;
  }
}
