/* Предотвращаем зум на всем сайте */
html {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

* {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
  font-size: 16px !important; /* iOS не будет зумить если шрифт >= 16px */
  max-height: 100%;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  textarea {
    font-size: 16px !important;
  }
}

/* Глобальное скрытие полосы прокрутки для вертикального скролла */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Для мобильных устройств - усиленное скрытие полосы прокрутки */
@media (max-width: 768px) {
  :-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
  }

  ::-webkit-scrollbar-thumb {
    display: none !important;
  }

  ::-webkit-scrollbar-track {
    display: none !important;
  }

  * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
}
