/* ==========================================================
   CYBERIAL — Widget Reviews Slider
   Slider horizontal d'avis Google avec bordures,
   navigation par flèches, scroll snap.
   ========================================================== */

.cy-review-section {
	font-family: 'Inter', -apple-system, system-ui, sans-serif;
	padding: 0 20px 40px 20px;
	max-width: 1240px;
	margin: 0 auto;
}

/* --- En-tête : Google à gauche, Arrows à droite --- */
.cy-slider-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.cy-google-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #1d1c1a;
}

/* --- Navigation flèches --- */
.cy-slider-nav {
	display: flex;
	gap: 1px;
}

.cy-nav-btn {
	width: 44px;
	height: 44px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #e8c256;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.cy-nav-btn:hover {
	background: #fafafa;
	color: #1d1c1a;
}

/* --- Container du Slider --- */
.cy-review-container {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	scrollbar-width: none;
}

.cy-review-container::-webkit-scrollbar {
	display: none;
}

/* --- Carte avis --- */
.cy-review-card {
	flex: 0 0 33.333%;
	min-width: 350px;
	padding: 50px 40px;
	box-sizing: border-box;
	background: #fff;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	transition: background 0.2s ease;
}

.cy-review-card:hover {
	background: #fafafa;
}

/* --- Ligne étoiles + badge --- */
.cy-review-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

/* --- Étoiles --- */
.cy-review-stars {
	color: #ffb400;
	font-size: 14px;
}

/* --- Badge optionnel --- */
.cy-review-badge {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(232, 194, 86, 0.12);
	color: #b8960f;
	white-space: nowrap;
	line-height: 1;
}

/* --- Texte de l'avis --- */
.cy-review-text {
	font-size: 16px;
	line-height: 1.6;
	color: #4a4a4a;
	margin: 0 0 30px 0;
	flex-grow: 1;
}

/* --- Auteur --- */
.cy-review-author h4 {
	font-family: 'Libre Baskerville', serif;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 5px 0;
	color: #1d1c1a;
}

.cy-review-author span {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.cy-review-card {
		flex: 0 0 50%;
	}
}

@media (max-width: 768px) {
	.cy-review-section {
		padding: 0 15px 40px 15px;
	}

	.cy-review-container {
		border-left: none;
	}

	.cy-review-card {
		flex: 0 0 100%;
		min-width: 100%;
		border-left: 1px solid #e0e0e0;
		padding: 40px 25px;
	}

	.cy-slider-header {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
}
