/* Preserve the production H5 scroll fix in every normal web build. */
.product-shell {
  height: var(--app-viewport-height, 100dvh);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.product-tabs {
  padding-bottom: env(safe-area-inset-bottom);
}

.station-choice {
  max-height: min(75dvh, calc(var(--app-viewport-height, 100dvh) - 20px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .station-choice {
    max-height: calc(var(--app-viewport-height, 100dvh) - env(safe-area-inset-top) - 12px);
  }
}
