{{#if hasReviews}}
<div class="pd-stars-container pd-category pd-stars-theme">
  <div class="pdRatingStarsWrapper" style="--size: var(--product-stars-size, 18px); --rating: {{averageRating}}">
    <span class="pdStars" aria-hidden="true"></span>
    <a class="pdCount" href="#reviews" aria-label="{{reviewCount}} reviews">({{reviewCount}})</a>
    <span class="sr-only">Rated {{averageRating}} out of 5 based on {{reviewCount}} reviews</span>
  </div>
</div>
{{else}}
<div class="pd-stars-container pd-category pd-stars-theme">
  <div class="pdRatingStarsWrapper" style="--size: var(--product-stars-size, 18px); --rating: 0">
    <span class="pdStars" role="img" aria-label="Not yet rated"></span>
    <span class="no-reviews-text">(0)</span>
    <span class="sr-only">Not yet rated</span>
  </div>
</div>
{{/if}}