/* ============================
   BLOC BLANC GLOBAL
   ============================ */
.categories {
    text-align: center;
    min-width: 300px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 30px 20px;
    width: 100%;
    max-width: 100%;
    margin: 10px;
    background-color: white;
}

/* ============================
   TITRE GLOBAL
   ============================ */
.categories h2 {
    font-weight: normal;
    background-color: #f3f3f3;
    color: #35687B;
    font-size: 40px;
    margin: 10px auto 25px auto;
    padding: 10px 25px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ============================
   GRILLE GLOBALE
   ============================ */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: calc(6 * 180px + 5 * 16px);
    margin: 0 auto;
}
/* ============================
   CARTES CATÉGORIES
   ============================ */
.categorie {
    width: 160px;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px #35687B;
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	flex: 0 0 160px;
}

.categorie:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px #35687B;
}

.categorie img {
    width: 100%;
    border-radius: 8px;
    height: 120px;
    object-fit: cover;
}

.categorie span {
    display: block;
    margin-top: 10px;
    font-size: 1.05rem;
    color: #333;
}

/* ============================
   CARTES PRODUITS
   ============================ */
.produit {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.produit:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.produit img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.produit span {
    display: block;
    padding: 12px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}
