.star-rating__container {
    display: flex;
    justify-content: center;
    font-size: 20px;
}

@media (max-width: 767px) {
    .star-rating__wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }
}

.star-rating__avg {
    display: none;
}


.star-rating {
    display: inline-block;
    position: relative;
    user-select: none;
}

.star-rating__bg {
    color: #e4e4e4;
    display: flex;
}

.star-rating__live {
    display: flex;
    color: #ffb74d;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.star-rating_active:hover .star-rating__live {
    overflow: auto;
    width: 100% !important;
    color: #e4e4e4;
}

.star-rating__item_active {
    color: #fb8c00;
    cursor: pointer;
    transition: color 0.1s ease-in-out;
}

.star-rating__item {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}
@media (min-width: 768px) {
    .star-rating__avg {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        text-align: center;
        width: 2em;
        margin-top: 3px;
        padding-right: 0.5em;
    }

    .star-rating__wrapper {
        position: relative;
        display: flex;
    }
}

.star-rating__votes {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.5em;
    font-size: 0.875em;
    margin-top: 3px;
}

.d-none {
    display: none;
}