/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Thème enfant pour Astra
 Author:       Table d'Exception
 Author URI:   https://tabledexception.com
 Template:     astra
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

.category-description {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222;
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
  animation: fadeUp 1s ease-out;
}

/* Animation d’apparition */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .category-description {
    font-size: 16px;
    margin: 40px 20px;
  }
}
/* Description catégorie – luxe et lisibilité */
.category-description {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    max-width: 880px;
    margin: 60px auto;
    color: #222;
    animation: fadeUp 1s ease-out;
}

/* Animation d’apparition */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .category-description {
        font-size: 16px;
        margin: 40px 20px;
    }
}
/* Amélioration lisibilité description catégorie */
.woocommerce-products-header + div p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222; /* Texte foncé */
  font-weight: 400;
  margin-bottom: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  animation: fadeUp 0.6s ease-out;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-products-header + div p {
    font-size: 16px;
    margin: 0 20px;
  }
}
/* Meilleur ciblage description catégorie */
.woocommerce-products-header p {
  font-family: 'Playfair Display', serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #222 !important;
  font-weight: 400 !important;
  text-align: center !important;
  max-width: 800px;
  margin: 10px auto;
  animation: fadeUp 0.6s ease-out;
}

/* Animation apparition douce */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* -------- Description catégorie raffinée -------- */
.woocommerce-products-header p {
  font-family: 'Playfair Display', serif !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #333 !important;
  font-weight: 400 !important;
  text-align: center !important;
  max-width: 700px;
  margin: 10px auto;
  animation: fadeUp 0.8s ease-out;
  letter-spacing: 0.2px;
}

/* -------- Titre page catégorie (h1) stylisé -------- */
.woocommerce-products-header .woocommerce-products-header__title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 40px;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
}

.woocommerce-products-header .woocommerce-products-header__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #a58b5f;
  margin: 10px auto 0;
}

/* -------- Animation -------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2.woocommerce-loop-product__title {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

h2.woocommerce-loop-product__title:hover {
  color: #bfa265; /* doré élégant */
}

h2.woocommerce-loop-product__title::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #bfa265;
  transition: width 0.3s ease;
}

h2.woocommerce-loop-product__title:hover::after {
  width: 100%;
}
.woocommerce ul.products li.product img {
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}
/* Nom de la collection */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px !important;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 5px;
}

/* Mot "Collection" */
.woocommerce ul.products li.product .woocommerce-loop-category__title {
  font-size: 18px !important;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

/* Prix */
.woocommerce ul.products li.product .price {
  font-size: 18px !important;
  font-weight: 500;
  color: #222;
  text-align: center;
  display: blo
/* Prix plus visible, raffiné */
.woocommerce ul.products li.product .price {
  font-size: 20px !important;
  font-weight: 600;
  color: #b29e5b !important; /* Doré chic */
  text-align: center;
  display: block;
  margin-top: 8px;
  font-family: 'Playfair Display', serif;
}
/* STYLE DU PRIX PRODUIT - CLAIR, VISIBLE, CHIC */
.woocommerce ul.products li.product .price {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;  /* Noir profond pour le contraste */
  font-family: 'Playfair Display', serif !important;
  display: block;
  text-align: center;
  margin-top: 10px;
}
/* FORCE LE STYLE DU PRIX PRODUIT */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price del {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  font-family: 'Playfair Display', serif !important;
  text-align: center !important;
  display: block !important;
  margin-top: 10px !important;
}
/* Force l’apparence du prix dans les grilles produit */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce ul.products li.product .price .woocommerce-Price-amount bdi {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  font-family: 'Playfair Display', serif !important;
  text-align: center !important;
  display: block !important;
  margin-top: 10px !important;
}
/* Style forcé du prix produit dans les grilles WooCommerce */
ul.products li.product .price,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .woocommerce-Price-amount bdi {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  font-family: 'Playfair Display', serif !important;
  text-align: center !important;
  display: block !important;
  line-height: 1.4 !important;
}

