/* Compact marketplace product flow. Real stock controls content; CSS never duplicates goods. */
.app .v5-recommendations{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:24px 0}
.app .v5-recommendations .v5-floor-heading{margin-bottom:15px;gap:15px;align-items:center}
.app .v5-recommendations .v5-floor-heading h2{font-size:22px;line-height:1.4;border:0;padding:0;font-weight:650}
.app .v5-recommendations .v5-floor-heading>div{gap:16px;align-items:baseline;flex-wrap:wrap}
.app .v5-recommendations .v5-floor-heading span{font-size:12px;color:#9298a1}
.app .v5-products,.app .commerce-home .mod_you_like .you_like_list ul,.app .catalogue-page .catalogue-products .goods-list-c .wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:23px 16px;align-items:start;min-height:0}
.app .v5-product{min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.app .v5-product:hover{border:0;box-shadow:none}
.app .v5-product-image{width:100%;aspect-ratio:1;border-radius:8px;background:#f5f6f8;overflow:hidden}
.app .v5-product-image img{width:100%;height:100%;padding:0;object-fit:contain;box-sizing:border-box}
.app .v5-product-name{font-size:14px;font-weight:500;line-height:21px;height:42px;min-height:42px;margin:7px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.app .v5-product-price{margin:0;min-height:27px;gap:4px 6px;align-items:baseline;line-height:1.2}
.app .v5-product-price .price .num{font-size:23px!important;font-weight:650;letter-spacing:-.4px}
.app .v5-product-price>span{font-size:10px;line-height:1.5;color:#8a929d}
.app .v5-product-shop{font-size:11px;line-height:18px;margin-top:5px}
.app .catalogue-feed-more{justify-content:flex-start;gap:12px;padding:18px 0 0;font-size:11px}
/* Small inventories occupy only their content width, rather than an empty six-column panel. */
.app .v5-products:has(>.v5-product:only-child),.app .catalogue-products .goods-list-c .wrap:has(>.item:only-child){grid-template-columns:minmax(0,200px)}
.app .v5-recommendations:has(.v5-products>.v5-product:only-child){width:200px;max-width:100%;min-width:0}
.app .v5-recommendations:has(.v5-product:only-child) .v5-floor-heading{flex-wrap:wrap;gap:7px;margin-bottom:12px}
.app .v5-recommendations:has(.v5-product:only-child) .v5-floor-heading span{display:none}
.app .v5-recommendations:has(.v5-product:only-child) .v5-floor-heading h2{font-size:20px}
.app .v5-recommendations:has(.v5-product:only-child) .v5-floor-heading>a{font-size:11px}
.app .v5-recommendations:has(.v5-product:only-child) .catalogue-feed-more{gap:6px;padding-top:12px;line-height:1.7}
.app .catalogue-page .catalogue-products .goods-list-c .wrap .item{padding:0;border:0;min-width:0;margin:0;box-shadow:none;background:transparent}
.app .catalogue-page .catalogue-products .goods-list-c .wrap .item .pic{width:100%;height:auto;aspect-ratio:1;margin:0;border-radius:8px}
.app .catalogue-page .catalogue-products .goods-list-c .wrap .item .info{padding-top:7px}
.app .catalogue-page .catalogue-products .goods-list-c .wrap .item .info .name{height:42px;min-height:42px;line-height:21px;font-size:14px;margin:0 0 5px;font-weight:500}
.app .catalogue-page .catalogue-products .info>.price{height:27px;line-height:27px;margin:0}
.app .catalogue-page .catalogue-products .info>.price .num{font-size:23px;font-weight:650}
.app .catalogue-page .catalogue-products .shop-info{margin-top:5px;font-size:10px;line-height:17px}
.app .catalogue-page .catalogue-products .item_cart_num{margin-top:6px;gap:6px;flex-wrap:wrap}
.app .catalogue-page .catalogue-products .shopping_num{max-width:70px}
.app .catalogue-page .catalogue-products .shopping_act .el-button{font-size:11px;padding-inline:8px;min-height:28px}
.app .catalogue-page .catalogue-products .shopping_num input{width:42px}
.app .catalogue-suggestions{padding:18px 0 0;margin-top:20px}
.app .catalogue-suggestions>p{margin:7px 0 14px}
.app .commerce-home .mod_you_like{background:transparent;padding:0;margin-top:22px}
.app .commerce-home .mod_you_like .you_like_list{background:transparent;padding:0;margin:0}
.app .commerce-home .mod_you_like .you_like_list li{min-width:0;margin:0;width:auto}
.app .commerce-home .mod_you_like .you_like_list li .item{padding:0;border:0;box-shadow:none}
.app .commerce-home .mod_you_like .pro_pic,.app .commerce-home .mod_you_like .pro_pic .pro_pic_link{width:100%;height:auto;aspect-ratio:1;border-radius:8px}
.app .commerce-home .mod_you_like .pro_pic img{width:100%;height:100%;object-fit:contain}
.app .commerce-home .mod_you_like .pro_name{height:42px;min-height:42px;font-size:14px;line-height:21px;margin:7px 0 5px;padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.app .commerce-home .mod_you_like .pro_price{margin:0;padding-top:0;min-height:27px}
.app .commerce-home .mod_you_like .operate_area{margin-top:5px;padding-top:0}
.app .commerce-home .home-warp{row-gap:18px;padding-top:8px}
@media(max-width:1279px){.app .v5-products,.app .commerce-home .mod_you_like .you_like_list ul,.app .catalogue-page .catalogue-products .goods-list-c .wrap{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 15px}}
@media(max-width:1099px){.app .v5-products,.app .commerce-home .mod_you_like .you_like_list ul,.app .catalogue-page .catalogue-products .goods-list-c .wrap{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 14px}}
@media(max-width:839px){.app .v5-products,.app .commerce-home .mod_you_like .you_like_list ul,.app .catalogue-page .catalogue-products .goods-list-c .wrap{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 13px}}
@media(max-width:599px){.app .v5-products,.app .commerce-home .mod_you_like .you_like_list ul,.app .catalogue-page .catalogue-products .goods-list-c .wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 12px}.app .v5-recommendations{margin-top:20px}.app .v5-recommendations .v5-floor-heading h2{font-size:20px}.app .v5-product-name,.app .catalogue-page .catalogue-products .goods-list-c .wrap .item .info .name,.app .commerce-home .mod_you_like .pro_name{font-size:13px;line-height:20px;height:40px;min-height:40px}.app .v5-product-price .price .num{font-size:21px!important}.app .catalogue-page .catalogue-products .info>.price .num{font-size:21px}.app .v5-products:has(>.v5-product:only-child),.app .catalogue-products .goods-list-c .wrap:has(>.item:only-child){grid-template-columns:minmax(0,170px)}.app .v5-recommendations:has(.v5-product:only-child){width:170px}}
/* Keep singleton rules effective after all density breakpoints. */
@media(min-width:600px){.app .v5-products:has(>.v5-product:only-child),.app .catalogue-products .goods-list-c .wrap:has(>.item:only-child){grid-template-columns:minmax(0,200px)}}
