body {
            background: #f8f9fa;
            margin: 0;
            padding: 0;
            font-family: 'Poppins', sans-serif;
        }

        .commande-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 8rem 2rem 2rem;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 2rem;
        }

        /* Header avec info */
        .commande-header {
            background: linear-gradient(135deg, rgba(126, 11, 58, 0.9), rgba(126, 11, 58, 0.7)), 
                        url('img/banner.jpg') center/cover;
            color: white;
            padding: 3rem 2rem;
            text-align: center;
            margin-top: 5rem;
        }

        .commande-header h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .commande-header p {
            font-size: 1.4rem;
            opacity: 0.9;
        }

        /* Section Menu */
        .menu-section {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .type-section {
            margin-bottom: 3rem;
        }

        .type-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #7e0b3a;
        }

        .type-header h2 {
            color: #7e0b3a;
            font-size: 2rem;
            margin: 0;
        }

        .type-header i {
            font-size: 2.5rem;
            color: #7e0b3a;
        }

        .plat-card {
            background: #f8f9fa;
            border-radius: 1rem;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            cursor: pointer;
        }

        .plat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: #7e0b3a;
        }

        .plat-image {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 0.8rem;
            margin-right: 1.5rem;
        }

        .plat-no-image {
            width: 100px;
            height: 100px;
            background: #e9ecef;
            border-radius: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            color: #6c757d;
            font-size: 2.5rem;
        }

        .plat-info {
            flex: 1;
        }

        .plat-nom {
            font-size: 1.4rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .plat-description {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        .plat-accompagnements {
            font-size: 1rem;
            color: #7e0b3a;
            font-style: italic;
            margin-bottom: 0.5rem;
        }

        .plat-prix {
            font-size: 1.6rem;
            font-weight: bold;
            color: #7e0b3a;
        }

        .plat-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-ajouter {
            background: #7e0b3a;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            font-size: 1.2rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-ajouter:hover {
            background: #a01449;
            transform: scale(1.05);
        }

        .quantite-control {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: white;
            padding: 0.3rem;
            border-radius: 0.5rem;
        }

        .quantite-control button {
            background: #7e0b3a;
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: 0.3s;
        }

        .quantite-control button:hover {
            background: #a01449;
        }

        .quantite-control span {
            font-weight: bold;
            min-width: 30px;
            text-align: center;
        }

        /* Panier */
        .panier-section {
            position: sticky;
            top: 8rem;
            height: fit-content;
        }

        .panier {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .panier h2 {
            color: #7e0b3a;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .panier-vide {
            text-align: center;
            padding: 3rem 1rem;
            color: #666;
        }

        .panier-vide i {
            font-size: 4rem;
            color: #ddd;
            margin-bottom: 1rem;
        }

        .panier-item {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            position: relative;
        }

        .panier-item-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.5rem;
        }

        .panier-item-nom {
            font-weight: bold;
            color: #333;
            flex: 1;
        }

        .panier-item-prix {
            color: #7e0b3a;
            font-weight: bold;
        }

        .panier-item-options {
            font-size: 0.9rem;
            color: #666;
            margin: 0.5rem 0;
        }

        .btn-supprimer {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: #dc3545;
            color: white;
            border: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-supprimer:hover {
            background: #c82333;
        }

        .panier-total {
            border-top: 2px solid #7e0b3a;
            padding-top: 1rem;
            margin-top: 1.5rem;
        }

        .total-ligne {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .total-ligne.grand-total {
            font-size: 1.4rem;
            font-weight: bold;
            color: #7e0b3a;
            margin-top: 1rem;
        }

        /* Formulaire de commande */
        .formulaire-commande {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            font-weight: bold;
            color: #7e0b3a;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            font-size: 1rem;
            border: 1px solid #ddd;
            border-radius: 0.5rem;
            transition: 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #7e0b3a;
            box-shadow: 0 0 0 3px rgba(126, 11, 58, 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin: 0;
        }

        .btn-commander {
            background: #7e0b3a;
            color: white;
            border: none;
            padding: 1.2rem 3rem;
            border-radius: 0.5rem;
            font-size: 1.4rem;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            width: 100%;
        }

        .btn-commander:hover {
            background: #a01449;
            transform: translateY(-2px);
        }

        .btn-commander:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        /* Modal pour options plat */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 1rem;
            width: 90%;
            max-width: 500px;
            position: relative;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #7e0b3a;
        }

        .modal-header h3 {
            color: #7e0b3a;
            margin: 0;
        }

        .close {
            color: #aaa;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover {
            color: #7e0b3a;
        }

        .options-groupe {
            margin-bottom: 1.5rem;
        }

        .options-groupe h4 {
            color: #7e0b3a;
            margin-bottom: 1rem;
        }

        .option-radio {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .option-radio input[type="radio"] {
            margin-right: 0.5rem;
        }

        .option-radio label {
            cursor: pointer;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .commande-container {
                grid-template-columns: 1fr;
            }

            .panier-section {
                position: relative;
                top: 0;
            }
        }

        @media (max-width: 768px) {
            .commande-header h1 {
                font-size: 2rem;
            }

            .plat-card {
                flex-direction: column;
                text-align: center;
            }

            .plat-image,
            .plat-no-image {
                margin: 0 auto 1rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .panier-item {
            animation: slideIn 0.3s ease-out;
        }

        /* Message de succès */
        .message-succes {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .message-erreur {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Loader */
        .loader {
            display: none;
            text-align: center;
            padding: 2rem;
        }

        .loader.active {
            display: block;
        }

        .loader i {
            font-size: 3rem;
            color: #7e0b3a;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Ajoutez ces styles à votre fichier css/commande.css */

/* Ajustement pour les plats sans description */
.plat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plat-nom {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.plat-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Si pas de description, ajuster l'espacement */
.plat-nom {
  font-size: 2.6rem; /* Beaucoup plus gros */
  color: #7e0b3a;
  font-weight: 800; /* Très gras */
  font-family: 'Georgia', serif; /* Police élégante */
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(126, 11, 58, 0.2); /* Ombre colorée */
  letter-spacing: 0.8px; /* Espacement des lettres */
  text-transform: capitalize; /* Première lettre en majuscule */
  border-bottom: 3px solid #7e0b3a; /* Ligne décorative */
  padding-bottom: 0.5rem;
  display: block;
}

.plat-accompagnements {
    font-size: 0.85rem;
    color: #7e0b3a;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.plat-prix {
    font-size: 1.3rem;
    font-weight: bold;
    color: #7e0b3a;
    margin-top: auto;
}