/* Accueil : même rythme visuel que « Meilleures ventes » (5/6 cols desktop). */
.page-index .ps-featuredproducts .products,
.page-index .ps-newproducts .products,
.page-index .ps-bestsellers .products,
.page-index .ps-specials .products,
.page-index .featured-products .products {
  align-items: stretch;
}

.page-index .ps-featuredproducts .product-miniature__top,
.page-index .ps-newproducts .product-miniature__top,
.page-index .ps-bestsellers .product-miniature__top,
.page-index .ps-specials .product-miniature__top,
.page-index .featured-products .product-miniature__top {
  aspect-ratio: 1 / 1;
}

.page-index .ps-featuredproducts .product-miniature__top img,
.page-index .ps-newproducts .product-miniature__top img,
.page-index .ps-bestsellers .product-miniature__top img,
.page-index .ps-specials .product-miniature__top img,
.page-index .featured-products .product-miniature__top img,
.page-index .ps-featuredproducts .product-miniature__image,
.page-index .ps-newproducts .product-miniature__image,
.page-index .ps-bestsellers .product-miniature__image,
.page-index .ps-specials .product-miniature__image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 992px) {
  .page-index .ps-featuredproducts .products,
  .page-index .ps-featuredproducts .module-products__list .products,
  .page-index .ps-newproducts .products,
  .page-index .ps-newproducts .module-products__list .products,
  .page-index .ps-bestsellers .products,
  .page-index .ps-bestsellers .module-products__list .products,
  .page-index .ps-specials .products,
  .page-index .ps-specials .module-products__list .products,
  .page-index .featured-products .products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.75rem;
  }
}

@media (min-width: 1400px) {
  .page-index .ps-featuredproducts .products,
  .page-index .ps-featuredproducts .module-products__list .products,
  .page-index .ps-newproducts .products,
  .page-index .ps-newproducts .module-products__list .products,
  .page-index .ps-bestsellers .products,
  .page-index .ps-bestsellers .module-products__list .products,
  .page-index .ps-specials .products,
  .page-index .ps-specials .module-products__list .products,
  .page-index .featured-products .products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
