/* other.css - Basic styles */

/* Product page styles */
.product-cateitem { margin-bottom: 20px; }
.cate-info { padding: 10px; }
.title { font-weight: bold; }

.lazy-load{display:none!important;display:none!important;display:none!important;display:none!important}

/* 产品卡片图统一尺寸：一排 4 列、边到边；照片完整显示、不裁切、不变形（等比 contain） */
.product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
}
.product-grid > .product-item{
  padding:0!important;margin:0!important;border-radius:0!important;
}
.product-item .pro-img{
  display:flex;align-items:center;justify-content:center;
  width:100%;max-width:100%;margin:0;
  aspect-ratio:1/1;-webkit-aspect-ratio:1/1;
  background:#f7f7f7;
}
.product-item .pro-img img,
.product-item .pro-img .lazy-wrap img,
.product-item .pro-img a img{
  display:block;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  min-height:0!important;min-width:0!important;
}
.product-item .pro-info{padding:10px 12px 16px;}
.product-item .pro-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.product-item .pro-sku{color:#999;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media screen and (max-width:1024px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media screen and (max-width:768px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
}
@media screen and (max-width:480px){
  .product-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important;}
}

/* 老模板分类页（children / tear-drop / lounge 等 kche 列表）同样一排 4 列、边到边、照片完整不裁切不变形 */
.prolist-content .kche-wrap-width{
  display:flex!important;flex-wrap:wrap!important;gap:0!important;
}
.kche-t86-item-flex{
  float:none!important;display:flex!important;flex-direction:column!important;
  width:25%!important;max-width:25%!important;flex:0 0 25%!important;
  box-sizing:border-box!important;padding:0!important;margin:0!important;
}
.kche-t86-item-flex .pro-img,
.kche-t86-item-flex a.pro-img{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;
  aspect-ratio:1/1;-webkit-aspect-ratio:1/1;
  background:#f7f7f7!important;overflow:hidden!important;
}
.kche-t86-item-flex .pro-img img,
.kche-t86-item-flex a.pro-img img{
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  min-height:0!important;
}
.kche-t86-item-flex .pro-info{padding:10px 12px 16px!important;}
@media screen and (max-width:1024px){
  .kche-t86-item-flex{width:33.3333%!important;max-width:33.3333%!important;flex:0 0 33.3333%!important;}
}
@media screen and (max-width:768px){
  .kche-t86-item-flex{width:50%!important;max-width:50%!important;flex:0 0 50%!important;}
}
@media screen and (max-width:480px){
  .kche-t86-item-flex{width:100%!important;max-width:100%!important;flex:0 0 100%!important;}
}
