/* Shared mobile readability and touch controls; desktop layouts stay unchanged. */
@media(max-width:900px){#detailModal .detail-layout{display:flex;flex-direction:column;gap:24px}#detailModal .detail-gallery,#detailModal .detail-copy{width:100%;min-width:0}}
@media(max-width:850px){
  .nav .mobile-menu-toggle{min-width:44px;min-height:44px}
  .nav .navlinks{max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
  .nav .navlinks>a,.nav .nav-product>a,.nav .nav-dropdown a,.nav .nav-dropdown-toggle{min-height:44px;box-sizing:border-box}
}
@media(max-width:650px){
  input,select,textarea{font-size:16px!important;min-height:44px;max-width:100%;box-sizing:border-box}
  .btn,.filter,.product-card .textlink.clean{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .catalog-toolbar{gap:18px;align-items:stretch}
  .catalog-search-label{width:100%;max-width:100%;font-size:14px}
  .filters{gap:8px;flex-wrap:wrap}
  .filter{font-size:13px;padding:10px 14px}
  .catalog-group .product-grid,.products-section .product-grid{gap:12px}
  .product-card .cardbody{padding:12px}
  .product-card .cardbody h3{font-size:16px;line-height:1.5;min-height:3em;overflow-wrap:anywhere}
  .product-card .textlink.clean{font-size:13px;line-height:1.5;padding:10px 8px}
  .product-card .product-image-wrap{height:160px}
  .product-card .product-image-wrap img{max-height:145px}
  .product-peek{display:none}
  .consumables-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .consumables-photo button{padding:10px;cursor:pointer}
  .consumables-photo img{height:180px;margin-bottom:8px}
  .consumables-photo button span{font-size:12px;line-height:1.5}
  .consumables-photo figcaption{padding:10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
  .consumables-intro,.consumables-enquiry{font-size:15px}
  .consumables-enquiry{padding:18px}
  .detail-copy h2{font-size:26px;line-height:1.4;overflow-wrap:anywhere}
  .detail-copy p{font-size:15px;line-height:1.85}
  .product-spec-table{width:100%;table-layout:fixed;font-size:14px}
  .product-spec-table th,.product-spec-table td{overflow-wrap:anywhere;word-break:normal;padding:10px 8px;line-height:1.7}
  .product-spec-table th{width:38%}
  #detailModal .close{min-width:44px;min-height:44px}
  .product-magnifier-button{min-height:44px}
  .related-actions{gap:12px}
  .related-actions a{min-height:44px;display:inline-flex;align-items:center}
  .shortcut-card em{min-height:40px;display:inline-flex;align-items:center;font-size:12px}
  .footer-links,.site-footer .wrap{flex-wrap:wrap;gap:12px}
  .footer-links a,.site-footer a{display:inline-flex;align-items:center;min-height:44px}
  .article-wrap{padding:24px 14px 44px}
  .article-head,.article-body{padding:20px}
  .article-head h1{font-size:28px;line-height:1.5;overflow-wrap:anywhere}
  .article-head .intro{font-size:16px;line-height:1.85}
  .article-body{font-size:16px;overflow-wrap:anywhere}
  .article-body h2{font-size:22px;line-height:1.5}
  .article-body .note,.article-body .cta{padding:16px}
}
@media(max-width:359px){
  .catalog-group .product-grid,.products-section .product-grid,.consumables-grid{grid-template-columns:minmax(0,1fr)}
  .product-card .cardbody h3{min-height:0}
  .consumables-photo img{height:230px}
  .shortcut-card strong{font-size:14px}
}
