/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* En-tête */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

nav a:hover {
    text-decoration: underline;
}

/* Section Produits */
.produits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Style de chaque produit */
.produit {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.produit:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image des produits */
.produit img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Titre des produits */
.produit h2 {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

/* Description */
.produit p {
    font-size: 14px;
    color: #555;
}

/* Prix */
.prix {
    font-size: 18px;
    color: #27ae60;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

/* Bouton Ajouter au panier */
button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #219150;
}

.panier {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.panier ul {
    list-style: none;
    padding: 0;
}

.panier button {
    background: #27ae60;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}
