.hmec .hmec-anchor-nav__inner {
  flex-wrap: wrap;
  white-space: normal;
}
.hmec .hmec-anchor-nav__inner[hidden] { display: none; }

.hmec .hm-destination-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: min(100% - 32px, 390px);
  margin: 12px auto;
  padding: 5px;
  background: #eaf3fa;
  border-radius: 14px;
}
.hmec .hm-destination-shortcuts .hm-destination-shortcut {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  margin: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #174c78;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.hmec .hm-destination-shortcuts button.hm-destination-shortcut { background: #fff; }
.hmec .hm-destination-shortcuts .hm-destination-shortcut[aria-current],
.hmec .hm-destination-shortcuts .hm-destination-shortcut:is(:hover,:focus-visible) {
  background: #174c78;
  color: #fff;
}

.hmec .hm-destination-shortcut svg,
.hmec .hm-destination-menu a svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hmec .hm-destination-menu {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 32px), 450px);
  max-height: 85vh;
  max-height: 85dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #112b47;
  box-shadow: 0 16px 48px #10274940;
  overscroll-behavior: contain;
}
.hmec .hm-destination-menu::backdrop { background: #10274988; }
html:has(.hm-destination-menu[open]) { overflow: hidden; }
.hmec .hm-destination-menu__body { padding: 16px; }
.hmec .hm-destination-menu header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.hmec .hm-destination-menu h2 { margin: 0; font-size: 1.23rem; }
.hmec .hm-destination-menu header button {
  min-height: 44px;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: #eaf3fa;
  color: #174c78;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hmec .hm-destination-menu ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hmec .hm-destination-menu ul a {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  min-height: 48px;
  padding: 8px;
  border-radius: 9px;
  background: #edf5fb;
  color: #174c78;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.hmec .hm-destination-menu ul a:is(:hover,:focus-visible,[aria-current]) {
  background: #174c78;
  color: #fff;
}
@media (max-width: 680px) {
  .hmec .hm-destination-menu {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 19px 19px 0 0;
  }
  .hmec .hm-destination-menu__body { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .hmec .hm-destination-menu__body::before {
    display: block;
    width: 33px;
    height: 4px;
    margin: 0 auto 8px;
    border-radius: 4px;
    background: #a4b9cc;
    content: "";
  }
  .hmec .hm-destination-menu[open] { animation: hm-destination-sheet-in 180ms ease-out; }
}
@keyframes hm-destination-sheet-in {
  from { transform: translateY(24px); opacity: .65; }
}
@media (prefers-reduced-motion: reduce) {
  .hmec .hm-destination-menu[open] { animation: none; }
}

/* Lectura y controles táctiles en las páginas de destino. */
@media (max-width: 760px) {
  .hmec[data-hmec] .hmec-feature { align-items: flex-start; gap: 7px; }
  .hmec[data-hmec] .hmec-feature > svg { flex: 0 0 21px; }
  .hmec[data-hmec] .hmec-feature span { min-width: 0; overflow-wrap: break-word; }
  .hmec[data-hmec] .hmec-feature strong { font-size: 14px; }
  .hmec[data-hmec] .hmec-feature small { font-size: 13px; line-height: 1.4; }

  .hmec[data-hmec] .hmec-actions .hmec-btn,
  .hmec[data-hmec] .hmec-location .hmec-btn,
  .hmec[data-hmec] .hmec-rates__actions .hmec-btn,
  .hmec[data-hmec] .hmec-rules__download {
    min-height: 46px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
  }

  .hmec[data-hmec] .hmec-hero__copy > p,
  .hmec[data-hmec] .hmec-alert p,
  .hmec[data-hmec] .hmec-stay__body li,
  .hmec[data-hmec] .hmec-rules__copy > p,
  .hmec[data-hmec] .hmec-faq__intro > p,
  .hmec[data-hmec] .hmec-accordion details > p {
    font-size: 16px;
    line-height: 1.6;
  }

  .hmec[data-hmec] .hmec-accordion summary {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 16px;
  }
  .hmec[data-hmec] .hmec-accordion details > p { padding-inline: 12px; }
  .hmec[data-hmec] .hmec-faq__contact { min-height: 44px; font-size: 15px; }

  .hmec[data-hmec] .hmec-hero__location,
  .hmec[data-hmec] .hmec-gallery__badge,
  .hmec[data-hmec] .hmec-story__chips > div,
  .hmec[data-hmec] .hmec-stay__facts span,
  .hmec[data-hmec] .hmec-stay__foot small,
  .hmec[data-hmec] .hmec-amenities > div,
  .hmec[data-hmec] .hmec-building__stats span,
  .hmec[data-hmec] .hmec-review,
  .hmec[data-hmec] .hmec-location__address small,
  .hmec[data-hmec] .hmec-rules__aside,
  .hmec[data-hmec] .hmec-experience__tip > span { font-size: 14px; line-height: 1.45; }

  .hmec[data-hmec] .hmec-kicker,
  .hmec[data-hmec] .hmec-stay__eyebrow { font-size: 12px; line-height: 1.4; }

  .hmec[data-hmec] .hm-destination-shortcuts .hm-destination-shortcut,
  .hmec[data-hmec] .hm-destination-menu ul a { font-size: .9375rem; }
}
