/* ===== Avis Google Carousel ===== */
.avis-google-carousel {
	position: relative;
	padding: 6px 6px 40px;
	max-width: 100%;
	box-sizing: border-box;
}

.avis-google-carousel * {
	box-sizing: border-box;
}

.avis-google-carousel .swiper-slide {
	height: auto;
	display: flex;
	padding: 10px 8px;
}

.avis-card {
	background: #fff;
	border: 1px solid #ededed;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	padding: 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	transition: box-shadow .2s ease;
}

.avis-card:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

/* --- Étoiles --- */
.avis-etoiles {
	display: inline-flex;
	gap: 1px;
	font-size: 16px;
	line-height: 1;
}

.avis-etoiles .etoile.pleine {
	color: #fbbc05;
}

.avis-etoiles .etoile.vide {
	color: #e0e0e0;
}

/* --- Texte de l'avis --- */
.avis-texte-wrap {
	flex-grow: 1;
}

.avis-texte {
	font-size: 13.5px;
	color: #5f6368;
	line-height: 1.5;
}

/* Texte coupé à 4 lignes tant qu'il n'est pas déplié. */
.avis-texte.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --- Bouton "Voir plus" --- */
.avis-voir-plus {
	display: inline-block;
	background: none;
	border: none;
	padding: 0;
	margin: 3px 0 0;
	color: #9aa0a6;
	font-size: 12px;
	font-weight: 400;
	cursor: pointer;
	transition: color .2s ease;
}

.avis-voir-plus:hover {
	color: #4285F4;
	text-decoration: underline;
}

/* --- En-tête : photo + nom + date (en haut) --- */
.avis-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.avis-photo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #4285F4, #34A853);
	display: flex;
	align-items: center;
	justify-content: center;
}

.avis-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.avis-initiale {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.avis-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	min-width: 0;
}

.avis-nom {
	font-weight: 600;
	font-size: 14px;
	color: #202124;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.avis-date {
	font-size: 12px;
	color: #9aa0a6;
}

/* --- Flèches de navigation --- */
.avis-google-carousel .swiper-button-prev,
.avis-google-carousel .swiper-button-next {
	color: #fff;
	background: #202124;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.avis-google-carousel .swiper-button-prev:after,
.avis-google-carousel .swiper-button-next:after {
	font-size: 14px;
	font-weight: 700;
}

/* --- Pagination (points) --- */
.avis-google-carousel .swiper-pagination-bullet-active {
	background: #4285F4;
}

@media (max-width: 600px) {
	.avis-google-carousel {
		padding: 6px 4px 36px;
	}
	.avis-google-carousel .swiper-button-prev,
	.avis-google-carousel .swiper-button-next {
		display: none;
	}
}
