/**
 * =========================================================
 * MINIMOG CHILD
 * CUSTOM PRODUCT REVIEWS SYSTEM
 *
 * PRODUCT REVIEWS CSS
 * =========================================================
 */



/* =========================================================
   WRAPPER
========================================================= */


.custom-product-reviews{


    width:100%;

    max-width:1080px;

    margin:30px auto 0;

    padding:60px 0;

    border-top:1px solid #ededed;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    color:#333;


}



.custom-product-reviews *{


    box-sizing:border-box;


}







/* =========================================================
   HEADER
========================================================= */


.reviews-header{


    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    margin-bottom:40px;


}






.reviews-title h2{


    margin:0;

    font-size:32px;

    line-height:1.2;

    font-weight:700;

    color:#111;


}







/* =========================================================
   TOOLBAR
========================================================= */


.reviews-toolbar{


    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:12px;

    flex-shrink:0;


}






.write-review-button,

.review-filter-button,

.review-sort-button{


    height:42px;

    padding:0 22px;

    border-radius:8px;

    border:1px solid #ddd;

    background:#fff;

    color:#333;

    font-size:14px;

    font-weight:500;

    cursor:pointer;

    transition:.25s;


}





.write-review-button{


    background:#007bff;

    border-color:#007bff;

    color:#fff;


}




.write-review-button:hover{


    opacity:.85;


}







.review-filter-button:hover,

.review-sort-button:hover{


    border-color:#007bff;

    color:#fff;
    background:#007bff ;


}







/* =========================================================
   FILTER / SORT PANEL
========================================================= */


.review-filter-panel,

.review-sort-panel{


    display:none;

    justify-content:flex-end;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;


}







.review-filter-panel button,

.review-sort-panel button{


    height:36px;

    padding:0 18px;

    border-radius:6px;

    border:1px solid #ddd;

    background:#fff;

    color:#333;

    font-size:13px;

    cursor:pointer;

    transition:.25s;


}






.review-filter-panel button:hover,

.review-sort-panel button:hover{


    border-color:#007bff;

    color:#007bff;


}









/* =========================================================
   REVIEW ITEM
========================================================= */


.single-review{


    padding:35px 0;

    border-bottom:1px solid #eeeeee;


}







.review-user{


    display:flex;

    align-items:center;

    gap:15px;


}







.review-avatar img{


    width:50px;

    height:50px;

    border-radius:50%;

    object-fit:cover;


}






.review-user-info h4{


    margin:0 0 6px;

    font-size:15px;

    font-weight:600;

    color:#111;


}







.verified-buyer{


    display:inline-flex;

    align-items:center;

    padding:3px 10px;

    border-radius:20px;

    background:#eafff0;

    color:#159447;

    font-size:11px;


}







/* =========================================================
   RATING
========================================================= */


.review-rating{


    margin-top:15px;

    color:#007bff;

    font-size:18px;

    letter-spacing:2px;


}







.review-date{


    margin-top:8px;

    font-size:12px;

    color:#999;


}







.review-content{


    margin-top:15px;

    font-size:14px;

    line-height:1.7;

    color:#444;


}







/* =========================================================
   REVIEW IMAGES
========================================================= */


.review-images{


    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:20px;


}







.review-image{


    width:100px;

    height:100px;

    object-fit:cover;

    border-radius:10px;

    cursor:pointer;

    transition:.25s;


}




.review-image:hover{


    transform:scale(1.05);


}







/* =========================================================
   REVIEW VIDEOS
========================================================= */


.review-videos{


    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:20px;


}






.review-video{


    width:280px;

    max-width:100%;

    border-radius:10px;


}








/* =========================================================
   FORM
========================================================= */


.review-form-wrapper{


    display:none;

    margin-top:45px;

    padding:35px;

    background:#f8f8f8;

    border-radius:12px;


}







.custom-review-form h3{


    margin:0 0 25px;

    font-size:24px;

    font-weight:700;

    color:#111;


}







.custom-review-form textarea{


    width:100%;

    min-height:150px;

    padding:15px;

    margin:20px 0;

    border:1px solid #ddd;

    border-radius:8px;

    resize:none;


}







/* =========================================================
   STAR SELECT
========================================================= */


.rating-stars{


    display:flex;

    flex-direction:row-reverse;

    justify-content:flex-end;


}





.rating-stars input{


    display:none;


}







.rating-stars label{


    font-size:32px;

    color:#ccc;

    cursor:pointer;


}







.rating-stars label:hover,

.rating-stars label:hover ~ label,

.rating-stars input:checked ~ label{


    color:#007bff;


}








/* =========================================================
   IMAGE PREVIEW
========================================================= */


.review-image-preview{


    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:20px;


}





.review-image-preview img{


    width:80px;

    height:80px;

    object-fit:cover;

    border-radius:8px;


}








/* =========================================================
   VIDEO PREVIEW
========================================================= */


.review-video-preview video{


    width:260px;

    max-width:100%;

    margin-top:15px;

    border-radius:10px;


}








/* =========================================================
   SUBMIT
========================================================= */


.submit-review-button{


    height:44px;

    padding:0 30px;

    background:#111;

    color:#fff;

    border:0;

    border-radius:8px;

    cursor:pointer;


}



.submit-review-button:hover{


    opacity:.85;


}



/* =========================================================
   REVIEW PAGINATION
========================================================= */


.custom-review-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:40px;

}



.custom-review-pagination a{

    width:38px;

    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid #ddd;

    border-radius:8px;

    background:#fff;

    color:#333;

    font-size:14px;

    font-weight:500;

    text-decoration:none;

    transition:.25s;

}



.custom-review-pagination a:hover{


    border-color:#007bff;

    color:#007bff;


}



.custom-review-pagination a.active{


    background:#007bff;

    border-color:#007bff;

    color:#fff;


}



/* =========================================================
   MOBILE PAGINATION
========================================================= */


@media(max-width:768px){


    .custom-review-pagination{


        margin-top:30px;


    }



    .custom-review-pagination a{


        width:34px;

        height:34px;

        font-size:13px;


    }


}




/* =========================================================
   MOBILE
========================================================= */


@media(max-width:768px){



.custom-product-reviews{


    padding:40px 20px;


}





.reviews-header{


    display:block;


}





.reviews-toolbar{


    margin-top:20px;

    justify-content:flex-start;

    flex-wrap:wrap;


}






.review-filter-panel,

.review-sort-panel{


    justify-content:flex-start;


}






.review-image{


    width:75px;

    height:75px;


}



}