/* Mobile refinement for ES and PT-BR inner pages. Home pages are intentionally excluded. */
@media (max-width: 1023px) {
  body.lang-es:not(.path-frontpage),
  body.lang-pt-br:not(.path-frontpage) {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.lang-es:not(.path-frontpage) .body-main,
  body.lang-pt-br:not(.path-frontpage) .body-main {
    overflow: hidden;
  }

  body.lang-es:not(.path-frontpage) .body-main .container,
  body.lang-pt-br:not(.path-frontpage) .body-main .container,
  body.lang-es:not(.path-frontpage) .body-footer .container,
  body.lang-pt-br:not(.path-frontpage) .body-footer .container {
    width: 100% !important;
    max-width: none !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  body.lang-es:not(.path-frontpage) .body-main h1,
  body.lang-pt-br:not(.path-frontpage) .body-main h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.14 !important;
    overflow-wrap: anywhere;
  }

  body.lang-es:not(.path-frontpage) .body-main h2,
  body.lang-pt-br:not(.path-frontpage) .body-main h2 {
    font-size: clamp(23px, 6.8vw, 31px) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere;
  }

  body.lang-es:not(.path-frontpage) .body-main h3,
  body.lang-pt-br:not(.path-frontpage) .body-main h3 {
    font-size: clamp(19px, 5.4vw, 24px) !important;
    line-height: 1.3 !important;
  }

  body.lang-es:not(.path-frontpage) .body-main p,
  body.lang-es:not(.path-frontpage) .body-main li,
  body.lang-pt-br:not(.path-frontpage) .body-main p,
  body.lang-pt-br:not(.path-frontpage) .body-main li {
    overflow-wrap: break-word;
  }

  body.lang-es:not(.path-frontpage) .body-main img,
  body.lang-pt-br:not(.path-frontpage) .body-main img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Do not shrink technical specifications; let the user scroll them horizontally. */
  body.lang-es:not(.path-frontpage) .body-main table,
  body.lang-pt-br:not(.path-frontpage) .body-main table {
    display: block;
    width: max-content !important;
    min-width: 100%;
    max-width: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }

  body.lang-es:not(.path-frontpage) .body-main th,
  body.lang-es:not(.path-frontpage) .body-main td,
  body.lang-pt-br:not(.path-frontpage) .body-main th,
  body.lang-pt-br:not(.path-frontpage) .body-main td {
    padding: 10px 12px;
    vertical-align: top;
    white-space: normal;
  }

  /* Product specification lists and long description media. */
  body.lang-es:not(.path-frontpage) .dtinfo ul,
  body.lang-pt-br:not(.path-frontpage) .dtinfo ul {
    margin: 0;
    padding: 0;
  }

  body.lang-es:not(.path-frontpage) .dtinfo li,
  body.lang-pt-br:not(.path-frontpage) .dtinfo li {
    width: 100% !important;
    min-height: 0 !important;
    padding: 9px 12px !important;
    border-bottom: 1px solid rgba(26, 44, 68, .12);
  }

  body.lang-es:not(.path-frontpage) .dtinfo .leftli,
  body.lang-pt-br:not(.path-frontpage) .dtinfo .leftli {
    font-weight: 700;
    background: #f2f6fb;
  }

  body.lang-es:not(.path-frontpage) .content_dt,
  body.lang-pt-br:not(.path-frontpage) .content_dt {
    overflow: visible;
  }

  /* Inquiry forms remain easy to complete with one hand. */
  body.lang-es:not(.path-frontpage) .sr-sendMsg-row,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-row {
    display: block !important;
  }

  body.lang-es:not(.path-frontpage) .sr-sendMsg-label,
  body.lang-es:not(.path-frontpage) .sr-sendMsg-field,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-label,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-field {
    width: 100% !important;
    max-width: none !important;
  }

  body.lang-es:not(.path-frontpage) .sr-sendMsg-label,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-label {
    margin: 0 0 7px !important;
    text-align: left !important;
  }

  body.lang-es:not(.path-frontpage) .sr-sendMsg-input,
  body.lang-es:not(.path-frontpage) .sr-sendMsg-area,
  body.lang-es:not(.path-frontpage) input:not([type='hidden']),
  body.lang-es:not(.path-frontpage) select,
  body.lang-es:not(.path-frontpage) textarea,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-input,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-area,
  body.lang-pt-br:not(.path-frontpage) input:not([type='hidden']),
  body.lang-pt-br:not(.path-frontpage) select,
  body.lang-pt-br:not(.path-frontpage) textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 46px;
    font-size: 16px !important;
  }

  body.lang-es:not(.path-frontpage) textarea,
  body.lang-pt-br:not(.path-frontpage) textarea {
    min-height: 140px;
  }

  body.lang-es:not(.path-frontpage) .sr-sendMsg-btn,
  body.lang-es:not(.path-frontpage) .body-main button,
  body.lang-es:not(.path-frontpage) .body-main .btn,
  body.lang-pt-br:not(.path-frontpage) .sr-sendMsg-btn,
  body.lang-pt-br:not(.path-frontpage) .body-main button,
  body.lang-pt-br:not(.path-frontpage) .body-main .btn {
    min-height: 46px;
    padding: 12px 18px;
    touch-action: manipulation;
  }

  body.lang-es:not(.path-frontpage) .paragraph--wysiwyg-box,
  body.lang-pt-br:not(.path-frontpage) .paragraph--wysiwyg-box {
    margin-bottom: 20px;
  }

  body.lang-es:not(.path-frontpage) .paragraph--wysiwyg-box .field__item,
  body.lang-pt-br:not(.path-frontpage) .paragraph--wysiwyg-box .field__item {
    height: auto !important;
  }

  body.lang-es:not(.path-frontpage) .body-footer .row,
  body.lang-pt-br:not(.path-frontpage) .body-footer .row {
    row-gap: 26px;
  }

  body.lang-es:not(.path-frontpage) a:focus-visible,
  body.lang-pt-br:not(.path-frontpage) a:focus-visible,
  body.lang-es:not(.path-frontpage) button:focus-visible,
  body.lang-pt-br:not(.path-frontpage) button:focus-visible {
    outline: 3px solid #f7df10;
    outline-offset: 3px;
  }
}

@media (max-width: 479px) {
  body.lang-es:not(.path-frontpage) .body-main .container,
  body.lang-pt-br:not(.path-frontpage) .body-main .container,
  body.lang-es:not(.path-frontpage) .body-footer .container,
  body.lang-pt-br:not(.path-frontpage) .body-footer .container {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.lang-es:not(.path-frontpage) .body-main table,
  body.lang-pt-br:not(.path-frontpage) .body-main table {
    font-size: 14px;
  }
}

@media (orientation: landscape) and (max-width: 1023px) {
  body.lang-es:not(.path-frontpage) .body-main h1,
  body.lang-pt-br:not(.path-frontpage) .body-main h1 {
    font-size: clamp(26px, 5vw, 36px) !important;
  }
}

@supports (padding: max(0px)) {
  @media (max-width: 1023px) {
    body.lang-es:not(.path-frontpage) .body-main .container,
    body.lang-pt-br:not(.path-frontpage) .body-main .container,
    body.lang-es:not(.path-frontpage) .body-footer .container,
    body.lang-pt-br:not(.path-frontpage) .body-footer .container {
      padding-right: max(18px, env(safe-area-inset-right)) !important;
      padding-left: max(18px, env(safe-area-inset-left)) !important;
    }
  }
}
