
.reviewsBlock {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.rewiewsImgBlock,
.rewiewsTextBlock {
    width: 100%;
}
.rewiewsImgBlock{
    overflow: hidden;
    border-radius: 30px;
    max-height: 350px;
}
.reviewItem-img{
    max-height: 350px;
    border-radius: 30px;
}
.reviews-page__slider-top{
    margin-top:120px;
}
.reviews-page__slider-content{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.rewiewsTextBlock{
    box-sizing: border-box;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 20px;
    /*height: 100%;*/
}
.rewiewsText__top{
    display: flex;
    gap: 50px;
    align-items:center;
}
.rewiewsText__icon{
    width: 88px;
    height: 88px;
    background: #F9F9FD;
    border-radius: 50px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.rewiews__author__stars{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rewiewsText__author{
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #000000;
}
.review-block-wrapper{
    margin-top: 26px;
    display: flex;
    flex-direction: column;
}
.reviewsPageText{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
    max-height: 126px;
    overflow: hidden;
    transition: max-height 200ms;
}
.active-block .reviewsPageText{

}
.openReviewText{
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.reviewBtnText{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #808080;
}
.reviewBtnIcon{
    width: 10px;
    transform: rotate(0deg);
    transition: transform 300ms;
}
.active-block .reviewBtnIcon{
    transform: rotate(180deg);
}
.reviewsPageDateAuthor{
    display: flex;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
}
.write-review__wrapper{
    margin-top: 120px;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 30px;
    box-sizing: border-box;
}

.write-review__text{
    font-weight: 400;
    font-size: 36px;
    line-height: 110%;
    color: #000000;
    max-width: 718px;
}
.goToWriteReview{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 35px;
    background: #69B456;
    border-radius: 14px;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    color: #FFFFFF;
    white-space: nowrap;
}
.goToWriteReview:hover{
    color: #FFFFFF;
}

/*create review*/
.create-review__title{
    margin-top: 60px;
}
.create-review__block{
    display: flex;
    flex-direction: column;
}

.create-review__block-content{
    margin-top: 40px;
    display: flex;
    gap: 70px;
}
.create-review__col{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.create-review__row{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review-product__title{
    font-weight: 500;
    font-size: 30px;
    line-height: 130%;
    color: #000000;
}
.review-product__input-textarea{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
    border-radius: 16px;
    border: none;
    outline: none;
    padding: 20px;
    box-sizing: border-box;
    height: 210px;
}
.review-product__input{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
    border-radius: 16px;
    border: none;
    outline: none;
    padding: 20px;
    box-sizing: border-box;

    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('../img/arrow-silver-bottom.svg');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .95em auto, 100%;
}
/*Это для браузера Chrome:*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/*Это для браузера Firefox*/
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}
/*Для других*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.review-product__phone-text{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #C4C3C3;
}
.send-review{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    max-width: 293px;
}
.send-review__information{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    color: #C4C3C3;
}
.create-review__block-bottom{
    display: flex;
    justify-content: end;
}
.send-review-btn{
    box-sizing: border-box;
    display: flex;
    padding: 12px 35px;
    border: 1px solid #69B456;
    border-radius: 14px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #69B456;
    outline: none;
    width: fit-content;
}
/*rating-area-quality*/
.rating-area-quality {
    overflow: hidden;
    /*width: 265px;*/
    /*margin: 0 auto;*/
}
.rating-area-quality:not(:checked) > input {
    display: none;
}
.rating-area-quality:not(:checked) > label {
    float: right;
    width: 42px;
    padding: 0;
    cursor: pointer;
    font-size: 32px;
    line-height: 32px;
    color: lightgrey;
    text-shadow: 1px 1px #bbb;
}
.rating-area-quality:not(:checked) > label:before {
    content: '★';
}
.rating-area-quality > input:checked ~ label {
    color: gold;
    text-shadow: 1px 1px #c60;
}
.rating-area-quality:not(:checked) > label:hover,
.rating-area-quality:not(:checked) > label:hover ~ label {
    color: gold;
}
.rating-area-quality > input:checked + label:hover,
.rating-area-quality > input:checked + label:hover ~ label,
.rating-area-quality > input:checked ~ label:hover,
.rating-area-quality > input:checked ~ label:hover ~ label,
.rating-area-quality > label:hover ~ input:checked ~ label {
    color: gold;
    text-shadow: 1px 1px goldenrod;
}
.rating-area-quality > label:active {
    position: relative;
}
/*end rating-area-quality*/

/*rating-area-service*/
.rating-area-service {
    overflow: hidden;
    /*width: 265px;*/
    /*margin: 0 auto;*/
}
.rating-area-service:not(:checked) > input {
    display: none;
}
.rating-area-service:not(:checked) > label {
    float: right;
    width: 42px;
    padding: 0;
    cursor: pointer;
    font-size: 32px;
    line-height: 32px;
    color: lightgrey;
    text-shadow: 1px 1px #bbb;
}
.rating-area-service:not(:checked) > label:before {
    content: '★';
}
.rating-area-service> input:checked ~ label {
    color: gold;
    text-shadow: 1px 1px #c60;
}
.rating-area-service:not(:checked) > label:hover,
.rating-area-service:not(:checked) > label:hover ~ label {
    color: gold;
}
.rating-area-service > input:checked + label:hover,
.rating-area-service > input:checked + label:hover ~ label,
.rating-area-service > input:checked ~ label:hover,
.rating-area-service > input:checked ~ label:hover ~ label,
.rating-area-service > label:hover ~ input:checked ~ label {
    color:gold;
    text-shadow: 1px 1px goldenrod;
}
.rating-area-service > label:active {
    position: relative;
}
/*end rating-area-service*/
.rating-area__row{
    display: flex;
    gap: 30px;
    align-items: center;
}
.create-review__row-margin_top{
    margin-top: 40px;
}
.rating-area-text{
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}
/*.create-review__photo-check{

}*/
.create-review__photo-check{
    background: #FFFFFF;
    border-radius: 16px;
    height: 160px;
    width: 160px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-product__photo-block{
    display: flex;
    gap: 30px;
}
.review-product__photo-block-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}
.rewiewsPageDate{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #808080;
}
.gallery__rewiewsImgBlock{
    max-width: 350px;
}
/*end create review*/


@media screen and (max-width: 767px) {
    .rewiewsTextBlock{
        padding: 16px;
    }
    .rewiewsText__top{
        gap: 30px;
    }
    .rewiewsText__author{
        font-size: 18px;
        line-height: 115%;
    }
    .rewiews__author__stars{
        gap: 8px;
    }
    .write-review__wrapper{
        margin-top: 80px;
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }
    .write-review__text{
        font-size: 18px;
        line-height: 130%;
    }
    .goToWriteReview{
        font-size: 16px;
        justify-content: center;
    }
    .write-review__button{
        width: 100%;
    }
    .reviewsBlock{
        gap: 0;
    }
    .rewiewsImgBlock{
        max-height: 254px;
    }
    .reviews-page__slider-content{
        gap:80px;
    }
    .reviews-page__slider-top{
        margin-top: 80px;
    }
    .free-measurements-background-white{
        margin-top: 60px;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }

    .create-review__block-content{
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
    }
    .review-product__title{
        font-size: 14px;
    }
    .review-product__input,
    .review-product__input-textarea{
        font-size: 14px;
        padding: 7px 16px;
    }
    .review-product__input{
        background-size: 0.65em auto, 100%;
    }
    .rating-area-quality,
    .rating-area-service{
        display: flex;
        flex-direction: row-reverse;
    }
    .rating-area-service:not(:checked) > label,
    .rating-area-quality:not(:checked) > label{
        width: 30px;
    }
    .rating-area__row{
        gap: 20px;
    }
    .create-review__block-bottom{
        justify-content: start;

        margin-top:80px;
        gap: 10px;
        width: 100%;
    }
    .send-review{
        flex-direction: column-reverse;
        gap: 10px;
    }
    .send-review__information{
        font-size: 12px;
        text-align: left;
    }
    .send-review-btn{
        width: 100%;
        justify-content: center;
    }
    .create-review__col{
        gap: 20px;
    }
    .create-review__row{
        gap: 8px;
    }
    .review-product__input-textarea{
        height: auto;
    }
    .create-review__row-margin_top{
        margin-top: 0;
    }




}