.edge-locator {
  --elf-bg: #e9eee7;
  --elf-text: #111313;
  --elf-muted: #5e645d;
  --elf-accent: #6e836a;
  --elf-card-bg: rgba(255, 255, 255, .55);
  --elf-card-active-bg: #fff;
  --elf-card-border: rgba(17, 19, 19, .12);
  --elf-card-active-border: #6e836a;
  --elf-input-bg: #fff;
  --elf-input-border: rgba(17, 19, 19, .15);
  --elf-button-bg: #111313;
  --elf-button-color: #fff;
  --elf-button-hover-bg: #6e836a;
  --elf-button-hover-color: #fff;
  --elf-link-hover-color: #6e836a;
  --elf-close-hover-bg: transparent;
  --elf-map-placeholder: #dfe5dc;
  --elf-marker-bg: #fff;
  --elf-marker-color: #111313;
  --elf-marker-active-bg: #6e836a;
  --elf-marker-active-color: #fff;
  --elf-popup-bg: #fff;
  --elf-popup-text: #111313;
  --elf-popup-muted: #5e645d;
  --elf-popup-border: rgba(17, 19, 19, .12);
  --elf-popup-width: 380px;
  --elf-popup-radius: 20px;
  --elf-popup-pt: 24px;
  --elf-popup-pr: 24px;
  --elf-popup-pb: 24px;
  --elf-popup-pl: 24px;
  --elf-min-height: 720px;
	--elf-map-only-height: 560px;
	--elf-map-selector-bg: #fff;
	--elf-map-selector-color: #111313;
	--elf-map-selector-border: rgba(17, 19, 19, .14);
	--elf-map-selector-width: 300px;
	--elf-map-selector-radius: 999px;
  --elf-side-width: 38%;
  --elf-mobile-map-height: 400px;
  --elf-carousel-card-width: 72%;
  --elf-gap: 24px;
  --elf-outer-radius: 28px;
  --elf-map-radius: 22px;
  --elf-card-radius: 20px;
  --elf-card-gap: 12px;
  --elf-marker-size: 44px;
  --elf-input-radius: 999px;
  --elf-pad-top: 32px;
  --elf-pad-right: 32px;
  --elf-pad-bottom: 32px;
  --elf-pad-left: 32px;
  --elf-card-pt: 22px;
  --elf-card-pr: 22px;
  --elf-card-pb: 22px;
  --elf-card-pl: 22px;
  width: 100%;
  min-height: var(--elf-min-height);
  padding: var(--elf-pad-top) var(--elf-pad-right) var(--elf-pad-bottom) var(--elf-pad-left);
  color: var(--elf-text);
  background: var(--elf-bg);
  border-radius: var(--elf-outer-radius);
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.edge-locator *, .edge-locator *::before, .edge-locator *::after { box-sizing: border-box; }
.edge-locator p, .edge-locator h2, .edge-locator h3 { margin-block-start: 0; }
.edge-locator button, .edge-locator input, .edge-locator select { font: inherit; }
.edge-locator button { color: inherit; -webkit-appearance: none; appearance: none; }
.edge-locator [hidden] { display: none !important; }

.edge-locator__inner {
  display: flex;
  gap: var(--elf-gap);
  min-height: calc(var(--elf-min-height) - var(--elf-pad-top) - var(--elf-pad-bottom));
}

.edge-locator__side {
  display: flex;
  flex: 0 0 var(--elf-side-width);
  min-width: 0;
  max-height: calc(var(--elf-min-height) - var(--elf-pad-top) - var(--elf-pad-bottom));
  flex-direction: column;
}

.edge-locator__header { flex: none; padding: 8px 4px 24px; }
.edge-locator__map-only-header { max-width: 52rem; padding: 8px 4px 32px; }
.edge-locator__map-only-header .edge-locator__intro { margin-bottom: 0; }
.edge-locator__heading { margin-bottom: 16px; font-size: clamp(2rem, 3.2vw, 4.25rem); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.edge-locator__intro { max-width: 38rem; margin-bottom: 22px; color: var(--elf-muted); }
.edge-locator__intro p { margin-bottom: 0; }

.edge-locator__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--elf-input-border);
  border-radius: var(--elf-input-radius);
  background: var(--elf-input-bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.edge-locator__search:focus-within { border-color: var(--elf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--elf-accent) 18%, transparent); }
.edge-locator__search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.edge-locator__search input { width: 100%; min-width: 0; padding: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; color: var(--elf-text); background: transparent !important; }
.edge-locator__search input::placeholder { color: var(--elf-muted); opacity: .8; }

.edge-locator__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--elf-input-radius);
  color: var(--elf-button-color);
  background-color: var(--elf-button-bg) !important;
  cursor: pointer;
}
.edge-locator .edge-locator__button:hover,
.edge-locator .edge-locator__button:focus-visible,
.edge-locator .edge-locator__button:active {
  color: var(--elf-button-hover-color) !important;
  background-color: var(--elf-button-hover-bg) !important;
}
.edge-locator__button span { font-size: 1.35em; line-height: 1; transition: transform .25s ease; }
.edge-locator.is-exploring .edge-locator__button span { transform: rotate(45deg); }

.edge-locator__collection { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 4px 8px; scrollbar-width: thin; }
.edge-locator__collection-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 2; padding: 12px 0; background: linear-gradient(var(--elf-bg) 72%, transparent); }
.edge-locator__results-label { margin-bottom: 0; color: var(--elf-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.edge-locator__close { display: none; width: 36px; height: 36px; padding: 0; border: 1px solid var(--elf-card-border); border-radius: 50%; color: var(--elf-text) !important; background-color: var(--elf-card-active-bg) !important; cursor: pointer; font-size: 25px; line-height: 1; }
.edge-locator .edge-locator__close:hover,
.edge-locator .edge-locator__close:focus-visible,
.edge-locator .edge-locator__close:active { color: var(--elf-link-hover-color) !important; border-color: var(--elf-link-hover-color); background-color: var(--elf-close-hover-bg) !important; }
.edge-locator__list { width: 100%; }
.edge-locator__list-track { display: flex; flex-direction: column; gap: var(--elf-card-gap); transition-property: transform; will-change: transform; }

.edge-locator__item {
  display: flex;
  gap: 18px;
  width: 100%;
  padding: var(--elf-card-pt) var(--elf-card-pr) var(--elf-card-pb) var(--elf-card-pl);
  border: 1px solid var(--elf-card-border);
  border-radius: var(--elf-card-radius);
  outline: 0;
  color: var(--elf-text);
  background: var(--elf-card-bg);
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease;
}
.edge-locator__item:hover { transform: translateY(-2px); }
.edge-locator__item:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--elf-accent) 35%, transparent); }
.edge-locator__item[data-active="true"] { border-color: var(--elf-card-active-border); background: var(--elf-card-active-bg); }
.edge-locator__item[aria-hidden="true"] { display: none; }
.edge-locator__item-image { width: 112px; min-height: 116px; flex: none; overflow: hidden; border-radius: calc(var(--elf-card-radius) * .68); }
.edge-locator__item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edge-locator__item-content { min-width: 0; flex: 1; }
.edge-locator__item-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.edge-locator__item-eyebrow { margin-bottom: 10px; color: var(--elf-accent); font-size: .72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
.edge-locator__primary-badge { margin: -3px 0 8px; padding: 5px 9px; border-radius: 999px; color: var(--elf-button-color); background: var(--elf-button-bg); font-size: .66rem; line-height: 1; white-space: nowrap; text-transform: uppercase; letter-spacing: .07em; }
.edge-locator__item-heading { margin-bottom: 14px; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.025em; font-weight: 500; }
.edge-locator__item-location { display: flex; align-items: flex-start; gap: 9px; color: var(--elf-muted); }
.edge-locator__item-location svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.edge-locator__item-address, .edge-locator__item-description { margin-bottom: 0; font-size: .92rem; line-height: 1.45; }
.edge-locator__item-description { margin-top: 12px; color: var(--elf-muted); }
.edge-locator__item-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.edge-locator__item-link,
.edge-locator__item-link:visited { display: inline-flex; align-items: center; gap: 7px; color: var(--elf-text) !important; text-decoration: none; font-weight: 600; }
.edge-locator .edge-locator__item-link:hover,
.edge-locator .edge-locator__item-link:focus-visible,
.edge-locator .edge-locator__item-link:active { color: var(--elf-link-hover-color) !important; }
.edge-locator__details-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; color: var(--elf-text) !important; background-color: transparent !important; box-shadow: none; cursor: pointer; font-weight: 600; }
.edge-locator .edge-locator__details-trigger:hover,
.edge-locator .edge-locator__details-trigger:focus-visible,
.edge-locator .edge-locator__details-trigger:active { color: var(--elf-link-hover-color) !important; background-color: transparent !important; }
.edge-locator__details-trigger span { display: grid; place-items: center; width: 1.25em; height: 1.25em; border: 1px solid currentColor; border-radius: 50%; font-size: .9em; line-height: 1; }
.edge-locator__external-arrow { width: 1em; height: 1em; flex: none; transition: transform .2s ease; }
.edge-locator__item-link:hover .edge-locator__external-arrow { transform: translate(2px, -2px); }
.edge-locator__empty { padding: 22px; text-align: center; color: var(--elf-muted); }
.edge-locator__return { margin-top: 12px; padding: 0; border: 0; color: var(--elf-text) !important; background-color: transparent !important; cursor: pointer; font-weight: 600; }
.edge-locator .edge-locator__return:hover,
.edge-locator .edge-locator__return:focus-visible,
.edge-locator .edge-locator__return:active { color: var(--elf-link-hover-color) !important; background-color: transparent !important; }

.edge-locator__main { position: relative; flex: 1 1 auto; min-width: 0; min-height: 440px; overflow: hidden; border-radius: var(--elf-map-radius); background: var(--elf-map-placeholder); }
.edge-locator--map_only { min-height: 0; }
.edge-locator--map_only .edge-locator__inner { display: block; min-height: var(--elf-map-only-height); }
.edge-locator--map_only .edge-locator__main { width: 100%; height: var(--elf-map-only-height); min-height: var(--elf-map-only-height); }
.edge-locator__map { position: absolute; inset: 0; width: 100%; height: 100%; }

.edge-locator__map-selector {
	position: absolute;
	z-index: 7;
	width: min(var(--elf-map-selector-width), calc(100% - 40px));
}
.edge-locator__map-selector select {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--elf-map-selector-border);
	border-radius: var(--elf-map-selector-radius);
	outline: 0;
	color: var(--elf-map-selector-color);
	background-color: var(--elf-map-selector-bg);
	box-shadow: 0 10px 28px rgba(17, 19, 19, .14);
	cursor: pointer;
}
.edge-locator__map-selector select:focus-visible { border-color: var(--elf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--elf-accent) 24%, transparent), 0 10px 28px rgba(17, 19, 19, .14); }
.edge-locator__map-selector--top_left { top: 20px; left: 20px; }
.edge-locator__map-selector--top_center { top: 20px; left: 50%; transform: translateX(-50%); }
.edge-locator__map-selector--top_right { top: 20px; right: 20px; }
.edge-locator__map-selector--bottom_left { bottom: 20px; left: 20px; }
.edge-locator__map-selector--bottom_center { bottom: 20px; left: 50%; transform: translateX(-50%); }
.edge-locator__map-selector--bottom_right { right: 20px; bottom: 20px; }
.edge-locator__map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 32px; text-align: center; color: var(--elf-muted); background: var(--elf-map-placeholder); }
.edge-locator__map-fallback span { width: 42px; margin: 0 auto; color: var(--elf-accent); }
.edge-locator__map-fallback svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.edge-locator__map-fallback p { max-width: 28rem; margin-bottom: 0; }

.edge-locator__details-layer { position: absolute; z-index: 8; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px; pointer-events: none; }
.edge-locator__details-panel {
  position: relative;
  width: min(100%, var(--elf-popup-width));
  max-height: calc(100% - 4px);
  padding: var(--elf-popup-pt) var(--elf-popup-pr) var(--elf-popup-pb) var(--elf-popup-pl);
  overflow-y: auto;
  border: 1px solid var(--elf-popup-border);
  border-radius: var(--elf-popup-radius);
  color: var(--elf-popup-text);
  background: var(--elf-popup-bg);
  box-shadow: 0 18px 50px rgba(17, 19, 19, .18);
  pointer-events: auto;
  animation: edge-locator-popup-in .25s ease both;
}
.edge-locator__details-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--elf-popup-border); border-radius: 50%; color: var(--elf-popup-text) !important; background-color: transparent !important; box-shadow: none; cursor: pointer; font-size: 24px; line-height: 1; }
.edge-locator .edge-locator__details-close:hover,
.edge-locator .edge-locator__details-close:focus-visible,
.edge-locator .edge-locator__details-close:active { color: var(--elf-link-hover-color) !important; border-color: var(--elf-link-hover-color); background-color: var(--elf-close-hover-bg) !important; }
.edge-locator__details-close:focus-visible { outline: 2px solid var(--elf-accent); outline-offset: 2px; }
.edge-locator__details-eyebrow { margin: 0 42px 10px 0; color: var(--elf-accent); font-size: .72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
.edge-locator__details-heading { margin: 0 42px 18px 0; font-size: 1.55rem; line-height: 1.08; letter-spacing: -.025em; font-weight: 500; }
.edge-locator__details-address { margin: 0; color: var(--elf-popup-muted); font-style: normal; line-height: 1.5; }
.edge-locator__details-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 18px; }
.edge-locator__details-contact a,
.edge-locator__details-contact a:visited { color: var(--elf-popup-text) !important; text-decoration: none; }
.edge-locator .edge-locator__details-contact a:hover,
.edge-locator .edge-locator__details-contact a:focus-visible,
.edge-locator .edge-locator__details-contact a:active { color: var(--elf-link-hover-color) !important; text-decoration: underline; text-underline-offset: 3px; }
.edge-locator__details-extra { margin-top: 18px; color: var(--elf-popup-muted); }
.edge-locator__details-extra p:last-child { margin-bottom: 0; }
.edge-locator__details-link,
.edge-locator__details-link:visited { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--elf-popup-text) !important; text-decoration: none; font-weight: 600; }
.edge-locator .edge-locator__details-link:hover,
.edge-locator .edge-locator__details-link:focus-visible,
.edge-locator .edge-locator__details-link:active { color: var(--elf-link-hover-color) !important; }
.edge-locator__details-link:hover .edge-locator__external-arrow { transform: translate(2px, -2px); }
@keyframes edge-locator-popup-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.edge-locator__marker {
  display: grid;
  place-items: center;
  width: var(--elf-marker-size);
  height: var(--elf-marker-size);
  border: 1px solid color-mix(in srgb, var(--elf-marker-color) 16%, transparent);
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-45deg);
  color: var(--elf-marker-color);
  background: var(--elf-marker-bg);
  box-shadow: 0 6px 18px rgba(17, 19, 19, .18);
  cursor: pointer;
  transition: width .2s ease, height .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}
.edge-locator__marker .edge-locator__edge-logo { width: 48%; height: 48%; display: block; transform: rotate(45deg); }
.edge-locator__marker[data-active="true"] { color: var(--elf-marker-active-color); background: var(--elf-marker-active-bg); transform: rotate(-45deg) scale(1.12); }
.edge-locator__marker.is-primary::after { content: ''; position: absolute; inset: -6px; border: 1px solid var(--elf-marker-active-bg); border-radius: inherit; opacity: .55; }

.edge-locator--primary .edge-locator__item:not(.is-primary) { display: none; }
.edge-locator--primary .edge-locator__item[data-active="true"] { display: flex; }
.edge-locator--primary.is-exploring .edge-locator__item { display: flex; }
.edge-locator--primary.is-exploring .edge-locator__item.is-primary { display: none; }
.edge-locator--primary.is-exploring .edge-locator__collection { padding-bottom: 16px; }
.edge-locator__backdrop { display: none; }

.edge-locator:not(.is-ready)[data-animate="true"] .edge-locator__header,
.edge-locator:not(.is-ready)[data-animate="true"] .edge-locator__item,
.edge-locator:not(.is-ready)[data-animate="true"] .edge-locator__main { opacity: 0; transform: translateY(12px); }
.edge-locator.is-ready .edge-locator__header,
.edge-locator.is-ready .edge-locator__item,
.edge-locator.is-ready .edge-locator__main { transition: opacity .45s ease, transform .45s ease; }

@media (max-width: 1024px) {
  .edge-locator { overflow: visible; }
  .edge-locator__inner { min-height: 0; flex-direction: column; }
  .edge-locator__side { display: contents; max-height: none; }
  .edge-locator__header { order: 1; }
  .edge-locator__main { order: 2; min-height: var(--elf-mobile-map-height); height: var(--elf-mobile-map-height); flex: none; width: 100%; }
	.edge-locator--map_only { overflow: clip; }
	.edge-locator--map_only .edge-locator__inner { display: block; min-height: var(--elf-map-only-height); }
	.edge-locator--map_only .edge-locator__main { height: var(--elf-map-only-height); min-height: var(--elf-map-only-height); }
  .edge-locator__collection { order: 3; overflow: visible; padding: 0 4px 8px; }
  .edge-locator__collection-head { position: static; padding-top: 22px; background: none; }
  .edge-locator--all .edge-locator__list { overflow: hidden; padding-bottom: 12px; touch-action: pan-y; }
  .edge-locator--all .edge-locator__list-track { flex-direction: row; gap: 0; }
  .edge-locator--all .edge-locator__item { width: min(var(--elf-carousel-card-width), 520px); height: auto; flex: 0 0 auto; }
}

@media (max-width: 767px) {
  .edge-locator__heading { font-size: clamp(2rem, 11vw, 3.3rem); }
  .edge-locator__item { flex-direction: column; }
  .edge-locator__item-image { width: 100%; height: 160px; min-height: 0; }
  .edge-locator__details-layer { padding: 12px; }
  .edge-locator__details-panel { width: 100%; max-height: calc(100% - 2px); }
	.edge-locator__map-only-header { padding-bottom: 24px; }
	.edge-locator__map-selector { width: min(var(--elf-map-selector-width), calc(100% - 24px)); }
	.edge-locator__map-selector--top_left,
	.edge-locator__map-selector--top_center,
	.edge-locator__map-selector--top_right { top: 12px; right: auto; left: 50%; transform: translateX(-50%); }
	.edge-locator__map-selector--bottom_left,
	.edge-locator__map-selector--bottom_center,
	.edge-locator__map-selector--bottom_right { right: auto; bottom: 12px; left: 50%; transform: translateX(-50%); }
  .edge-locator--primary.is-exploring .edge-locator__collection {
    position: fixed;
    z-index: 10002;
    inset: auto 0 0;
    max-height: min(78vh, 760px);
    padding: 12px 20px 28px;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    background: var(--elf-bg);
    box-shadow: 0 -20px 60px rgba(17, 19, 19, .2);
  }
  .edge-locator--primary.is-exploring .edge-locator__collection-head { position: sticky; top: 0; z-index: 2; padding-top: 10px; background: var(--elf-bg); }
  .edge-locator--primary.is-exploring .edge-locator__close { display: block; }
  .edge-locator--primary.is-exploring .edge-locator__list { overflow: visible; }
  .edge-locator--primary.is-exploring .edge-locator__list-track { display: flex; flex-direction: column; }
  .edge-locator--primary.is-exploring .edge-locator__backdrop { display: block; position: fixed; z-index: 10001; inset: 0; background: rgba(17, 19, 19, .48); }
  body.edge-locator-drawer-open { overflow: hidden; }
}

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