/*stars*/
.review-stars {
	display: flex;
	flex-direction: row;
}

.review-stars span {
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: 0 !important;
	margin-right: 1px !important;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("/wp-content/themes/astra-child/footer/assets/img/gg/f.svg");
}

.review-stars-0 span,
.review-stars-4 span:last-child,
.review-stars-3 span:nth-last-child(2),
.review-stars-3 span:nth-last-child(1),
.review-stars-2 span:nth-last-child(3),
.review-stars-2 span:nth-last-child(2),
.review-stars-2 span:nth-last-child(1),
.review-stars-1 span:nth-last-child(4),
.review-stars-1 span:nth-last-child(3),
.review-stars-1 span:nth-last-child(2),
.review-stars-1 span:nth-last-child(1) {
	background-image: url("/wp-content/themes/astra-child/footer/assets/img/gg/e.svg");
}

.review-stars-3-5 span:nth-last-child(1) {
	background-image: url("/wp-content/themes/astra-child/footer/assets/img/gg/e.svg");
}

.review-stars-4-5 span:last-child,
.review-stars-3-5 span:nth-last-child(2) {
	background-image: url("/wp-content/themes/astra-child/footer/assets/img/gg/h.svg");
}

/*stars*/


.footer__reviews {
	gap: 2em;
	display: flex;
	border: solid red;
	flex-direction: column;
}

.footer__reviews-header {
	display: flex;
	padding: 0 0.8em;
	border: solid blue;
	align-items: center;
	justify-content: space-between;
}

.footer__reviews-header__title {
	border: solid 1px red;
}

.footer__reviews-header__title h2 {
	color: #373640;
	font-weight: 400;
	font-size: 1.875rem;
	font-family: var(--footer-font);
}

.footer__reviews-navs {
	gap: 1em;
	display: flex;
	flex-direction: row;
	align-items: center;
	border: solid 1px green;
}

.footer__reviews-navs--mobile {
	display: none;
}

.review-button {
	width: 40px;
	height: 40px;
	display: flex;
	color: #373640;
	cursor: pointer;
	border-radius: 100%;
	align-items: center;
	justify-content: center;
	border: solid 2px #373640;
	transition: background-color 0.3s ease-in-out;
}

.review-button:hover {
	color: #ffffff;
	background-color: #373640;
}

.footer__reviews-content {
	gap: 2.5em;
	display: grid;
	padding: 1em 0.8em;
	border: solid green;
	grid-template-columns: 280px 1fr;
}

.footer__reviews-content__infos {
	gap: 1.5em;
	padding: 1em;
	display: flex;
	position: relative;
	text-align: center;
	align-items: center;
	border-radius: 15px;
	flex-direction: column;
	background-color: white;
	justify-content: center;
	box-shadow: 0 0 25px #00000014;
}

.footer__reviews-content__infos-link {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	border: none !important;
}

.footer__reviews-content__infos:hover .review-info__img img {
	transform: scale(0.9);
}

.review-info {
	gap: 0.5em;
	display: flex;
	flex-direction: column;
}

.review-info__img img {
	transition: transform 0.3s ease-in-out;
}

.review-info__stars .review-stars {
	justify-content: center;
}

.review-info__rating {
	color: #343727;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1rem;
	font-family: var(--footer-font-2);
}

.review-info__total {
	color: #8F96A1;
	font-size: 0.6875rem;
	line-height: 0.6875rem;
	letter-spacing: -0.11px;
	text-transform: uppercase;
	font-family: var(--footer-font-2);
}

.footer__reviews-content__slider {
	overflow: hidden;
	border: solid orange;
}

.footer__review .swiper-slide {
	width: fit-content;
	border: solid 1px green;
}

.review-item {
	gap: 1em;
	width: 300px;
	height: 234px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: solid 1px black;
}

.review-item__content {
	color: #000000;
	--line-clamp: 4;
	overflow: hidden;
	font-size: 0.875rem;
	line-height: 1.5rem;
	display: -webkit-box;
	letter-spacing: -0.14px;
	-webkit-box-orient: vertical;
	font-family: var(--footer-font-2);
	-webkit-line-clamp: var(--line-clamp);
}

.review-item__author {
	color: #8F96A1;
	font-size: 0.875rem;
	line-height: 1.5rem;
	letter-spacing: -0.14px;
	font-family: var(--footer-font-2);
}


/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {

	.footer__reviews-header {
		flex-direction: column;
	}

	.footer__reviews-content {
		gap: 1em;
		grid-template-columns: 1fr;
	}

	.review-info__img img {
		max-width: 60px;
	}

	.review-item {
		width: 100%;
		height: fit-content;
	}

	.footer__reviews-navs--mobile {
		gap: 2em;
		display: flex;
		justify-content: center;
	}

	.footer__reviews-navs--hide-mobile {
		display: none;
	}


}

/*tablet*/
@media (min-width: 768px) and (max-width: 1023px) {

	.footer__reviews-content {
		grid-template-columns: 300px 1fr;
	}

	.review-item {
		width: 100%;
		height: fit-content;
	}

}

/*mobile and tablet*/
@media (max-width: 1023px) {

}

/*desktop*/
@media (min-width: 1025px) {

}

/*laptop 1*/
@media (min-width: 1024px) and (max-width: 1439px) {

	.footer__reviews-content {
		gap: 1em;
		grid-template-columns: 215px 1fr;
	}

	.review-info__img img {
		max-width: 80px;
	}

	.review-item {
		width: 230px;
		height: 210px;
	}

	.review-item__content {
		font-size: 0.75rem;
		line-height: 1.4rem;
	}

	.review-item__author {
		font-size: 0.65rem;
		line-height: 1rem;
	}

}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {

	.footer__reviews-content {
		gap: 1.5em;
		grid-template-columns: 230px 1fr;
	}

	.review-item {
		width: 245px;
	}

	.review-item__content {
		font-size: 0.75rem;
		line-height: 1.4rem;
	}

	.review-item__author {
		font-size: 0.65rem;
		line-height: 1rem;
	}


}

/*RESPONSIVE*/
