/* Mobile CSS stabilization pass: responsive wrappers, forms and offer badge */
@media screen and (max-width: 767px) {
  .ms-home .ms-builder-special-offers .ms-builder-offers-brand {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .ms-home .ms-builder-special-offers .ms-builder-offers-title {
    width: 70px !important;
    max-width: 70px !important;
    min-width: 0 !important;
    flex: 0 1 70px !important;
    object-fit: contain !important;
  }
  .ms-home .ms-builder-special-offers .ms-builder-offers-percent {
    width: auto !important;
    max-width: 100% !important;
    font-size: 23px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
  }
  .ms-account-login-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .ms-account-login-form input:not([type=hidden]),
  .ms-account-login-form select,
  .ms-account-login-form textarea,
  .ms-account-login-form button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .ms-checkout form, .ms-coupon-box form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .ms-checkout form input:not([type=radio]):not([type=checkbox]),
  .ms-checkout form select, .ms-checkout form textarea,
  .ms-coupon-box input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .ms-home .ms-builder-product-section .ms-builder-product-track,
  .ms-home .ms-builder-products .ms-builder-product-track,
  .ms-home .ms-builder-special-offers .ms-builder-product-track,
  .ms-home .ms-product-track, .ms-home .ms-brands,
  .ms-home .ms-brand-track {
    touch-action: pan-x pan-y pinch-zoom !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
  }
}
