/* v374 — Keep the Trips screen on one native vertical scroll surface.
   The previous generic card-grid touch rules could direction-lock the first
   upward swipe on mobile browsers when the gesture started over a card. */
@media (max-width: 760px) {
  html,
  body {
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: auto !important;
  }

  body {
    overflow-x: hidden !important;
  }

  #page-trips,
  #page-trips .trip-section,
  #page-trips .trip-booking-grid,
  #page-trips .home-feed-grid,
  #page-trips .stay-listing-grid,
  #page-trips .trip-booking-card,
  #page-trips .home-feed-card,
  #page-trips .stay-card {
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    touch-action: auto !important;
  }

  #page-trips .trip-booking-grid,
  #page-trips .home-feed-grid,
  #page-trips .stay-listing-grid {
    overflow-x: visible !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-snap-type: none !important;
  }

  /* Remove costly movement hints from long card lists while swiping. */
  #page-trips .trip-booking-card,
  #page-trips .home-feed-card,
  #page-trips .stay-card {
    transform: none !important;
    will-change: auto !important;
  }
}

