/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

.star-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: -0.25em;
}
.star-content div.star,
.star-content div.star-on,
.star-content div.star-hover {
    display: block;
    width: 1.05em;
    height: 1.05em;
    background: transparent url('../img/iconstars_off.png') no-repeat center;
    background-size: 100%;
    flex: auto;
    margin-left: 0.1em;
}
.star-content div.star.star-hidden {
    overflow: hidden;
}
.star-content.star-full div.star-on,
.star-content.star-full div.star-hover {
    background: transparent url('../img/iconstars.png') no-repeat center;
    background-size: 100%;
}
.star-content div.star-hover {
    cursor: pointer;
}
.grade-stars {
    position: relative;
    height: 1.1em;
    min-width: 6em;
    display: inline-block;
}
.grade-stars.small-stars {
    min-width: 5.6em;
    margin-right: 0.55em;
}
.grade-stars-number {
    font-size: 1.15em;
    margin-right: 0.25em;
    font-weight: 500;
}
.grade-stars-number--not-null {
    color: #fe9635;
}
.grade-stars .star-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
}
.criterion-rating .grade-stars .star-content {
    top: 0;
}

.product-page-header_info .product-reviews-list .product-list-reviews .grade-stars {
    margin-right: 2.5em;
}
.product-reviews-list .product-list-reviews {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}
.product-reviews-list .product-list-reviews .grade-stars {
    margin-right: 1em;
}
.product-reviews-list .grade-stars-number {
    margin-right: 0.55em;
}
.product-reviews-list .product-list-reviews .star-content div.star,
.product-reviews-list .product-list-reviews .star-content div.star-on,
.product-reviews-list .product-list-reviews .star-content div.star-hover {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.1em;
}
.product-reviews-list .product-list-reviews .grade-info {
    display: inline-flex;
    font-size: 1.32em;
    cursor: pointer;
    line-height: 1.2;
}
.product-reviews-list .product-list-reviews .comments-nb {
    margin-left: 0;
    margin-right: 0.4em;
    font-size: 0.88em;
    align-items: center;
    display: inline-flex;
}
.product-reviews-list .product-list-reviews .grade-info_text {
    text-transform: lowercase;
}
@media(max-width: 768px) {
    .product-reviews-list .product-list-reviews {
        font-size: 1.25em;
    }
    .product-reviews-list .product-list-reviews .grade-info {
        font-size: 1.25em;
    }
    .product-reviews-list .product-list-reviews .comments-nb {
        padding-top: 0.1em;
    }
}


.product-comments-list .btn-comment {
    margin: 0 auto;
    display: block;
}
.product-comments-list-footer .material-icons[data-icon]:before {
    content: attr(data-icon);
}
.product-comments-list--slider {
    display: flex;
    width: calc(100% + 15px);
    margin-left: -8px;
    padding-right: 19rem;
}
.product-comments-list--slider-one {
    padding-right: 0;
}
.product-comments-list--slider.owl-loaded {
    flex-wrap: wrap;
}
.product-comments-list--slider .owl-stage-outer {
    overflow: visible;
}
.product-comments-list-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.product-comments-list-footer .simple-pagination .page-list {
    margin-bottom: 2.5em;
}
@media (min-width: 768px) {
    .product-comments-list-footer .post-product-comment {
        margin: 0 auto;
        display: block;
    }
}
@media (max-width: 768px) {
    .product-comments-list--slider {
        padding-right: 3rem;
    }
}


.product-comments-item {
    text-align: left;
    overflow: hidden;
    margin-bottom: 1.75em;
    position: relative;
    animation: product_comment_list_item 0.8s;
    margin-left: 0;
    margin-right: 0;
    width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}
@keyframes product_comment_list_item {
    0% {
        opacity: 0;
        top: -5px;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}
.product-comments-list--slider.owl-loaded .product-comments-item {
    width: 100%;
}
.product-comments-item_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 1.6em 2.2em;
    background-color: #ffffff;
    border-radius: 1.1em;
    min-height: 18em;
}
.product-comments-item_top {
    display: flex;
    flex-wrap: wrap;
    align-self: flex-start;
    width: 100%;
}
.product-comments-item_bottom {
    width: 100%;
    margin-top: 2em;
    align-self: flex-end;
}
.product-comments-item_logo {
    color: #6b868f;
    line-height: 1.2;
    width: 4em;
    margin-right: 1em;
    max-width: none;
    align-self: flex-start;
}
.product-comments-item_logo-icon {
    background-color: #fff1de;
    border-radius: 100%;
    width: 2em;
    height: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c78e3f;
    font-size: 2.1em;
}
.product-comments-item_logo-icon:before {
    content: '\e9bd';
}
.product-comments-item_logo-image {
    background: url('../img/user_2.png') no-repeat center;
    background-size: 60%;
    box-shadow: 0 0 7px -5px rgba(0, 0, 0, 0.73), 0 0 0 3px inset #ffffff;
    width: 2em;
    height: 2em;
    overflow: hidden;
    border-radius: 100%;
}
.product-comments-item_user-inf_data {
    flex: auto;
    width: auto;
    max-width: none;
    padding-top: 0.45em;
}
.product-comments-item_user-inf_date {
    font-size: 1.15em;
    margin-bottom: 0.15em;
}
.product-comments-item_user-inf_author {
    font-size: 1.6em;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.15em;
    line-height: 1.2;
}
.product-comments-item_user-inf_grade-stars {
    margin-bottom: 1em;
    display: block;
    margin-left: -0.1em;
}
.product-comments-item_user-inf_grade-stars .star-content {
    margin: 0 0 0.85em;
}
.product-comments-item_user-inf_grade-stars .star-content div.star,
.product-comments-item_user-inf_grade-stars .star-content div.star-on,
.product-comments-item_user-inf_grade-stars .star-content div.star-hover {
    width: 1.05em;
    height: 1.05em;
    margin-left: 0.1em;
}
.product-comments-item_user-inf {
    align-self: flex-start;
}
.product-comments-item_user-inf_comment {
    display: block;
    font-size: 1.19em;
    color: #000000;
    line-height: 1.2;
    width: 100%;
    margin-top: 1.5em;
    align-self: flex-start;
}
.product-comments-item_buttons {
    display: flex;
    margin-top: 2em;
}
.product-comments-item_btn {
    font-size: 1.15em;
    line-height: 1.2;
    margin-right: 1em;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.product-comments-item_btn:nth-last-child(1) {
    margin-right: 0;
}
.product-comments-item_btn-icon {
    font-size: 1.2em;
    cursor: pointer;
    margin-right: 0.45em;
}
#empty-product-comment {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 1.6em;
    padding: 1em 3.8em;
    background-color: #ffffff;
    border-radius: 1.1em;
    width: 100%;
}
@media(max-width: 768px) {
    .product-comments-item_user-inf_grade-stars {
        flex: auto;
    }
}


.form-post-comment {
    background-color: #ffffff;
    padding: 3.8em;
    border-radius: 1.1em;
}
.form-post-comment_title {
    font-size: 2.15em;
    font-weight: 500;
    display: inline-block;
    line-height: 1.2;
    margin-bottom: 1.35em;
}
.form-post-comment_inputs {
    margin-bottom: 3em;
}
.form-post-comment_inputs-left {
    padding-right: 8px;
}
.form-post-comment_inputs-right {
    margin-bottom: 0;
    padding-left: 8px;
}
.form-post-comment_input {
    padding: 0.2em 1.25em;
    min-height: 3em;
    font-size: 1.3em;
    width: 100%;
}
textarea.form-control.form-post-comment_textarea,
.form-post-comment_textarea {
    padding: 1em 1.25em;
    font-size: 1.3em;
    width: 100%;
    min-height: 3em;
    height: 100%;
    resize: none;
}
.form-post-comment_title-rating {
    font-size: 1.25em;
    margin-bottom: 0.9em;
}
.form-post-comment_block-rating {
    position: relative;
}
.form-post-comment_block-rating ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.form-post-comment_block-rating .grade-stars .star-content {
    position: static;
    transform: none;
}
.form-post-comment_btn-post {
    font-size: 1.09em;
    min-height: 3.2em;
    padding: 0.3em 2.1em;
    font-weight: 500;
}
.form-post-comment_allowed_btn {
    font-size: 1.09em;
    min-height: 3.2em;
    padding: 0.3em 2.1em;
    font-weight: 500;
}
@media (min-width: 768px) {
    .form-post-comment_i-line:nth-last-child(1) {
        margin-bottom: 0;
    }
}
@media (max-width: 992px) {
    .form-post-comment {
        padding: 2.5em 2.1em 3.5em;
    }
    .form-post-comment_inputs-left {
        flex: auto;
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        padding-right: 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .form-post-comment_inputs-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px;
    }
    .form-post-comment_title {
        margin-bottom: 0.9em;
    }
    .form-post-comment_rating {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .form-post-comment_title-rating {
        margin-bottom: 1.7em;
    }
    .form-post-comment_i-line--name,
    .form-post-comment_i-line--city {
        flex: auto;
        width: 50%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .form-post-comment_btn-post {
        font-size: 1.2em;
    }
}
@media (max-width: 768px) {
    .form-post-comment_inputs {
        margin-bottom: 2.1em;
    }
    .form-post-comment_title-rating {
        margin-bottom: 0.8em;
    }
    .form-post-comment_i-line--name,
    .form-post-comment_i-line--city {
        width: 100%;
    }
    .form-post-comment_input,
    .form-post-comment_textarea {
        font-size: 16px;
    }
    .form-post-comment_btn-post {
        font-size: 1.12em;
    }
}


.product-comment-modal .material-icons[data-icon]:before {
    content: attr(data-icon);
}
.tabs-toggle-header--reviews:not(.product-tabs-toggle-header--toggle) {
    display: none;
}
.tab-pane_box--reviews {
    overflow: hidden;
}
.comments-badge_grade-text {
    text-transform: lowercase;
}
@media (max-width: 1200px) {
    .product-reviews {
        font-size: 0.9em;
    }
}
@media (max-width: 992px) {
    .product-reviews {
        font-size: 1.1em;
    }
}