/* Touch targets and narrow layouts, after the catalogue's responsive rules. */
@media (max-width:850px), (pointer:coarse) {
 .product-card .add-button,.quantity-control button,.cart-item-actions .quantity-control button,.icon-button,.catalog-search button{min-width:44px;min-height:44px;width:44px;height:44px}
 .quantity-control input,.cart-item-actions .quantity-control input{min-width:44px;height:44px;font-size:16px}
 .remove-item{min-width:44px}
 .remove-item,.clear-active-filters,.catalog-refine>summary,.catalog-refine .reset-filters,.catalog-family-links a,#editCheckoutCart,.form-links button{min-height:44px;display:inline-flex;align-items:center}
 .filter-option,.check-label{min-height:44px;align-items:center}
 .password-field button{min-width:70px;min-height:44px;top:2px;right:4px;font-size:14px}
 .catalog-search input,.sort-control select,.filters select,.variant-select,.contact-form input,.contact-form textarea{font-size:16px}
 .product-card .product-vendor,.product-card .product-unit,.product-card .group-options{font-size:12px}
 .product-card .product-price-row{flex-wrap:wrap}
 .product-dialog,.content-dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)}
 .cart-dialog,.filters-dialog{max-height:100dvh}
 .cart-item>div,.dialog-product-info,.checkout-form,.order-summary,.client-form label,.summary-item>span,.account-summary>div{min-width:0}
 .variant-select{min-width:0;max-width:100%}
 .cart-item-actions{flex-wrap:wrap;gap:10px}
 .cart-item-title,.summary-item>span,.order-card,.dialog-product-info h2{overflow-wrap:anywhere}
 .summary-item>strong{flex-shrink:0}
 .header-action>span{min-width:0;overflow-wrap:anywhere}
 .client-form .check-label{align-items:flex-start}
}
@media(max-width:600px){
 .product-dialog-layout{grid-template-columns:minmax(0,1fr)}
 .product-buy{flex-wrap:wrap}.product-buy>.button{flex:1 1 100%}
 .cart-item{grid-template-columns:64px minmax(0,1fr);gap:12px}
 .cart-item-photo{width:64px;height:74px}
 .product-card .add-button{min-width:44px;width:44px;height:44px}
 .checkout-success{padding:24px 0}
 .form-links{flex-wrap:wrap}
}
