.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin-left: 0 !important;
    border: none!important;
}
/* Conteneur global des avis */
.woocommerce-Reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Chaque avis sous forme de carte */
.woocommerce-Reviews .comment {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* Auteur de l'avis */
.woocommerce-Reviews .comment .comment-author {
  font-weight: bold;
  color: #6C757D;
  margin-bottom: 5px;
}
/* Date de l'avis */
.woocommerce-Reviews .comment .comment-meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 10px;
}
/* Texte de l'avis */
.woocommerce-Reviews .comment .description {
  font-size: 1em;
  line-height: 1.5;
  color: #444;
}
/* Étoiles dorées comme CusRev */
.woocommerce-Reviews .star-rating span:before {
  color: #FFBE00 !important;
}
/* Formulaire d’ajout d’avis */
.woocommerce-Reviews #review_form_wrapper {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #f9f9f9;
}
.woocommerce-Reviews #review_form_wrapper label {
  font-weight: bold;
  color: #6C757D;
}
.woocommerce-Reviews #review_form_wrapper input,
.woocommerce-Reviews #review_form_wrapper textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
}
.woocommerce-Reviews #review_form_wrapper input[type="submit"] {
  background: #FFBE00;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}
.woocommerce-Reviews #review_form_wrapper input[type="submit"]:hover {
  background: #e0a800;
}
/* Encadrer chaque avis avec un fin cadre gris */
.woocommerce-Reviews .comment_container {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
}
/* Corriger la taille des avatars CusRev et WooCommerce */
.comment_container .cr-avatar,
.woocommerce-Reviews .comment_container img.avatar {
  width: 40px !important;
  height: auto !important;
max-width:40px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  float: left;
}
/* Décaler le texte du commentaire pour ne pas chevaucher l’avatar */
.comment_container .comment-text {
  margin-left: 50px;
}
/*CSS pour styliser les barres*/
/* Limiter la largeur du résumé des avis */
.avis-resume {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
}
.avis-resume h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: bold;
}
.avis-bar {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.avis-bar:hover {
  background: #f9f9f9;
}
.avis-label {
  width: 80px;
  font-size: 0.9em;
  color: #6C757D;
}
.avis-progress {
  flex: 1;
  height: 12px;
  background: #f4f4f4;
  border-radius: 6px;
  margin: 0 10px;
  overflow: hidden;
}
.avis-fill {
  height: 100%;
  background: #FFBE00;
  border-radius: 6px;
}
.avis-count {
  width: 30px;
  text-align: right;
  font-size: 0.9em;
  color: #6C757D;
}
/* Styles spécifiques pour mobile */
@media (max-width: 768px) {
  /* Avis individuels */
  .woocommerce-Reviews .comment_container {
    padding: 5px !important;
    margin-bottom: 5px !important;
  }
  /* Titre des avis (h2) */
  .woocommerce-Reviews h2 {
    font-size: 1.2em !important;
  }
  /* Résumé des avis */
  .avis-resume {
    margin: 5px auto !important;
    padding: 10px !important;
  }
}
.avis-filter-message {
  margin-top: 12px;
  padding: 8px 12px;
  background: #f9f9f9;
  border-left: 4px solid #FFBE00;
  color: #6C757D;
  font-size: 0.95em;
  font-style: italic;
}
