/**
 * FerreImpulso 4.7.1 — prevent unwanted iOS Safari auto-zoom on input focus.
 * iOS Safari may zoom the viewport when the actual input/select text size is <16px.
 * Apply at mobile/tablet widths to user-editable controls only; NEVER disable
 * user-scalable or pinch-to-zoom. Third-party cross-origin iframe fields cannot
 * be styled from the theme and must be fixed by their own provider.
 */
@media screen and (max-width: 1024px) {
  html body :is(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    textarea,
    select,
    [contenteditable="true"],
    [contenteditable=""],
    [role="textbox"][contenteditable]
  ) {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  /* Keep growing inputs from forcing a horizontal viewport overflow. */
  html body :is(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    textarea,
    select
  ) {
    box-sizing: border-box;
    min-width: 0;
  }
}
