.sfc-finder__layout {
  --sfc-background: #ffffff;
  --sfc-primary: #232020;
  --sfc-muted: rgba(35, 32, 32, 0.72);
  --sfc-secondary: #c0c0c0;
  --sfc-tertiary: #2a2d76;
  --sfc-quaternary: #d1df11;
  --sfc-info: #457b9d;
  --sfc-success: rgb(12 124 63);
  --sfc-warning: #fb8500;
  --sfc-error: #e63946;
  color: var(--sfc-primary);
  display: grid;
  font-family: inherit;
  gap: 0;
  grid-template-areas:
    "controls"
    "results"
    "map"
    "panel"
    "visual";
  grid-template-columns: minmax(0, 1fr);
}

.sfc-finder__layout,
.sfc-finder__layout *,
.sfc-finder__layout *::before,
.sfc-finder__layout *::after {
  box-sizing: border-box;
}

.sfc-finder__layout .sfc-sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.sfc-finder__layout .sfc-icon {
  display: block;
  flex: none;
}

.sfc-finder__layout .sfc-finder__selection {
  min-width: 0;
}

.sfc-finder__layout .sfc-finder__visual {
  grid-area: visual;
  min-height: 18rem;
  overflow: hidden;
}

.sfc-finder__layout .sfc-finder__visual video {
  display: block;
  height: 100%;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__map-wrap {
  background: #f8fafc;
  grid-area: map;
  isolation: isolate;
  min-height: 65dvh;
  overflow: hidden;
  position: relative;
}

.sfc-finder__layout .sfc-finder__map {
  height: 100%;
  min-height: inherit;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__map-fallback {
  background:
    linear-gradient(90deg, rgba(42, 45, 118, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(42, 45, 118, 0.05) 1px, transparent 1px),
    #f8fafc;
  background-size: 24px 24px;
  inset: 0;
  position: absolute;
}

.sfc-finder__layout .sfc-finder__map-fallback[hidden],
.sfc-finder__layout .sfc-finder__panel[hidden] {
  display: none;
}

.sfc-finder__layout .sfc-finder__zoom-hint {
  align-items: center;
  background: var(--sfc-tertiary);
  box-shadow: 0 8px 24px rgba(35, 32, 32, 0.2);
  color: #ffffff;
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.5rem;
  line-height: 1.25;
  padding: 0.7rem 0.9rem;
  pointer-events: none;
  position: absolute;
  right: 4.25rem;
  top: 0.625rem;
  z-index: 5;
}

.sfc-finder__layout .sfc-finder__zoom-hint-icon {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  height: 1rem;
  justify-content: center;
  line-height: 1;
  width: 1rem;
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .sfc-finder__layout .sfc-finder__zoom-hint {
    display: flex;
  }
}

.sfc-finder__layout .sfc-finder__controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  grid-area: controls;
  min-width: 0;
  padding-block: 1rem;
  z-index: 9;
}

.sfc-finder__layout .sfc-finder__select,
.sfc-finder__layout .sfc-finder__location-button,
.sfc-finder__layout .sfc-finder__profile-button {
  align-items: center;
  border: 2px solid var(--sfc-primary);
  border-radius: 0.75rem;
  border-style: solid;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-self: start;
  line-height: 1.25rem;
  min-height: 0;
  padding: 0.5rem 1rem;
  position: relative;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
  white-space: nowrap;
}

.sfc-finder__layout .sfc-finder__select {
  appearance: none;
  background-color: var(--sfc-tertiary);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 50%, calc(100% - 1rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  border-color: var(--sfc-tertiary);
  color: #ffffff;
  min-width: 0;
  padding-right: 3rem;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__select option {
  background: var(--sfc-background);
  color: var(--sfc-tertiary);
}

.sfc-finder__layout .sfc-finder__select:focus-visible,
.sfc-finder__layout .sfc-finder__location-button:focus-visible,
.sfc-finder__layout .sfc-finder__profile-button:focus-visible,
.sfc-finder__layout .sfc-finder__panel-close:focus-visible {
  outline: 2px solid var(--sfc-quaternary);
  outline-offset: 2px;
}

.sfc-finder__layout .sfc-finder__location-button {
  background: var(--sfc-quaternary);
  border-color: var(--sfc-quaternary);
  color: var(--sfc-primary);
  justify-content: center;
  text-align: center;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__select:hover,
.sfc-finder__layout .sfc-finder__select:focus-visible {
  background-color: transparent;
  color: var(--sfc-tertiary);
}

.sfc-finder__layout .sfc-finder__location-button:not(:disabled):hover,
.sfc-finder__layout .sfc-finder__location-button:not(:disabled):focus-visible {
  background: transparent;
  color: var(--sfc-primary);
}

.sfc-finder__layout .sfc-finder__location-button:disabled,
.sfc-finder__layout .sfc-finder__location-button.is-loading {
  cursor: wait;
  opacity: 0.7;
}

.sfc-finder__layout .sfc-finder__results-card {
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(35, 32, 32, 0.14);
  grid-area: results;
  min-width: 0;
  padding: 1rem 0;
  z-index: 2;
}

.sfc-finder__layout .sfc-finder__results {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scrollbar-color: var(--sfc-quaternary) var(--sfc-tertiary);
  scrollbar-width: thin;
}

.sfc-finder__layout .sfc-finder__results::-webkit-scrollbar {
  height: 0.625rem;
  width: 0.625rem;
}

.sfc-finder__layout .sfc-finder__results::-webkit-scrollbar-track {
  background: rgba(42, 45, 118, 0.18);
}

.sfc-finder__layout .sfc-finder__results::-webkit-scrollbar-thumb {
  background: var(--sfc-tertiary);
}

.sfc-finder__layout .sfc-finder__empty {
  color: var(--sfc-primary);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  padding: 2rem 0;
}

.sfc-finder__layout .sfc-finder__empty.is-hidden {
  display: none;
}

.sfc-finder__layout .sfc-finder-result {
  align-items: center;
  background: rgba(192, 192, 192, 0.2);
  border: 0;
  color: var(--sfc-primary);
  cursor: pointer;
  display: flex;
  flex: 0 0 min(78vw, 330px);
  gap: 1.25rem;
  justify-content: space-between;
  padding: 0.25rem 0.95rem;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sfc-finder__layout .sfc-finder-result:hover,
.sfc-finder__layout .sfc-finder-result:focus-visible,
.sfc-finder__layout .sfc-finder-result.is-active {
  background: var(--sfc-quaternary);
  outline: none;
}

.sfc-finder__layout .sfc-finder-result__content {
  min-width: 0;
}

.sfc-finder__layout .sfc-finder-result__name,
.sfc-finder__layout .sfc-finder-result__address {
  display: block;
}

.sfc-finder__layout .sfc-finder-result__name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.sfc-finder__layout .sfc-finder-result__address {
  color: var(--sfc-muted);
  font-size: 0.675rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.sfc-finder__layout .sfc-finder-result__locality {
  font-weight: 800;
}

.sfc-finder__layout .sfc-finder-result__arrow {
  align-items: center;
  display: flex;
  flex: none;
  font-size: 2rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
  width: 2rem;
}

.sfc-finder__layout .sfc-finder-result:hover .sfc-finder-result__arrow,
.sfc-finder__layout .sfc-finder-result:focus-visible .sfc-finder-result__arrow,
.sfc-finder__layout .sfc-finder-result.is-active .sfc-finder-result__arrow {
  transform: translateX(0.25rem);
}

.sfc-finder__layout .sfc-finder__panel {
  align-self: center;
  box-shadow: 0 24px 55px rgba(35, 32, 32, 0.18);
  grid-area: map;
  justify-self: center;
  margin: 1rem;
  max-height: calc(100% - 2rem);
  overflow: auto;
  width: min(calc(100% - 2rem), 420px);
  z-index: 20;
}

.sfc-finder__layout .sfc-finder__panel-header {
  align-items: center;
  background: var(--sfc-tertiary);
  color: #ffffff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2px;
  padding: 1rem 1.25rem;
}

.sfc-finder__layout .sfc-finder__panel-header p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.sfc-finder__layout .sfc-finder__panel-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0.25rem;
}

.sfc-finder__layout .sfc-finder__panel-close:hover {
  color: var(--sfc-quaternary);
}

.sfc-finder__layout .sfc-finder__panel-body {
  background: var(--sfc-quaternary);
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.sfc-finder__layout .sfc-finder__panel-title {
  color: var(--sfc-tertiary);
  font-size: clamp(1.3rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.sfc-finder__layout .sfc-finder__panel-address,
.sfc-finder__layout .sfc-finder__panel-hours,
.sfc-finder__layout .sfc-finder__panel-phones,
.sfc-finder__layout .sfc-finder__panel-links {
  color: var(--sfc-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.sfc-finder__layout .sfc-finder__panel-address {
  display: grid;
}

.sfc-finder__layout .sfc-finder__panel-locality {
  font-weight: 700;
}

.sfc-finder__layout .sfc-finder__panel-contact {
  display: grid;
  gap: 0;
}

.sfc-finder__layout .sfc-finder__panel-contact-label {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
}

.sfc-finder__layout .sfc-finder__panel-hours {
  white-space: pre-line;
}

.sfc-finder__layout .sfc-finder__panel-phones,
.sfc-finder__layout .sfc-finder__panel-links {
  display: grid;
  gap: 0.25rem;
}

.sfc-finder__layout .sfc-finder__panel-phones {
  font-weight: 700;
}

.sfc-finder__layout .sfc-finder__panel a:not(.sfc-finder__profile-button) {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sfc-finder__layout .sfc-finder__panel a:not(.sfc-finder__profile-button):hover {
  color: var(--sfc-tertiary);
}

.sfc-finder__layout .sfc-finder__profile-button,
.sfc-finder__layout .sfc-finder__profile-button:visited {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--sfc-primary);
  justify-content: center;
  text-decoration: none !important;
}

.sfc-finder__layout .sfc-finder__profile-button:hover,
.sfc-finder__layout .sfc-finder__profile-button:focus,
.sfc-finder__layout .sfc-finder__profile-button:focus-visible,
.sfc-finder__layout .sfc-finder__profile-button:active {
  background: transparent;
  color: #ffffff;
  text-decoration: none !important;
}

.sfc-finder__layout .sfc-finder__qr {
  aspect-ratio: 1 / 1;
  background-color: transparent;
  background-image:
    linear-gradient(90deg, rgb(35 32 32) 50%, transparent 50%),
    linear-gradient(rgb(35 32 32) 50%, transparent 50%),
    linear-gradient(90deg, transparent 35%, rgb(35 32 32) 35% 45%, transparent 45% 65%, rgb(35 32 32) 65% 76%, transparent 76%);
  background-position: calc(var(--qr-offset, 0) * 1px) 0, 0 calc(var(--qr-offset, 0) * -1px), 0 0;
  background-size: 11px 11px, 13px 13px, 31px 31px;
  border: 0;
  display: none;
  margin-top: 8px;
  width: 46.8%;
}

.sfc-finder__layout .sfc-finder__qr.has-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.sfc-finder__layout .sfc-map-notifications {
  align-content: center;
  display: grid;
  gap: 0.75rem;
  grid-area: notifications;
  pointer-events: none;
  z-index: 4;
}

.sfc-finder__layout .sfc-map-notifications:empty {
  display: none;
}

.sfc-finder__layout .sfc-map-notification {
  align-items: flex-start;
  animation: sfc-map-notification-in 0.24s ease-out both;
  box-shadow: 0 16px 35px rgba(35, 32, 32, 0.18);
  color: #ffffff;
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  overflow: hidden;
  padding: 0.85rem 0.9rem;
  pointer-events: auto;
  position: relative;
  transform: translateY(0.5rem);
}

.sfc-finder__layout .sfc-map-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sfc-finder__layout .sfc-map-notification.is-closing {
  opacity: 0;
  transform: translateY(-0.35rem);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.sfc-finder__layout .sfc-map-notification::after {
  background: rgba(255, 255, 255, 0.42);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform-origin: left center;
  width: 100%;
}

.sfc-finder__layout .sfc-map-notification:not(.sfc-map-notification--danger)::after {
  animation: sfc-map-notification-timer var(--sf-notification-duration, 6200ms) linear forwards;
}

.sfc-finder__layout .sfc-map-notification--danger::after {
  display: none;
}

.sfc-finder__layout .sfc-map-notification--danger {
  background: var(--sfc-error);
}

.sfc-finder__layout .sfc-map-notification--info {
  background: var(--sfc-info);
}

.sfc-finder__layout .sfc-map-notification--success {
  background: var(--sfc-success);
}

.sfc-finder__layout .sfc-map-notification--warning {
  background: var(--sfc-warning);
}

.sfc-finder__layout .sfc-map-notification__icon,
.sfc-finder__layout .sfc-map-notification__close {
  align-items: center;
  display: flex;
  flex: none;
  justify-content: center;
}

.sfc-finder__layout .sfc-map-notification__message {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
  min-width: 0;
}

.sfc-finder__layout .sfc-map-notification__close {
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  height: 1.75rem;
  margin: -0.25rem;
  padding: 0.25rem;
  width: 1.75rem;
}

.sfc-finder__layout .sfc-map-notification__close:hover {
  color: rgba(255, 255, 255, 0.75);
}

.sfc-finder__layout .sfc-map-notification__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.sfc-finder__layout .sfc-map-notification__svg {
  display: block;
  height: 1.1rem;
  width: 1.1rem;
}

.sfc-finder__layout .sfc-finder-marker {
  appearance: none;
  background: var(--sfc-tertiary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(35, 32, 32, 0.26);
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  height: 1.25rem;
  line-height: 0;
  padding: 0;
  place-items: center;
  position: absolute;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
  width: 1.25rem;
}

.sfc-finder__layout .sfc-finder-marker::after {
  background: #ffffff;
  border-radius: 999px;
  content: "";
  display: block;
  height: 0.5rem;
  width: 0.5rem;
}

.sfc-finder__layout .sfc-finder-marker:hover,
.sfc-finder__layout .sfc-finder-marker:focus-visible,
.sfc-finder__layout .sfc-finder-marker.is-active {
  background: var(--sfc-quaternary);
  outline: 2px solid var(--sfc-tertiary);
  outline-offset: 2px;
}

.sfc-finder__layout .sfc-finder-marker.is-active::after {
  background: var(--sfc-tertiary);
}

.sf-contractor-profile__map {
  --sfc-tertiary: var(--color-tertiary, #2a2d76);
  --sfc-quaternary: var(--color-quaternary, #d1df11);
}

.sf-contractor-profile__map .sfc-finder-marker {
  background: var(--sfc-tertiary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(35, 32, 32, 0.26);
  box-sizing: border-box;
  display: grid;
  height: 1.25rem;
  line-height: 0;
  padding: 0;
  place-items: center;
  position: absolute;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
  width: 1.25rem;
}

.sf-contractor-profile__map .sfc-finder-marker::after {
  background: #ffffff;
  border-radius: 999px;
  content: "";
  display: block;
  height: 0.5rem;
  width: 0.5rem;
}

.sf-contractor-profile__map .sfc-finder-marker.is-active {
  background: var(--sfc-quaternary);
  outline: 2px solid var(--sfc-tertiary);
  outline-offset: 2px;
}

.sf-contractor-profile__map .sfc-finder-marker.is-active::after {
  background: var(--sfc-tertiary);
}

.sfc-finder__layout .sfc-finder-user-marker {
  background: var(--sfc-quaternary);
  border: 4px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(35, 32, 32, 0.3);
  display: block;
  height: 1.25rem;
  position: relative;
  width: 1.25rem;
}

.sfc-finder__layout .sfc-finder-user-marker::after {
  border: 1px solid rgba(209, 223, 17, 0.7);
  border-radius: 999px;
  content: "";
  height: 2rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
}

.sfc-finder__layout .mapboxgl-ctrl-group {
  border-radius: 0;
}

@keyframes sfc-map-notification-timer {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@keyframes sfc-map-notification-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .sfc-finder__layout .sfc-finder__controls {
    flex-direction: row;
  }

  .sfc-finder__layout .sfc-finder__location-button {
    width: auto;
  }
}

@media (min-width: 640px) {
  .sfc-finder__layout .sfc-finder__qr {
    display: block;
  }
}

@media (min-width: 1280px) {
  .sfc-finder__layout {
    align-items: stretch;
    grid-template-areas:
      "controls controls controls map map"
      "results results results map map"
      "panel panel panel map map"
      "notifications notifications notifications map map";
    grid-template-columns: 20% 5% 5% 45% 25%;
    grid-template-rows: auto 50dvh 15dvh 50dvh;
  }

  .sfc-finder__layout .sfc-finder__controls {
    padding: 1.5rem 1.5rem 1.5rem 0;
  }

  .sfc-finder__layout .sfc-finder__visual {
    grid-column: 2 / 5;
    grid-row: 3 / 5;
  }

  .sfc-finder__layout .sfc-finder__map-wrap {
    grid-column: 3 / 6;
    grid-row: 1 / 4;
    min-height: 65dvh;
  }

  .sfc-finder__layout .sfc-finder__results-card {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    min-height: 0;
    overflow: hidden;
    padding: 1.5rem;
  }

  .sfc-finder__layout .sfc-finder__results {
    display: block;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 1.25rem 0 0;
  }

  .sfc-finder__layout .sfc-finder-result {
    flex: none;
    margin-bottom: 0.75rem;
    width: 100%;
  }

  .sfc-finder__layout .sfc-finder__panel {
    align-self: start;
    grid-column: 5 / 6;
    grid-row: 2 / 3;
    justify-self: stretch;
    max-height: none;
    overflow: visible;
    width: auto;
  }

  .sfc-finder__layout .sfc-map-notifications {
    grid-area: notifications;
  }
}

@media (min-width: 1280px) {
  .sfc-finder__layout .sfc-finder-result {
    padding: 0.85rem 0.95rem;
  }
}

.sfc-finder__layout {
  display: block;
  min-height: 720px;
  position: relative;
}

.sfc-finder__layout .sfc-finder__visual {
  display: none;
}

.home .sfc-finder__layout .sfc-finder__visual {
  display: block;
  min-height: clamp(18rem, 38vw, 36rem);
}

.sfc-finder__layout .sfc-finder__map-wrap {
  height: min(82vh, 860px);
  min-height: 620px;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__controls {
  left: 1.25rem;
  padding: 0;
  position: absolute;
  top: 1.25rem;
  width: min(100% - 2.5rem, 520px);
}

.sfc-finder__layout .sfc-finder__results-card {
  left: 1.25rem;
  max-height: calc(82vh - 8rem);
  padding: 1.5rem;
  position: absolute;
  top: 5.25rem;
  width: min(100% - 2.5rem, 500px);
}

.sfc-finder__layout .sfc-finder__results {
  display: block;
  max-height: calc(82vh - 11rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1.25rem 0 0;
}

.sfc-finder__layout .sfc-finder-result {
  flex: none;
  margin-bottom: 0.75rem;
  width: 100%;
}

.sfc-finder__layout .sfc-finder__panel {
  max-width: 320px;
  position: absolute;
  right: 1.25rem;
  top: 5.25rem;
  width: min(100% - 2.5rem, 420px);
}

.sfc-finder__layout .sfc-map-notifications {
  bottom: 1.25rem;
  left: 1.25rem;
  position: absolute;
  width: min(100% - 2.5rem, 520px);
}

@media (min-width: 1280px) {
  .home .sfc-finder__layout .sfc-finder__visual {
    margin-inline: auto;
  }

  .sfc-finder__layout .sfc-finder__map-wrap {
    margin-left: auto;
    width: 80%;
  }
}

@media (max-width: 767px) {
  .home .sfc-finder__layout .sfc-finder__visual {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
  }
}

@media (max-width: 1279px) {
  .sfc-finder__layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .sfc-finder__layout .sfc-finder__map-wrap {
    height: 60dvh;
    margin-top: 1rem;
    min-height: min(420px, 60dvh);
    order: 2;
  }

  .sfc-finder__layout .sfc-finder__controls,
  .sfc-finder__layout .sfc-finder__results-card,
  .sfc-finder__layout .sfc-map-notifications {
    left: auto;
    max-height: none;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
  }

  .sfc-finder__layout .sfc-finder__controls,
  .sfc-finder__layout .sfc-finder__results-card {
    margin-top: 1rem;
  }

  .sfc-finder__layout .sfc-finder__selection {
    order: 1;
  }

  .sfc-finder__layout .sfc-finder__panel {
    left: auto;
    margin: 0;
    max-height: calc(100% - 2rem);
    overflow: auto;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: min(calc(100% - 2rem), 420px);
  }

  .sfc-finder__layout .sfc-map-notifications {
    order: 3;
  }

  .sfc-finder__layout .sfc-finder__visual {
    order: 4;
  }

  .sfc-finder__layout .sfc-finder__results {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 1rem;
  }

  .sfc-finder__layout .sfc-finder-result {
    flex: 0 0 auto;
    margin: 0;
    max-width: min(72vw, 20rem);
    min-width: 12rem;
    width: fit-content;
  }
}
