﻿
.review-stars {
    max-width: 251px;
    display: flex;
    justify-content: space-between;
}

    .review-stars .stars-wrapper {
        display: flex;
        column-gap: 17px;
    }

        .review-stars .stars-wrapper .star {
            position: relative;
            width: 22px;
            height: 22px;
        }

            .review-stars .stars-wrapper .star svg {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }

                .review-stars .stars-wrapper .star svg.half {
                    z-index: 10;
                }

    .review-stars .score {
        color: #c30000;
        font-size: 14px;
        font-weight: bold;
        white-space: nowrap;
    }

        .review-stars .score .total {
            color: #242424;
            font-weight: 400;
        }

/* Review Component */
.review {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

    .review header {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

        .review header .buyer-wrapper {
            display: flex;
            flex-direction: column;
            row-gap: 10px;
        }

            .review header .buyer-wrapper h3 {
                margin-bottom: 0 !important;
            }

        .review header .date-wrapper {
            display: flex;
            align-items: center;
        }

            .review header .date-wrapper p {
                line-height: 19px !important;
            }

                .review header .date-wrapper p.light-grey {
                    color: #bebebe;
                }

                .review header .date-wrapper p svg {
                    width: 23px;
                    height: 16.84px;
                    margin-right: 10.5px;
                }

                .review header .date-wrapper p:first-of-type {
                    display: flex;
                    align-items: center;
                    margin-right: 19px;
                }

    .review .votes legend {
        font-family: Roboto, sans-serif;
        font-size: 16px;
        line-height: 19px;
        color: #242424;
        border: none !important;
    }

    .review .votes a {
        -webkit-appearance: none;
        -webkit-border-radius: unset;
        border-radius: 0;
        border: none;
        font-size: 18px;
        font-weight: bold;
        line-height: 22px;
        background: transparent;
        padding: 0;
        cursor:pointer;
        color:#242424;
    }

        .review .votes a.disabled {
            pointer-events: none;
            color: #bebebe;
        }

        .review .votes a.voted {
            color: #c30000;
        }

        .review .votes .yes-no{
        display:flex;
        gap:30px;
        }

        .review .votes button:not(:last-of-type) {
            margin-right: 30px;
        }

@media (min-width: 768px) {
    .review {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 71px;
    }

        .review header {
            min-width: 100%;
        }

        .review .comment {
            width: 100%;
            max-width: calc((837 / 1280) * 100%);
        }

        .review .votes {
            padding-top: 5px;
        }

            .review .votes a:hover {
                color: #c30000;
            }
}
