/*
 * BA Golf Core: site-wide fixes.
 *
 * The off-canvas menu can sit translated 100% to the right and widen the
 * document on phones. Keep the clipping rule global; form styling lives in
 * forms.css and is enqueued only on pages that render Contact Form 7.
 */

html,
body {
  /* Keep a fallback for browsers without `clip`; modern browsers retain
   * clip's non-scroll-container behaviour from the declaration below. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* Keep WooCommerce pagination inside the content column on narrow screens. */
.woocommerce-pagination {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
  flex: 0 0 auto;
  list-style: none;
}
