/* ALFADHL V13: single final mobile layout layer; no business logic changes. */
@media screen and (max-width: 700px) {
 .client-page {width:100%!important;max-width:100%!important;padding-inline:clamp(13px,3.6vw,20px)!important;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
 .client-page .products-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(12px,3.2vw,18px)!important;align-items:stretch!important}
 .client-page .products-grid .product-card {display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;max-width:100%!important;border-radius:18px!important;overflow:hidden!important}
 .client-page .product-media {height:clamp(135px,40vw,205px)!important;min-height:0!important;padding:10px!important}
 .client-page .product-info {display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important;padding:clamp(10px,3vw,16px)!important;gap:5px!important}
 .client-page .product-info h3 {font-size:clamp(13px,3.8vw,17px)!important;line-height:1.5!important;min-height:3em!important;max-height:none!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow-wrap:anywhere!important;margin:2px 0!important}
 .client-page .product-info>small {font-size:10px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;min-width:0}
 .client-page .product-price-row {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;margin-top:8px!important;padding-block:9px!important}
 .client-page .product-price-row strong {font-size:clamp(14px,3.8vw,19px)!important;max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important}
 .client-page .profit-box {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:10px!important;min-height:0!important;font-size:12px!important}
 .client-page .profit-box strong {font-size:clamp(13px,3.6vw,17px)!important;white-space:normal!important}
 .client-page .quantity-prompt {display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;height:auto!important;min-height:48px!important;max-height:none!important;overflow:visible!important;padding:9px 6px!important;text-align:center!important;font-size:11px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
 .client-page .add-cart-form {min-width:0!important;width:100%!important;margin-top:auto!important}
 .client-page .product-actions {display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:7px!important;align-items:stretch!important;min-width:0!important;width:100%!important;margin-top:8px!important}
 .client-page .product-actions .qty-stepper {display:grid!important;grid-template-columns:minmax(27px,1fr) minmax(28px,1fr) minmax(27px,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px!important;box-sizing:border-box!important}
 .client-page .product-actions .qty-step-btn {width:100%!important;min-width:0!important;height:42px!important;font-size:20px!important;opacity:1}
 .client-page .product-actions .qty-step-btn:disabled {opacity:.5!important;color:#526581!important}
 .client-page .product-actions .qty-step-input {width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;font-size:14px!important}
 .client-page .product-actions .product-add-btn {width:40px!important;min-width:40px!important;max-width:40px!important;height:42px!important;padding:0!important;display:grid!important;place-items:center!important}
 .client-page .catalog-tabs {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:14px 0 18px!important}
 .client-page .catalog-tab {display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;text-align:center!important;padding:12px 8px!important;font-size:clamp(12px,3.4vw,15px)!important;white-space:normal!important;line-height:1.5!important}
 .client-page .product-page-head {margin-block:8px 18px!important}
 .client-page .card, .client-page .cart-layout, .client-page .checkout-shell {min-width:0;max-width:100%}
 .bottom-nav, .client-bottom-nav {padding-bottom:env(safe-area-inset-bottom,0px)}
}
@media screen and (max-width:350px) {
 .client-page .products-grid {grid-template-columns:1fr!important;gap:14px!important}
 .client-page .product-actions {grid-template-columns:minmax(0,1fr) 46px!important}
 .client-page .product-actions .product-add-btn {width:46px!important;min-width:46px!important;max-width:46px!important}
 .client-page .product-media {height:180px!important}
}
@media print { .client-page .product-card {break-inside:avoid} }
