/* Bloque en listado de categoria */
div.product-list-reviews{
    margin-top: -5px;
    margin-bottom: 5px;
    display: none;
}
div.product-list-reviews.showing{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
div.product-list-reviews div.comments-nb{
    font-family: "Affogato-Regular";
    font-size: 15px;
    line-height: 1;
    color: black;
}
div.product-list-reviews div.grade-stars{
    display: inline-block;
    position: relative;
}
div.product-list-reviews div.grade-stars span.grade-star{
    font-size: 18px;
    color: black;
    opacity: 0.3;
    line-height: 1;
}
div.product-list-reviews div.grade-stars div.on{
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
div.product-list-reviews div.grade-stars div.on span.grade-star{
    color: #fbbc04;
    opacity: 1;
}

/* Bloque inicial en pagina de producto */
#product div.product-review-resume{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
#product div.product-review-resume div.grade-stars{
    position: relative;
    display: inline-block;
    cursor: pointer;
}
#product div.product-review-resume div.grade-stars span.grade-star{
    font-size: 24px;
    color: black;
    opacity: 0.3;
    line-height: 1;
}
#product div.product-review-resume div.grade-stars span.grade-star:last-child{
    margin-right: 0px;
}
#product div.product-review-resume div.grade-stars div.on{
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
#product div.product-review-resume div.grade-stars div.on span.grade-star{
    color: #fbbc04;
    opacity: 1;
}
#product div.product-review-resume span.number{
    font-size: 16px;
    font-family: "Affogato-Regular";
    cursor: pointer;
}
#product div.product-review-resume span.number:hover{
    text-decoration: underline;
}
#product div.product-review-resume span.add{
    font-family: 'Affogato-Bold';
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006000;
    padding-bottom: 2px;
    cursor: pointer;
    border-bottom: 2px solid #006000;
}
#product div.product-review-resume span.add i{
    font-size: 22px;
}

/* Listado de opiniones en producto */
#product-review-list{
    padding: 30px 50px;
    text-align: center;
    position: relative;
}
#product-review-list div.header{
    border-bottom: 2px solid #006000;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
#product-review-list div.header > div{
    display: flex;
    align-items: center;
    gap: 10px;
}
#product-review-list div.header p.title{
    font-family: "Affogato-Medium";
    font-size: 20px;
    margin-bottom: 0px;
    text-align: left;
    line-height: 24px;
}
#product-review-list div.header p.title span{
    font-family: "Affogato-Bold";
}
#product-review-list div.header div.grade-stars,
#product-review-list div.list div.comment div.grade-stars{
    position: relative;
    display: inline-block;
}
#product-review-list div.header div.grade-stars span.grade-star,
#product-review-list div.list div.comment div.grade-stars span.grade-star{
    font-size: 24px;
    color: black;
    opacity: 0.3;
    line-height: 1;
}
#product-review-list div.list div.comment div.grade-stars span.grade-star{
    font-size: 18px;
}
#product-review-list div.header div.grade-stars span.grade-star:last-child,
#product-review-list div.list div.comment div.grade-stars span.grade-star:last-child{
    margin-right: 0px;
}
#product-review-list div.header div.grade-stars div.on,
#product-review-list div.list div.comment div.grade-stars div.on{
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
#product-review-list div.header div.grade-stars div.on span.grade-star,
#product-review-list div.list div.comment div.grade-stars div.on span.grade-star{
    color: #fbbc04;
    opacity: 1;
}
#product-review-list div.header span.number{
    font-size: 16px;
    font-family: "Affogato-Regular";
}
#product-review-list div.header span.add{
    font-family: 'Affogato-Bold';
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006000;
    cursor: pointer;
}
#product-review-list div.header span.add i{
    font-size: 22px;
}
#product-review-list div.order-selection{
    position: absolute;
    right: 50px;
    top: 90px;
}
#product-review-list div.order-selection #comments-order{
    display: inline-block;
    width: 200px;
    font-family: 'Affogato-Medium';
    color: black;
}
#product-review-list div.empty{
    text-align: center;
}
#product-review-list div.empty p{
    font-size: 16px;
    font-family: 'Affogato-Medium';
    margin-bottom: 20px;
}
#product-review-list div.list{
    padding: 0px 30px;
}
#product-review-list div.list div.comment{
    display: flex;
    margin: 0px;
    padding: 0px;
    gap: 30px;
    margin-bottom: 20px;
}
#product-review-list div.list div.comment div.left,
#product-review-list div.list div.comment div.right{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#product-review-list div.list div.comment div.left{
    align-items: center;
}
#product-review-list div.list div.comment div.left span.time{
    font-family: 'Affogato-Medium';
    font-size: 15px;
    letter-spacing: 2px;
}
#product-review-list div.list div.comment div.right p.name{
    color: black;
    font-family: 'Affogato-Bold';
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0px;
}
#product-review-list div.list div.comment div.right p.content{
    font-size: 16px;
    font-family: 'Affogato-Regular';
    color: black;
    margin-bottom: 0px;
    text-align: left;
}

/* Modal en pagina de producto */
#product #product-review{
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s all;
}
#product #product-review.showing{
    opacity: 1;
    pointer-events: all;
}
#product #product-review div.background{
    background-color: black;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
#product #product-review div.review-modal{
    z-index: 1;
    background-color: white;
    width: 500px;
    border-radius: 10px;
}
#product #product-review div.review-modal div.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4e8d8;
    padding: 10px 20px;
    border-radius: 10px 10px 0px 0px;
}
#product #product-review div.review-modal div.header p.title{
    font-family: 'Affogato-Bold';
    font-size: 18px;
    margin-bottom: 0px;
}
#product #product-review div.review-modal div.header span.close{
    font-family: 'Affogato-Light';
    color: black;
    opacity: 1;
    font-size: 25px;
    top: -3px;
    position: relative;
}
#product #product-review div.review-modal div.body{
    padding: 15px 20px;
    text-align: center;
}
#product #product-review div.review-modal div.body img{
    margin-bottom: 10px;
}
#product #product-review div.review-modal div.body p.name{
    font-family: 'Affogato-Bold';
    font-size: 16px;
    margin-bottom: 10px;
}
#product #product-review div.review-modal div.body div.grade-stars{
    text-align: center;
    margin-bottom: 15px;
    display: inline-block;
}
#product #product-review div.review-modal div.body div.grade-stars span.grade-star{
    font-size: 30px;
    color: black;
    opacity: 0.3;
    line-height: 1;
    cursor: pointer;
}
#product #product-review div.review-modal div.body div.grade-stars span.grade-star.active,
#product #product-review div.review-modal div.body div.grade-stars span.grade-star.hover{
    opacity: 1;
}
#product #product-review div.review-modal div.body div.grade-stars span.grade-star.active{
    color: #fbbc04;
}
#product #product-review div.review-modal div.body div.grade-stars span.grade-star.active.hover{
    color: black;
}
#product #product-review div.review-modal div.body div.grade-stars span.grade-star.not-hover{
    color: black;
    opacity: 0.3;
}
#product #product-review div.review-modal div.body input,
#product #product-review div.review-modal div.body textarea{
    font-family: 'Affogato-Medium';
    font-size: 15px;
    color: black;
    margin-bottom: 10px;
}
#product #product-review div.review-modal div.body button{
    padding: 5px 40px 8px;
    margin-top: 5px;
}
@media(max-width: 991px){
    #product-review-list{
        padding: 30px;
    }
    #product-review-list div.header{
        margin-bottom: 10px;
    }
    #product-review-list div.header > div{
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    #product-review-list div.order-selection{
        position: relative;
        top: 0px;
        right: 0px;
        margin-bottom: 20px;
    }
    #product-review-list div.order-selection #comments-order{
        width: 100%;
    }
}

@media(max-width: 767px){
    #product-review-list{
        padding: 30px 20px;
    }
    #product-review-list div.header{
        position: relative;
    }
    #product-review-list div.header.no-comments{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #product-review-list div.header span.add{
        position: absolute;
        bottom: 8px;
        right: 0px;
    }
    #product-review-list div.header.no-comments span.add{
        position: relative;
        bottom: 0px;
    }
}

@media(max-width: 600px){
    #product #product-review{
        z-index: 10000;
    }
    #product #product-review div.review-modal{
        width: calc(100% - 40px);
    }
    #product #product-review div.review-modal div.body button{
        width: 100%;
        margin-top: 0px;
    }
}

@media(max-width: 500px){
    #product-review-list div.header p.title{
        font-size: 18px;
        line-height: 20px;
    }
    #product-review-list div.list{
        padding: 0px;
    }
    #product-review-list div.list div.comment{
        flex-direction: column;
        gap: 5px;
    }
    #product-review-list div.list div.comment div.left{
        flex-direction: row;
        gap: 10px;
    }
    #product-review-list div.empty p{
        margin-bottom: 12px;
    }
    #product-review-list #load-more,
    #product-review-list div.empty button{
        width: 100%;
    }
    #product-review-list div.header span.add{
        font-size: 16px;
    }
}
@media(max-width: 474px){
    #product-review-list{
        padding-bottom: 15px;
    }
}