/* V0.2.11: consistent WooCommerce product-card ratings on every page.
   Use a fixed 5-star SVG strip rather than text glyphs, which were clipping
   the fifth star on some themes. WooCommerce controls the gold overlay width
   via its existing rating percentage on .star-rating > span. */
.woocommerce ul.products li.product .star-rating,
.woocommerce .products .star-rating,
ul.products li.product .star-rating,
.wc-block-grid__product .star-rating {
  display:inline-block!important;
  position:relative!important;
  float:none!important;
  vertical-align:middle!important;
  box-sizing:content-box!important;
  width:110px!important;
  height:22px!important;
  min-width:110px!important;
  max-width:110px!important;
  line-height:22px!important;
  overflow:hidden!important;
  font-size:0!important;
  letter-spacing:0!important;
  font-family:Arial,sans-serif!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23d8ccd9' d='M11 1.3l2.99 6.05 6.67.97-4.83 4.71 1.14 6.64L11 16.54l-5.97 3.13 1.14-6.64-4.83-4.71 6.67-.97z'/%3E%3C/svg%3E")!important;
  background-size:22px 22px!important;
  background-position:0 0!important;
  background-repeat:repeat-x!important;
}
.woocommerce ul.products li.product .star-rating::before,
.woocommerce .products .star-rating::before,
ul.products li.product .star-rating::before,
.wc-block-grid__product .star-rating::before,
.woocommerce ul.products li.product .star-rating>span::before,
.woocommerce .products .star-rating>span::before,
ul.products li.product .star-rating>span::before,
.wc-block-grid__product .star-rating>span::before {
  content:none!important;
  display:none!important;
}
.woocommerce ul.products li.product .star-rating>span,
.woocommerce .products .star-rating>span,
ul.products li.product .star-rating>span,
.wc-block-grid__product .star-rating>span {
  display:block!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  height:22px!important;
  max-width:110px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  font-size:0!important;
  text-indent:-9999px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23e5a82e' d='M11 1.3l2.99 6.05 6.67.97-4.83 4.71 1.14 6.64L11 16.54l-5.97 3.13 1.14-6.64-4.83-4.71 6.67-.97z'/%3E%3C/svg%3E")!important;
  background-size:22px 22px!important;
  background-position:0 0!important;
  background-repeat:repeat-x!important;
}
