/* 首页商品图：完整展现 + 自动对齐（全部俱乐部站点共享）
   覆盖 grid / grid-three / list / current(原始瀑布流) 四种布局 */
/* 1) 图片容器：统一正方形占位(避免懒加载高度塌陷)，居中显示 */
html .ds-home-goods .waterfall-item__image,
html .index-container[data-v-0169fc58] .waterfall-item__image,
html[data-ds-homegoods="current"] .waterfall-item__image{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:auto!important;aspect-ratio:1/1!important;
  min-height:0!important;overflow:hidden!important;background:#f7f8fa!important;
}
/* 2) 商品主图：完整展现(contain) + 铺满容器 + 居中对齐 */
html .ds-home-goods .waterfall-item__image-img,
html .index-container[data-v-0169fc58] .waterfall-item__image-img,
html[data-ds-homegoods="current"] .waterfall-item__image-img{
  display:block!important;object-fit:contain!important;object-position:center center!important;
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
}
/* 3) 标题：固定两行高度，单行也占两行 → 同行价格行对齐 */
html .ds-home-goods .waterfall-item__ft__title,
html[data-ds-homegoods="current"] .waterfall-item__ft__title{
  min-height:40px!important;max-height:40px!important;height:40px!important;
  line-height:20px!important;overflow:hidden!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
}
/* 4) 价格+下单行沉底对齐 */
html .ds-home-goods .home-goods-card-footer,
html[data-ds-homegoods="current"] .home-goods-card-footer{
  margin-top:auto!important;align-items:center!important;
}
