/* dh-touch (astron): iPhone/iPad zoom fixes. Loaded last (alphabetical glob in event/theme.php), versioned by filemtime.
   1) no double-tap zoom on arrows / buttons / links (hero slider, product rows, gallery, pager, qty, cards):
      touch-action: manipulation keeps pinch-zoom and scrolling, only drops the double-tap zoom gesture.
   2) no auto-zoom on input focus: iOS Safari zooms into any field with font-size < 16px -> 16px on iOS only. */
html, body,
a, button, input, select, textarea, label, summary, details,
[role="button"], [onclick], [tabindex], .btn,
[class*="arrow"], [class*="-nav"], [class*="prev"], [class*="next"], [class*="dot"],
[class*="qty"], [class*="step"], [class*="thumb"], [class*="card"], [class*="hero"], [class*="slide"] {
  touch-action: manipulation;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@supports (-webkit-touch-callout: none) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 3) header search on iPhone: iOS Safari draws type=search as a rounded pill (native searchfield look,
      ignores border-radius) -> plain field with the same 6px left radius as everywhere else, square to the button. */
.mk-search input[type="search"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  border-radius: 6px 0 0 6px !important;
  background-clip: padding-box; box-shadow: none; margin: 0;
}
.mk-search input[type="search"]::-webkit-search-decoration,
.mk-search input[type="search"]::-webkit-search-cancel-button,
.mk-search input[type="search"]::-webkit-search-results-button,
.mk-search input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; display: none; }
.mk-search .join { align-items: stretch; }
.mk-search .btn { -webkit-appearance: none; appearance: none; }
