/* 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.open-review-form {
    margin-top: 30px;
    margin-bottom: 30px;
}
.reviews-head p.gray {
    color: #a5a5a5;
    max-width: 380px;
}
@media (max-width: 1279px) {
    .reviews-head {
        padding-bottom: 20px;
    }
    .reviews-head .container:nth-child(1) {
        margin-bottom: 0;
    }
}
/* Review Head - End */

/* Review Form - Start */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    max-width: 100%;
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}
.review-form.active {
    max-height: 1000px;
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}
.review-form input {
    font-family: var(--font-family-1);
    font-size: 14px;
    line-height: 18px;
    width: 100%;
    color: var(--black);
    padding: 10px 12px 10px 10px;
    outline: none;
    border: none;
    border: 1px solid #e2e2e2;
}
.review-form textarea {
    font-family: var(--font-family-1);
    font-size: 14px;
    line-height: 18px;
    width: 100%;
    color: var(--black);
    padding: 10px 12px 10px 10px;
    outline: none;
    border: none;
    border: 1px solid #e2e2e2;
}
.review-form input::-webkit-input-placeholder,
.review-form textarea::-webkit-input-placeholder {
    transform: translateY(2px);
}
.review-form input:-moz-placeholder,
.review-form textarea:-moz-placeholder {
    transform: translateY(2px);
}
.review-form input::-moz-placeholder,
.review-form textarea::-moz-placeholder {
    transform: translateY(2px);
}
.review-form input:-ms-input-placeholder,
.review-form textarea:-ms-input-placeholder {
    transform: translateY(2px);
}
.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;
}
@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 {
    display: inline-block;
    width: calc(100% - 45px - 10px);
    margin-left: auto;
    font-size: 16px;
    line-height: 24px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.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 */
