/* Teras Legacy Get a Quote — real phone/tablet scroll repair v52.3.19 */
@media (max-width: 1200px), (hover:none) and (pointer:coarse) {
  html, body {
    width:100% !important;
    height:auto !important;
    min-height:100% !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    position:relative !important;
    touch-action:pan-y pinch-zoom !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body, .tl-shell, main, .tl-public-page, .tl-public-page-get-a-quote {
    display:block !important;
    flex:none !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:visible !important;
    position:relative !important;
    contain:none !important;
    touch-action:pan-y pinch-zoom !important;
  }
  .tl-page-hero-motion {
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:calc(100svh - 72px) !important;
    max-height:none !important;
    overflow:hidden !important;
    touch-action:pan-y pinch-zoom !important;
    contain:none !important;
  }
  .tl-page-hero-motion > *,
  .tl-page-hero-media,
  .tl-page-hero-overlay,
  .tl-page-hero-guides,
  .tl-page-hero-shade,
  .tl-page-hero-lines { touch-action:pan-y pinch-zoom !important; }
  .tl-page-hero-media,
  .tl-page-hero-overlay,
  .tl-page-hero-guides,
  .tl-page-hero-shade,
  .tl-page-hero-lines { pointer-events:none !important; }
  .tl-page-hero-motion a,
  .tl-page-hero-motion button,
  .tl-page-hero-motion input,
  .tl-page-hero-motion select,
  .tl-page-hero-motion textarea,
  .tl-page-hero-motion [role="button"] { pointer-events:auto !important; }
  .tl-guided-enquiry-section,
  .tl-guided-enquiry,
  .tl-enquiry-wizard,
  .tl-wizard-panel,
  .tl-footer {
    position:relative !important;
    display:block !important;
    flex:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    contain:none !important;
    touch-action:pan-y pinch-zoom !important;
  }
  .tl-wizard-panel[hidden], .tl-wizard-panel[aria-hidden="true"] { display:none !important; }
}
