/* Achat-Fourmis â€” CSS central du site */

/* Design system */
:root {
  --af-color-ink: #17251c;
  --af-color-green: #2f6b45;
  --af-color-green-dark: #1e4a2f;
  --af-color-coral: #f2603f;
  --af-color-coral-dark: #d1481f;
  --af-color-lime: #c6f24d;
  --af-color-cream: #f6f4ee;
  --af-color-white: #ffffff;
  --af-color-gold: #e0a52a;
  --af-font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --af-font-heading: 'Bricolage Grotesque', var(--af-font-body);
  --af-space-1: 4px;
  --af-space-2: 8px;
  --af-space-3: 12px;
  --af-space-4: 16px;
  --af-space-5: 20px;
  --af-space-6: 24px;
  --af-space-8: 32px;
  --af-space-10: 40px;
  --af-space-12: 48px;
  --af-space-16: 64px;
  --af-space-20: 80px;
  --af-radius-sm: 10px;
  --af-radius-md: 16px;
  --af-radius-lg: 20px;
  --af-radius-pill: 999px;
  --af-shadow-card: 0 8px 20px rgba(23, 37, 28, 0.10);
  --af-shadow-card-hover: 0 12px 28px rgba(242, 96, 63, 0.22);
  --af-container: 1240px;
  --af-transition: 180ms ease;
  --vert: var(--af-color-green);
  --vert-fonce: var(--af-color-green-dark);
  --corail: var(--af-color-coral);
  --corail-fonce: var(--af-color-coral-dark);
  --lime: var(--af-color-lime);
  --creme: var(--af-color-cream);
  --encre: var(--af-color-ink);
  --or: var(--af-color-gold);
  --blanc: var(--af-color-white);
}
.af-container {
  width: min(calc(100% - 32px), var(--af-container));
  margin-inline: auto;
}
.af-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0;
}

/* Cartes produit et grilles */
/* Liens des produits et catÃ©gories */
/* Hover effects for category product links */
.woocommerce-LoopProduct-link:hover {
  color: #f2603f !important;  /* corail hover */
  text-decoration: underline;
  text-decoration-color: #f2603f;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Aussi pour les titres de produits */
.woocommerce-loop-product__title a:hover {
  color: #f2603f !important;
  text-decoration: underline;
  text-decoration-color: #f2603f;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Buttons de dÃ©couvrir si ce sont des liens */
.button.af-decouvrir:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Cartes produit des grilles accueil */
.af-hgrid li.product {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(242, 96, 63, .32);
  display: block;
	  opacity: 1;
	  animation-fill-mode: both;
  margin-bottom: 15px;
}

.af-hgrid li.product .button {
  background: #f26040;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px;
}

.af-hgrid li.product .button:hover {
  background-color: #e8501e;
}

.af-hgrid li.product img {
  width: 100%;
  height: auto;
}

.af-hgrid .woocommerce-loop-product__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
}

.af-hgrid .woocommerce-loop-product__rating{color:inherit}
.af-hgrid .woocommerce-loop-product__rating::after{content:" / 5"}

.af-hgrid .price {
  display: block;
  padding: 0 16px;
  color: var(--vert);
  font-weight: 800;
  font-size: 16px;
}

/* Animation en amlioration progressive */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.af-hgrid li.product.in-view {
	  animation: fadeIn 0.6s ease-out forwards;
}

