/*------GÉNÉRALITÉS ETOILES--------*/
.avis-stars {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}

.avis-star {
    width: 20px;
    aspect-ratio : 1 / 1;
    color: #cccccc;
    transition: color 0.2s ease;
}

/* Étoiles vides */
.avis-star path {
    fill: #ccc;
}

.avis-star.hover path,
.avis-star.selected path,
.avis-star.full path {
    fill:#CEB345;
}

/* Demi-étoiles */
.avis-star.half path {
    fill: url(#halfStarGrad);
}

.avis-star.empty path{
    fill: #DDD;
}

.avis-note-count {
    margin-left: 5px;
    font-size: 14px;
    line-height : 1.3em;
    color: #666;
}

.note-chiffre {
    display : none;
}

/* Lien dans la fiche produit */
.avis-note-link {
    text-decoration: none;
    color: inherit;
}

.avis-note-link {
  display : flex;
  align-items : center;
  margin-bottom : 10px;
}
.container-avis {
  display : flex;
  align-items : center;
  justify-content : center;
  margin-bottom : 10px;
}

.avis-stars-display {
  height : 20px;
}

.avis-note-link:hover .avis-star {
    transform: scale(1.05);
    transition: 0.2s ease;
}
/*------LAISSER UN AVIS---------*/
.avis-plugin-form {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0;
  background: #fff;
}

.avis-plugin-form .title-principal-avis {
  margin-bottom: 20px;
}
/*généralités formulaire*/
.avis-plugin-form fieldset {
 padding : 20px;
 border-radius : 5px;
 background-color : #F2F2F2;
 border : 0;
 margin-bottom : 20px;
}

.avis-plugin-form fieldset .title-fieldset {
  margin-bottom: 15px;
}
.avis-plugin-form textarea {
 background-color : #FFFFFF;
 border : 0;
 border-radius : 5px;
 box-shadow : none;
 transition : outline 0.3s ease;
}

.avis-plugin-form textarea:focus-visible {
  background-color : #FFFFFF;
  border : 0;
  outline : 2px solid #E2E2E2;
}
/*zone produit*/
.avis-plugin-form fieldset .container-produit-avis {
  padding : 20px;
  border-radius : 5px;
  background-color : #E0E0E0;
  margin-bottom : 10px;
}
.avis-plugin-form fieldset .container-produit-avis:last-child {
  margin-bottom : 0;
}
.avis-plugin-form fieldset .nom-produit {
  font-size : 1.1em;
  margin-bottom: 0;
}

/*choix laisser ou non un avis*/
.avis-plugin-form .choix-avis {
  font-size : 0.9em;
  margin-bottom : 0;
}

/*choix note*/
.avis-plugin-form .container-note-avis {
  display : flex;
  align-items : center;
  column-gap : 15px;
  margin : 1em 0;
}
.avis-plugin-form .container-note-avis label{
  font-size : 1em;
  line-height : 1em;
  font-weight : 600;
  min-width : 70px;
}

/*saisie commentaire*/
.avis-plugin-form .choix-commentaire-avis {

}

/*validation*/
.avis-plugin-form .container-btn-submit {
  display : flex;
  justify-content : flex-end;
  padding : 10px 0;
}

.avis-plugin-form .button {
  background-color: #3A3A3A;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition : opacity 0.3s ease;
}

.avis-plugin-form .button:hover {
  background-color: #3A3A3A;
  color : #fff;
  opacity : 0.7;
}

/*------LISTE DES AVIS---------*/
.avis-boutique-list {
  /*max-width: 700px;*/
  margin: 40px auto;
  padding: 20px;
  /*background: #fff;*/
}

.entry-content .woocommerce-pagination ul li::before{
  display : none!important;
}
