/* Keep the language control reachable while the home search is pinned. */
@media (max-width: 767.98px) {
  .ge-header.ge-header--scrolls {
    position: sticky;
    top: 0;
    z-index: 45;
  }
  .ge-search {
    top: calc(3.5rem + env(safe-area-inset-top, 0px));
  }
}

/* Coupon sheet owns the vertical gesture; its heading and code entry stay visible. */
#offers-sheet .sheet {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 1rem);
  overflow: hidden;
}
#offers-sheet .sheet > .ge-coupon-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
