/* Comfortable thumb targets on touch screens (2026-11-09). Only phones and tablets: mouse screens are not affected.
   Apple and Google recommend at least about 44 x 44 px for anything you tap. */
@media (hover: none) and (pointer: coarse) {
    /* footer link lists */
    .footer-section ul li { margin-bottom: 0; }
    .footer-section ul li a, .footer-bottom a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    /* buttons and chips */
    .hp-btn, .hp-chip, .hp-dealtab, .hp-tab, .mapbtn, .sr-copy, .sr-mapbtn, .sr-pager button, .tdr-act-btn { min-height: 44px; box-sizing: border-box !important; }
    /* The 44 px minimum counts the padding too (it used to be added on top, so buttons came out ~70 px tall with the text stuck at the top),
       and a button's label is centred in whatever height it has. */
    .hp-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.25; }
    .hp-btn[style*="display:block"], .hp-btn[style*="display: block"] { display: flex !important; }
    /* hero slide dots: the dot stays small, the tappable area grows */
    .hp-dot { position: relative; }
    .hp-dot::after { content: ''; position: absolute; left: -7px; right: -7px; top: -18px; bottom: -18px; }
    /* links that stand alone in a row of text */
    .rtitle, .related-tour-title, .tdr-op-link, .tdr-review-link { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
    /* checkboxes and radio buttons in filters: bigger box, and the whole label row is tappable */
    label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { min-height: 44px; display: flex; align-items: center; gap: 10px; }
    input[type="checkbox"], input[type="radio"] { min-width: 20px; min-height: 20px; }
}

/* iPhone / iPad only: no elastic bounce past the end of the page. When the footer was reached with a fling, iOS drew a tall empty
   band under it (the system's grey, not part of the site). Pull-to-refresh on Android is left alone. */
@supports (-webkit-touch-callout: none) {
    html, body { overscroll-behavior-y: none; }
}
