/* Eva store locator — Figma 625:16179 (heading row) + 625:16218 (list + map) */
.eva-stores__root { display: block; }

/* Heading row */
.eva-stores__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: clamp(32px, 3.125vw, 60px);
  padding-bottom: clamp(32px, 4.1667vw, 80px);
}
.eva-stores__heading { flex: 0 0 auto; width: min(649px, 40%); }
.eva-stores__crumbs { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; line-height: 24px; letter-spacing: 0.01em; }
.eva-stores .eva-stores__crumbs a { color: inherit; opacity: 0.8; text-decoration: none; }
.eva-stores .eva-stores__crumbs a:hover { opacity: 1; text-decoration: underline; }
.eva-stores__crumbs span[aria-hidden] { opacity: 0.3; }
.eva-stores__crumbs [aria-current] { font-weight: 700; }
.eva-stores__title {
  margin: 0;
  font-family: var(--eva-serif);
  font-weight: 500;
  font-size: clamp(44px, 4.375vw, 84px);
  line-height: 1.107;
  letter-spacing: -0.01em;
}
.eva-stores__intro { margin-top: 12px; font-size: var(--eva-fs-eyebrow); line-height: 1.667; letter-spacing: 0.05em; }

.eva-stores__tools { display: flex; flex: 1; flex-direction: column; gap: 24px; min-width: 0; padding: 10px; }
.eva-stores__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.eva-stores__search {
  display: flex;
  flex: 1 1 360px;
  align-items: stretch;
  max-width: 560px;
  border: 1px solid var(--eva-bosque);
  background: transparent;
}
.eva-stores__search:focus-within { outline: 2px solid var(--eva-bosque); outline-offset: 2px; }
.eva-stores__search-icon { display: flex; align-items: center; padding: 0 14px; }
.eva-stores__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--eva-bosque);
  font-family: var(--eva-sans);
  font-size: 14px;
  letter-spacing: 0.01em;
}
.eva-stores__input::placeholder { color: rgba(57, 22, 19, 0.5); }
.eva-stores__input:focus { outline: none; }
.eva-stores__input::-webkit-search-cancel-button { cursor: pointer; }
.eva-stores__ok {
  padding: 0 22px;
  border: 0;
  background: var(--eva-bosque);
  color: var(--eva-crema);
  font-family: var(--eva-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.eva-stores__ok:hover { background: var(--eva-green); }

.eva-stores__filter { position: relative; }
.eva-stores__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 24px;
  border: 1px solid var(--eva-line-soft);
  background: transparent;
  color: var(--eva-bosque);
  font-family: var(--eva-sans);
  font-weight: 700;
  font-size: var(--eva-fs-eyebrow);
  letter-spacing: 0.05em;
  cursor: pointer;
}
.eva-stores__filter-btn svg { transition: transform 0.2s; }
.eva-stores__filter-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.eva-stores__filter-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 240px;
  padding: 16px 20px;
  border: 1px solid var(--eva-line);
  background: var(--eva-crema);
  box-shadow: 0 8px 24px rgba(57, 22, 19, 0.1);
}
.eva-stores__filter-menu fieldset { margin: 0; padding: 0; border: 0; }
.eva-stores__filter-options { display: grid; gap: 8px; }
.eva-stores__check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 24px; cursor: pointer; }
.eva-stores__check input { width: 16px; height: 16px; margin: 0; accent-color: var(--eva-bosque); }

.eva-stores__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -12px 0 0; padding: 0; list-style: none; }
.eva-stores__chips:empty { display: none; }
.eva-stores__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 10px;
  border: 0;
  background: rgba(43, 70, 51, 0.08);
  color: var(--eva-bosque);
  font-family: var(--eva-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.eva-stores__chip svg { width: 8px; height: 8px; opacity: 0.7; }
.eva-stores__chip:hover { background: rgba(43, 70, 51, 0.16); }
.eva-stores__chip:focus-visible { outline: 2px solid var(--eva-bosque); outline-offset: 2px; }

.eva-stores__locate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--eva-bosque);
  font-family: var(--eva-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.eva-stores__locate:disabled { opacity: 0.6; cursor: progress; }

/* List + map */
.eva-stores__content {
  display: grid;
  grid-template-columns: clamp(320px, 23.9vw, 459px) minmax(0, 1fr);
  max-width: var(--eva-page);
  margin-inline: auto;
}
.eva-stores__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: clamp(640px, 55.4vw, 1063px);
  padding-left: var(--eva-gutter);
  border-right: 1px solid rgba(43, 70, 51, 0.05);
  overflow-y: auto;
}
.eva-stores__summary { padding: 40px 24px; border-bottom: 1px solid rgba(43, 70, 51, 0.05); }
.eva-stores__count {
  margin: 0;
  font-family: var(--eva-serif);
  font-weight: 700;
  font-size: var(--eva-fs-h3);
  line-height: 1.2;
}
.eva-stores__where { margin: 6px 0 0; opacity: 0.6; font-size: 14px; line-height: 24px; letter-spacing: 0.01em; }
.eva-stores__where:empty { display: none; }
.eva-stores__list { margin: 0; padding: 0; list-style: none; }
.eva-stores__empty { margin: 0; padding: 24px; font-size: 14px; }
.eva-stores__more-wrap { padding: 16px 24px; }
.eva-stores__more {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--eva-bosque);
  background: transparent;
  color: var(--eva-bosque);
  opacity: 0.8;
  font-family: var(--eva-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
}
.eva-stores__more:hover { opacity: 1; background: var(--eva-bosque); color: var(--eva-crema); }
.eva-stores__more[hidden] { display: none; }

/* Store card */
.eva-store {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(43, 70, 51, 0.05);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.eva-store[hidden] { display: none; }
.eva-store:hover, .eva-store.is-active { background: rgba(57, 22, 19, 0.02); }
.eva-store__badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(43, 70, 51, 0.1);
  color: var(--eva-bosque);
  font-weight: 600;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.eva-store.is-active .eva-store__badge { background: var(--eva-bosque); color: var(--eva-crema); }
.eva-store__logo { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.eva-store__body { flex: 1; min-width: 0; }
.eva-store__name { margin: 0; font-size: inherit; line-height: inherit; }
.eva-store__select {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-family: var(--eva-sans);
  font-weight: 600;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.eva-store__select:hover { text-decoration: underline; text-underline-offset: 3px; }
.eva-store__line { margin: 2px 0 0; }
.eva-store a.eva-store__phone { color: inherit; text-decoration: none; }
.eva-store a.eva-store__phone:hover { text-decoration: underline; }
.eva-store__distance {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-family: var(--eva-link-font);
  letter-spacing: 0.1em;
}
.eva-store__distance[hidden] { display: none; }
.eva-store__more {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--eva-sans);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.eva-store__more:hover { text-decoration: underline; }
.eva-store__info { margin-top: 8px; }
.eva-store__info p { margin: 0; }
.eva-store__label { font-weight: 600; }
.eva-store__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px !important; }
.eva-store a.eva-store__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.eva-stores__map { position: relative; min-height: clamp(480px, 55.4vw, 1063px); background: var(--eva-sabia); }
.eva-stores__canvas { position: absolute; inset: 0; }
.eva-stores__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
/* Google embed fallback: the map is centred on the selected store, so its pin sits in the
   middle and the card opens just right of it (Figma 625:16109). With MapLibre the card rides
   a marker beside the pin instead (.eva-stores__pop-anchor). */
.eva-stores__pop {
  position: absolute;
  top: 50%;
  left: calc(50% + 28px);
  transform: translateY(-50%);
  max-width: 300px;
  padding: 16px 20px;
  border-left: 3px solid var(--eva-bosque);
  background: var(--eva-crema);
  filter: drop-shadow(0 4px 12px rgba(57, 22, 19, 0.1));
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
}
.eva-stores__pop[hidden] { display: none; }
.eva-stores__pop-anchor { pointer-events: none; }
.eva-stores__pop-anchor .eva-stores__pop { position: static; width: max-content; max-width: 300px; padding: 16px 20px; transform: none; pointer-events: auto; }
.eva-stores__canvas .maplibregl-ctrl-group { border: 1px solid var(--eva-line); border-radius: 0; background: var(--eva-crema); box-shadow: none; }
.eva-stores__canvas .maplibregl-ctrl-group button + button { border-top-color: var(--eva-line); }
.eva-stores__canvas .maplibregl-cooperative-gesture-screen { font-family: var(--eva-sans); }
.eva-stores__pop p { margin: 0; }
.eva-stores__pop-name { font-weight: 700; }
.eva-stores__pop-line { margin-top: 4px !important; opacity: 0.6; }
.eva-stores__pop-hours { margin-top: 3px !important; opacity: 0.5; }
.eva-stores__pop-meta { display: flex; align-items: center; gap: 14px; padding-top: 12px; font-family: var(--eva-link-font); letter-spacing: 0.1em; }
.eva-stores__pop-meta img { height: 18px; width: auto; max-width: 70px; object-fit: contain; }

@media (max-width: 1199px) {
  .eva-stores__top { flex-direction: column; align-items: stretch; }
  .eva-stores__heading { width: 100%; }
  .eva-stores__tools { padding: 0; }
}
@media (max-width: 959px) {
  .eva-stores__row { gap: 12px; }
  .eva-stores__search { flex-basis: 100%; max-width: none; }
  .eva-stores__content { display: flex; flex-direction: column-reverse; }
  .eva-stores__side { max-height: none; padding-left: 0; border-right: 0; overflow: visible; }
  .eva-stores__summary { padding: 24px var(--eva-gutter); }
  .eva-store { padding: 18px var(--eva-gutter); }
  .eva-stores__more-wrap { padding: 16px var(--eva-gutter); }
  .eva-stores__map { min-height: 0; height: 56vw; max-height: 420px; min-height: 280px; }
  .eva-stores__pop { top: auto; bottom: 12px; left: 12px; right: 12px; max-width: none; padding: 10px 14px; transform: none; }
}
