/* ============================================================
   Catalogue — Style éditorial premium
   Surcharge les styles produit pour un rendu magazine luxe
   ============================================================ */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 18px;
  padding: 8px 0;
}
@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 36px;
  }
}
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 44px;
  }
}

.product-card {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.product-thumb {
  aspect-ratio: 4 / 5 !important;
  overflow: hidden;
  position: relative;
  background: #f3eee5;
  margin-bottom: 22px;
  border-radius: 0 !important;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

/* Badge catégorie : minéral, en haut, lettrage espacé */
.product-cat-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: transparent !important;
  color: #ffffff !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Info produit : padding réduit, hiérarchie typographique */
.product-info {
  padding: 0 2px !important;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.3px;
  color: var(--text-dark, #1a1a1a);
  margin: 0 0 14px !important;
  position: relative;
}

/* Fine ligne or sous le titre */
.product-info h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold, #c8a974);
  margin: 14px 0 0;
}

.product-info p {
  font-size: 13px !important;
  font-style: italic;
  line-height: 1.65 !important;
  color: var(--text-light, #7a7a7a) !important;
  margin: 16px 0 22px !important;
  flex: 1;
}

/* Footer (prix + cta) : sans bordure, baseline alignment */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: none !important;
  padding-top: 0 !important;
}

.product-price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 22px !important;
  color: var(--gold, #c8a974) !important;
  font-weight: 500 !important;
  letter-spacing: -0.3px;
  line-height: 1;
}

.product-price span {
  font-family: inherit !important;
  font-size: 11px !important;
  font-style: italic;
  color: var(--text-light, #9a9a9a) !important;
  font-weight: 400 !important;
  margin-left: 3px !important;
  display: inline-block !important;
}

/* CTA : texte simple, soulignement animé au hover */
.product-cta {
  font-size: 10px !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold, #c8a974) !important;
  font-weight: 600 !important;
  position: relative;
  padding-bottom: 4px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.product-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold, #c8a974);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-cta::after {
  transform: scaleX(1);
}

/* Filtres : style épuré */
.product-filters {
  text-align: center;
  margin-bottom: 48px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  justify-content: center;
}

.product-filters button {
  background: transparent !important;
  border: none !important;
  color: var(--text-light, #7a7a7a) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 4px !important;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 500;
}

.product-filters button::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--gold, #c8a974);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.product-filters button:hover,
.product-filters button.active {
  color: var(--text-dark, #1a1a1a) !important;
  background: transparent !important;
}

.product-filters button:hover::after,
.product-filters button.active::after {
  transform: scaleX(1);
}
