.lt-locator {
  --lt-blue: #0875a5;
  --lt-deep: #086a97;
  --lt-action: #0875a5;
  --lt-action-hover: #086a97;
  --lt-action-active: #055a80;
  --lt-ink: #171c20;
  --lt-muted: #50616a;
  --lt-line: #d9e5eb;
  --lt-surface: #f1f7fa;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: min(calc(100vw - 32px), 1440px);
  margin: 24px 0 64px;
  transform: translateX(-50%);
  color: var(--lt-ink);
  font-family: "Myriad Pro", Arial, sans-serif;
}

.lt-locator *, .lt-locator *::before, .lt-locator *::after { box-sizing: border-box; }
.lt-locator ::selection { background: #0a7eae; color: #fff; }
.lt-locator :focus-visible { outline: 3px solid rgba(8, 117, 165, .32); outline-offset: 3px; }

.lt-locator__intro {
  margin: 0 calc(50% - 50vw);
  background: var(--lt-blue);
  color: #fff;
}
.lt-locator__intro-inner { max-width: 1440px; margin: auto; padding: 48px 24px 52px; }
.lt-locator__back { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.lt-locator__back:hover { color: #fff; opacity: .85; }
.lt-locator h1 { max-width: 850px; margin: 20px 0 8px; color: #fff; font-size: clamp(32px, 3.3vw, 50px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.lt-locator__intro p { max-width: 690px; margin: 0; font-size: 19px; line-height: 1.5; }

.lt-locator__body { padding: 24px; background: #fff; border-radius: 14px; box-shadow: 0 18px 42px rgba(5, 62, 88, .18); }
.lt-locator__toolbar { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; gap: 12px; align-items: end; }
.lt-locator__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: var(--lt-ink); font-weight: 700; font-size: 14px; }
.lt-locator__field span { line-height: 1.25; }
.lt-locator__field input, .lt-locator__field select { width: 100%; min-width: 0; min-height: 52px; height: 52px; border: 1px solid #b7cdd8; border-radius: 14px; background-color: #fff; color: var(--lt-ink); font: 400 16px "Myriad Pro", Arial, sans-serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(12, 54, 72, .06); transition: border-color .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out; }
.lt-locator__field input { padding: 0 16px; }
.lt-locator__field select { appearance: none; -webkit-appearance: none; padding: 0 46px 0 16px; background-image: linear-gradient(45deg, transparent 50%, var(--lt-deep) 50%), linear-gradient(135deg, var(--lt-deep) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.lt-locator__field input::placeholder { color: #667680; opacity: 1; }
.lt-locator__field input:hover, .lt-locator__field select:hover { border-color: var(--lt-deep); box-shadow: 0 0 0 3px rgba(8, 117, 165, .08); }
.lt-locator__field input:focus, .lt-locator__field select:focus { border-color: var(--lt-deep); box-shadow: 0 0 0 4px rgba(8, 117, 165, .14); }
.lt-locator__field select:disabled { background-color: #edf1f3; color: #697b84; cursor: not-allowed; opacity: .78; }
.lt-locator button.lt-locator__locate { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--lt-ink); color: #fff; font: 700 15px "Myriad Pro", Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: background-color .18s ease-out, box-shadow .18s ease-out; }
.lt-locator button.lt-locator__locate:hover { background: var(--lt-deep); box-shadow: 0 8px 18px rgba(8, 106, 151, .22); }
.lt-locator button.lt-locator__locate:disabled { opacity: .65; cursor: progress; }
.lt-locator__feedback { min-height: 24px; margin: 10px 0 17px; color: #315a70; font-size: 14px; line-height: 1.4; }
.lt-locator__feedback.is-error { color: #9b2f23; }

.lt-locator__workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); gap: 20px; align-items: start; }
.lt-locator__map-wrap { min-width: 0; }
.lt-locator__map { height: 620px; overflow: hidden; border-radius: 10px; background: #dcebf1; }
.lt-locator__results { min-width: 0; height: 620px; display: flex; flex-direction: column; background: var(--lt-surface); border-radius: 10px; overflow: hidden; }
.lt-locator__results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 19px 20px 13px; background: var(--lt-deep); color: #fff; }
.lt-locator__results-head h2 { margin: 0; color: #fff; font-size: 21px; line-height: 1.3; font-weight: 700; }
.lt-locator__results-head span { flex: none; font-size: 14px; font-weight: 600; }
.lt-locator__list { min-height: 0; flex: 1; overflow-y: auto; padding: 0 17px; scrollbar-color: #a9c4d2 transparent; scrollbar-width: thin; }
.lt-locator__loading, .lt-locator__empty { padding: 28px 6px; color: var(--lt-muted); line-height: 1.5; }
.lt-locator__store { padding: 17px 3px 18px; border-bottom: 1px solid var(--lt-line); }
.lt-locator__store h3 { margin: 0 0 7px; color: var(--lt-ink); font-size: 18px; line-height: 1.3; font-weight: 700; }
.lt-locator__store p { margin: 3px 0; color: #334a56; font-size: 14px; line-height: 1.45; }
.lt-locator__store .lt-locator__distance { color: var(--lt-deep); font-weight: 700; }
.lt-locator__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.lt-locator .lt-locator__actions button, .lt-locator .lt-locator__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: 3px;
  appearance: none;
  background: var(--lt-action);
  color: #fff;
  font: 700 13px/1.2 "Myriad Pro", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease-out;
}
.lt-locator .lt-locator__actions button:hover, .lt-locator .lt-locator__actions a:hover { background: var(--lt-action-hover); color: #fff; }
.lt-locator .lt-locator__actions button:active, .lt-locator .lt-locator__actions a:active { background: var(--lt-action-active); color: #fff; }
.lt-locator__more { display: block; width: calc(100% - 34px); margin: 9px 17px 15px; padding: 12px; border: 1px solid var(--lt-deep); border-radius: 7px; background: #fff; color: var(--lt-deep); font: 700 15px "Myriad Pro", Arial, sans-serif; cursor: pointer; }
.lt-locator__more:hover { background: #e5f4fa; }
.lt-locator__more[hidden] { display: none; }

.lt-locator .leaflet-container { font-family: "Myriad Pro", Arial, sans-serif; }
.lt-locator .leaflet-popup-content { margin: 14px 17px; min-width: 170px; }
.lt-locator .leaflet-popup-content strong { display: block; margin-bottom: 5px; font-size: 16px; }
.lt-locator .leaflet-popup-content p { margin: 3px 0; font-size: 13px; }
.lt-locator .leaflet-popup-content a { display: inline-block; margin-top: 8px; color: var(--lt-deep); font-weight: 700; text-decoration: underline; }
.lt-locator .marker-cluster-small, .lt-locator .marker-cluster-medium, .lt-locator .marker-cluster-large { background: rgba(4, 105, 151, .22); }
.lt-locator .marker-cluster-small div, .lt-locator .marker-cluster-medium div, .lt-locator .marker-cluster-large div { background: var(--lt-deep); color: #fff; font-weight: 700; }
.lt-locator__user-dot { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 3px #166d9b; }

@media (max-width: 1100px) {
  .lt-locator__toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lt-locator button.lt-locator__locate { width: 100%; }
}

@media (max-width: 760px) {
  .lt-locator { width: min(calc(100vw - 24px), 1440px); margin-bottom: 40px; }
  .lt-locator__intro-inner { padding: 32px 18px 37px; }
  .lt-locator h1 { font-size: 34px; }
  .lt-locator__intro p { font-size: 17px; }
  .lt-locator__toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lt-locator button.lt-locator__locate { order: -1; grid-column: 1 / -1; width: 100%; justify-self: stretch; }
  .lt-locator-demo-page .qlwapp .qlwapp__button .qlwapp__text { display: none !important; }
  .lt-locator__workspace { grid-template-columns: 1fr; gap: 16px; }
  .lt-locator__map { height: 390px; }
  .lt-locator__results { height: auto; min-height: 360px; max-height: 620px; }
  .lt-locator__list { max-height: 520px; }
}

@media (max-width: 420px) {
  .lt-locator__toolbar { grid-template-columns: 1fr; }
  .lt-locator button.lt-locator__locate { grid-column: auto; }
  .lt-locator__map { height: 330px; }
}
