/* Store finder — shared by ASL Endrust Locations Directory 1.6.2+ and ASL CAT Locations Directory 1.1.2+ (enlarged-map search: 1.6.9 / 1.1.9) */
.edl-finder {
  --edl-accent: #dc1c2e;
  --edl-accent-ink: var(--edl-accent);   /* accent used as text on white */
  --edl-accent-dark: #9e1420;            /* hover */
  --edl-banner: var(--edl-accent);       /* the band behind the search */
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 16px;
  font-family: inherit;
  color: #1a1a1a;
}
.edl-finder *, .edl-finder *::before, .edl-finder *::after { box-sizing: border-box; }
.edl-finder [hidden] { display: none !important; }

/* ---- Band ("banner" theme) ----
   The band paints full width without breaking out of the page layout: a
   spread box-shadow fills left and right, and clip-path keeps it to the
   band's own height. Shadows don't create sideways scrolling. */
.edl-finder-hero { padding: 22px 0 28px; }
.edl-finder--banner .edl-finder-hero {
  background: var(--edl-banner);
  box-shadow: 0 0 0 100vmax var(--edl-banner);
  clip-path: inset(0 -100vmax);
  color: #fff;
}
.edl-finder--banner.has-results .edl-finder-hero { padding-bottom: 92px; }
.edl-finder--banner.has-results .edl-finder-results { position: relative; margin-top: -64px; }
/* First thing in an Elementor column: close the column's 10px top padding so
   the band joins the heading strip above it. */
.elementor-widget-wrap > .elementor-element:first-child .edl-finder--banner { margin-top: -10px; }
.edl-finder-intro { max-width: 720px; margin: 0 auto 18px; font-size: 18px; line-height: 1.45; text-align: center; color: inherit; }

/* ---- Search ---- */
.edl-finder-form { max-width: 720px; margin: 0 auto; text-align: left; }
.edl-finder-label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; color: inherit; }
.edl-finder-row { display: flex; flex-wrap: wrap; gap: 10px; }
.edl-finder .edl-finder-input {
  flex: 1 1 320px; min-width: 0; height: 56px; margin: 0;
  padding: 0 18px; border: 0; border-radius: 4px;
  background: #fff; color: #1a1a1a;
  font-family: inherit; font-size: 18px; line-height: 56px;
  box-shadow: none;
}
.edl-finder--light .edl-finder-input { border: 2px solid #1a1a1a; }
.edl-finder .edl-finder-input:focus { outline: 3px solid #000; outline-offset: 0; }
.edl-finder .edl-finder-go {
  flex: 0 0 auto; height: 56px; margin: 0; padding: 0 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 4px; background: #000; color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1;
  cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder .edl-finder-go:hover { background: #222; color: #fff; }
.edl-finder .edl-finder-go:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.edl-finder .edl-finder-exact {
  display: flex; width: max-content; max-width: 100%; align-items: center; gap: 8px;
  min-height: 44px; margin: 8px auto 0; padding: 0;
  border: 0; background: none; color: inherit;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.edl-finder .edl-finder-exact:hover { background: none; color: inherit; text-decoration-thickness: 2px; }
.edl-finder .edl-finder-exact:disabled { cursor: progress; opacity: .85; }
.edl-finder .edl-finder-exact:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.edl-finder-msg { margin: 4px 0 0; min-height: 0; font-size: 15px; font-weight: 600; color: inherit; text-align: center; }
.edl-finder-msg:empty { display: none; }

/* ---- Results card ---- */
.edl-finder-results {
  margin: 0; padding: 24px;
  background: #fff; color: #1a1a1a;
  border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  text-align: left;
}
.edl-finder--light .edl-finder-results { margin-top: 8px; }
.edl-finder--light .edl-finder-results { box-shadow: 0 2px 10px rgba(0, 0, 0, .1); border: 1px solid #e3e3e3; }
.edl-finder-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0 0 18px; }
.edl-finder .edl-finder-title { margin: 0; padding: 0; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.3; color: #1a1a1a; text-transform: none; letter-spacing: 0; }
.edl-finder-where { font-weight: 400; font-size: 16px; color: #555; }
.edl-finder .edl-finder-change {
  min-height: 44px; margin: 0; padding: 0; border: 0; background: none;
  color: var(--edl-accent-ink); font-family: inherit; font-size: 14px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder .edl-finder-change:hover { background: none; color: var(--edl-accent-dark); }
.edl-finder-far { flex: 1 1 100%; margin: 0; font-size: 15px; color: #444; }
.edl-finder-far a { color: var(--edl-accent-ink); font-weight: 700; }

.edl-finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edl-finder-grid--n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edl-finder-grid--n3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.edl-finder-card {
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
  padding: 18px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fff;
}
.edl-finder-card-top { display: flex; align-items: center; gap: 10px; }
.edl-finder-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--edl-accent); color: #fff; font-size: 15px; font-weight: 800; line-height: 1;
}
.edl-finder-km { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--edl-accent-ink); }
.edl-finder .edl-finder-name { margin: 2px 0 0; padding: 0; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.edl-finder .edl-finder-name a { color: #1a1a1a; text-decoration: none; }
.edl-finder .edl-finder-name a:hover { color: var(--edl-accent-ink); text-decoration: underline; }
.edl-finder-sub { margin: 0; font-size: 14px; font-style: italic; line-height: 1.35; color: #666; }
.edl-finder-addr { margin: 0; font-size: 14px; line-height: 1.45; color: #555; word-break: break-word; }
.edl-finder-phone { margin: 0; font-size: 15px; font-weight: 600; }
.edl-finder .edl-finder-phone a { color: #1a1a1a; text-decoration: none; }
.edl-finder .edl-finder-phone a:hover { color: var(--edl-accent-ink); text-decoration: underline; }
.edl-finder-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.edl-finder .edl-finder-btn {
  flex: 1 1 0; min-width: 104px; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 10px; border: 1px solid var(--edl-accent); border-radius: 4px;
  background: #fff; color: var(--edl-accent);
  font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap;
}
.edl-finder .edl-finder-btn:hover { background: var(--edl-accent); color: #fff; text-decoration: none; }
.edl-finder .edl-finder-btn--primary { background: var(--edl-accent); color: #fff; }
.edl-finder .edl-finder-btn--primary:hover { background: var(--edl-accent-dark); border-color: var(--edl-accent-dark); color: #fff; }

.edl-finder-mapcell { position: relative; min-height: 240px; border-radius: 6px; overflow: hidden; background: #dfe9ec; }
.edl-finder-map { position: absolute; inset: 0; cursor: zoom-in; }
.edl-finder-map * { cursor: inherit; }
/* Top-right, so the Google logo and terms at the bottom stay visible (Maps terms). */
.edl-finder .edl-finder-bigmap {
  position: absolute; top: 10px; right: 10px; left: auto; bottom: auto; z-index: 2;
  display: inline-flex; align-items: center; width: auto; min-height: 40px; margin: 0; padding: 8px 14px; border: 0; border-radius: 4px; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2); cursor: pointer;
  font-family: inherit; line-height: 1.2; text-transform: none; letter-spacing: 0;
  color: var(--edl-accent-ink); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none;
}
.edl-finder .edl-finder-bigmap:hover { text-decoration: underline; color: var(--edl-accent-dark); background: #fff; }
.edl-finder .edl-finder-bigmap:focus-visible { outline: 3px solid var(--edl-accent); outline-offset: 2px; }

.edl-finder .edl-finder-more {
  display: block; min-height: 44px; margin: 16px auto 0; padding: 0 22px;
  border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: #1a1a1a;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder .edl-finder-more:hover { border-color: var(--edl-accent); color: var(--edl-accent); background: #fff; }

/* ---- Enlarged map (overlay on the page) ---- */
html.edl-finder-noscroll { overflow: hidden; }
.edl-finder-modal {
  --edl-accent: #dc1c2e; --edl-accent-ink: var(--edl-accent); --edl-accent-dark: #9e1420;
  position: fixed; inset: 0; z-index: 100001;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 0, 0, .62); box-sizing: border-box; font-family: inherit;
}
.edl-finder-modal[hidden] { display: none; }
.edl-finder-modal *, .edl-finder-modal *::before, .edl-finder-modal *::after { box-sizing: border-box; }
.edl-finder-modal-box {
  position: relative; width: min(1180px, 100%); height: min(780px, 100%);
  background: #dfe9ec; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.edl-finder-modal-map { position: absolute; inset: 0; }
.edl-finder-modal .edl-finder-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #1a1a1a; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); cursor: pointer;
}
.edl-finder-modal .edl-finder-modal-close:hover { background: #f2f2f2; color: #000; }
.edl-finder-modal .edl-finder-modal-close:focus-visible { outline: 3px solid var(--edl-accent); outline-offset: 2px; }
/* Search panel inside the enlarged map (Endrust 1.6.9 / CAT 1.1.9) */
.edl-finder-modal .edl-finder-mpanel {
  position: absolute; top: 14px; left: 14px; z-index: 2; width: 440px; max-width: calc(100% - 90px);
  max-height: calc(100% - 28px); overflow-y: auto; margin: 0; padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border-radius: 8px; box-shadow: 0 4px 18px rgba(0, 0, 0, .22); color: #1a1a1a; text-align: left;
}
.edl-finder-modal .edl-finder-mlabel { display: block; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: #1a1a1a; }
.edl-finder-modal .edl-finder-mrow { display: flex; gap: 8px; margin: 0; }
.edl-finder-modal .edl-finder-minput {
  flex: 1 1 auto; min-width: 0; width: auto; height: 46px; margin: 0; padding: 0 12px;
  border: 1px solid #9a9a9a; border-radius: 4px; background: #fff; color: #1a1a1a; box-shadow: none;
  font-family: inherit; font-size: 16px; line-height: 46px;
}
.edl-finder-modal .edl-finder-minput:focus { border-color: #1a1a1a; outline: 2px solid var(--edl-accent); outline-offset: 1px; }
.edl-finder-modal .edl-finder-mgo {
  flex: 0 0 auto; height: 46px; margin: 0; padding: 0 18px; border: 0; border-radius: 4px;
  background: #111; color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder-modal .edl-finder-mgo:hover { background: #333; color: #fff; }
.edl-finder-modal .edl-finder-mrow2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.edl-finder-modal .edl-finder-mnear {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 14px;
  border: 1px solid var(--edl-accent-ink); border-radius: 4px; background: #fff; color: var(--edl-accent-ink);
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder-modal .edl-finder-mnear:hover { background: var(--edl-accent-ink); color: #fff; }
.edl-finder-modal .edl-finder-mnear[disabled] { opacity: .7; cursor: progress; }
.edl-finder-modal .edl-finder-mnear svg { flex: 0 0 auto; }
.edl-finder-modal .edl-finder-mall {
  margin: 0; padding: 6px 0; border: 0; background: none; color: var(--edl-accent-ink);
  font-family: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder-modal .edl-finder-mall:hover { background: none; color: var(--edl-accent-dark); }
.edl-finder-modal .edl-finder-mmsg { margin: 0; font-size: 14px; line-height: 1.4; color: var(--edl-accent-ink); }
.edl-finder-modal .edl-finder-mmsg:empty { display: none; }
.edl-finder-modal .edl-finder-mlist { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid #e3e3e3; }
.edl-finder-modal .edl-finder-mlist-head { font-size: 13px; font-weight: 700; color: #555; }
.edl-finder-modal .edl-finder-mitem {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin: 0; padding: 6px 10px;
  border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; color: #1a1a1a;
  font-family: inherit; font-size: 15px; line-height: 1.25; text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.edl-finder-modal .edl-finder-mitem:hover { border-color: var(--edl-accent); background: #fff; color: #1a1a1a; }
.edl-finder-modal .edl-finder-mitem-num {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--edl-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.edl-finder-modal .edl-finder-mitem-name { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.edl-finder-modal .edl-finder-mitem-km { flex: 0 0 auto; font-weight: 700; color: var(--edl-accent-ink); white-space: nowrap; }
.edl-finder-modal .edl-finder-mpanel :focus-visible { outline: 3px solid var(--edl-accent); outline-offset: 2px; }
/* Google's suggestion list must sit above the overlay. */
html.edl-finder-noscroll .pac-container { z-index: 100010 !important; }
.edl-finder-pop { max-width: 260px; font-family: inherit; font-size: 14px; line-height: 1.4; color: #1a1a1a; }
.edl-finder-pop-name { font-size: 16px; font-weight: 700; }
.edl-finder-pop-sub { font-style: italic; color: #666; }
.edl-finder-pop-addr { color: #555; margin-top: 2px; }
.edl-finder-pop-km { color: var(--edl-accent-ink); font-weight: 700; margin-top: 4px; }
.edl-finder-pop-actions { display: flex; gap: 6px; margin-top: 10px; }
.edl-finder-pop .edl-finder-btn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 10px;
  border: 1px solid var(--edl-accent); border-radius: 4px; background: #fff; color: var(--edl-accent);
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.edl-finder-pop .edl-finder-btn--primary { background: var(--edl-accent); color: #fff; }
@media (max-width: 600px) {
  .edl-finder-modal { padding: 0; }
  .edl-finder-modal-box { width: 100%; height: 100%; border-radius: 0; }
  .edl-finder-modal .edl-finder-mpanel { top: 10px; left: 10px; width: auto; right: 66px; max-width: none; padding: 10px; gap: 8px; }
  .edl-finder-modal .edl-finder-mlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .edl-finder-modal .edl-finder-minput, .edl-finder-modal .edl-finder-mgo { height: 44px; }
  .edl-finder-modal .edl-finder-mgo { padding: 0 14px; }
  .edl-finder-modal .edl-finder-mlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); padding-top: 8px; }
  .edl-finder-modal .edl-finder-mlist-head { grid-column: 1 / -1; }
  .edl-finder-modal .edl-finder-mitem { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; padding: 4px 8px; font-size: 14px; }
  .edl-finder-modal .edl-finder-mitem-num { grid-row: 1 / 3; width: 22px; height: 22px; font-size: 12px; }
  .edl-finder-modal .edl-finder-mitem-km { font-size: 13px; }
}

/* ---- Narrower screens ---- */
@media (max-width: 900px) {
  .edl-finder-grid, .edl-finder-grid--n1, .edl-finder-grid--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edl-finder-mapcell { grid-column: 1 / -1; min-height: 220px; }
}
@media (max-width: 600px) {
  .edl-finder { padding: 0 12px; }
  .edl-finder-hero { padding: 16px 0 22px; }
  .edl-finder--banner.has-results .edl-finder-hero { padding-bottom: 72px; }
  .edl-finder--banner.has-results .edl-finder-results { margin-top: -52px; }
  .edl-finder-intro { font-size: 16px; margin-bottom: 14px; }
  .edl-finder .edl-finder-input { flex-basis: 100%; height: 52px; line-height: 52px; font-size: 17px; }
  .edl-finder .edl-finder-go { flex: 1 1 100%; height: 52px; }
  .edl-finder .edl-finder-exact { width: 100%; justify-content: center; }
  .edl-finder-results { padding: 16px; }
  .edl-finder .edl-finder-title { font-size: 18px; }
  .edl-finder-where { display: block; font-size: 15px; }
  .edl-finder-grid, .edl-finder-grid--n1, .edl-finder-grid--n3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .edl-finder-mapcell { min-height: 190px; }
}
