/*** HOME ***/

div.content {
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 1200px; 
    padding: 0 10px;
}

/* Intro */
div.intro {
    text-align: center;
    margin-bottom: 30px;
}

h1 { 
    text-align: center; 
    font-family: "Montserrat", sans-serif;
    color:#d837be;
    font-size: 1.8em;
}
div.intro p {
    font-size: 1.3em;
}

h2 { 
    font-family: "Montserrat", sans-serif;
    font-size: 1.6em;
    color: #6B5896;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;

}
h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #d837be;
    border-radius: 2px;
}

/* Ligne produits */
div.produits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Carte produit */
div.produit {
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease;
}

div.produit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Lien */
div.produit a.card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Image */
div.produit .image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* Texte */
div.produit h3 {
    font-size: 0.95em;
    font-family: "Montserrat", sans-serif;
    margin: 8px 0 5px;
    color: #333;
    line-height: 1.3em;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

div.produit .prix {
    font-family: "Libre Caslon Text", serif;
    font-size: 0.95em;
    color: #6B5896;
}

.voir-boutique {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background: #6B5896;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.voir-boutique:hover {
    background: #d837be;
}

.reviews-slider-wrapper h2::before {
    display: none;
}

/*** RESPONSIVE ***/

@media screen and (max-width: 900px) {
    div.produits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    div.produits {
        grid-template-columns: 1fr;
    }

    h2 {
        text-align: center;
    }
}