/* tap-targets.css: touch devices get 44px hit areas without changing how things look.
   Small text links grow an invisible hit area; buttons and chips get a taller minimum height. */
@media (pointer: coarse), (max-width: 768px) {
  .footer-link, .footer-col a, .breadcrumb a, .testimonial-product, .nav-logo, .card-wish, .mob-menu a,
  .blog-card-link, .read-more, .toc a, .m-toc a {
    position: relative;
  }
  .footer-link::after, .footer-col a::after, .breadcrumb a::after, .testimonial-product::after,
  .nav-logo::after, .card-wish::after, .read-more::after {
    content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
  }
  .footer-link { display: inline-block; }
  .nav-hamburger, .nav-icon-btn { min-width: 44px; min-height: 44px; }
  .hero-popular a, .sort-chip, .dept-tab, .subcat-chip, .filter-chip, .quick-chip, .compare-chip { min-height: 40px; display: inline-flex; align-items: center; }
  .btn, a.btn, button.btn, .btn-buy, .btn-compare, .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .card-wish { min-width: 36px; min-height: 36px; }
  .pager button { min-height: 44px; }
  .share-wa { display: inline-block; padding: 14px 0; }
  .sources-list a { display: inline-block; padding: 12px 0; }
  .price-chip, .toc-item, .cmt-react-btn, .theme-toggle, .hostinger-affiliate-block-list-simple__product-amazon-button { min-height: 44px; }
  .btn-share, .footer-social { position: relative; }
  .btn-share::after, .footer-social::after { content: ''; position: absolute; inset: -4px; }
  .footer-bottom a, .footer-legal a, .footer-links a { position: relative; }
  .footer-bottom a::after, .footer-legal a::after, .footer-links a::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
}

/* floating buttons step aside while the categories sheet or the search overlay is open */
body:has(.bbp-sheet.open) .theme-toggle,
body:has(.bbp-sheet.open) .share-fab,
body:has(.bbp-search-overlay.open) .theme-toggle,
body:has(.bbp-search-overlay.open) .share-fab { display: none !important; }
