/* --- En-tête de la page produit --- */
.page-header {
    margin-top: 80px; /* Compense la barre de navigation fixe */
    background-color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-header h1 {
    color: var(--primary-dark);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.catalog-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* --- Grille Responsive du Catalogue --- */
.catalog {
    display: grid;
    /* La grille s'adapte automatiquement : colonnes de 280px minimum, sinon 1fr */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* --- Cartes Produits --- */
.product {
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden; /* Empêche l'image de déborder des coins arrondis */
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Effet de survol immersif */
.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(232, 180, 184, 0.25); /* Ombre aux couleurs de la marque */
}

/* --- Visuel Produit --- */
.product-visual {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color); /* Liseré rose sous l'image */
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplisse le cadre sans être déformée */
    transition: transform 0.5s ease;
}

.product:hover .product-visual img {
    transform: scale(1.05); /* Léger zoom sur l'image au survol */
}

/* --- Informations Produit --- */
.infos {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Permet d'aligner les prix en bas si les titres font différentes tailles */
}

.product-name {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.product-price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.product:hover .product-price {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Bouton Remonter --- */
.anchor-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-dark);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 900;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.anchor-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}