/* New components. Existing page and panel cascade remains in its established order. */
:root {
  --mh-line: 1.5px;
  --mh-orange-ink: #ab4212;
}
.chapter-label > i {
  height: 20px;
  background: transparent url("../assets/horizon-line.svg") center/100% 20px
    no-repeat;
  border: 0;
}
.store-thumbnail {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 12px 12px 12px 4px;
  background: #f3eee5;
  color: #ab4212;
}
.store-thumbnail > span {
  display: grid;
  place-items: center;
}
.store-thumbnail svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.5;
}
.store-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-selection-heading .store-thumbnail {
  width: 42px;
  height: 42px;
}
.store-contact-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background: #faf8f4;
  color: #142b59;
  box-shadow: 0 22px 80px #081b3660;
  overflow: auto;
}
.store-contact-dialog::backdrop {
  background: #081b36c9;
  backdrop-filter: blur(4px);
}
.store-contact-dialog > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #173c72;
  color: white;
}
.store-contact-dialog h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 7px 0 0;
}
.store-contact-dialog .eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #fbc394;
}
.store-contact-dialog .icon-btn {
  width: 44px;
  height: 44px;
  flex: none;
  color: white;
  background: #ffffff0d;
  border: 1px solid #ffffff40;
}
.contact-dialog-body {
  padding: 24px;
}
.contact-dialog-body > label {
  display: block;
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 10px;
}
.contact-dialog-body select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aeb9c9;
  background: white;
  color: #142b59;
  font: inherit;
  font-size: 16px;
  border-radius: 8px;
  padding: 10px 12px;
}
.contact-prompt {
  margin-top: 20px;
  line-height: 1.7;
  color: #52617a;
}
.contact-store-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 16px;
}
.contact-store-heading h3 {
  font-size: 24px;
  line-height: 1.25;
}
.contact-store-address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.65;
}
.contact-store-address svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: #ab4212;
}
.contact-phone {
  margin: 20px 0 8px;
}
.contact-phone > a {
  font-size: 24px;
  font-weight: 700;
  color: #173c72;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-phone > small,
.call-cost {
  display: block;
  font-size: 13px;
  color: #52617a;
  line-height: 1.6;
  margin-top: 5px;
}
.contact-data-note,
.external-note {
  font-size: 12px;
  line-height: 1.65;
  color: #52617a;
  margin-top: 10px;
}
.contact-direct-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.contact-direct-actions .btn {
  flex: 1;
  min-width: 150px;
  min-height: 48px;
  justify-content: space-between;
  font-size: 14px;
}
.store-call {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.store-call .contact-detail {
  min-height: 44px;
}
.map-loading {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: #edf1f4;
  color: #142b59;
  font-size: 13px;
}
.map-provider-note {
  margin: 0;
  padding: 0 20px 12px;
  color: #52617a;
  font-size: 12px;
  line-height: 1.6;
}
.map-provider-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.favorites-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 18px;
  color: #52617a;
  font-size: 12px;
  line-height: 1.65;
}
.favorites-info .text-link {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #173c72;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.favorites-info [role="status"] {
  flex-basis: 100%;
  color: #173c72;
}
.footer-legal {
  display: flex;
  gap: 10px 28px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid #ffffff24;
  font-size: 13px;
}
.footer-legal a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-legal .complaints-link {
  color: #ffd0a9;
}
@media (max-width: 720px) {
  .store-contact-dialog > header,
  .contact-dialog-body {
    padding: 20px;
  }
  .store-contact-dialog h2 {
    font-size: 21px;
  }
  #app .map-selection-heading > .store-thumbnail {
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1 / 3;
  }
  #app .home-editorial .map-selection-heading {
    grid-template-columns: 36px minmax(0, 1fr) 44px 44px;
    gap: 0 6px;
  }
  #app .home-editorial .map-selection-heading > div,
  #app .home-editorial .map-selection-heading .store-status {
    grid-column: 2;
  }
  #app .home-editorial .map-selection-heading .favorite {
    grid-column: 3;
  }
  #app .home-editorial .map-selection-heading [data-clear-map-store] {
    grid-column: 4;
  }
  #app .map-selection .external-note {
    font-size: 11px;
    margin-top: 8px;
  }
  .map-provider-note {
    padding: 0 12px 10px;
    font-size: 11px;
  }
  #app .header-inner {
    height: calc(72px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  #app .header .nav {
    top: calc(72px + env(safe-area-inset-top));
  }
  #app .footer-legal {
    gap: 2px 20px;
    padding-block: 18px;
    font-size: 13px;
  }
}
@media (max-height: 500px) {
  .store-contact-dialog {
    max-height: calc(100dvh - 16px);
  }
  .store-contact-dialog > header {
    padding: 12px 20px;
  }
}
.home-ticker {
  display: flex;
  align-items: stretch;
}
.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.local-content-notice{margin-block:20px;padding:16px;border:1px solid #d5b992;border-radius:8px;background:#fff8ed;color:#694821;font-size:14px;line-height:1.7}
