.elementor-10391 .elementor-element.elementor-element-c497ffc{--display:flex;--margin-top:120px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for html, class: .elementor-element-8a59f97 *//* ============ Thème (80/20) ============ */
:root{
  --avee-card-bg: #fff;
  --avee-text: #111827;         /* gris très foncé */
  --avee-muted: #6b7280;
  --avee-border: #e5e7eb;
  --avee-shadow: 0 10px 30px rgba(0,0,0,.08);

  /* Accent (20%) */
  --avee-accent-start: #3E0115;
  --avee-accent-end:   #A40338;

  /* Couleur prix (bleu) */
  --avee-price: #2563eb;
  /* Couleur étoiles */
  --avee-star: #f6c343;         /* jaune doré, lisible */
}

/* ===== Grille fluide ===== */
ul.products{
  display: grid !important;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== Carte ===== */
ul.products li.product{
  list-style: none;
  background: var(--avee-card-bg);
  border: 1px solid var(--avee-border);
  border-radius: 22px;                    /* arrondi plus doux */
  overflow: hidden;                       /* image arrondie en haut */
  box-shadow: var(--avee-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

ul.products li.product:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  border-color: #d7dbe0;
}

/* ===== Image top (arrondie, ratio carré) ===== */
ul.products li.product a.woocommerce-LoopProduct-link{
  position: relative;
  display: block;
}

ul.products li.product img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f8f9fb;
  /* l’arrondi haut est géré par overflow:hidden sur la carte */
}

/* Badge Promo discret (peut rester) */
ul.products li.product .onsale{
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--avee-accent-start), var(--avee-accent-end));
  box-shadow: 0 6px 18px rgba(164,3,56,.35);
}

/* ===== Titre ===== */
ul.products li.product .woocommerce-loop-product__title{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--avee-text);
  padding: 14px 16px 0 16px;
  margin: 0;
}

/* ===== Rating (étoiles + count) ===== */
ul.products li.product .avee-card-rating{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 0 16px;
}

/* style des étoiles Woo */
ul.products li.product .star-rating{
  --star-size: 16px;
  position: relative;
  display: inline-block;
  font-size: 0;              /* masque le texte éventuel */
  width: calc(var(--star-size) * 5);
  height: var(--star-size);
  background: linear-gradient(90deg, var(--avee-star), var(--avee-star)) left/0% 100% no-repeat,
              #e5e7eb;       /* rail gris clair sous-jacent */
  border-radius: 3px;        /* pas visible, juste sécurité */
  overflow: hidden;
}

/* Woo met un <span style="width:xx%"> : on s’en sert pour remplir */
ul.products li.product .star-rating span{
  display: block;
  height: 100%;
  background: var(--avee-star);
}

/* Compteur (750) */
ul.products li.product .avee-rating-count{
  color: var(--avee-muted);
  font-size: 14px;
}

/* ===== Prix ===== */
ul.products li.product .price{
  padding: 10px 16px 14px 16px;
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--avee-price);       /* bleu vif */
}

ul.products li.product .price del{
  font-size: 14px;
  color: var(--avee-muted);
  margin-right: 8px;
  font-weight: 600;
}
ul.products li.product .price ins{
  text-decoration: none;
}

/* Label HT */
ul.products li.product .price .avee-ht{
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--avee-muted);
}

/* ===== Bouton (si tu veux le conserver) ===== */
ul.products li.product > p:last-of-type{
  margin-top: auto !important;
  padding: 0 16px 16px 16px;
}
ul.products li.product .button{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 46px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 14px;
  color: #fff !important;
  background: linear-gradient(90deg, var(--avee-accent-start), var(--avee-accent-end));
  border: 0;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(164,3,56,.35);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
ul.products li.product .button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(164,3,56,.45);
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{width:100% !important} 

/* ===== Responsive ===== */
@media (max-width: 640px){
  ul.products{ gap: 16px; }
  ul.products li.product .woocommerce-loop-product__title{ font-size: 17px; }
  ul.products li.product .price{ font-size: 19px; }
}

/* Centrer le bouton dans la carte produit */
.woocommerce ul.products li.product {
  text-align: center; /* centre le contenu inline (le bouton) */
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  margin: 1em auto 0 auto; /* auto → centre horizontalement */
}


/* === Centrage prix et titre produit === */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  text-align: center;
  display: block; /* pour forcer le centrage même si inline */
  margin-left: auto;
  margin-right: auto;
}

/* === Masquer les autres montants (prix haut de plage) === */
.woocommerce ul.products li.product .price > .woocommerce-Price-amount[aria-hidden="true"]:not(:first-child) {
  display: none !important;
}

/* === Masquer le séparateur “ – ” === */
.woocommerce ul.products li.product .price > [aria-hidden="true"] {
  display: none !important;
}/* End custom CSS */