.rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    max-width: max-content;
    margin-bottom: 35px;
    padding: 23px 42px 23px 43px;
    border-radius: 10px;
    color: #fff;
    font-family: "Sarabun", sans-serif;
    text-transform: uppercase;
    line-height: normal;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(7.5px);
    backdrop-filter: blur(7.5px);
}

.rating-badge__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 36px;
    font-weight: 300;
    letter-spacing: 0;
}

.rating-badge__stars {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 160px;
    height: 27px;
}

.rating-badge__star {
    display: block;
    width: 28px;
    height: 27px;
    flex-shrink: 0;
}

.rating-badge__count {
    margin: 0;
    padding: 0;
    font-size: 39px;
    line-height: 51px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .rating-badge {
        padding: 18px 24px;
        margin: 0 auto 24px;
    }

    .rating-badge__rating {
        font-size: 18px;
        gap: 8px;
    }

    .rating-badge__stars {
        width: 110px;
        height: 19px;
        gap: 3px;
    }

    .rating-badge__star {
        width: 19px;
        height: 18px;
    }

    .rating-badge__count {
        font-size: 24px;
        white-space: normal;
        text-align: center;
    }
}
