/* Page-end space is additive to each page's existing booking/safe-area reserve. */
html[data-consent-reserve] body::after {
  content: "";
  display: block;
  height: var(--consent-reserve, 0px);
  flex: 0 0 var(--consent-reserve, 0px);
}
html[data-consent-bottom] {
  scroll-padding-bottom: var(--consent-offset, 0px);
}
html[data-consent-bottom] .external-pending-status {
  transform: translateY(calc(-1 * var(--consent-offset, 0px)));
}
html[data-consent-first-layer] #beepko-launcher {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 900px) {
  html[data-consent-bottom] .mobile-booking-bar,
  html[data-consent-bottom] .mobile-screen-bar {
    transform: translateY(calc(-1 * var(--consent-offset, 0px)));
  }
  html[data-consent-bottom] .external-pending-status {
    transform: translate(-50%, calc(-1 * var(--consent-offset, 0px)));
  }
}
@media (min-width: 1024px) {
  html[data-consent-bottom] .offer-page-sidebar {
    max-height: max(64px, calc(100dvh - 112px - var(--consent-offset, 0px)));
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 8px;
  }
}
/* At very short heights let the sidebar scroll with the document. */
@media (min-width: 1024px) and (max-height: 500px) {
  html[data-consent-bottom] .offer-page-sidebar { position: static; max-height: none; overflow: visible; }
}
