/* Keep rating headings and controls in the same columns on mobile. */
@media only screen and (max-width: 770px) {
    #customer-reviews #product-review-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }

    #customer-reviews #product-review-table col {
        width: 14%;
    }

    #customer-reviews #product-review-table col:first-child {
        width: 30%;
    }

    #customer-reviews #product-review-table th,
    #customer-reviews #product-review-table td {
        display: table-cell;
        float: none;
        width: 14%;
        vertical-align: middle;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    #customer-reviews #product-review-table th:first-child {
        width: 30%;
    }

    #customer-reviews #product-review-table tbody th {
        padding: 8px 4px 8px 0;
        font-size: 11px;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: break-word;
        text-align: left;
    }

    #customer-reviews #product-review-table .rating-box {
        width: 100%;
        height: auto;
        background: none;
        text-indent: 0;
        text-align: center;
    }

    #customer-reviews #product-review-table .rating-box .rating {
        display: none;
    }

    #customer-reviews #product-review-table .rating-number {
        display: inline-block;
        font-size: 15px;
        line-height: 1.4;
    }

    #customer-reviews #product-review-table .rating-number:after {
        content: "\2605";
        display: inline;
        background: none;
        width: auto;
        height: auto;
        margin-left: 2px;
        top: 0;
        font-size: 11px;
    }

    #customer-reviews #product-review-table tbody td {
        padding: 0;
    }

    #customer-reviews #product-review-table tbody td label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 12px 0;
    }

    #customer-reviews #product-review-table input.radio {
        width: 16px;
        height: 16px;
        margin: 0;
    }
}
