.wf-locations {
  --wfl-ink: var(--wf-navy);
  --wfl-surface: var(--wf-card);
  --wfl-accent: var(--wf-accent);
  --wfl-muted: #b6cbe0;
  --wfl-line: rgba(127, 225, 255, .22);
  --wfl-gutter: var(--pad);
  background: var(--wfl-ink);
  color: var(--wf-white);
  isolation: isolate;
}

.wf-locations [hidden] { display: none !important; }
.floating-wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.wf-locations-symbols { position: absolute; width: 0; height: 0; }
.wf-locations svg:not(.wf-locations-symbols) {
  width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.wf-locations-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.wf-locations :is(button, a, input, select):focus-visible {
  outline: 2px solid var(--wf-blue-2); outline-offset: 3px;
}
.wf-locations-stage {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 1px solid var(--wfl-line); background: var(--wfl-ink);
}
.wf-locations-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(268px, 25vw, 340px);
  grid-template-areas: "copy finder" "feature finder" "rail quick" "notice notice";
  align-items: end;
  column-gap: clamp(32px, 9vw, 150px);
  row-gap: 19px;
  position: relative;
  max-width: 1540px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 84px) var(--wfl-gutter) 25px;
}
.wf-locations-copy { grid-area: copy; align-self: start; max-width: 500px; }
.wf-locations-kicker {
  display: flex; align-items: center; gap: 12px; color: var(--wfl-accent);
  font-size: .76rem; line-height: 1.3; font-weight: 850; letter-spacing: .17em; text-transform: uppercase;
}
.wf-locations-kicker::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--wf-blue), var(--wf-blue-2));
}
.wf-locations h2 {
  margin-top: 16px; font-family: var(--head); font-size: clamp(2.5rem, 5.5vw, 6.25rem);
  line-height: .97; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase;
  color: var(--wf-white);
}
.wf-locations h2 span { display: block; color: var(--wfl-accent); }
.wf-locations-intro {
  max-width: 38ch; margin-top: 17px; color: var(--wf-text);
  font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.55;
}
.wf-locations-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.wf-locations-primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 20px; border: 1px solid transparent; border-radius: 10px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--wf-blue), var(--wf-accent) 35%), var(--wf-blue-2));
  color: var(--wfl-ink); font-size: .88rem; font-weight: 850;
  transition: filter 130ms ease, transform 130ms ease;
}
.wf-locations-primary:hover { filter: brightness(1.14); transform: translateY(-1px); }
.wf-locations-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0; border: 0; background: none; color: var(--wfl-accent); font-size: .86rem; font-weight: 720;
}
.wf-locations-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.wf-locations-icon-circle {
  display: inline-grid; width: 44px; height: 44px; place-items: center; flex-shrink: 0;
  border: 1px solid var(--wfl-line); border-radius: 50%;
  background: var(--wfl-ink); color: var(--wf-white);
  transition: color 135ms ease, background 135ms ease, border-color 135ms ease;
}
.wf-locations-icon-circle:hover:not(:disabled) { border-color: var(--wf-blue-2); color: var(--wfl-accent); }

.wf-locations-feature { grid-area: feature; margin: 0; min-width: 0; width: min(100%, 390px); }
.wf-locations-photo-stage {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: var(--wfl-ink);
}
.wf-locations-photo-stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #07172e 0%, rgba(7, 23, 46, .92) 18%, rgba(7, 23, 46, .80) min(54%, 570px), rgba(7, 23, 46, .16) 67%, rgba(7, 23, 46, .08) 82%, rgba(7, 23, 46, .26) 100%),
    linear-gradient(0deg, #07172e 0%, rgba(7, 23, 46, .72) 15%, transparent 43%);
}
.wf-locations-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 52%; opacity: 0;
  transition: opacity 240ms ease;
}
.wf-locations-hero-img.is-visible { opacity: 1; }
.wf-locations-photo-message {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  color: var(--wf-text); background: var(--wfl-ink); border-radius: 8px; font-size: .85rem;
}
.wf-locations-feature-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 4px 10px; background: var(--wfl-ink); line-height: 1.3;
  border: 1px solid var(--wfl-line); border-radius: 10px;
}
.wf-locations-feature-caption > div { min-width: 0; }
.wf-locations-feature-caption strong { display: block; overflow-wrap: anywhere; font-size: 1rem; }
.wf-locations-feature-caption > div > span { color: var(--wfl-muted); font-size: .86rem; }
.wf-locations-view-photo { flex-shrink: 0; }
.wf-locations-feature-thumbs.wf-locations-thumbs { margin-bottom: 0; padding-bottom: 3px; }

.wf-locations-finder {
  grid-area: finder; align-self: center; padding: 14px 18px 17px; background: var(--wfl-surface);
  border: 1px solid var(--wfl-line); border-radius: 15px; box-shadow: var(--wf-shadow);
}
.wf-locations h3, .wf-locations h4 {
  font-family: var(--body); line-height: 1.2; font-weight: 760; letter-spacing: -.025em; text-transform: none;
}
.wf-locations-finder-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px;
  padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--wfl-line);
}
.wf-locations-finder h3 { font-size: 1.12rem; }
.wf-locations-segment { display: flex; gap: 4px; }
.wf-locations-segment button {
  border: 1px solid transparent; border-radius: 8px; background: none;
  color: var(--wfl-muted); padding: 0 10px; font-size: .81rem; font-weight: 720; min-height: 44px;
}
.wf-locations-segment button[aria-pressed="true"] {
  color: var(--wfl-accent); border-color: var(--wfl-line); background: var(--wf-card-2);
}
.wf-locations-finder-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; align-items: end; }
.wf-locations-finder-fields > div { min-width: 0; }
.wf-locations-finder label, .wf-locations-directory-controls label {
  display: block; color: var(--wfl-muted); font-size: .85rem; font-weight: 680;
}
.wf-locations-field { position: relative; margin-top: 4px; color: var(--wfl-accent); }
.wf-locations-field svg { position: absolute; top: 12px; left: 10px; pointer-events: none; }
.wf-locations-finder .wf-locations-field svg { width: 18px; height: 18px; }
.wf-locations :is(input, select) {
  width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px;
  color: var(--wf-white); background-color: var(--wfl-ink);
  border: 1px solid var(--wfl-line); border-radius: 8px; font-size: max(1rem, 16px); color-scheme: dark;
}
.wf-locations :is(select, select option, select optgroup) { background-color: var(--wfl-ink); color: var(--wf-white); }
.wf-locations select {
  appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23dbe7f4' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 9px center; background-repeat: no-repeat;
}
.wf-locations input::placeholder { color: var(--wfl-muted); opacity: 1; }
.wf-locations-field :is(input, select) { padding-left: 36px; }
.wf-locations-find { white-space: nowrap; }
.wf-locations-find-icon { display: none; }

.wf-locations-explorer { grid-area: rail; min-width: 0; }
.wf-locations-rail-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 6px; }
.wf-locations-rail-title h3 { font-size: 1.12rem; }
.wf-locations-rail-shell { position: relative; }
.wf-locations-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
  scroll-snap-type: inline mandatory; padding: 4px; margin: -4px;
}
.wf-locations-rail::-webkit-scrollbar, .wf-locations-thumbs::-webkit-scrollbar { display: none; }
.wf-locations-card {
  position: relative; display: grid; align-content: start; text-align: left;
  min-width: 0; padding: 0; border: 1px solid var(--wfl-line); border-radius: 12px;
  background: var(--wfl-surface); color: var(--wf-white); overflow: hidden;
  scroll-snap-align: start; scroll-margin-inline: 4px; transition: border-color 140ms ease;
}
.wf-locations-card-media {
  display: grid; position: relative; place-items: center;
  aspect-ratio: 1.8; width: 100%; overflow: hidden; color: var(--wfl-muted);
  background: var(--wf-navy-2);
}
.wf-locations-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 180ms ease;
}
.wf-locations-card:hover img { transform: scale(1.045); }
.wf-locations-card[aria-pressed="true"], .wf-locations-card:hover { border-color: var(--wf-blue-2); }
.wf-locations-card[aria-pressed="true"]::after {
  position: absolute; top: 9px; right: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--wf-blue-2); box-shadow: 0 0 0 4px var(--wfl-ink); content: "";
}
.wf-locations-card-caption { display: grid; gap: 3px; padding: 9px 10px; }
.wf-locations-card strong { font-size: .9rem; line-height: 1.2; overflow-wrap: anywhere; }
.wf-locations-card small { color: var(--wfl-muted); font-size: .77rem; line-height: 1.3; }
.wf-locations-card-tag {
  position: absolute; top: 7px; left: 7px; max-width: calc(100% - 24px); padding: 3px 6px;
  background: var(--wfl-ink); border-radius: 4px; color: var(--wf-white); font-size: .73rem; line-height: 1.25;
}
.wf-locations-rail-controls { display: flex; gap: 4px; margin-left: auto; }
.wf-locations-rail-controls svg { width: 16px; height: 16px; }
.wf-locations-rail-prev:disabled, .wf-locations-rail-next:disabled { visibility: hidden; }
.wf-locations-empty {
  min-height: 96px; padding: 14px 16px; border: 1px solid var(--wfl-line);
  border-radius: 12px; background: var(--wfl-surface);
}
.wf-locations-quick {
  grid-area: quick; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; justify-self: start; align-self: end;
  border: 1px solid var(--wfl-line); background: var(--wfl-surface); border-radius: 12px;
}
.wf-locations-quick-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 70px;
  padding: 5px 8px; border: 0; border-right: 1px solid var(--wfl-line);
  background: transparent; color: var(--wf-text); font-size: .84rem; font-weight: 730; text-align: center;
}
.wf-locations-quick-action:last-child { border-right: 0; }
.wf-locations-quick-action svg { color: var(--wfl-accent); }
.wf-locations-quick-action:hover { color: var(--wf-white); }
.wf-locations-quick-action:disabled { opacity: .55; cursor: default; }
.wf-locations-notice { grid-area: notice; max-width: none; color: var(--wfl-muted); font-size: .86rem; }
.wf-locations-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--wfl-line);
  margin: 0; padding: 17px max(var(--wfl-gutter), calc((100% - 1250px) / 2)); text-align: center;
}
.wf-locations-stats div { padding: 3px 7px; border-right: 1px solid var(--wfl-line); }
.wf-locations-stats div:last-child { border-right: 0; }
.wf-locations-stats dt { color: var(--wfl-accent); font-size: 1.27rem; line-height: 1.18; font-weight: 780; }
.wf-locations-stats dd { margin: 3px 0 0; color: var(--wfl-muted); font-size: .8rem; line-height: 1.3; }
.wf-locations-noscript { padding: 12px var(--wfl-gutter); color: var(--wfl-accent); }

.wf-locations-dialog {
  width: min(780px, calc(100% - 28px)); max-height: min(88dvh, 850px);
  color: #f6fbff; background: var(--wfl-surface); border: 1px solid var(--wfl-line);
  border-radius: 20px; padding: 18px clamp(15px, 3vw, 30px) 26px;
  overscroll-behavior: contain;
}
.wf-locations-dialog::backdrop { background: rgba(2, 12, 19, .76); backdrop-filter: blur(6px); }
.wf-locations-dialog[open] { animation: wf-locations-dialog-in 215ms cubic-bezier(.2, .8, .3, 1); }
@keyframes wf-locations-dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
body:has(.wf-locations-dialog[open]) { overflow: hidden; }
.wf-locations-dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 17px; }
.wf-locations-dialog h3 { font-size: clamp(1.4rem, 4vw, 2rem); }
.wf-locations-dialog h4 { font-size: 1rem; margin-bottom: 9px; }
.wf-locations-dialog-top .wf-locations-link { min-height: 38px; }
.wf-locations-directory-controls { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 10px; }
.wf-locations-directory-controls label { margin: 0; }
.wf-locations-directory-controls :is(input, select) { display: block; margin-top: 4px; }
.wf-locations-result-count { padding-block: 12px; color: var(--wfl-muted); font-size: .87rem; }
.wf-locations-directory-group { margin: 0 0 18px; }
.wf-locations-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.wf-locations-gallery, .wf-locations-no-photo {
  position: relative; overflow: hidden; border-radius: 13px; background: var(--wfl-ink);
  border: 1px solid var(--wfl-line); aspect-ratio: 2 / 1;
}
.wf-locations-gallery img { width: 100%; height: 100%; object-fit: contain; transition: opacity 160ms ease; }
.wf-locations-gallery .wf-locations-icon-circle { position: absolute; top: calc(50% - 22px); z-index: 1; }
.wf-locations-gallery-prev { left: 8px; }
.wf-locations-gallery-next { right: 8px; }
.wf-locations-gallery-count { position: absolute; bottom: 8px; right: 9px; padding: 3px 8px; border-radius: 6px; background: var(--wfl-ink); color: #effbff; font-size: .79rem; }
.wf-locations-thumbs { display: flex; gap: 7px; overflow: auto; padding: 6px 4px; margin: 3px -4px 9px; scrollbar-width: none; }
.wf-locations-thumb { width: 66px; height: 49px; flex-shrink: 0; padding: 0; overflow: hidden; border: 1px solid var(--wfl-line); border-radius: 6px; background: var(--wfl-ink); }
.wf-locations-thumb[aria-pressed="true"] { border-color: var(--wfl-accent); }
.wf-locations-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wf-locations-thumb svg { margin: auto; color: var(--wfl-muted); }
.wf-locations-thumb { display: grid; place-items: center; position: relative; }
.wf-locations-feature-thumbs .wf-locations-thumb { width: 68px; height: 45px; }
.wf-locations-no-photo { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--wfl-muted); }
.wf-locations-branch-copy { margin-top: 18px; }
.wf-locations-facts { display: grid; grid-template-columns: .9fr 1.35fr 1.15fr; gap: 13px; margin: 14px 0 0; }
.wf-locations-facts dt { color: var(--wfl-muted); font-size: .83rem; font-weight: 650; }
.wf-locations-facts dd { margin: 3px 0 0; font-size: .9rem; overflow-wrap: anywhere; }


@media (max-width: 1100px) {
  .wf-locations-rail { grid-auto-columns: calc((100% - 24px) / 3); }
}
@media (max-width: 940px) {
  .wf-locations-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "feature" "finder" "rail" "quick" "notice";
    gap: 19px;
  }
  .wf-locations h2 { font-size: clamp(2.55rem, 7.4vw, 4.8rem); }
  .wf-locations-intro { max-width: 60ch; }
  .wf-locations-photo-stage { bottom: auto; height: 570px; max-height: 100%; }
  .wf-locations-photo-stage::after {
    background:
      linear-gradient(90deg, rgba(7, 23, 46, .93) 0%, rgba(7, 23, 46, .80) 57%, rgba(7, 23, 46, .12) 90%),
      linear-gradient(0deg, #07172e 0%, transparent 32%);
  }
  .wf-locations-finder-head { justify-content: space-between; }
  .wf-locations-finder-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .wf-locations-quick-action { flex-direction: row; min-height: 52px; }
}
@media (max-width: 600px) {
  .wf-locations-inner {
    grid-template-areas: "copy" "finder" "feature" "rail" "quick" "notice";
    gap: 16px; padding-top: 27px; padding-bottom: 24px;
  }
  .wf-locations h2 { font-size: clamp(2.13rem, 8.7vw, 3.65rem); margin-top: 10px; }
  .wf-locations h2 span { display: block; }
  .wf-locations-intro, .wf-locations-copy .wf-locations-actions, .wf-locations-stats,
  .wf-locations-feature-thumbs.wf-locations-thumbs, #wfl-detail { display: none; }
  .wf-locations-photo-stage { height: 325px; }
  .wf-locations-hero-img { object-position: center 45%; }
  .wf-locations-photo-stage::after {
    background:
      linear-gradient(180deg, rgba(7, 23, 46, .88), rgba(7, 23, 46, .78) 43%, rgba(7, 23, 46, .24) 69%, #07172e 100%),
      linear-gradient(90deg, rgba(7, 23, 46, .45), transparent 100%);
  }
  .wf-locations-feature { margin-top: 14px; }
  .wf-locations-finder { padding: 8px; }
  .wf-locations-finder-head, .wf-locations-finder-fields > div:nth-child(2) { display: none; }
  .wf-locations-finder-fields { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .wf-locations-finder-fields label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .wf-locations-field { margin-top: 0; }
  .wf-locations-find { padding-inline: 11px; }
  .wf-locations-find-label { display: none; }
  .wf-locations-find-icon { display: inline-flex; align-items: center; gap: 5px; }
  .wf-locations .wf-locations-find-icon svg { width: 16px; height: 16px; }
  .wf-locations-rail { grid-auto-columns: calc((100% - 9px) / 2); gap: 9px; }
  .wf-locations-quick { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-locations-quick-action { min-height: 48px; }
  #wfl-visit { border-right: 0; }
  .wf-locations-dialog { inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; border-radius: 18px 18px 0 0; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .wf-locations-directory-controls { grid-template-columns: 1fr 1fr; }
  .wf-locations-directory-controls label:first-child { grid-column: 1 / -1; }
  .wf-locations-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-locations-gallery { aspect-ratio: 5 / 4; }
  .wf-locations-facts { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-locations *, .wf-locations *::before, .wf-locations *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

