/* Collection/shop presentation only: keep source images and product-page galleries untouched. */
.collection-product-grid .product-card>div.product-card-visual,
.product-grid-home .product-card>div.product-card-visual{
  aspect-ratio:1 / 1;
  height:auto;
  min-height:0;
}
.collection-product-grid .product-card-visual>.product-card-original,
.product-grid-home .product-card-visual>.product-card-original{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.collection-product-grid,
.product-grid-home{
  align-items:start;
  gap:clamp(20px,2.4vw,30px);
}
.collection-product-grid .product-card h3,
.product-grid-home .product-card h3{
  min-height:2.4em;
  line-height:1.2;
}
@media (max-width:520px){
  .collection-product-grid,
  .product-grid-home{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:14px;
    row-gap:28px;
  }
  .collection-product-grid .product-card h3,
  .product-grid-home .product-card h3{
    margin-top:12px;
    font-size:16px;
    line-height:1.25;
  }
  .collection-product-grid .product-card p,
  .product-grid-home .product-card p{
    min-height:1.25em;
    margin-bottom:6px;
    font-size:8px;
  }
  .collection-product-grid .product-card>span,
  .product-grid-home .product-card>span{font-size:10px}
}
