.image_comments {
    width: 100px;
    height: auto;
    padding: 5px;
}

.pp-sub-button {
    border-radius: 3px;
}

.pp-pagination {
    float: none !important;
}

.card-body {
    border-radius: 22px;
}
.file-input__input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-input__label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    font-size: 11px;
    padding: 5px 21px;
    background-color: #d53953;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}

.file-input__label svg {
    height: 16px;
    margin-right: 4px;
}


.pp-pagination .pagination-item a {
    padding: 0;
    display: block;
    height: 40px;
    width: 40px;
    border: none;
    line-height: 40px;
    border-radius: 3px !important;
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 11px;
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.pp-pagination .pagination-item a:focus, .pp-pagination .pagination-item a:hover {
    background: var(--textColor) !important;
    color: #fff;
    border-color: var(--textColor);
}

.pp-pagination .pagination-item {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
}

.pp-pagination .pagination-item.active a {
    background: var(--textColor);
    color: #fff;
}

#review{
    margin-bottom: 40px;
}


.comment-grade{
    color: #d53953;
    font-weight: bold;
}
.comment-author{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}

.comment-date > p{
    font-size: 14px;
    margin-bottom: 0;
    line-height: normal;
}
/*.pp-sub-button{*/
/*    background-color: #d53953;*/
/*    color: white;*/
/*    font-weight: bold;*/
/*    font-size: 14px;*/
/*}*/

.comment-title{
    font-weight: bold;
}

#review .form-check-input{
    margin-left: -1.7rem;
    margin-top: 0.35rem;
}
#review #inlineRadio10{
    margin-left: -2rem;
}

#review .form-check + .form-check {
    margin-top: 0;
}
.recaptcha-box{
    width: 100%;
    height: 70px;
    margin: 20px 0;
}

.average-stars-span{
    font-size: 12px;
    color: var(--textColor);
}



.average-box{display: flex; align-items: baseline;gap: 5px}

#product .average-box .a-after{
    position: relative;
    padding: 0 10px;

}

#product .average-box .a-after:after{
    content: "";
    display: inline-block;
    height: 8px;
    width: 1px;
    background: var(--textColor);
    position: absolute;
    left: 0;
    top: 6px;

}

#product .average-box .a-after:before{
    content: "";
    display: inline-block;
    height: 8px;
    width: 1px;
    background: var(--textColor);
    position: absolute;
    right: 0;
    top: 6px;

}


.comment-container{
    display: flex;
    margin: 25px 0;
    flex-direction: column;
}

.comment-author-info{
    display: flex;
    width: 100%;
    gap: 15px;
    align-items: end;
    margin-bottom: 15px;
}
.comment-content-box .name-box{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.comment-content{
    width: 100%;
    padding-bottom: 25px;
    border-bottom: 1px solid #C8C8C8;
}
.comment-content p{
    margin-bottom: 0;
    line-height: 25px;
}
.comment-element-hidden{
    display: none;
}
.star-rating {
    direction: rtl;
    font-size: 2rem;
    unicode-bidi: bidi-override;
    display: inline-flex;
}

.star-rating input {
    display: none;
}

.star-rating label i{
    color: #ccc;
    cursor: pointer;
    padding: 0 2px;
    font-size: 20px;
}

.star-rating input:checked ~ label i,
.star-rating label:hover i,
.star-rating label:hover ~ label i{
    color: #E91313;
}

.pp-sub-button{
    cursor: pointer;
    display: flex;
    gap: 15px;
    align-items: center;
    width: fit-content;
}

.pp-sub-button span,.pp-sub-button i{
    color: white;
    display: flex;
    height: fit-content;
    margin-right: 0 !important;
}
.pp-sub-button.collapsed i.remove{
    display: none;
}
.pp-sub-button:not(.collapsed) i.remove{
    display: block;
}
.pp-sub-button:not(.collapsed) i.add{
    display: none;
}
.small-info{
    font-size: 9px;
}

.average-box > span{
    font-size: 13px;
}
.average-box{
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-comments {
    display: flex;
    gap: 40px;
}


@media(max-width: 992px){
    .product-comments{
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
.comment-summary-left {
    flex: 0 0 250px;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}





.modal-custom {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.5);
}
.modal-content-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff; margin: 5% auto; padding: 30px;
    width: 90%; max-width: 800px; border-radius: 10px; position: relative;
}

.modal-content-custom form .form-group{
    width: 100%;
}

.modal-content-custom form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.close-modal {
    position: absolute; right: 20px; top: 20px; font-size: 38px; cursor: pointer;
}
.rating-widget-container {
    text-align: center;
}

.big-average {
    font-size: 58px;
    font-weight: 700;
    margin: 10px 0;
}

.stars-row img {
    width: 24px;
}

.comments-count {
    display: block;
    font-size: 19px;
}

.rating-bars {
    margin: 20px 0;
}

.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.grade-label{
    font-weight: bold;
    width: 15px;
}

.grade-count{
    width: 15px;
}

.bar-bg {
    flex-grow: 1;
    height: 8px;
    background: #C8C8C8;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #E91313;
}

.product-comments .rating-header > p{
    font-size: 19px;
    margin-bottom: 0;
}

.rating-header{
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.product-comments .name-box .rating-stars{
    margin-bottom: 0;
}
.product-comments .pp-sub-button{
    max-width: 400px;
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
}