.star_rating .fa-star {
    color: var(--form-grey);
    opacity: 0.5;
    width: max-content;
}

.star1 .fa-star:nth-of-type(1),
.star2 .fa-star:nth-of-type(1),
.star2 .fa-star:nth-of-type(2),
.star3 .fa-star:nth-of-type(1),
.star3 .fa-star:nth-of-type(2),
.star3 .fa-star:nth-of-type(3),
.star4 .fa-star:nth-of-type(1),
.star4 .fa-star:nth-of-type(2),
.star4 .fa-star:nth-of-type(3),
.star4 .fa-star:nth-of-type(4),
.star5 .fa-star:nth-of-type(1),
.star5 .fa-star:nth-of-type(2),
.star5 .fa-star:nth-of-type(3),
.star5 .fa-star:nth-of-type(4),
.star5 .fa-star:nth-of-type(5) {
    color: var(--gold);
    opacity: 1;
}

.score {
    display: block;
    font-size: 16px;
    position: relative;
    margin-top: 7px;
    /* overflow: hidden; */
}
  
.score-wrap {
    display: inline-block;
    position: relative;
    height: 19px;
}
  
.score .stars-active {
    color: var(--gold);
    position: relative;
    z-index: 10;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 0.5px;
}
  
.score .stars-inactive {
    color: var(--form-grey);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-text-stroke: initial;
}

.fa-star {
    width: max-content !important;
}

.review_score {
    display: flex;
    align-items: center;
    margin-top: 3px;
    margin-bottom: -5px;
}

.review_score p {
    color: var(--form-grey);
    margin: 0 0 0 6px;
    opacity: 0.5;
} 

/************************ Detail page reviews **************************/
.reviews h3 {
    font-size: 36px;
    margin: 28px 0 -10px;
}

.review {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    padding: 15px;
    box-sizing: border-box;
    margin-top: 30px;
}

.review_flex {
    display: flex;
    align-items: start;
}

.review h3,
.review h4 {
    margin: 0;
}

.review h4 {
    font-size: 24px;
    margin-top: -5px;
}

.review h5 {
    font-size: 18px;
    margin: 0;
}

.review_separator {
    width: 100%;
    height: 2px;
    background-color: var(--border-grey);
    margin-bottom: 15px;
}

.review_content {
    width: calc(100% - 105px);
    margin-left: 15px;
}

.review_content p {
    margin-top: 0;
    margin-bottom: 15px;
}

.review_content p i {
    margin-right: 8px;
}

.review_content .review_comment {
    margin-top: 15px;
    margin-bottom: 20px;
}

.review_date {
    padding: 5px 10px;
    background-color: var(--light-grey);
    color: var(--black);
    margin: 0;
    width: max-content;
    transition: 0.2s all ease-in-out;
}

.review_flex .item_image {
    width: 90px;
    height: 90px;
    overflow: hidden;
}

.review_flex .item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}

@media (max-width: 950px) {
    .item_details .review_score {
        width: 100%;
    }

    .item_details .review_score .score {
        margin: 10px 0 0;
    }
}

@media (max-width: 650px) {
    .review_content h4 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .reviews h3 {
        text-align: center;
    }

    .score {
        text-align: left;
    }
}

@media (max-width: 500px) {
    .review_flex {
        display: block;
    }

    .review_separator {
        margin-top: 5px;
    }

    .review_content {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
}