/* FAQ */
.faq__item { border-bottom: 1px solid #ddd;}
.faq__item-header {cursor: pointer; }
.faq__item-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__item.active .faq__item-body { max-height: 500px; padding: 10px 0; }

/* Modal */
#review-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 9999; visibility: hidden; opacity: 0; transition: opacity 0.3s; }
#review-modal.open { visibility: visible; opacity: 1; }
.review-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.review-modal__content { position: relative; background: #fff; border-radius: 10px; padding: 30px; max-width: 600px; width: 90%; z-index: 10; animation: fadeIn 0.3s ease; }
.review-modal__close { position: absolute; top: 10px; right: 15px; font-size: 24px; background: none; border: none; cursor: pointer; }
.modal-open { overflow: hidden; }

@keyframes fadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.faq {
    max-width: 1196px;
    margin: 90px auto;
}

.faq__title {
    font-weight: 700;
    font-size: 42px;
    line-height: 48px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 22px;
}

.faq__description {
    max-width: 932px;
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
    color: #000000;
    opacity: 0.8;
}

.faq__question {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-transform: none;
}

.faq__icon {
    position: absolute;
    right: 0;
    top: 18px;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__icon {
    transition: all 0.4s;
}

.faq__item-body {
    border-top: 1px solid #ddd;
}

.faq__item:hover .faq__icon {
    transform: rotate(45deg);
}

.faq__item:hover .faq__question {
    opacity: 0.6;
}

.faq__question {
    transition: all 0.4s;
}

.faq__item-header {
    padding: 26px 0;
    position: relative;
}

.faq__item {
    margin-bottom: 0;
}

.faq__item.active .faq__item-body {
    width: 100%;
    padding: 20px 0;
    max-height: none;
    opacity: 1;
}

.faq__item-body {
    opacity: 0;
    transition: all 0.4s;
}

.reviews {
    max-width: 1196px;
    margin: 0 auto 90px;
}

.reviews__title {
    font-weight: 700;
    font-size: 42px;
    line-height: 48px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 40px;
}

.reviews__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 23px;
}

.review-card {
    border: 1px solid #B2B2B2;
    padding: 28px 30px;
    position: relative;
    max-width: 383px;
    width: 100%;
}

.review-card__full-text {
    display: none;
}

.review-card__name {
    font-weight: 600;
    font-size: 17px;
    line-height: 25px;
    color: #000000;
    text-transform: none;
    margin-bottom: 0;
}

.review-card__date {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    opacity: 0.7;
}

.review-card__rating {
    position: absolute;
    top: 41px;
    display: flex;
    right: 30px;
}

.review-card__description {
    margin-top: 24px;
    height: 248px;
    margin-bottom: 0;
    display: block;
}

.review-card__link {
    text-transform: none !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.star-rating__star img {
    max-width: 100%;
}

.review-card__link:hover {
    opacity: 0.6;
}

html body .review-modal__close {
    position: absolute;
    top: 10px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 0;
    padding: 0;
    width: 35px;
    color: white;
    background: black;
    min-height: 35px;
}

.review-card__rating {
    gap: 2px;
}

.review-card__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    opacity: 0.9;
    position: relative;
    overflow: hidden;
}

.review-card__link {
    transition: all 0.4s;
}

.modal-open {
    overflow: hidden;
    position: relative;
}

.tax-product_cat .faq {
    margin: 30px auto 0;
}


@media (max-width: 990px){

    .faq__title {
        font-size: 22px;
        line-height: 28px;
    }

    .faq__description {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 23px;
    }

    .faq {
        margin: 45px auto;
    }

    .faq__question {
        font-size: 16px;
        line-height: 22px;
    }

    .faq__icon {
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .faq__question {
        width: 85%;
    }

    .reviews__title {
        margin-bottom: 22px;
        font-size: 22px;
        line-height: 28px;
    }

    .review-card {
        max-width: 100%;
    }

    .review-card__description {
        height: auto;
    }

    .review-card__description {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .review-card__name {
        font-size: 16px;
        line-height: 24px;
    }

    .review-card__date {
        font-size: 14px;
    }

    .star-rating__star img {
        max-width: 16px !important;
    }

    .review-card__rating {
        top: 43px;
    }

    .review-card__link {
        font-size: 14px;
        line-height: 22px;
    }

    .reviews {
        margin: 0 auto 45px;
    }

}

