.section--reviews .rate input[type=radio]+label:before {
    border: none !important;
    border-radius: 0 !important;
    content: '★' !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
}

.section--reviews .rate input[type=radio]+label:after {
    content: none !important;
    display: none !important;
}

.section--reviews .rate {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    width: fit-content;
    height: 35px;
    gap: 4px;
    position: relative;
}

.section--reviews .rate label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease-in-out;
    padding: 5px 2px;
    line-height: 1;
}

.section--reviews .rate label::before {
    content: '★';
    display: inline-block;
}

.section--reviews .rate label:hover,
.section--reviews .rate label:hover~label {
    color: #FFD700;
}

/* Selected stars */
.section--reviews .rate input:checked~label {
    color: #FFD700;
}

/* Hover on selected */
.section--reviews .rate input:checked~label:hover,
.section--reviews .rate input:checked~label:hover~label,
.section--reviews .rate label:hover~input:checked~label {
    color: #c59b08;
}

/* Mobile */
@media (max-width: 480px) {
    .section--reviews .rate>label {
        padding: 8px 2px;
        font-size: 22px;
    }
}

.section--reviews .js-review-form {
    margin-bottom: 30px;
}

.section--reviews .review__created {
    margin-bottom: 40px;
    margin-top: 40px;
}

.section--reviews .product {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.section--reviews .product+.product {
    border-top: 1px dashed #ECECEC;
    padding-top: 35px;
}

.section--reviews .product__data {
    padding-left: 30px;
    margin-top: auto;
    margin-bottom: auto;
}

.section--reviews .product__name a {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
}

.section--reviews .product__review {
    overflow: hidden;
    display: block;
    width: 100%;
    padding-top: 5px;
}

.section--reviews textarea {
    width: 100%;
    padding: 15px !important;
    font-size: 13px;
    background: #ffffff;
}

.section--reviews .product__review-files {
    margin-top: 10px;
}

.section--reviews .product__review-files label {
    display: flex;
    align-items: center;
    font-size: 11px;
}

.section--reviews .product__review-files label:hover {
    cursor: pointer !important;
}

.section--reviews .product__review-files .custom-file-upload {
    opacity: 0;
    position: absolute;
    z-index: -1;
    display: none;
}

.section--reviews .product__review-files .selected_files {
    padding-top: 10px;
    padding-bottom: 10px;
    list-style: none;
}

.section--reviews .product__review-files .selected_files li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #000000;
}

.section--reviews .product__review-files .selected_files li:before {
    vertical-align: middle;
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #000;
    content: "";
    margin-right: 5px;
}

.product__review-files .custom-file-upload {
    opacity: 0;
    position: absolute;
    z-index: -1;
    display: none;
}

.product__review-files .selected_files {
    padding-top: 10px;
    padding-bottom: 10px;
    list-style: none;
}

.product__review-files .selected_files li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #000000;
}

.product__review-files .selected_files li:before {
    vertical-align: middle;
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #000;
    content: "";
    margin-right: 5px;
}

.product__review-files .icon-remove-file {
    padding-left: 10px;
    font-size: 16px;
}

.product__review-files .icon-remove-file:hover {
    cursor: pointer;
    opacity: .7;
}

.section--reviews .hidden {
    display: none;
}

.section--reviews .elp-form__description h4 {
    padding-top: 30px;
    font-size: 18px;
    color: black;
    padding-bottom: 10px;
}

.section--reviews .elp-form__description ul {
    margin-left: 20px;
    list-style: square;
    color: #666666;
}

.section--reviews .js-review-form .fr {
    float: right;
}

.section--reviews p.elp-alert {
    line-height: 25px !important;
}

.section--reviews .elp-form__messages li {
    color: red;
    font-size: 12px;
    padding-top: 5px;
}

.section--reviews .elp-form__content {
    overflow: hidden;
}

.section--reviews .elp-form__label {
    font-weight: 500;
    color: #000000;
}

.section--reviews .es-button {
    position: relative;
}

.section--reviews .product__review-label {
    position: relative;
}

.section--reviews .product__review-label svg {
    width: 40px;
    height: 40px;
}

.section--reviews .product__review-label .icon-close {
    position: absolute;
    top: 4px;
    right: 7px;
}

.section--reviews .elp-form__content textarea {
    max-width: 480px;
    background: #ffffff;
}

.product__review-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px -10px 0 -10px;
}

.product__review-image {
    position: relative;
    margin: 15px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f5f5f5;
    transition: all 250ms linear;
}

.product__review-image:hover {
    border: 1px solid #cdcdcd;
    box-shadow: 0 0 0 1px #f5f5f5;
}

.product__review-image img {
    max-width: 100px;
    max-height: 100px;
    padding: 0;
}

.product__review-image svg {
    stroke: #aaa;
    fill: #aaa;
}

.product__review-image .icon-close {
    position: absolute;
    top: 4px;
    right: 7px;
}

.jss224 {
    fill: currentColor;
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    user-select: none;
    flex-shrink: 0;
}

.submitProductsReviews {
    min-width: 220px;
}

.section__reviews-slider {
    position: relative;
}

.section__reviews--page {
    padding: 60px 0;
    background: #ECECEC;
}

/* Reviews homepage */
.reviews__homepage {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.reviews__homepage .reviews__icon {
    margin-bottom: 10px;
    max-width: 50px;
}

.reviews__homepage svg.reviews__icon path {
    fill: #d52832;
}

.reviews__homepage .reviews__cta {
    flex: 0 0 30%;
    background-color: #f3efec;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.reviews__homepage .reviews__cta p {
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
}

.reviews__homepage .reviews__list {
    flex: 0 0 70%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.reviews__homepage .js-reviews-slider {
    margin-top: auto;
    margin-bottom: auto;
}

.reviews__homepage .reviews__list .review__text {
    min-height: 90px;
    max-height: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.reviews__homepage .reviews__list .review__item .review__title {
    font-size: 18px;
}

@media (max-width: 768px) {
    .reviews__homepage {
        flex-direction: column;
        gap: 15px;
    }

    .reviews__cta,
    .reviews__list {
        flex: 1 1 100%;
    }
}

.section__reviews-slider .swiper-button-next,
.section__reviews-slider .swiper-button-prev {
    width: 32px;
    height: 32px;
    color: var(--elements-color, #000000);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    margin: -16px 0 0 0;
    transition: all var(--primary-transition, 0.3s ease);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;

    &.swiper-button-disabled {
        opacity: 0;
        visibility: hidden;
    }

    &:after {
        font-size: 12px;
        font-weight: bold;
    }

    &:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }
}

.section__reviews-slider .swiper-button-prev {
    left: 8px;
}

.section__reviews-slider .swiper-button-next {
    right: 8px;
}

.section__reviews-slider .review__item .review__title {
    font-size: 24px;
    padding-bottom: 10px;
    text-align: center;
}

.section__reviews-slider .review__stars .star::before {
    content: '★';
    color: #ccc;
    font-size: 18px;
    margin-right: 2px;
}

.section__reviews-slider .review__stars .star--active::before {
    color: #FFD700;
}

.section__reviews-slider .reviews__title a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    font-size: 28px;
    transition: all 0.3s ease;
}

.section__reviews-slider .reviews__title a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .section--reviews .js-review-form {
        margin-top: 30px;
    }

    .elp-reviews__products .product__cover {
        flex: 0 100%;
    }

    .section--reviews .product__data {
        flex: 0 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .elp-reviews__products .product__stars label {
        clear: unset !important;
    }

    .elp-form__content label {
        clear: unset !important;
    }

    .elp-form__content label {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .elp-reviews__products .product__name {
        margin-top: 20px;
    }

    .section--reviews .es-button {
        width: 100%;
    }

    .elp-reviews__products .product__data {
        padding: 10px;
    }

    .elp-reviews__products .product__review-image {
        width: 115px;
    }

    .elp-form__description ul li {
        margin-bottom: 8px;
    }

    .section--reviews .es-form__footer {
        margin-bottom: 0;
        overflow: hidden;
    }

    .section--reviews .es-form__footer .submitProductsReviews {
        width: 100%;
    }

    .section__reviews-slider {
        padding: 40px 10px;
    }

    /* Mobile arrows */
    .section__reviews-slider .swiper-button-next,
    .section__reviews-slider .swiper-button-prev {
        width: 28px;
        height: 28px;
        margin: -14px 0 0 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 1;
        visibility: visible;

        &:after {
            font-size: 10px;
        }

        &:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: scale(1.05);
        }
    }

    .section__reviews-slider .swiper-button-prev {
        left: 4px;
        right: auto;
    }

    .section__reviews-slider .swiper-button-next {
        right: 4px;
        left: auto;
    }

    .reviews__homepage .reviews__list .review__text {
        min-height: 75px;
        max-height: 75px;
        font-size: 14px;
        line-height: 1.3;
    }

    .reviews__homepage .reviews__list .review__item {
        padding: 10px;
        margin: 0 5px;
    }

    .reviews__homepage .reviews__list .review__item .review__title {
        font-size: 16px;
        margin-top: 8px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .section__reviews-slider .swiper-button-next,
    .section__reviews-slider .swiper-button-prev {
        opacity: 0;
        visibility: hidden;
    }
}

.section--reviews .reviews-list {
    margin-top: 2rem;
}

.section--reviews .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section--reviews .review-item {
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #efefef;
}

.section--reviews .review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section--reviews .review-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.section--reviews .review-date {
    font-size: 0.85rem;
    color: #777;
}

.section--reviews .review-content {
    margin-top: 1rem;
    line-height: 1.6;
    color: #333;
}

.section--reviews .review-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.section--reviews .stars {
    display: flex;
    margin-bottom: 0.5rem;
}

.section--reviews .stars .star {
    font-size: 18px;
    margin-right: 2px;
}

.section--reviews .stars .star::before {
    content: '★';
    color: #ccc;
}

.section--reviews .stars .star--active::before {
    color: #FFD700;
}

.section--reviews .pagination-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section--reviews .badge {
    background-color: #000000;
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
}

.section--reviews .pagination-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section--reviews .pagination .page-link {
    color: #000000;
    border-color: #dee2e6;
    padding: 0.5rem 0.75rem;
}

.section--reviews .pagination .page-item.active .page-link {
    border-radius: 8px;
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.section--reviews .pagination .page-item .page-link:hover {
    opacity: .7;
}

.section--reviews .pagination .page-item--prev {
    margin-right: 15px;
}

.section--reviews .pagination .page-item--next {
    margin-left: 15px;
}

.section--reviews .pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #ECECEC;
    border-color: #dee2e6;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .section--reviews .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section--reviews .review-rating {
        align-items: flex-start;
        margin-top: 1rem;
    }

    .section--reviews .review-item {
        padding: 1rem;
    }
}