/* Review Head - Start */
.reviews-head {
    padding-bottom: 40px;
}
.reviews-head .h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.reviews-head .h3 {
    margin-bottom: 15px;
}
.reviews-head .btn.сall-review-form {
    margin-top: 30px;
    margin-bottom: 30px;
}
.reviews-head p.gray {
    color: #a5a5a5;
}
@media (max-width: 1279px) {
    .reviews-head {
        padding-bottom: 20px;
    }
    .reviews-head .container:nth-child(1) {
        margin-bottom: 0;
    }
}
/* Review Head - End */

/* Review Form - Start */
.form-description {
    max-width: 100%;
}
.review-form .stars > span {
    display: flex;
    gap: 6px;
}
.review-form .stars > span a {
    display: flex;
    padding-top: 3px;
    background: var(--gray);
    border-radius: 5px;
    width: 35px;
    height: 35px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
.review-form .stars > span a.active,
.review-form .stars > span a:hover {
    background: var(--primary);
}
.captcha-box {
    display: flex;
    gap: 15px;
}
.captcha-box .captcha_question {
    display: flex;
    min-width: max-content;
    align-items: center;
    padding-top: 2px;
}
.captcha-box #captcha_answer {
    display: flex;
    width: 90px;
}
.captcha-box #captcha_answer.error {
    border-color: red;
    background: rgb(255 0 0 / 20%) !important;
}
.review-form input.btn {
    width: fit-content;
    padding: 14px 24px 12px 24px;
}
.success {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 24px;
	line-height: 32px;
	text-align: center;
}
.images-add {
    margin-bottom: 20px;
}
.images-add input {
    display: none;
}
.images-add label a span {
    max-width: 150px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    height: 12px;
}
.images-add .btn {
    padding: 0 20px !important;
}
@media (max-width: 768px) {
    .review-form {
        width: 100%;
    }
	.success {
		font-size: 16px;
		line-height: 22px;
	}
	.success br {
		display: none;
	}
}
/* Review Form - End */

/* Review Content - Start */
.reviews-content {
    padding-bottom: 100px;
}
.review {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: #f8f9fb;
    width: calc(33% - 7px);
    border-radius: 5px;
    box-sizing: border-box;
}
.review-head {
    display: flex;
    gap: 10px;
}
.review-head > img {
    width: 45px;
    height: 45px;
}
.review-head-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.review-date {
    display: flex;
    margin-left: auto;
    align-items: center;
    padding-top: 1px;
}
.review-rating {
    display: flex;
    width: 100%;
    font-size: 22px;
}
.review-content {
    width: calc(100% - 45px - 10px);
    margin-left: auto;
    font-size: 16px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 15;
}
.review-images {
    display: flex;
    width: calc(100% - 45px - 10px);
    margin-left: auto;
    gap: 10px;
}
.review-images img {
    display: flex;
    width: 50px;
    height: 50px;
    object-fit: cover;
}
@media (max-width: 1279px) {
    .review {
        width: calc(50% - 8px);
    }
	.review-images {
		width: calc(100% - 0px);
	}
}
@media (max-width: 768px) {
    .review {
        width: calc(100% - 0px);
    }
    .review-head-content {
        gap: 5px;
    }
    .review-content {
        width: calc(100% - 0px);
        margin-left: 0;
        font-size: 14px;
        line-height: 18px;
    }
}
/* Review Content - End */
