.woocommerce-reviews{
       width: 100%;
}

.reviews-title {
    font-size: 1.8rem;
    font-family: "Gilroy", sans-serif;
    font-weight: normal;
    color: #222;
    margin-bottom: 25px;
}
.reviews-title span{
    font-weight: 600;
}
.reviews-title span:first-of-type {
    background-color: var(--bs-yellow);
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.2em 0.6em 0;
    border-radius: 0.9em;
    display: inline-block;
    min-width: 2.01rem;
    text-align: center;
}

.star-rating {
    content: "★★★★★";
    position: relative;
    display: inline-block;
    font-size: 2em;
    background-color: transparent;
    font-family: 'Arial', sans-serif;
    color: #ccc;
    pointer-events: none;
}
.star-rating::before {
    content: "★★★★★";
}
.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: block;
    color: #f0ad4e;
    pointer-events: none;
}
.star-rating span::before {
    content: "★★★★★";
}

.my-review__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #f5f5f5;
}
.my-review__author {
    flex: 1 1 25%;
    padding-top: 4px;
    font-weight: 800;
    font-size: 16px;
    line-height: 120%;
    color: #4c81ff;
}
.my-review__date {
    flex: 1 1 30%;
    padding-top: 4px;
    text-align: right;
    white-space: nowrap;
}
.my-review__rating {
    flex: 1 1 45%;
    text-align: right;
}
.my-review__text{
font-weight: 400;
font-size: 14px;
padding-top: 15px;
line-height: 100%;
color: #000;
}
.my-review__container{
    padding: 24px 26px;
    border-radius: 20px;
    background-color: #ffffff;
    margin-bottom: 10px;
}

/*Custom pagination from catalog.css*/
.review-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
}
.custom-pagination__prev, .custom-pagination__next, .custom-pagination__link, .custom-pagination__divider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 32px;
    width: auto;
    height: 32px;
    padding: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: #fff;
}
.custom-pagination__prev, .custom-pagination__next {
    border: 1px solid #fff;
    cursor: pointer;
}
.custom-pagination__prev_disabled, .custom-pagination__next_disabled {
    background: #c4c4c4;
    opacity: 0.15;
}
.custom-pagination__prev::before, .custom-pagination__next::before {
    content: "";
    display: block;
    width: 12px;
    aspect-ratio: 1/1;
    background: url(../images/icons/next.svg) center/cover no-repeat;
}
.custom-pagination__prev::before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.custom-pagination__link, .custom-pagination__divider {
    padding: 9px 4px 7px;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: #000;
    border: 1px solid #dfe3e8;
}
.custom-pagination__link.active, .custom-pagination__divider.active {
    font-weight: 700;
    color: #4c81ff;
    border-color: #4c81ff;
}

.review-form-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}
.review-form-grid-left {
    flex: 5;
}
.review-form-grid-right {
    flex: 1;
}
.review-form-grid-left textarea {
height: 97px;
}
.rating-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.rating-stars input[type="radio"] {
    display: none;
}
.rating-stars label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.rating-stars input[type="radio"]:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #f0ad4e;
}
.submit-button {
    margin-top: 12px;
    padding: 14px 26px 11px;
    background: #000000;
    border-radius: 50px;
    border-width: 0;
    font-weight: 550;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
}
.d-submit-button {
    display: none;
}
.submit-button:hover {
    background: #0d6efd;
}
