body.wsh-locator-open {
  overflow: hidden;
}

.wsh-locator[hidden],
.wsh-locator__search-tools[hidden],
.wsh-locator__results[hidden],
.wsh-locator__no-results[hidden],
.wsh-locator__no-results [hidden] {
  display: none;
}

.wsh-locator {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px min(72px, 5vw);
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #141414;
  font-family: "Inter", sans-serif;
}

.wsh-locator *,
.wsh-locator *::before,
.wsh-locator *::after {
  box-sizing: border-box;
}

.wsh-locator__panel {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  width: min(90vw, 1296px);
  height: clamp(600px, 77.1vh, 734px);
  height: clamp(600px, 77.1dvh, 734px);
  overflow: hidden;
  background: #f9f6f2;
  box-shadow: 0 4px 12px rgba(37, 36, 36, 0.08);
}

.wsh-locator__promo {
  position: relative;
  flex: 0 0 40.6%;
  max-width: 526px;
  height: 100%;
  overflow: hidden;
}

.wsh-locator__promo img {
  position: absolute;
  top: 0;
  left: -15.97%;
  width: 115.96%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.wsh-locator__content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}

.wsh-locator__brand {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 230px;
  max-width: none;
  height: 84px;
  transform: translateX(-50%) translateX(-1px);
  object-fit: contain;
}

.wsh-locator__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wsh-locator__close img {
  width: 12px;
  max-width: none;
  height: 12px;
}

.wsh-locator__search {
  position: absolute;
  top: 158px;
  left: 50%;
  width: min(576px, 100%);
  margin: 0;
  transform: translateX(-50%) translateX(-1px);
}

.wsh-locator__search-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(576px, 100%);
  height: 384px;
  padding: 48px min(64px, 11.11%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(37, 36, 36, 0.08);
}

.wsh-locator__pin {
  flex: 0 0 48px;
  width: 48px;
  max-width: none;
  height: 48px;
  margin-inline: auto;
}

.wsh-locator__search-intro {
  width: min(446px, 100%);
  margin-top: 24px;
  text-align: center;
}

.wsh-locator__search-intro h2,
.wsh-locator__results-header h3 {
  margin: 0;
  color: #141414;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
}

.wsh-locator__search-intro h2 {
  font-size: 28px;
  line-height: 34px;
}

.wsh-locator__search-intro p {
  margin: 8px 0 0;
  color: #525252;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.wsh-locator__search-fields {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: min(446px, 100%);
  margin-top: 24px;
}

.wsh-locator__zip-field,
.wsh-locator__radii {
  min-width: 0;
}

.wsh-locator__zip-field {
  position: relative;
  width: min(382px, 100%);
}

.wsh-locator__zip-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #647087;
  font-family: "Font Awesome 5 Free";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  transform: translateY(-50%);
  cursor: pointer;
}

.wsh-locator__zip-icon:focus-visible {
  outline: 3px solid #0f6acb;
  outline-offset: -3px;
}

.wsh-locator__zip-field input {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 11px 12px 11px 44px;
  border: 1px solid #d5dae2;
  border-radius: 8px;
  background: #fff;
  color: #141414;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}

.wsh-locator__zip-field input::placeholder {
  color: #525252;
  opacity: 1;
}

.wsh-locator__zip-field input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.wsh-locator__button,
.wsh-locator__view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wsh-locator[data-state="search"] #wsh-locator-search {
  width: 166px;
  height: 46px;
  min-height: 46px;
  padding: 10px 24px;
  border: 0;
  background: #ffc100;
  color: #000;
  font-size: 16px;
  line-height: 24px;
}

.wsh-locator__button--primary {
  border-color: #ffc100;
  background: #ffc100;
  color: #141414;
}

.wsh-locator__button--secondary {
  border-color: #063f77;
  background: #fff;
  color: #063f77;
}

.wsh-locator__button:hover,
.wsh-locator__button:focus-visible {
  border-color: #1c5216;
  background: #1c5216;
  color: #fff;
}

.wsh-locator__button:disabled,
.wsh-locator__radio-group input:disabled + span {
  cursor: wait;
  opacity: 0.6;
}

.wsh-locator__status {
  position: absolute;
  right: 32px;
  bottom: 12px;
  left: 32px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.wsh-locator__status:empty {
  display: none;
}

.wsh-locator__status[data-status="error"] {
  color: #b42318;
}

.wsh-locator__status[data-status="success"] {
  color: #1c5216;
}

.wsh-locator__status[data-status="loading"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #d0d5dd;
  border-top-color: #1c5216;
  border-radius: 50%;
  vertical-align: -2px;
  animation: wsh-locator-spin 0.8s linear infinite;
}

@keyframes wsh-locator-spin {
  to {
    transform: rotate(360deg);
  }
}

.wsh-locator[data-state="search"] .wsh-locator__search-tools,
.wsh-locator[data-state="search"] .wsh-locator__results {
  display: none;
}

.wsh-locator__radii {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.wsh-locator__radii legend {
  display: block;
  margin: 0 0 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.wsh-locator__radio-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.wsh-locator__radio-group label {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
}

.wsh-locator__radio-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.wsh-locator__radio-group span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px clamp(2px, 1.5vw, 12px);
  white-space: nowrap;
  border: 1px solid #98a2b3;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 700;
}

.wsh-locator__radio-group input:checked + span {
  border-color: #1c5216;
  background: #eaf4e8;
  color: #1c5216;
  box-shadow: inset 0 0 0 1px #1c5216;
}

.wsh-locator__radio-group input:focus-visible + span {
  outline: 3px solid #0f6acb;
  outline-offset: 3px;
}

.wsh-locator__results-title,
.wsh-locator__search-icon {
  display: none;
}

.wsh-locator__search-icon {
  display: none !important;
}

.wsh-locator[data-state="results"] {
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wsh-locator[data-state="results"] .wsh-locator__panel {
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #f9f6f2;
  box-shadow: 0 4px 12px rgba(37, 36, 36, 0.08);
}

.wsh-locator[data-state="results"] .wsh-locator__promo,
.wsh-locator[data-state="results"] .wsh-locator__pin,
.wsh-locator[data-state="results"] .wsh-locator__search-intro {
  display: none;
}

.wsh-locator[data-state="results"] .wsh-locator__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.wsh-locator[data-state="results"] .wsh-locator__brand,
.wsh-locator[data-state="results"] .wsh-locator__close,
.wsh-locator[data-state="results"] .wsh-locator__search,
.wsh-locator[data-state="results"] .wsh-locator__results-header {
  z-index: 4;
}

.wsh-locator[data-state="results"] .wsh-locator__close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wsh-locator[data-state="results"] .wsh-locator__close img {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

.wsh-locator[data-state="results"] .wsh-locator__search {
  position: absolute;
  margin: 0;
  padding: 0;
  transform: none;
  border: 0;
  background: transparent;
}

.wsh-locator[data-state="results"] .wsh-locator__search-card {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wsh-locator[data-state="results"] .wsh-locator__results-title {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 37px;
}

.wsh-locator[data-state="results"] .wsh-locator__results-title img {
  flex: 0 0 36px;
  width: 36px;
  max-width: none;
  height: 37px;
}

.wsh-locator[data-state="results"] .wsh-locator__results-title h2 {
  margin: 0;
  color: #141414;
  font-family: "League Spartan", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.wsh-locator[data-state="results"] .wsh-locator__search-fields {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
}

.wsh-locator[data-state="results"] .wsh-locator__zip-field input {
  height: 46px;
  min-height: 46px;
  padding: 11px 40px 11px 44px;
  color: #525252;
  font-size: 14px;
  line-height: 22px;
}

.wsh-locator[data-state="results"] .wsh-locator__search-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 1px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #647087;
  font-size: 14px;
  transform: translateY(-50%);
  cursor: pointer;
}

.wsh-locator[data-state="results"] .wsh-locator__search-icon:focus-visible {
  outline: 3px solid #0f6acb;
  outline-offset: -3px;
}

/* MapSVG paints repository responses itself, including superseded requests.
   Keep those results out of view until the current search finishes. */
.wsh-locator[data-results-current="false"] .wsh-locator__map {
  visibility: hidden;
}

.wsh-locator[data-state="results"] .wsh-locator__zip-field[data-location-label]::after {
  content: attr(data-location-label);
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 40px;
  left: 44px;
  overflow: hidden;
  color: #525252;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}

.wsh-locator[data-state="results"] .wsh-locator__zip-field[data-location-label] input:not(:focus) {
  color: transparent;
}

.wsh-locator[data-state="results"] .wsh-locator__zip-field[data-location-label]:focus-within::after {
  display: none;
}

.wsh-locator[data-state="results"] #wsh-locator-search {
  display: none !important;
}

.wsh-locator[data-state="results"] .wsh-locator__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wsh-locator__results {
  padding: 0;
}

.wsh-locator__results-header h3 {
  margin: 0;
  color: #525252;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.wsh-locator__view-toggle {
  display: none;
}

.wsh-locator__map {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.wsh-locator[data-repository-ready="false"] .wsh-locator__map {
  visibility: hidden;
}

.wsh-locator__map .mapsvg-filters-wrap,
.wsh-locator__map .mapsvg-mobile-buttons,
.wsh-locator__map .mapsvg-no-results {
  display: none !important;
}

.wsh-locator__map .mapsvg-wrap-all,
.wsh-locator__map .mapsvg-wrap,
.wsh-locator__map .mapsvg {
  width: 100% !important;
  max-width: 100%;
}

.wsh-locator__map .mapsvg-directory-item.selected {
  outline: 0;
}

.wsh-locator__no-results {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid #f0b7b2;
  border-radius: 12px;
  background: #fff5f4;
  text-align: center;
}

.wsh-locator__no-results p {
  margin: 0 0 16px;
  color: #344054;
  font-size: 17px;
  line-height: 1.5;
}

.wsh-locator :focus-visible {
  outline: 3px solid #0f6acb;
  outline-offset: 3px;
}

@media (min-width: 801px) {
  .wsh-locator[data-state="results"] {
    align-items: flex-start;
    padding: 60px min(72px, 5vw);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .wsh-locator[data-state="results"] .wsh-locator__panel {
    width: min(90vw, 1296px);
    height: clamp(648px, 81.3vh, 850px);
    height: clamp(648px, 81.3dvh, 850px);
    max-height: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__brand {
    top: 34px;
    left: 75%;
    display: block;
    transform: translateX(-50%) translateX(-1px);
  }

  .wsh-locator[data-state="results"] .wsh-locator__search {
    top: 150px;
    right: 0;
    left: 50%;
    width: min(548px, calc(50% - 64px));
    height: 126px;
    margin-inline: auto;
    border-bottom: 1px solid #d5dae2;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-tools[hidden] {
    display: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-tools {
    position: absolute;
    z-index: 4;
    top: 126px;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 76px;
    padding: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-fields {
    margin-top: 15px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__zip-field {
    width: min(377px, 100%);
  }

  .wsh-locator[data-state="results"] .wsh-locator__results {
    position: absolute;
    z-index: 2;
    inset: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__results-header {
    position: absolute;
    top: 373px;
    right: 0;
    left: 50%;
    width: min(548px, calc(50% - 64px));
    height: 22px;
    margin-inline: auto;
  }

  .wsh-locator[data-state="results"] .wsh-locator__map {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .wsh-locator[data-state="results"] .mapsvg-wrap-all,
  .wsh-locator[data-state="results"] .mapsvg-wrap {
    height: 100% !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-wrap {
    position: relative;
    display: flex;
  }

  .wsh-locator[data-state="results"] .mapsvg-sidebar-left {
    display: none !important;
    flex: 0 0 0 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-map-container {
    display: block !important;
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0;
    height: 100% !important;
    margin-left: 0;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"] .mapsvg-sidebar-right {
    position: relative;
    display: block !important;
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0;
    height: 100% !important;
    background: #f9f6f2 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg,
  .wsh-locator[data-state="results"] .mapsvg-layer,
  .wsh-locator[data-state="results"] .mapsvg-layers-wrap,
  .wsh-locator[data-state="results"] .mapsvg-scrollpane-wrap,
  .wsh-locator[data-state="results"] .mapsvg-scrollpane {
    height: 100% !important;
    padding-bottom: 0 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-controller-container.mapsvg-directory {
    position: absolute;
    top: 408px;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(548px, calc(100% - 64px)) !important;
    height: auto;
    margin-inline: auto;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view,
  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-wrap,
  .wsh-locator[data-state="results"] .mapsvg-directory .nano-content {
    width: 100% !important;
    height: 100% !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-wrap {
    top: 0 !important;
    margin-top: 0;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-content {
    margin: 0;
    padding: 0 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item {
    position: relative;
    display: block;
    width: 100%;
    min-height: 234px;
    margin: 0 0 16px;
    padding: 32px 22px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(37, 36, 36, 0.04);
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item.selected {
    border-color: #b1eeb2;
    background: #fff;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .left-content {
    width: calc(100% - 213px);
    color: #525252;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content h3 {
    width: min(468px, calc(100% + 213px));
    margin: 0 0 24px;
    color: #141414;
    font-family: "League Spartan", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content a,
  .wsh-locator[data-state="results"] .mapsvg-directory-item .location-link a {
    color: #218afa;
    font-size: 16px;
    line-height: 28px;
    text-decoration: underline;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .right-content {
    position: absolute;
    top: 84px;
    right: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 191px;
    max-width: calc(100% - 44px);
    color: #98a2b3;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .loan-amount {
    white-space: nowrap;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .loan-amount img {
    position: static;
    width: 12px;
    height: 12px;
    margin-left: 4px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .button {
    width: 166px;
    height: 46px;
    margin: 8px 0 16px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 166px;
    height: 46px;
    padding: 0;
    border-radius: 100px;
    background: #ffc100;
    color: #000;
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__distance {
    position: absolute;
    top: 36px;
    right: 16px;
    color: #525252;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover {
    width: 281px !important;
    min-width: 281px;
    height: 276px !important;
    min-height: 276px;
    border: 1px solid #b1eeb2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(37, 36, 36, 0.04);
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .mapsvg-controller-view-wrap {
    top: 0 !important;
    margin-top: 0;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .mapsvg-controller-view-content {
    padding: 22px !important;
    color: #525252;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 24px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover h3 {
    margin: 0 0 8px;
    color: #141414;
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .button {
    width: 227px;
    height: 40px;
    margin: 16px 0 8px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 227px;
    height: 40px;
    padding: 0;
    border-radius: 100px;
    background: #ffc100;
    color: #000;
    font-family: "League Spartan", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .loan-amount {
    color: #98a2b3;
    font-size: 14px;
    line-height: 20px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .loan-amount img {
    position: static;
    width: 12px;
    height: 12px;
    margin-left: 4px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .location-link {
    margin-top: 8px;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover .location-link a {
    color: #218afa;
    font-size: 14px;
    line-height: 24px;
    text-decoration: underline;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover-close {
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    transform: none;
  }

  .wsh-locator[data-state="results"] .mapsvg-popover-close::before,
  .wsh-locator[data-state="results"] .mapsvg-popover-close::after {
    left: 10px;
    width: 12px;
  }
}

@media (max-width: 1248px) and (min-width: 801px) {
  .wsh-locator {
    padding-right: 32px;
    padding-left: 32px;
  }

  .wsh-locator__promo {
    display: none;
  }

  .wsh-locator__content {
    width: 100%;
  }

  .wsh-locator__search {
    width: min(576px, 100%);
  }

  .wsh-locator[data-state="results"] {
    padding: 60px 32px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__zip-field {
    width: 100%;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item {
    min-height: 300px;
    padding: 24px 18px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .left-content {
    width: 100%;
    font-size: 14px;
    line-height: 24px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content h3 {
    width: calc(100% - 48px);
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 24px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content .address {
    width: 100%;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .right-content {
    position: static;
    align-items: flex-start;
    width: 227px;
    max-width: 100%;
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .right-content .button.apply-btn {
    order: 1;
    width: 227px;
    max-width: 100%;
    height: 40px;
    margin: 0 0 8px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .right-content .button.apply-btn a {
    width: 100%;
    height: 40px;
    font-size: 14px;
    line-height: 20px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .loan-amount {
    order: 2;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .location-link {
    position: static;
    order: 3;
    margin-top: 16px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__distance {
    top: 24px;
    right: 18px;
    font-size: 14px;
  }
}

@media (min-width: 801px) {
  .wsh-locator__map .mapsvg-sidebar-left,
  .wsh-locator__map .mapsvg-sidebar-right,
  .wsh-locator__map .mapsvg-map-container {
    display: block !important;
  }

  .wsh-locator__map .mapsvg-sidebar-left {
    height: auto !important;
  }
}

@media (max-width: 800px) {
  .wsh-locator {
    align-items: flex-start;
    padding: 40px 16px;
    overflow-y: auto;
  }

  .wsh-locator__panel {
    display: block;
    flex: 0 0 auto;
    width: min(88.2vw, 706px);
    height: clamp(490px, 53.5vh, 600px);
    height: clamp(490px, 53.5dvh, 600px);
    max-height: none;
    overflow: hidden;
    border-radius: 0;
  }

  .wsh-locator__promo {
    display: none;
  }

  .wsh-locator__content {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .wsh-locator__brand {
    position: absolute;
    top: 24px;
    left: 50%;
    display: block;
    width: 164px;
    height: 60px;
    margin: 0;
    transform: translateX(-50%) translateX(2px);
  }

  .wsh-locator__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .wsh-locator__close img {
    width: 14px;
    height: 14px;
    transform: translateX(1px);
    filter: brightness(0);
  }

  .wsh-locator__search {
    position: absolute;
    top: 116px;
    left: 50%;
    width: min(320px, calc(100% - 24px));
    margin: 0;
    padding: 0;
    transform: translateX(-50%) translateX(2px);
    border: 0;
    background: transparent;
  }

  .wsh-locator__search-card {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .wsh-locator__pin {
    margin-left: 0;
  }

  .wsh-locator__search-intro {
    width: 100%;
  }

  .wsh-locator[data-state="results"] .wsh-locator__pin,
  .wsh-locator[data-state="results"] .wsh-locator__search-intro {
    display: none;
  }

  .wsh-locator__search-fields,
  .wsh-locator[data-state="results"] .wsh-locator__search-fields {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: none;
    margin-top: 24px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-fields {
    margin-top: 0;
  }

  .wsh-locator__zip-field {
    width: min(306px, 100%);
  }

  .wsh-locator[data-state="results"] #wsh-locator-search,
  .wsh-locator[data-state="search"] #wsh-locator-search {
    width: 166px;
    min-width: 166px;
    height: 46px;
    min-height: 46px;
    align-self: center;
    font-size: 16px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__status {
    margin-top: 16px;
    text-align: center;
  }

  .wsh-locator[data-state="search"] .wsh-locator__status {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .wsh-locator[data-state="results"] {
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"] .wsh-locator__panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .wsh-locator[data-state="results"] .wsh-locator__close img {
    width: 16px;
    height: 16px;
    transform: none;
    filter: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__content {
    height: auto;
    min-height: 100%;
    padding-right: 16px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-top: 72px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search {
    position: static;
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-card {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 24px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(37, 36, 36, 0.08);
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-fields {
    gap: 24px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__zip-field {
    width: 100%;
  }

  .wsh-locator__results {
    padding: 24px 0 40px;
  }

  .wsh-locator__results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .wsh-locator__view-toggle {
    display: flex;
    width: 100%;
  }

  .wsh-locator__view-toggle button {
    flex: 1;
  }

  .wsh-locator__map .mapsvg-wrap-all,
  .wsh-locator__map .mapsvg-wrap {
    min-height: 52vh;
    max-height: none;
  }

  .wsh-locator__map .mapsvg-directory-item {
    margin-right: 12px;
    margin-left: 12px;
    padding: 16px;
  }

  .wsh-locator[data-state="results"] {
    align-items: flex-start;
    padding: 40px 16px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .wsh-locator[data-state="results"] .wsh-locator__panel {
    flex: 0 0 auto;
    width: min(88.2vw, 706px);
    height: clamp(560px, 92.4vh, 900px);
    height: clamp(560px, 92.4dvh, 900px);
    max-height: none;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"] .wsh-locator__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__brand {
    display: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__close {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 15px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__close img {
    width: 14px;
    height: 14px;
    transform: translateX(1px);
    filter: brightness(0);
  }

  .wsh-locator[data-state="results"] .wsh-locator__search {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 36px 0 0;
    transform: none;
    border-bottom: 1px solid #d5dae2;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-tools {
    position: static;
    display: block;
    width: min(548px, calc(100% - 42px));
    height: auto;
    margin: 16px auto 0;
    padding: 0 0 16px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-card {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .wsh-locator[data-state="results"] .wsh-locator__results-title {
    width: max-content;
    max-width: calc(100% - 65px);
    margin-left: 65px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__search-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    max-width: none;
    margin-top: 17px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__zip-field {
    width: min(548px, calc(100% - 42px));
    margin: 0 0 17px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__zip-field input {
    /* Keep iOS Safari from zooming the results dialog when editing the ZIP. */
    font-size: 16px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__results {
    position: static;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__results-header {
    position: static;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .wsh-locator[data-state="results"] .wsh-locator__results-header h3 {
    position: static;
    max-width: calc(100% - 50px);
    margin: 21px 0 13px 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wsh-locator[data-state="results"] .wsh-locator__view-toggle {
    position: static;
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    height: 43px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #e8e8e9;
  }

  .wsh-locator[data-state="results"] .wsh-locator__view-toggle button {
    flex: 1 1 50%;
    gap: 8px;
    min-width: 0;
    min-height: 43px;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: #e8e8e9;
    color: #647087;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__view-toggle button[aria-pressed="true"] {
    background: #005306;
    color: #fff;
  }

  .wsh-locator[data-state="results"] .wsh-locator__view-toggle .far {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
  }

  .wsh-locator[data-state="results"] .wsh-locator__map {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .wsh-locator[data-state="results"] .mapsvg-wrap-all,
  .wsh-locator[data-state="results"] .mapsvg-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    max-height: none;
  }

  .wsh-locator[data-state="results"] .mapsvg-wrap {
    position: relative;
    display: flex;
  }

  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-sidebar-left,
  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-sidebar-right,
  .wsh-locator[data-state="results"][data-view="list"] .mapsvg-sidebar-right {
    display: none !important;
  }

  .wsh-locator[data-state="results"][data-view="list"] .mapsvg-map-container {
    position: absolute;
    inset: 0;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    pointer-events: none;
  }

  .wsh-locator[data-state="results"][data-view="list"] .mapsvg-sidebar-left {
    position: relative;
    z-index: 1;
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    background: #f9f6f2 !important;
  }

  .wsh-locator[data-state="results"][data-view="list"] .mapsvg-controller-container.mapsvg-directory {
    position: absolute;
    top: 24px;
    right: 21px;
    bottom: 0;
    left: 21px;
    width: auto !important;
    max-width: none;
    height: auto;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-map-container {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    overflow: hidden;
  }

  .wsh-locator[data-state="results"][data-view="map"] .mapsvg,
  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-layer,
  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-layers-wrap,
  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-scrollpane-wrap,
  .wsh-locator[data-state="results"][data-view="map"] .mapsvg-scrollpane {
    height: 100% !important;
    padding-bottom: 0 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view,
  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-wrap,
  .wsh-locator[data-state="results"] .mapsvg-directory .nano-content {
    width: 100% !important;
    height: 100% !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-wrap {
    top: 0 !important;
    margin-top: 0;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory .mapsvg-controller-view-content {
    margin: 0;
    padding: 0 !important;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item {
    position: relative;
    display: block;
    width: 100%;
    min-height: 300px;
    margin: 0 0 16px;
    padding: 24px 18px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(37, 36, 36, 0.04);
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item.selected {
    border-color: #b1eeb2;
    background: #fff;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .left-content {
    width: 100%;
    color: #525252;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content h3 {
    width: auto;
    max-width: calc(100% - 41px);
    margin: 0 0 8px;
    color: #141414;
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content .address {
    width: auto;
    max-width: 100%;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .left-content a,
  .wsh-locator[data-state="results"] .mapsvg-directory-item .location-link a {
    float: none;
    color: #218afa;
    font-size: 14px;
    line-height: 24px;
    text-decoration: underline;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item > .right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 227px;
    max-width: 100%;
    margin-top: 16px;
    color: #98a2b3;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .button {
    order: 1;
    width: 227px;
    max-width: 100%;
    height: 40px;
    margin: 0 0 8px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .right-content .button.apply-btn {
    order: 1;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 227px;
    max-width: 100%;
    height: 40px;
    padding: 0;
    border-radius: 100px;
    background: #ffc100;
    color: #000;
    font-family: "League Spartan", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .loan-amount {
    order: 2;
    width: auto;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .loan-amount img {
    position: static;
    width: 12px;
    height: 12px;
    margin-left: 4px;
  }

  .wsh-locator[data-state="results"] .mapsvg-directory-item .location-link {
    position: static;
    order: 3;
    margin-top: 16px;
  }

  .wsh-locator[data-state="results"] .wsh-locator__distance {
    position: absolute;
    top: 24px;
    right: 18px;
    color: #525252;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .wsh-locator__search-tools .wsh-locator__button {
    width: 100%;
  }
}

/* Below 375px the longest radius label ("100 miles") only just fits its equal share.
   Shrink the pill text rather than wrapping, so the single-row contract survives a
   fallback font face or a longer translated string. */
@media (max-width: 374px) {
  .wsh-locator__radio-group span {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsh-locator *,
  .wsh-locator *::before,
  .wsh-locator *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
