/* Prevent WooCommerce image defaults from expanding payment logos. */
.offscript-shop-footer .payment-logo { width: auto; height: 26px; max-width: 96px; object-fit: contain; }
.offscript-shop-footer .payment-logo-list { gap: 8px; }

/* Allow long product pagination to fit narrow screens. */
.offscript-commerce .woocommerce nav.woocommerce-pagination ul { flex-wrap: wrap; justify-content: center; max-width: 100%; white-space: normal; }

/* The first scene can be taller than a laptop viewport. Keep its CTA above the fixed navigation. */
@media (min-width: 761px) {
  .campaign-home .campaign-intro-bottom {
    bottom: max(calc(var(--chapter) + 95px), calc(100% - 100svh + var(--chapter) + 64px));
  }
}
/* Avoid iOS input zoom and keep touch controls usable without altering payment iframes. */
@media (max-width: 760px) {
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select { font-size: 16px; min-height: 44px; }
  .woocommerce form .form-row .select2-selection--single { min-height: 44px; }
  .woocommerce form .form-row .select2-selection__rendered { line-height: 42px; }
  .woocommerce form .form-row .select2-selection__arrow { height: 42px; }
  .woocommerce #place_order { min-height: 48px; width: 100%; }
}
.woocommerce form.checkout .form-row { scroll-margin-top: 110px; }
