/**
 * Ticket CAT-CRO-2 — Notes produit visibles (grille catégorie)
 * Scope strict : body.category uniquement.
 * CSS-only reorder : nom → note → prix (sans modifier product-list.tpl partagé).
 * Étoiles calquées sur .netreviews_font_stars (fiche produit).
 */

body.category .product-card .product-card__link {
  flex-direction: column;
  align-items: flex-start;
}

body.category .product-card .reviews {
  order: -1;
  min-height: 20px;
  margin: 6px 0 12px;
}

body.category .product-card .reviews__value--source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.category .product-card .reviews__icon {
  display: none;
}

body.category .product-card .reviews__stars {
  display: inline-block;
}

body.category .product-card .netreviews_font_stars {
  position: relative;
  width: 90px;
  height: 20px;
}

body.category .product-card .netreviews_font_stars > div {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 16px;
  line-height: 16px;
  white-space: nowrap;
}

body.category .product-card .netreviews_font_stars .nr-icon.nr-star {
  display: inline-block;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

body.category .product-card .netreviews_font_stars > div:first-child {
  z-index: 0;
}

body.category .product-card .netreviews_font_stars > div:last-child {
  z-index: 1;
}

body.category .product-card .netreviews_font_stars .nr-icon.nr-star::before {
  content: "\e903";
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  margin-right: 2px;
}

body.category .product-card .netreviews_font_stars .nr-icon.nr-star.grey {
  z-index: 0;
  color: #ccc;
}
