
.hhm-book-stay-target {
  scroll-margin-top: var(--hhm-booking-scroll-margin, 106px);
}

.hhm-book-stay {
  position: fixed;
  z-index: 990;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 1.15rem;
  max-width: calc(100vw - 36px);
  padding: .72rem;
  border: 1px solid #dce5e9;
  border-radius: 1rem;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(13, 27, 42, .17);
  color: #0d1b2a;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .52s ease, transform .52s ease, visibility 0s linear .52s;
}

.hhm-book-stay.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.hhm-book-stay__copy {
  display: grid;
  gap: .12rem;
  padding-inline-start: .35rem;
  line-height: 1.3;
  min-width: 0;
}

.hhm-book-stay__copy strong { font-size: .9rem; }
.hhm-book-stay__copy span { font-size: .78rem; color: #405461; }
.hhm-book-stay__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: none;
  min-height: 46px;
  padding-inline: 1.2rem;
  border-radius: .62rem;
  background: #0d1b2a;
  color: #fffdf8;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.hhm-book-stay.is-visible .hhm-book-stay__cta { pointer-events: auto; }
.hhm-book-stay__cta:hover { background: #164d66; }
.hhm-book-stay__cta:focus-visible { outline: 3px solid #087aa6; outline-offset: 3px; }
body.nav-open .hhm-book-stay,
body.gallery-modal-open .hhm-book-stay,
body:has(dialog[open]) .hhm-book-stay {
  display: none;
}
body.hhm-has-book-stay { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

@media (max-width: 640px) {
  .hhm-book-stay {
    right: 0;
    bottom: 0;
    left: 0;
    gap: .75rem;
    justify-content: space-between;
    max-width: none;
    padding: .65rem max(.9rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.9rem, env(safe-area-inset-left));
    border: 0;
    border-top: 1px solid #dce5e9;
    border-radius: 0;
  }
  .hhm-book-stay__copy { padding: 0; }
  .hhm-book-stay--gallery { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .hhm-book-stay { transition: none; }
  html:has(body.hhm-has-book-stay) { scroll-behavior: auto; }
}
