/* Keep focus readable without triggering iPhone's automatic field zoom.
   Pinch zoom and the device-width viewport remain available. This also covers
   dialogs and controls mounted after the initial document loads. */
@media (max-width: 1024px), (pointer: coarse) {
  html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]):not([type=hidden]),
  html body select,
  html body textarea,
  html body [contenteditable=true] {
    font-size: max(16px, 1rem) !important;
  }
  html body input, html body select, html body textarea { max-width: 100%; }
  .search-field, .catalog-language, .form-grid > label { min-width: 0; }
  .search-field input { min-width: 0; width: 100%; }
}
