/* 商品卡片保留自然图片比例；名称完整可读，副图只在交互时加载。 */
.storefront .storefront-product-card{display:flex;flex-direction:column;min-width:0}
.storefront .storefront-product-card .product-media,.storefront .storefront-product-card .product-image-button{background:#f6f6f6}
.storefront .storefront-product-card .product-image-button{position:relative;display:block;width:100%;aspect-ratio:3/4;overflow:hidden;text-decoration:none;color:inherit}
.storefront .storefront-product-card .product-image-button img{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .2s ease}
.storefront .storefront-product-card .product-image-button .product-hover-image{position:absolute;inset:0;z-index:1;opacity:0}
.storefront .storefront-product-card .is-showing-second .product-hover-image{opacity:1}
.storefront .storefront-product-card .product-info{padding:12px 0 0;text-align:left}
.storefront .storefront-product-card .product-topline{display:flex;flex-direction:column;align-items:stretch;gap:0}
.storefront .storefront-product-card .product-identity{display:flex;flex-direction:column;min-width:0}
.storefront .storefront-product-card .product-style{margin:0;font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;letter-spacing:0}
.storefront .storefront-product-card .product-title-button{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer;overflow-wrap:anywhere;text-decoration:none}
.storefront .storefront-product-card .product-title-button:hover{text-decoration:underline;text-underline-offset:3px}
.storefront .storefront-product-card .product-title-button:focus-visible{outline:2px solid #222;outline-offset:4px}
.storefront .storefront-product-card .product-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:6px;color:#202020;font-family:inherit;font-size:18px;font-weight:650;line-height:1.5}
.storefront .storefront-product-card .product-price.is-sale{color:#cf2525}
.product-original-price{color:#888;font-size:14px;font-weight:400}
.storefront .storefront-product-card .product-original-price{order:1}
.sale-badge{position:absolute;z-index:3;top:10px;left:0;padding:5px 12px;background:#dc2525;color:#fff;font-size:13px;font-weight:650}
.storefront .storefront-product-card .product-secondary-info{display:none}
.storefront .storefront-product-card .image-caption{z-index:2;top:auto;right:10px;bottom:10px;left:10px;max-width:none;padding:10px 8px;border-radius:0;background:#ffffffed;color:#222;font-size:11px;line-height:1.4;letter-spacing:.5px;text-align:center}
/* 同排卡片共享图片、名称和价格行，长名称自动撑高整排。 */
@supports(grid-template-rows:subgrid){
 .storefront .storefront-product-card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
 .storefront .storefront-product-card .product-info{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
 .storefront .storefront-product-card .product-topline{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
 .storefront .storefront-product-card .product-price{align-self:start}
}
@media(max-width:749px){
 .storefront .storefront-product-card .product-style{font-size:15px}
 .storefront .storefront-product-card .product-price{font-size:17px}
 .storefront .storefront-product-card .image-caption{right:6px;bottom:6px;left:6px;padding:9px 6px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.storefront .storefront-product-card .product-image-button img{transition:none}}
