/* Captain Order: mobile form focus stability (iOS Safari and mobile browsers).
   iOS Safari auto-zooms focused editable fields when computed font size < 16px.
   Preserve user pinch-zoom / accessibility: no viewport zoom disabling. */
@media screen and (max-width: 1024px) and (pointer: coarse) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]),
  html body textarea,
  html body select,
  html body input:focus,
  html body textarea:focus,
  html body select:focus {
    font-size: 16px !important;
  }
  /* Prevent nested order form variants from overriding the safe input size. */
  html[data-co-theme] .co-order-shell input:not([type="checkbox"]):not([type="radio"]),
  html[data-co-theme] .co-order-shell textarea,
  html[data-co-theme] .co-order-shell select,
  html[data-co-theme] .co-order-shell .phone-input input {
    font-size: 16px !important;
  }
}
