/* ecklocksmithlocator.com styles.
   1. Brand tokens and base rules copied from Themes/ECKv3/assets/base.css.
   2. Site header, hero (from sections/eck-locator.liquid) and footer.
   3. The directory styles, copied unchanged from
      Themes/ECKv3/assets/section-eck-locksmith-directory.css. */

:root {
  --eck-accent: 243, 167, 18;
  --eck-accent-deep: 214, 138, 0;
  --eck-accent-ink: 26, 20, 8;
  --eck-ink: 33, 35, 38;
  --eck-paper: 246, 242, 233;
  --eck-onyx: 10, 12, 16;
  --eck-shadow: 0, 0, 0;
  --eck-paper-border: 232, 222, 204;
  --eck-surface-warm: 255, 250, 240;
  --eck-charcoal: 24, 26, 31;
  --eck-charcoal-raised: 33, 36, 42;
  --eck-border-dark: 54, 58, 66;
  --eck-ink-inverse: 245, 242, 234;
  --eck-ink-inverse-muted: 172, 174, 180;
  --eck-section-gutter-inline: 24px;
  --eck-section-gutter-inline-mobile: 18px;
  --eck-section-pad-block-mobile: 34px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: rgb(var(--eck-onyx));
  color: rgb(var(--eck-ink-inverse));
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

/* ---- site header ---- */

.site-header {
  background: rgb(var(--eck-onyx));
  border-bottom: 1px solid rgb(var(--eck-border-dark));
}
.site-header__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--eck-section-gutter-inline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { display: block; height: 40px; width: auto; }
.site-header__shop {
  color: rgb(var(--eck-accent));
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.site-header__shop:hover { text-decoration: underline; }

/* ---- hero (sections/eck-locator.liquid) ---- */

.eclx__hero{position:relative;overflow:hidden;background:rgb(var(--eck-onyx));padding:52px 0 26px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,Roboto,sans-serif}
.eclx__hero::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(900px 320px at 12% -20%,rgba(244,167,26,.14),transparent 62%)}
.eclx__wrap{position:relative;z-index:2;max-width:1080px;margin:0 auto;padding:0 22px}
.eclx__kick{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#f4a71a;font-weight:800}
.eclx__h1{margin:12px 0 0;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,Roboto,sans-serif;font-size:clamp(30px,5vw,50px);font-weight:800;letter-spacing:-.022em;line-height:1.05}
.eclx__lede{margin:13px 0 0;max-width:58ch;color:#cfcac1;font-size:clamp(15px,1.4vw,18px);line-height:1.55}
@media screen and (max-width:749px){
  .eclx__hero{padding:34px 0 18px}
  .site-header__wrap{padding-left:var(--eck-section-gutter-inline-mobile);padding-right:var(--eck-section-gutter-inline-mobile)}
}

/* ---- site footer ---- */

.site-footer {
  border-top: 1px solid rgb(var(--eck-border-dark));
  color: rgb(var(--eck-ink-inverse-muted));
  font-size: 13px;
}
.site-footer__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px var(--eck-section-gutter-inline) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.site-footer p { margin: 0; }
.site-footer a { color: rgb(var(--eck-ink-inverse)); }
.site-footer__shop { color: rgb(var(--eck-accent)) !important; font-weight: 700; }

/* ---- directory (section-eck-locksmith-directory.css) ---- */

/* ECKv3: styles for sections/eck-locksmith-directory.liquid.
   Concept 1 "refined split view" (owner choice 2026-10-09): a dark page with
   gold accents. The search row sits on the onyx page; the map and the list
   share one charcoal panel. Phone: map on top, list below, cards collapsed
   except the selected one. Desktop: map left and sticky, list right.
   Brand-fixed on the --eck-* tokens (CONVENTIONS.md §4). The map is kept in
   its own stacking context (isolation) so Leaflet's internal z-index values
   (up to 1000) can never rise above the header or the cart drawer. */

.eck-ldir {
  display: block;
  background: rgb(var(--eck-onyx));
  padding: 0 0 48px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  color: rgb(var(--eck-ink-inverse));
}

.eck-ldir__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--eck-section-gutter-inline, 22px);
}

/* ---- search form (on the dark page) ---- */

.eck-ldir__form {
  padding: 0 0 18px;
}

.eck-ldir__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-end;
}

.eck-ldir__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.eck-ldir__field--grow {
  flex: 1 1 280px;
}

.eck-ldir__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--eck-ink-inverse-muted));
}

.eck-ldir__input,
.eck-ldir__select {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgb(var(--eck-paper-border));
  border-radius: 10px;
  background: rgb(var(--eck-paper));
  color: rgb(var(--eck-ink));
  font: inherit;
  font-size: 15px;
  width: 100%;
  min-width: 0;
}

.eck-ldir__select {
  min-width: 170px;
  cursor: pointer;
}

.eck-ldir__input:focus-visible,
.eck-ldir__select:focus-visible,
.eck-ldir__btn:focus-visible,
.eck-ldir__link:focus-visible,
.eck-ldir__toggle:focus-visible,
.eck-ldir__cta:focus-visible {
  outline: 3px solid rgb(var(--eck-accent));
  outline-offset: 2px;
}

.eck-ldir__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.eck-ldir__btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.eck-ldir__btn--primary {
  background: rgb(var(--eck-accent));
  color: rgb(var(--eck-accent-ink));
}

.eck-ldir__btn--primary:hover {
  background: rgb(var(--eck-accent-deep));
}

.eck-ldir__btn--ghost {
  background: rgb(var(--eck-paper));
  border-color: rgb(var(--eck-paper-border));
  color: rgb(var(--eck-ink));
}

.eck-ldir__btn--ghost:hover {
  background: rgb(var(--eck-surface-warm));
}

.eck-ldir__btn--link {
  height: auto;
  padding: 6px 4px;
  background: none;
  color: rgb(var(--eck-accent));
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}

.eck-ldir__btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.eck-ldir__status {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.45;
  color: rgb(var(--eck-ink-inverse));
}

.eck-ldir__status:empty {
  margin: 0;
  min-height: 0;
}

/* Light red that keeps contrast on onyx. */
.eck-ldir__status--error {
  color: #ff9b8f;
}

.eck-ldir__credit {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: rgb(var(--eck-ink-inverse-muted));
}

.eck-ldir__credit a {
  color: inherit;
}

/* ---- split panel: map + list ---- */

.eck-ldir__panel {
  background: rgb(var(--eck-charcoal));
  border: 1px solid rgb(var(--eck-border-dark));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 44px -24px rgba(var(--eck-shadow), 0.7);
}

.eck-ldir__body {
  display: grid;
  grid-template-columns: 1fr;
}

/* `.eck-ldir .eck-ldir__map` (0,2,0) outranks Dawn's `div:empty { display: none }`
   so an empty map box before MapLibre mounts still has a size. */
.eck-ldir .eck-ldir__map {
  display: block;
  position: relative;
  isolation: isolate;
  z-index: 0;
  height: 380px;
  width: 100%;
  background: #1b1d21;
  border-bottom: 1px solid rgb(var(--eck-border-dark));
}

/* ECKv3.47: MapLibre vector map. The basemap colors live in the JS
   (MAP_COLORS); no CSS filter, so water, parks and roads keep their tint. */
.eck-ldir .maplibregl-map {
  font-family: inherit;
}

.eck-ldir__map-note {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: rgb(var(--eck-ink-inverse-muted));
  font-size: 14px;
  z-index: 1;
  pointer-events: none;
}

.eck-ldir--map-failed .eck-ldir__map {
  height: auto;
  min-height: 0;
}

.eck-ldir--map-failed .eck-ldir__map-note {
  position: static;
  padding: 14px 18px;
}

.eck-ldir__list-col {
  padding: 12px 14px 14px;
}

.eck-ldir__list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 4px 12px;
}

.eck-ldir__count {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgb(var(--eck-ink-inverse));
}

.eck-ldir__sort {
  margin: 0;
  flex: 0 0 auto;
  font-size: 13px;
  color: rgb(var(--eck-ink-inverse-muted));
}

.eck-ldir__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- cards ---- */

.eck-ldir__card {
  position: relative;
  background: rgb(var(--eck-charcoal));
  border: 1px solid rgb(var(--eck-border-dark));
  border-radius: 12px;
  padding: 14px 16px 14px 18px;
  scroll-margin-top: 90px;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

/* With JS a click anywhere on a card shows its pin. */
.eck-ldir--js .eck-ldir__card {
  cursor: pointer;
}

/* Selected card: gold border plus a gold bar on the left edge. */
.eck-ldir__card--active {
  background: rgb(var(--eck-charcoal-raised));
  border-color: rgb(var(--eck-accent));
  box-shadow: inset 5px 0 0 rgb(var(--eck-accent));
}

.eck-ldir__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.eck-ldir__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: rgb(var(--eck-ink-inverse));
}

/* The JS wraps each name in this button: select the listing (and expand it
   on phones). Without JS the name stays plain text. */
.eck-ldir__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.eck-ldir__toggle:hover {
  color: rgb(var(--eck-accent));
}

.eck-ldir__dist {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: rgb(var(--eck-ink-inverse));
  white-space: nowrap;
}

.eck-ldir__addr {
  margin: 6px 0 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  color: rgb(var(--eck-ink-inverse-muted));
}

.eck-ldir__addr-line {
  display: block;
}

.eck-ldir__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 12px;
  border-radius: 10px;
  background: rgb(var(--eck-onyx));
}

.eck-ldir__desc,
.eck-ldir__note {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgb(var(--eck-ink-inverse-muted));
}

.eck-ldir__desc {
  color: rgb(var(--eck-ink-inverse));
}

.eck-ldir__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 10px 0 0;
}

.eck-ldir__cta {
  font-size: 14px;
  font-weight: 700;
  color: rgb(var(--eck-ink-inverse));
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(var(--eck-accent), 0.8);
}

.eck-ldir__cta:hover {
  color: rgb(var(--eck-accent));
}

/* Desktop shows the phone number and the site name as text links. */
.eck-ldir__cta-verb,
.eck-ldir__cta-site-short {
  display: none;
}

.eck-ldir__link {
  font-size: 14px;
  font-weight: 700;
  color: rgb(var(--eck-accent));
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eck-ldir__link--btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.eck-ldir__empty {
  margin: 8px 4px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgb(var(--eck-charcoal-raised));
  border: 1px dashed rgb(var(--eck-border-dark));
  font-size: 14px;
  line-height: 1.5;
}

/* ---- SVG markers (MapLibre HTML markers) ---- */

.eck-ldir__marker {
  background: none;
  border: 0;
  color: rgb(var(--eck-accent));
  cursor: pointer;
}

.eck-ldir__marker[hidden] {
  display: none;
}

.eck-ldir__marker:focus-visible {
  outline: 2px solid rgb(var(--eck-accent));
  outline-offset: 2px;
  border-radius: 4px;
}

.eck-ldir__marker svg {
  display: block;
  width: 28px;
  height: 38px;
  filter: drop-shadow(0 2px 3px rgba(var(--eck-shadow), 0.6));
  transform-origin: 50% 100%;
  transition: transform 0.15s ease;
}

.eck-ldir__marker--active {
  z-index: 900 !important;
}

.eck-ldir__marker--active svg {
  transform: scale(1.25);
  filter: drop-shadow(0 0 6px rgba(var(--eck-accent), 0.75)) drop-shadow(0 2px 3px rgba(var(--eck-shadow), 0.6));
}

.eck-ldir__marker--origin {
  color: rgb(var(--eck-ink-inverse));
  cursor: default;
  pointer-events: none;
}

.eck-ldir__marker--origin svg {
  width: 22px;
  height: 22px;
}

/* ---- map controls and dark contact popup ---- */

.eck-ldir .eck-ldir__map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 22px 3px rgba(0, 0, 0, 0.32);
}

.eck-ldir .eck-ldir__map-note[hidden] {
  display: none;
}

.eck-ldir .maplibregl-popup {
  z-index: 3;
}

.eck-ldir .maplibregl-popup-content {
  background: rgb(var(--eck-charcoal));
  color: rgb(var(--eck-ink-inverse));
  padding: 16px;
  overflow-y: auto;
  border: 1px solid rgb(var(--eck-border-dark));
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(var(--eck-shadow), 0.55);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.eck-ldir .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.eck-ldir .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.eck-ldir .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
  border-top-color: rgb(var(--eck-charcoal));
}
.eck-ldir .maplibregl-popup-anchor-top .maplibregl-popup-tip,
.eck-ldir .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.eck-ldir .maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
  border-bottom-color: rgb(var(--eck-charcoal));
}
.eck-ldir .maplibregl-popup-anchor-left .maplibregl-popup-tip {
  border-right-color: rgb(var(--eck-charcoal));
}
.eck-ldir .maplibregl-popup-anchor-right .maplibregl-popup-tip {
  border-left-color: rgb(var(--eck-charcoal));
}

.eck-ldir .maplibregl-popup-close-button {
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
  color: rgb(var(--eck-ink-inverse-muted));
  border-radius: 0 12px 0 0;
}
.eck-ldir .maplibregl-popup-content strong {
  display: block;
  padding-right: 24px;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.eck-ldir__popup-location {
  display: block;
  color: rgb(var(--eck-ink-inverse-muted));
  margin-bottom: 12px;
}
.eck-ldir .maplibregl-popup-content a {
  color: rgb(var(--eck-ink-inverse));
  font-weight: 700;
}
.eck-ldir .maplibregl-popup-content .eck-ldir__call {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgb(var(--eck-accent));
  color: rgb(var(--eck-ink));
  text-decoration: none;
}
.eck-ldir .maplibregl-popup-content a[target] {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.eck-ldir .maplibregl-popup a:focus-visible,
.eck-ldir .maplibregl-popup button:focus-visible,
.eck-ldir .maplibregl-ctrl button:focus-visible,
.eck-ldir .maplibregl-ctrl summary:focus-visible {
  outline: 2px solid rgb(var(--eck-accent));
  outline-offset: 3px;
}
.eck-ldir .maplibregl-popup .eck-ldir__call:focus-visible {
  outline-color: white;
}

.eck-ldir .maplibregl-ctrl-attrib {
  font-size: 11px;
  background: rgba(var(--eck-onyx), 0.92);
  color: rgb(var(--eck-ink-inverse-muted));
}
.eck-ldir .maplibregl-ctrl-attrib a {
  color: rgb(var(--eck-ink-inverse));
}
.eck-ldir .maplibregl-ctrl-attrib.maplibregl-compact {
  min-height: 44px;
  padding: 2px 44px 2px 8px;
  border-radius: 22px;
}
.eck-ldir .maplibregl-ctrl-attrib-button {
  width: 44px;
  height: 44px;
  background-color: transparent;
  background-image: none;
  border: 1px solid rgb(var(--eck-border-dark));
  border-radius: 50%;
  color: rgb(var(--eck-ink-inverse));
}
.eck-ldir .maplibregl-ctrl-attrib-button::after {
  content: 'i';
  display: block;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
}
.eck-ldir .maplibregl-ctrl-group {
  background: rgb(var(--eck-charcoal));
  border: 1px solid rgb(var(--eck-border-dark));
  border-radius: 8px;
  overflow: visible;
}
.eck-ldir .maplibregl-ctrl-group button {
  width: 44px;
  height: 44px;
}
.eck-ldir .maplibregl-ctrl-group button + button {
  border-top-color: rgb(var(--eck-border-dark));
}
.eck-ldir .maplibregl-ctrl-group .maplibregl-ctrl-icon {
  filter: invert(1);
}
.eck-ldir .maplibregl-ctrl-group button:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---- desktop: two columns, sticky map ---- */

@media screen and (min-width: 990px) {
  .eck-ldir__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }

  .eck-ldir__map-col {
    position: sticky;
    top: 0;
    align-self: start;
  }

  .eck-ldir .eck-ldir__map {
    height: 620px;
    border-bottom: 0;
    border-right: 1px solid rgb(var(--eck-border-dark));
  }

  .eck-ldir--map-failed .eck-ldir__map {
    height: auto;
  }

  .eck-ldir__list-col {
    max-height: 620px;
    overflow-y: auto;
    padding: 14px 16px 16px;
  }
}

/* ---- phone: stacked controls, collapsed cards ---- */

@media screen and (max-width: 749px) {
  /* Keep the national overview's northwest pin clear of the touch controls. */
  .eck-ldir .maplibregl-ctrl-top-left {
    top: auto;
    bottom: 10px;
  }

  .eck-ldir {
    padding-bottom: var(--eck-section-pad-block-mobile, 34px);
  }

  .eck-ldir__wrap {
    padding: 0 var(--eck-section-gutter-inline-mobile, 18px);
  }

  /* Grid: query on its own row; radius + Search; location + Show all. */
  .eck-ldir__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .eck-ldir__field--grow {
    grid-column: 1 / -1;
  }

  .eck-ldir__actions {
    display: contents;
  }

  .eck-ldir__select {
    min-width: 0;
  }

  .eck-ldir__btn {
    width: 100%;
  }

  .eck-ldir__btn--ghost {
    background: transparent;
    border-color: rgb(var(--eck-border-dark));
    color: rgb(var(--eck-ink-inverse));
  }

  .eck-ldir__btn--ghost:hover {
    background: rgb(var(--eck-charcoal));
  }

  .eck-ldir__btn--link {
    height: 48px;
  }

  /* Labels stay for screen readers; the placeholders carry the meaning. */
  .eck-ldir__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .eck-ldir__panel {
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .eck-ldir .eck-ldir__map {
    height: 300px;
    border: 1px solid rgb(var(--eck-border-dark));
    border-radius: 14px;
    overflow: hidden;
  }

  .eck-ldir__list-col {
    padding: 18px 0 0;
  }

  .eck-ldir__list-head {
    margin: 0 0 12px;
  }

  .eck-ldir__count {
    font-size: 21px;
  }

  /* Collapsed cards (JS only): name, distance and address stay visible. */
  .eck-ldir--js .eck-ldir__card:not(.eck-ldir__card--active) .eck-ldir__card-body {
    display: none;
  }

  .eck-ldir--js .eck-ldir__card:not(.eck-ldir__card--active) .eck-ldir__card-head {
    padding-right: 22px;
  }

  .eck-ldir--js .eck-ldir__card:not(.eck-ldir__card--active) .eck-ldir__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    margin-top: -5px;
    border-right: 2px solid rgb(var(--eck-ink-inverse));
    border-bottom: 2px solid rgb(var(--eck-ink-inverse));
    transform: rotate(-45deg);
  }

  /* The whole collapsed card is the tap target. */
  .eck-ldir--js .eck-ldir__card:not(.eck-ldir__card--active) .eck-ldir__toggle::before {
    content: '';
    position: absolute;
    inset: 0;
  }

  /* Expanded card: full-width gold Call, then Directions + Website. */
  .eck-ldir__ctas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
  }

  .eck-ldir__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1.5px solid rgb(var(--eck-border-dark));
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
  }

  .eck-ldir__cta--call {
    grid-column: 1 / -1;
    background: rgb(var(--eck-accent));
    border-color: rgb(var(--eck-accent));
    color: rgb(var(--eck-accent-ink));
    font-weight: 800;
  }

  .eck-ldir__cta--call:hover {
    color: rgb(var(--eck-accent-ink));
    background: rgb(var(--eck-accent-deep));
  }

  .eck-ldir__cta-verb {
    display: inline;
    white-space: pre;
  }

  .eck-ldir__cta-site {
    display: none;
  }

  .eck-ldir__cta-site-short {
    display: inline;
  }

  .eck-ldir__cta-show {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eck-ldir__marker svg,
  .eck-ldir__card {
    transition: none;
  }
}
