.store-open {
  align-self: flex-start;
  width: fit-content;
  margin-top: 20px;
}

.store-directory {
  --store-map-height: clamp(390px, 42vw, 570px);
  --store-rule: #23473530;
  margin-top: clamp(38px, 6vw, 84px);
  scroll-margin-top: 12px;
}
.store-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 25px;
  margin-bottom: 18px;
}
.store-heading h3 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 790;
  letter-spacing: -.053em;
  line-height: 1.12;
  color: var(--p-ink);
}
.store-source, .store-card-map {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
  color: #253a9e;
  font-size: 14px;
  font-weight: 740;
}
.store-source { min-height: 36px; }
.store-source:hover, .store-card-map:hover { text-decoration: underline; text-underline-offset: 3px; }
.store-source .p-icon, .store-card-map .p-icon { width: 15px; height: 15px; }
.store-filters {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1fr) minmax(0, 1.53fr);
  gap: 10px;
  margin-bottom: 13px;
}
.store-filters label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #344d45;
  font-size: 13px;
  font-weight: 740;
}
.store-filters select, .store-filters input {
  min-width: 0;
  max-width: none;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--store-rule);
  border-radius: 9px;
  color: var(--p-ink);
  background: #f9fbf7;
  font-family: inherit;
  font-size: 15px;
}
.store-filters input:focus-visible { outline: 2px solid #6782fb; outline-offset: 2px; }
.store-filters input::placeholder { color: #5b6c66; }
.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 11px;
}
.store-map-frame, .store-results {
  border: 1px solid var(--store-rule);
  border-radius: 16px;
  overflow: hidden;
  background: #f6faf3;
}
.store-map-frame { margin: 0; }
.store-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: var(--store-map-height);
  background: #d3e5ea;
  font-family: var(--font);
}
.store-map-unavailable {
  display: grid;
  align-content: center;
  padding: 20px;
  color: var(--p-ink);
  text-align: center;
}
.store-map-frame figcaption {
  margin: 0;
  padding: 9px 12px;
  color: #43554e;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid var(--store-rule);
}
.store-map .store-map-pin {
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2b41bb;
  color: #fff;
  box-shadow: 0 2px 7px #13224447;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.store-map .store-map-pin:is(:hover, :focus-visible, .store-map-pin-selected) {
  border-color: #17234e;
  background: var(--p-lime);
  color: #17234e;
}
.store-map .leaflet-tooltip { font-weight: 700; }
.store-map .leaflet-control-attribution { max-width: 100%; white-space: normal; }
.store-results {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(var(--store-map-height) + 38px);
}
.store-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px;
  min-height: 49px;
  padding: 8px 12px;
  background: #eff5e9;
  border-bottom: 1px solid var(--store-rule);
}
.store-result-count {
  margin: 0;
  font-size: 15px;
  font-weight: 770;
  color: var(--p-ink);
}
.store-area-reset {
  padding: 5px;
  color: #253a9e;
  font: 700 13px/1.3 var(--font);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-list-window { min-height: 0; overflow-y: auto; scrollbar-color: #95ad9f transparent; }
.store-list-window:focus-visible { outline-offset: -3px; }
.store-list, .store-card-products { margin: 0; padding: 0; list-style: none; }
.store-card {
  padding: 14px 12px;
  border-bottom: 1px solid var(--store-rule);
}
.store-card:last-child { border-bottom: 0; }
.store-card-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.store-card-area, .store-card-detail {
  margin: 0;
  color: #52665b;
  font-size: 13px;
  line-height: 1.45;
}
.store-card h4 {
  margin: 3px 0;
  color: var(--p-ink);
  font-size: 17px;
  font-weight: 770;
  line-height: 1.27;
  letter-spacing: -.018em;
}
.store-card-map {
  flex: 0 0 auto;
  min-height: 38px;
  padding-inline: 6px;
  font-size: 13px;
}
.store-card-products { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.store-card-products li {
  padding: 4px 8px;
  border-radius: 999px;
  color: #2e4551;
  background: #e6eeea;
  font-size: 12px;
  font-weight: 660;
  line-height: 1.32;
}
.store-empty { margin: 20px 12px; color: #40514a; font-size: 15px; }
.store-stock-note { margin: 11px 0 0; color: #43554e; line-height: 1.5; font-size: 13px; }

@media (max-width: 760px) {
  .store-directory { --store-map-height: clamp(320px, 66vw, 415px); }
  .store-layout { grid-template-columns: minmax(0, 1fr); }
  .store-results { height: min(420px, 57vh); }
}
@media (max-width: 540px) {
  .store-heading { gap: 5px; margin-bottom: 12px; }
  .store-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-search { grid-column: 1 / -1; }
  .store-card h4 { font-size: 16px; }
  .store-card-area, .store-card-detail { font-size: 12px; }
  .store-card-map { padding-inline: 0; }
}
