.tp-product-review-summary {
  padding-top: 5px; 
  position: relative;
  cursor: pointer;
}
.tp-product-review-summary .tp-stars {  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.tp-product-review-summary .tp-stars > span {
  font-size: 14px;
  display:block;
  width: 100%;
  text-align: left;
}
.tp-stars--1 .tp-star:nth-of-type(-n + 1) .tp-star__canvas,
.tp-stars--1 .tp-star:nth-of-type(-n + 1) .tp-star__canvas--half {
    fill: #ff3722
}
.tp-stars--2 .tp-star:nth-of-type(-n + 2) .tp-star__canvas,
.tp-stars--2 .tp-star:nth-of-type(-n + 2) .tp-star__canvas--half {
    fill: #ff8622
}
.tp-stars--3 .tp-star:nth-of-type(-n + 3) .tp-star__canvas,
.tp-stars--3 .tp-star:nth-of-type(-n + 3) .tp-star__canvas--half {
    fill: #ffce00
}
.tp-stars--4 .tp-star:nth-of-type(-n + 4) .tp-star__canvas,
.tp-stars--4 .tp-star:nth-of-type(-n + 4) .tp-star__canvas--half {
    fill: #73cf11
}
.tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas,
.tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas--half {
    fill: #00b67a
}
.tp-stars--1--half .tp-star:nth-of-type(-n + 2) .tp-star__canvas--half {
    fill: #ff3722
}
.tp-stars--2--half .tp-star:nth-of-type(-n + 3) .tp-star__canvas--half {
    fill: #ff8622
}
.tp-stars--3--half .tp-star:nth-of-type(-n + 4) .tp-star__canvas--half {
    fill: #ffce00
}
.tp-stars--4--half .tp-star:nth-of-type(-n + 4) .tp-star__canvas,
.tp-stars--4--half .tp-star:nth-of-type(-n + 4) .tp-star__canvas--half {
    fill: #00b67a
}
.tp-stars--4--half .tp-star:nth-of-type(-n + 5) .tp-star__canvas--half {
    fill: #00b67a
}
.tp-rating-details > div:before {
  background-color: #fff;
  border-right: 1px solid #d6d6d6;
  border-top: 1px solid #d6d6d6;
  content: "";
  display: block;
  height: 16px;
  left: 50%;
  position: absolute;
  top: -13px;
  transform: rotate(-34deg) translateX(-50%) skewX(26deg);
  transform-origin: center;
  width: 16px;
  border-color: rgba(151, 151, 151, .18);
}
.tp-rating-details {
  padding: 10px;
}
.tp-product-review-summary:hover .tp-rating-details {
  display: block !important;
}
.tp-rating-details > div {
  position: absolute;
  top: 100;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: #fff;
  border: 1px solid rgba(151, 151, 151, .18);
  box-shadow: 2px 2px 7px 0 rgba(0, 0, 0, .1);
  max-width: 290px;
  min-width: 200px;    
}
.tp-rating-details .rating-label:last-child {
    margin: 0;
}
.rating-label span:last-child {
    font-size: 14px;
    font-weight: bold;
}
.tp-rating-details .rating-label span:first-child {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0 8px 0 0;
    width: 56px;
    font-size: 14px;
}
.tp-rating-details .rating-bar {
    background-color: #d6d6d6;
    border-radius: 2px;
    height: 4px;
    margin: 0 12px 0 0;
    width: 100%
}
.tp-rating-details .rating-fill {
    height: 100%;
    border-radius: 5px;
}
.tp-rating-details .rating-label {
  -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    margin: 0 0 8px
}
.catalog-category-view .tp-product-review-summary {
    padding: 0;
    z-index: 1;
}
.catalog-category-view .tp-product-review-summary .tp-stars > div {
    height: 15px !important;
    width: auto !important;
}
.catalog-category-view .tp-product-review-summary .tp-stars > div svg {
    width: auto !important;
    vertical-align: text-top;
}
.catalog-category-view .tp-product-review-summary .tp-stars > span {
    line-height: 15px;
}