

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: auto;
    color: white;
    font-family: 'Arial', sans-serif;
    height: 10px; /* Pour que l'image couvre toute la hauteur de la fenêtre */
    margin: 30; /* Enlève les marges par défaut */
}


#whatsapp-button {
    position: fixed; /* Le bouton reste fixé même lorsque l'utilisateur fait défiler la page */
    bottom: 20px; /* Distance du bas de la page */
    right: 20px; /* Distance du bord droit */
    z-index: 1000; /* Assure que le bouton soit visible au-dessus d'autres éléments */
    display: flex; /* Utilise flex pour centrer l'image dans le bouton */
    align-items: center; /* Centre l'image verticalement */
    justify-content: center; /* Centre l'image horizontalement */
    width: 60px; /* Taille du bouton */
    height: 60px; /* Taille du bouton */
    background-color: #25D366; /* Couleur d'arrière-plan verte de WhatsApp */
    border-radius: 50%; /* Forme circulaire */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre légère */
    cursor: pointer; /* Le curseur devient une main pour indiquer qu'il est cliquable */
    overflow: hidden; /* Empêche l'image de déborder du bouton circulaire */
}

#whatsapp-button img {
    width: 40px; /* Taille de l'icône */
    height: 40px; /* Taille de l'icône */
    object-fit: cover; /* L'icône s'adapte sans déformation dans le cercle */
}



/* Style du header */
h1 {
    font-size: 2rem;
    text-align: center;
    background-color: #563c8f; /* Violet foncé */
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Section des produits */


@media screen and (max-width: 768px) {
    .products {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}

.product-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre l'image et le texte */
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 320px; /* Réduire la largeur des conteneurs */
    margin: 0 auto;
}

.product-card img {
    width: 100px; /* Ajustement de la taille de l'image */
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.product-info h2 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.price {
    background: #ff9800;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
}

/* Boutons */
button {
    background: #ff7a00; /* Couleur orange vif, proche de l'impression */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

button:hover {
    background: #e76f00; /* Couleur un peu plus foncée au survol */
}

/* Pied de page */
.footer {
    background: linear-gradient(135deg, #3c4b8c, #563c8f); /* Dégradé violet-bleu */
    color: white;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    margin-top: 30px;
}

.footer h2 {
    margin-bottom: 15px;
    font-size: 28px;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: white;
    font-size: 30px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #ff9800; /* Changer la couleur au survol */
}

/* Mots-clés SEO */
.keywords {
    background: #222;
    color: #bbb;
    padding: 20px;
    font-size: 14px;
    margin-top: 30px;
}

.keywords p {
    margin: 0;
    padding: 5px 0;
    line-height: 1.6;
}

/* Responsivité pour les petits écrans */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    .product-info h2 {
        font-size: 1.2rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1rem;
    }

    .footer h2 {
        font-size: 24px;
    }

    .footer p {
        font-size: 14px;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        font-size: 25px;
    }

    .keywords {
        font-size: 12px;
    }
}

/* Responsivité pour les très petits écrans */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }

    .product-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .product-card img {
        width: 100px;
        height: 100px;
    }

    .product-info h2 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.8rem;
    }

    .price {
        font-size: 0.9rem;
    }

    .footer h2 {
        font-size: 22px;
    }

    .footer p {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 20px;
    }
}
