/* WeChat search results only. Preserve native view controls, links and ordering. */
@media(max-width:767px){
html.wymk-mini-brand.route-product-search body #product-search{width:100%!important;max-width:100%!important;padding:0 12px!important;margin:18px 0 28px!important;box-sizing:border-box!important}
html.wymk-mini-brand.route-product-search body #product-search > .row{width:100%!important;margin:0!important}
html.wymk-mini-brand.route-product-search body #product-search #content{width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important}
html.wymk-mini-brand.route-product-search body #product-search .search-products-title{font-size:18px!important;line-height:1.4!important;margin:0 0 12px!important;padding:0!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products-wrapper{width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;align-items:stretch!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products::before,
html.wymk-mini-brand.route-product-search body #product-search .main-products::after{display:none!important;content:none!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .product-layout{display:block!important;float:none!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .product-thumb{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;padding:10px!important;margin:0!important;box-sizing:border-box!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .image-group{flex:0 0 120px!important;width:120px!important;min-width:0!important;max-width:none!important;height:120px!important;margin:0!important;padding:0!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .image,
html.wymk-mini-brand.route-product-search body #product-search .main-products .product-img,
html.wymk-mini-brand.route-product-search body #product-search .main-products .product-img > div{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .image::before{display:none!important;content:none!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .product-img .img-first{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;margin:0!important;padding:2px!important;transform:none!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .caption{display:flex!important;flex:1 1 0%!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:8px!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .name{order:0!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .name a{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;max-height:4.5em!important;text-align:left!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products .stats{order:1!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.4!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products.product-grid .product-thumb{flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;padding:8px!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products.product-grid .image-group{flex:0 0 auto!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products.product-grid .caption{flex:1 1 auto!important;width:100%!important;justify-content:flex-start!important;gap:6px!important}
html.wymk-mini-brand.route-product-search body #product-search .main-products.product-grid .name a{font-size:13px!important;line-height:1.45!important;max-height:4.35em!important}
/* Retain sorting and page-size selection without the previous cramped controls. */
html.wymk-mini-brand.route-product-search body #product-search .products-filter{gap:8px!important;padding:8px!important;margin:0 0 12px!important;min-height:0!important;box-sizing:border-box!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter .grid-list{flex:0 0 auto!important;margin:0!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter .view-btn{width:32px!important;min-width:32px!important;height:36px!important;padding:0!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter .select-group{display:flex!important;flex:1 1 0%!important;min-width:0!important;gap:6px!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter .sort-by{flex:1 1 0%!important;min-width:0!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter .per-page{flex:0 0 58px!important;min-width:58px!important}
html.wymk-mini-brand.route-product-search body #product-search .products-filter select{width:100%!important;min-width:0!important;height:36px!important;padding:4px 18px 4px 8px!important;font-size:13px!important;line-height:1.4!important}
}
