/* Enterprise component: ratings and stars. */
.rp-rating {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:12px;
  line-height:1;
}
.rp-rating.compact { font-size:11px; }
.rp-rating.large { font-size:14px; }
.rp-stars {
  position:relative;
  display:inline-block;
  font-size:15px;
  letter-spacing:.06em;
  line-height:1;
}
.rp-rating.large .rp-stars { font-size:19px; }
.rp-stars-empty { color:rgba(0,0,0,.18); }
.rp-stars-fill {
  position:absolute;
  left:0;
  top:0;
  overflow:hidden;
  white-space:nowrap;
  color:#000;
}
.rp-rating-text {
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.rp-card-rating {
  width:100%;
  margin-top:10px;
  min-height:18px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-align:left;
}
.rp-card-rating .rp-stars { font-size:13px; }
.product-card .rp-rating-text:empty,
.search-full .search-results .rp-rating-text:empty,
.rp-wishlist-grid .rp-rating-text:empty { display:none; }
.product-card .rp-rating-text { display:none; }
.rp-single-rating {
  width:100%;
  margin:0 0 18px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  background:#fff;
  text-align:left;
}
.rp-single-rating > span:last-child {
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
body.rp-theme {
  --star-gold:#d6a21e;
  --star-muted:#d6a21e;
}
body.rp-theme .rp-stars,
body.rp-theme .rp-stars span,
body.rp-theme .rp-card-rating,
body.rp-theme .rp-card-rating *,
body.rp-theme .rp-single-rating,
body.rp-theme .rp-single-rating *,
body.rp-theme .comment-form-rating .stars,
body.rp-theme .comment-form-rating .stars *,
body.rp-theme .woocommerce .star-rating,
body.rp-theme .woocommerce .star-rating *,
body.rp-theme .star-rating,
body.rp-theme .star-rating *,
body.rp-theme [class*="star"] { color:#d6a21e; }
body.rp-theme .woocommerce .star-rating::before,
body.rp-theme .woocommerce .star-rating span::before,
body.rp-theme .star-rating::before,
body.rp-theme .star-rating span::before { color:#d6a21e; }
@media (max-width:767px) {
  .rp-single-rating { display:grid; }
}
