/*
 * Service Reviews
 * Version 1.0.0
 */

.sr-container{
    max-width:1200px;
    margin:40px auto;
    padding:0 15px;
}

.sr-summary-wrapper{
    display:flex;
    gap:50px;
    margin-bottom:40px;
    align-items:center;
    flex-wrap:wrap;
}

.sr-summary-left{
    width:260px;
    text-align:center;
}

.sr-average-number{
    font-size:64px;
    line-height:1;
    font-weight:700;
    color:#222;
}

.sr-stars{
    margin:10px 0;
    font-size:28px;
    color:#FDBA12;
}

.sr-star{
    color:#d7d7d7;
}

.sr-star.filled{
    color:#FDBA12;
}

.sr-average-total{
    color:#666;
    font-size:15px;
}

.sr-summary-right{
    flex:1;
}

.sr-rating-row{
    display:flex;
    align-items:center;
    margin-bottom:12px;
}

.sr-rating-label{
    width:60px;
    font-size:14px;
    color:#444;
}

.sr-rating-bar{
    flex:1;
    height:10px;
    background:#ececec;
    border-radius:20px;
    overflow:hidden;
}

.sr-rating-fill{
    height:100%;
    background:#FDBA12;
    border-radius:20px;
}

.sr-rating-count{
    width:45px;
    text-align:right;
    font-size:14px;
    color:#666;
}

.sr-reviews-grid{

    display:grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap:30px;

    margin-top:40px;

}

.sr-card{

    background:#fff;

    border-radius:10px;

    padding:25px;

    border-left:4px solid #14a085;

    box-shadow:0 3px 12px rgba(0,0,0,.08);

    transition:.3s;

}

.sr-card:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.sr-card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

}

.sr-reviewer strong{

    font-size:18px;

    color:#222;

}
.sr-reviewer{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.sr-verified{
    display:inline-block;
    background:#e8f8f5;
    color:#a31e31;
    font-size:12px;
    font-weight:600;
    padding:4px 10px;
    border-radius:30px;
}

.sr-product{
    margin:12px 0;
    font-size:14px;
    color:#666;
}

.sr-product a{
    color:#a31e31;
    text-decoration:none;
    font-weight:600;
}

.sr-product a:hover{
    text-decoration:underline;
}

.sr-country{
    display:inline-block;
    margin-bottom:12px;
    color:#888;
    font-size:13px;
}

.sr-review-text{
    color:#555;
    font-size:15px;
    line-height:1.8;
    margin:15px 0;
}

.sr-review-text p{
    margin:0;
}

.sr-footer{
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid #ececec;
    color:#888;
    font-size:13px;
}

.sr-review-form-wrapper{
    margin-top:50px;
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.sr-form-title{
    margin:0 0 25px;
    font-size:28px;
    color:#222;
}

.sr-field{
    margin-bottom:20px;
}

.sr-field label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

.sr-field input,
.sr-field textarea,
.sr-field select{

    width:100%;

    padding:12px 15px;

    border:1px solid #dcdcdc;

    border-radius:5px;

    font-size:15px;

    transition:.3s;

    box-sizing:border-box;

}

.sr-field textarea{
    resize:vertical;
    min-height:140px;
}

.sr-field input:focus,
.sr-field textarea:focus,
.sr-field select:focus{

    border-color:#14a085;

    outline:none;

    box-shadow:0 0 0 3px rgba(20,160,133,.12);

}

.sr-consent{

    margin:20px 0;

    font-size:14px;

    color:#666;

}

.sr-consent label{

    display:flex;

    align-items:flex-start;

    gap:10px;

    cursor:pointer;

}

.sr-consent input{

    margin-top:4px;

    width:auto;

}

.sr-submit-button{

    display:inline-block;

    background:#a31e31;

    color:#fff;

    border:0;

    padding:14px 35px;

    font-size:16px;

    border-radius:5px;

    cursor:pointer;

    transition:.3s;

}

.sr-submit-button:hover{

    background:#b62339;

}

.sr-response{

    margin-bottom:20px;

    display:none;

    padding:12px 15px;

    border-radius:5px;

}
/* Messages */

.sr-response.success{
    display:block;
    background:#e8f8f5;
    color:#0f8b6d;
    border:1px solid #14a085;
}

.sr-response.error{
    display:block;
    background:#fdecec;
    color:#c0392b;
    border:1px solid #e74c3c;
}

/* Pagination */

.sr-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin:50px 0 20px;

    flex-wrap:wrap;

}

.sr-pagination a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:42px;

    height:42px;

    padding:0 15px;

    background:#fff;

    border:1px solid #ddd;

    border-radius:5px;

    color:#444;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}

.sr-pagination a:hover{

    background:#a31e31;

    color:#fff;

    border-color:#a31e31;

}

.sr-pagination a.active{

    background:#a31e31;

    color:#fff;

    border-color:#a31e31;

}

/* Review Type */

.sr-card.sr-product{

    border-left-color:#a31e31;

}

.sr-card.sr-service{

    border-left-color:#a31e31;

}

.sr-type{

    display:inline-block;

    padding:4px 10px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

    margin-bottom:10px;

}

.sr-type.product{

    background:#e8f1ff;

    color:#2563eb;

}

.sr-type.service{

    background:#e8f8f5;

    color:#a31e31;

}

/* Loading */

.sr-submit-button.loading{

    opacity:.6;

    pointer-events:none;

}

.sr-submit-button.loading:after{

    content:'...';

    margin-left:8px;

}

/* Empty Reviews */

.sr-no-review{

    text-align:center;

    padding:60px 20px;

    background:#fafafa;

    border:1px dashed #ddd;

    border-radius:8px;

    color:#777;

    font-size:18px;

    grid-column:1/-1;

}

/* Tablet */

@media(max-width:992px){

.sr-summary-wrapper{

    gap:30px;

}

.sr-summary-left{

    width:100%;

}

.sr-summary-right{

    width:100%;

}

.sr-reviews-grid{

    grid-template-columns:repeat(2,1fr);

}

}
/* Mobile */

@media (max-width:768px){

    .sr-container{
        padding:0 15px;
    }

    .sr-summary-wrapper{
        display:block;
    }

    .sr-summary-left{
        margin-bottom:30px;
    }

    .sr-average-number{
        font-size:48px;
    }

    .sr-stars{
        font-size:22px;
    }

    .sr-rating-row{
        gap:10px;
    }

    .sr-rating-label{
        width:45px;
        font-size:13px;
    }

    .sr-rating-count{
        width:35px;
        font-size:12px;
    }

    .sr-card{
        padding:20px;
    }

    .sr-card-header{
        display:block;
    }

    .sr-reviewer{
        margin-bottom:10px;
    }

    .sr-review-text{
        font-size:14px;
        line-height:1.7;
    }

    .sr-review-form-wrapper{
        padding:20px;
    }

    .sr-form-title{
        font-size:24px;
    }

    .sr-submit-button{
        width:100%;
    }

}

@media (max-width:480px){

    .sr-average-number{
        font-size:40px;
    }

    .sr-stars{
        font-size:18px;
    }

    .sr-card{
        padding:15px;
    }

    .sr-review-text{
        font-size:13px;
    }

    .sr-field input,
    .sr-field textarea,
    .sr-field select{
        padding:10px 12px;
        font-size:14px;
    }

    .sr-pagination a{
        min-width:36px;
        height:36px;
        font-size:13px;
    }

}

/* Utilities */

.sr-hidden{
    display:none !important;
}

.sr-text-center{
    text-align:center;
}

.sr-mt-20{
    margin-top:20px;
}

.sr-mb-20{
    margin-bottom:20px;
}

.sr-fw-bold{
    font-weight:700;
}

.sr-border{
    border:1px solid #e5e5e5;
}

.sr-shadow{
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.sr-rounded{
    border-radius:8px;
}

.sr-clear::after{
    content:"";
    display:block;
    clear:both;
}
@media (max-width:767px){

    .sr-reviews-grid{

        grid-template-columns:1fr;

    }

}