/* Module Avis Clients XML - Styles simplifiés */

.mdoru-xml-feed-container {
	width: 100%;
	display: block;
}

/* Bloc d'en-tête avec note globale */
.reviews-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.overall-rating-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	color: #fff;
}

.overall-rating-stars {
	display: flex;
	gap: 5px;
}

.overall-rating-stars .star {
	font-size: 32px;
	line-height: 1;
}

.overall-rating-stars .star.filled {
	color: #FFD700;
}

.overall-rating-stars .star.half {
	color: #FFD700;
	opacity: 0.6;
}

.overall-rating-stars .star.empty {
	color: rgba(255, 255, 255, 0.3);
}

.overall-rating-text {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.rating-number {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.rating-scale {
	font-size: 24px;
	opacity: 0.8;
}

.review-count-text {
	font-size: 16px;
	opacity: 0.9;
}

.review-count-text strong {
	font-weight: 700;
}

/* Grille des avis */
.mdoru-reviews-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
}

.xml-feed-item.review-item {
	margin-bottom: 0;
	padding: 25px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.xml-feed-item.review-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Note avec étoiles */
.review-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.review-rating .stars {
	display: flex;
	gap: 3px;
}

.review-rating .star {
	font-size: 24px;
	line-height: 1;
}

.review-rating .star.filled {
	color: #FFB800;
}

.review-rating .star.empty {
	color: #ddd;
}

.review-rating .rating-text {
	font-weight: 600;
	color: #333;
	font-size: 16px;
}

/* Commentaire */
.review-comment {
	margin-top: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.review-comment p {
	margin: 0 0 10px 0;
	line-height: 1.7;
	color: #555;
	font-size: 15px;
	flex: 1;
}

/* Bouton Voir plus/moins */
.toggle-comment {
	align-self: flex-start;
	background: transparent;
	border: none;
	color: #0077cc;
	cursor: pointer;
	padding: 5px 0;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.toggle-comment:hover {
	color: #005599;
}

/* Message d'erreur */
.xml-feed-error {
	padding: 20px;
	background: #fee;
	border: 1px solid #fcc;
	border-radius: 5px;
	color: #c00;
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.reviews-header {
		padding: 20px;
	}
	
	.overall-rating-stars .star {
		font-size: 28px;
	}
	
	.rating-number {
		font-size: 36px;
	}
	
	.rating-scale {
		font-size: 20px;
	}
	
	.mdoru-reviews-container {
		grid-template-columns: 1fr;
	}
	
	.xml-feed-item.review-item {
		padding: 20px;
	}
	
	.review-rating .stars {
		gap: 2px;
	}
	
	.review-rating .star {
		font-size: 20px;
	}
	
	.review-comment p {
		font-size: 14px;
	}
}
