/**
 * 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)
 */

#product-comments-list-pagination {
  display: none;
}
 
.product-comments-title {
    display: none;
    text-align: center;

    & h4 {
        font-size: clamp(1.875rem, 1.4583333333rem + 1.1574074074vw, 1.98rem);
        font-weight: lighter;
        margin: 0 0 40px;
    }
}
.product-comments-list-layer {
    position: relative;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 40px;
    margin-top: 40px;
    padding: 0!important;

    & .configurador-arrows {
        position: absolute;
        max-width: 1200px;
        margin: auto;
        top: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden;

        & button {
            position: absolute;
            height: 100%;
            top: 0;
            background: transparent;
            border: 0;
            outline: 0;
            cursor: pointer;
            z-index: 99;
        }

        & .prev {
            left: 0;
        }

        & .next {
            right: 0;
        }

        & .prev:before, & .next:before {
            content: "";
            top: 50%;
            position: absolute;
            margin-top: -30px;
            background: #E9E5DE no-repeat center center;
            width: 60px;
            height: 60px;
            display: block;
            border-radius: 100%;
            background-size: 30px;
        }

        & .prev:before {
            left: -25px;
            background-image: url(/img/cms/slider-prev-chevron.svg) !important;
            background-position: 25px center;
        }

        & .next:before {
            right: -25px;
            background-image: url(/img/cms/slider-next-chevron.svg) !important;
            background-position: 5px center;
        }
    }
}

#product-comments-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;

    & .product-comment-list-item {
        width: 340px;
        border: 2px solid #F5F3EF;
        padding: 26px 15px;
        margin: 0;

        & .comment-infos {
            height: auto;
            max-height: 105px;
            line-height: 100%;

            & .layer-icon-name-stars {
                display: flex;
                align-items: center;
                padding: 0 10px;

                & .layer-icon {
                    width: 30px;
                    height: 30px;
                    background-color: #01579b;
                    border-radius: 100%;
                    color: #FFF;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 16px;
                    margin-right: 15px;
                }

                & .comment-author {
                    color: #222222;
                }

                & .grade-stars {
                    margin-bottom: 0px;
                }

                & .star-content div.star, .star-content div.star-on, .star-content div.star-hover {
                    width: 10px;
                    height: 10px;
                    margin-left: 3px;
                    background-size: auto 10px;
                }

                & .star-content div.star-on, .star-content div.star-hover {
                    background-position: -12px 0;
                    background-size: auto 10px;
                }
            }

            & .comment-text {
                padding: 10px;
                font-size: 13px;
                color: #000;
                display: -webkit-box;
                -webkit-line-clamp: 6;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
    }
}


#product-comments-list-footer {
    & .post-product-comment {
        font-size: 16px;
        text-transform: uppercase;
        background-color: #666439;
    }

    & .btn-comment-big {
        padding: 13px 26px;
        height: 45px;
    }
}

#empty-product-comment {
    .btn {
        font-size: 16px;
        text-transform: uppercase;
        background-color: #666439;
    }

    & .btn-comment-big {
        padding: 13px 26px;
        height: 45px;
    }
}