/* 手机商品卡：iPhone 4:3 竖拍图片按 3:4 完整展示。 */
.product-open{display:flex;flex-direction:column;border-radius:16px;box-shadow:0 5px 16px #2530530d}
.product-open .product-image{width:100%;height:auto!important;aspect-ratio:1/1;background:#f2f3f5}
.product-open .product-image img{object-fit:cover;object-position:center;background:#f2f3f5}
.product-open .product-body{display:flex;flex:1;flex-direction:column;padding:8px 9px 9px!important}
.product-open .product-title{min-height:34px!important;margin:0!important;font-size:13px!important;line-height:1.3!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-open .card-spec{color:#7d8493;font-size:11px;font-weight:400}
.product-commerce{margin-top:auto}
.product-open .price-row{min-height:25px;align-items:flex-end;gap:4px;overflow:hidden;white-space:nowrap}
.product-open .price{display:inline-flex;align-items:flex-end;line-height:1!important;font-size:18px!important;letter-spacing:-.4px}
.price-value{display:inline-flex;align-items:flex-end;line-height:1}
.product-open .currency{display:inline-block;margin:0;font-size:11px;font-style:normal;font-weight:400;line-height:1}
.product-open .price-amount{font:inherit;line-height:1}
.product-open .price>.price-value .price-amount{transform:translateY(2px)}
.product-open .member-price{display:inline-flex;align-items:flex-end;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1}
.product-open .price-unit{align-self:flex-end;flex:0 0 auto;color:#7d8493;font-size:11px;line-height:1;white-space:nowrap}
.product-open .price-compact{gap:2px}
.product-open .price-compact .price{font-size:15px!important;letter-spacing:-.6px}
.product-open .price-compact .member-price,.product-open .price-compact .price-unit{font-size:9px!important;letter-spacing:-.25px}
.product-open .price-compact .currency{font-size:9px}
.product-open footer{display:flex!important;flex-direction:row!important;align-items:center!important;margin-top:4px!important;min-height:30px}
.product-open .stock{font-size:11px;line-height:1.2}
.card-cart{position:relative;display:grid!important;place-items:center;width:32px!important;height:30px!important;margin:0!important;padding:6px!important;border-radius:9px!important;background:#fff0f1!important;color:#ff5966!important}
.card-cart:after{content:"";position:absolute;inset:-5px -4px}
.card-cart svg,.detail-cart-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card-cart:disabled{background:#f0f1f3!important;color:#aab0bb!important}
.card-cart.added{animation:card-cart-added .34s ease}
@keyframes card-cart-added{0%{transform:scale(1)}45%{transform:scale(.84);background:#ff5966;color:#fff}100%{transform:scale(1)}}
.preview-manage{top:8px!important;right:8px!important;bottom:auto!important;padding:5px 8px!important;border-radius:7px!important}
@media(min-width:331px) and (max-width:365px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.category-row{display:flex;gap:4px;overflow-x:auto;margin-bottom:12px;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.category-row button{flex:1 0 56px;min-width:0;padding:6px 1px;font-size:11px;text-align:center}}
