     body {
            font-family: Arial, sans-serif;
            text-align: left;
            padding: 20px;
            margin: 0;
            background-color: #EAE6F5;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color:  #375B75;
            color: #EAE6F5;
            padding: 15px 20px;
        }

        header a {
            color: #EAE6F5;
            text-decoration: none;
            font-weight: bold;
        }

        h1 {
            color: #EAE6F5;
            margin-top: 20px;
        }

        p {
            color: #375B75;
            font-size: 18px;
            margin-bottom: 30px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
            margin: auto;
        }

        .card {
            background-color: #EAE6F5;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            padding: 15px;
            text-align: center;
            transition: transform 0.2s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 10px;
        }

        form {
            margin-top: 10px;
        }

        input[type="number"] {
            width: 60px;
            padding: 5px;
        }

        button {
            margin-top: 10px;
            padding: 8px 15px;
            background-color: #375B75;
            color: #EAE6F5;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            
        }

        button:hover {
            background-color: #1982cd;
        }
        .button {
            margin-top: 30px;
            display: inline-block;
            background-color: #375B75;
            color: #EAE6F5;
            padding: 12px 20px;
            text-decoration: none;
            border-radius: 6px;
             
        }
        .button:hover {
            background-color: #1982cd;
        }

        .back-link {
            text-align: center;
            margin-top: 30px;
        }

        .back-link a {
            color: #375B75;
            text-decoration: none;
            font-weight: bold;
        }


         .notification {
            position: fixed;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: #4CAF50;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            display: none;
            z-index: 999;
        }

        .presentation {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 30px;
            max-width: 900px;
            margin: 40px auto;
            flex-wrap: wrap;
        }

        .presentation img {
            width: 280px;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .presentation-text {
            max-width: 500px;
            text-align: left;
        }

        .presentation-text h2 {
            color: #375B75;
        }
        
        .categorie-container {
         background-color: #EAE6F5;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 20px;
        }

        .categorie {
        width: 250px;
        text-align: center;
        background: #EAE6F5;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.07);
        transition: transform 0.3s, box-shadow 0.3s;
        overflow: hidden; /* pour éviter les débordements sur les bords arrondis */
        }

        .categorie img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        display: block;
        }

        .categorie a {
        display: block;
        margin: 15px auto 20px auto;
        padding: 10px 10px;
        background-color: #375B75;
        color: #EAE6F5;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        width: 80%;
        transition: background-color 0.3s;
}

.categorie a:hover {
    background-color: #1982cd;
}

.categorie:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}


        @media (max-width: 768px) {
            .presentation {
                flex-direction: column;
                text-align: center;
            }

            .presentation-text {
                text-align: center;
            }

            .categorie-container {
                flex-direction: column;
                align-items: center;
            }

            .categorie {
                width: 90%;
            }
        }

        .container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        flex-wrap: wrap;
        text-align: left; /* important pour éviter le centrage forcé */
        }

        .promo {
        flex: 0 0 250px;
        background-color: #EAE6F5;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        text-align: center;
        }

        .promo img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 10px;
        }

        .promo h2 {
        color: #375B75;
        margin-bottom: 10px;
        }

     .promo-btn {
        display: inline-block;
        background-color: #375B75;
        color: white;
        padding: 10px 16px;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        margin-top: 10px;
        }

        .promo-btn:hover {
        background-color: #1982cd;
        }

        .main-content {
        flex: 1;
        min-width: 300px;
        }

        .promo-image {
        transition: transform 0.3s ease;
        cursor: zoom-in;
        }

        .promo-image:hover {
        transform: scale(2);
        z-index: 10;
        position: relative;
        }
        .modal {
        display: none;
        position: fixed;
        z-index: 999;
        padding-top: 50px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.9);
        cursor: zoom-out;
        }

        .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 80%;
        animation: zoomIn 0.3s;
        }

        @keyframes zoomIn {
        from { transform: scale(0.7); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
        }

        .close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        }

        .recap {
            background: #EAE6F5;
            border: 1px solid #ccc;
            padding: 20px;
            margin-top: 20px;
            border-radius: 8px;
            max-width: 600px;
        }


        .panier-table {
            width: 100%;
            border-collapse: collapse;
            margin: 30px auto;
            background: #EAE6F5;
            box-shadow: 0 0 10px #ffffff;
            border-radius: 10px;
            overflow: hidden;
        }

        .panier-table th, .panier-table td {
            padding: 15px;
            text-align: center;
        }

        .panier-table th {
            background-color: #375B75;
            color: #EAE6F5;
        }

        .panier-table td {
            border-bottom: 1px solid #EAE6F5;
        }

        .panier-table img {
            height: 80px;
            border-radius: 8px;
        }

        input[type="number"] {
            width: 60px;
            padding: 5px;
        }

        input[type="text"], input[type="email"], input[type="tel"] {
            width: 100%;
            padding: 10px;
            margin: 8px 0 20px 0;
            border: 1px solid #EAE6F5;
            border-radius: 6px;
        }

        form#commandeForm {
            max-width: 700px;
            margin: auto;
            background: #EAE6F5;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 8px rgba(0,0,0,0.05);
        }

        button {
            padding: 10px 20px;
            background-color: #375B75;
            color: #EAE6F5;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            text-align: center;
        }

        button:hover {
            background-color: #1982cd;
        }

        button:disabled {
            background-color: #EAE6F5;
            cursor: not-allowed;
        }

        .back-link {
            margin-top: 40px;
            text-align: center;
        }

        .back-link a {
            text-decoration: none;
            color: #375B75;
        }

        @media (max-width: 768px) {
            .panier-table td, .panier-table th {
                font-size: 14px;
                padding: 10px;
            }
        }

        /*produit.php*/

        .produit-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;
            padding: 40px 20px;
            gap: 40px;
            max-width: 1200px;
            margin: auto;
        }

        .produit-image img {
            max-width: 400px;
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        .produit-info {
            max-width: 500px;
        }

        .produit-info h1 {
            font-size: 2em;
            margin-bottom: 10px;
            color: #375B75;
        }

        .produit-info p {
            margin-bottom: 15px;
            font-size: 1.1em;
            line-height: 1.6;
        }

        .produit-info .allergenes {
            background-color:rgb(203, 216, 255);
            padding: 15px;
            border-left: 5px solid #375B75;
            border-radius: 8px;
        }

        .retour {
            display: inline-block;
            margin-top: 20px;
            text-decoration: none;
            padding: 10px 20px;
            background-color: #375B75;
            color: white;
            border-radius: 5px;
            transition: background-color 0.2s ease;
        }

        .retour:hover {
            background-color: #1982cd;
        }
        .compteur-panier {
            background-color: red;
            color: white;
            padding: 2px 8px;
            border-radius: 50%;
            font-weight: bold;
            margin-left: 5px;
        }

        .panier-lien {
            text-decoration: none;
            color: #ffffff;
            font-size: 18px;
    }

    .client-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.client-info .form-group {
    display: flex;
    flex-direction: column;
}

.client-info .form-group textarea,
.client-info .form-group input {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ffffff;
    border-radius: 6px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .client-info {
        grid-template-columns: 1fr;
    }
}

#btnCommande {
    background-color: #375B75;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 30px auto 20px auto;
    transition: background-color 0.3s ease;
}

.form-section {
    background-color: #f8f8f8;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin-top: 20px;
    max-width: 600px;
}

.form-section h3 {
    margin-top: 0;
    color: #4b2e1e;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group textarea,
.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #bbb;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    gap: 20px;
}


 

