        :root {
            --jaune: #ffc629;
            --jaune-fonce: #f2b407;
            --encre: #171717;
            --texte-discret: #6f6f6f;
            --ligne: #dedede;
            --panneau: #ffffff;
            --page: #f7f7f7;
            --danger: #c21f28;
            --succes: #178f4f;
            --ombre: 0 18px 35px rgba(0, 0, 0, 0.16);
            font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            color: var(--encre);
            background: var(--page);
        }

        button {
            border: 0;
            font: inherit;
            cursor: pointer;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        img {
            display: block;
            max-width: 100%;
        }

        .application {
            min-height: 100vh;
            overflow: hidden;
        }

        .ecran {
            display: none;
            min-height: 100vh;
        }

        .ecran.est-actif {
            display: flex;
        }

        .accueil {
            align-items: center;
            justify-content: center;
            padding: 7vh 4vw;
            background:
                linear-gradient(105deg, rgba(255, 198, 41, 0.88) 0 38%, rgba(255, 255, 255, 0) 38%),
                linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.76)),
                url("/wacdo/images/mc_landing_banner.png") right top / auto 58vh no-repeat,
                #f2f2f2;
        }

        .panneau-choix {
            width: min(980px, 92vw);
            min-height: 620px;
            padding: 52px;
            border-radius: 20px;
            background: var(--panneau);
            box-shadow: var(--ombre);
        }

        .panneau-choix h1 {
            margin: 0 0 72px;
            font-size: clamp(54px, 7vw, 92px);
            line-height: 0.95;
        }

        .panneau-choix p {
            max-width: 760px;
            margin: 0 0 72px;
            font-size: clamp(34px, 4vw, 52px);
            font-weight: 800;
            line-height: 1.22;
        }

        .grille-choix {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 52px;
        }

        .carte-choix,
        .carte-option,
        .carte-produit {
            background: #fff;
            border: 4px solid var(--jaune);
            border-radius: 14px;
            transition:
                background-color 0.16s ease,
                border-color 0.16s ease,
                box-shadow 0.16s ease,
                transform 0.16s ease;
        }

        .carte-choix {
            min-height: 330px;
            padding: 28px;
            display: grid;
            place-items: center;
            gap: 18px;
            font-size: clamp(34px, 4vw, 48px);
            font-weight: 800;
        }

        .carte-choix img {
            width: 180px;
            height: 180px;
            object-fit: contain;
        }

        .carte-choix:hover,
        .carte-choix:focus-visible {
            background: #fffaf0;
            box-shadow: 0 14px 26px rgba(255, 198, 41, 0.28);
            transform: translateY(-3px);
            outline: none;
        }

        .ecran-commande {
            background: #fff;
        }

        .disposition-menu {
            width: 100%;
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 365px;
        }

        .catalogue {
            min-width: 0;
            padding: 28px 36px 34px;
        }

        .barre-haut {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 42px;
        }

        .lien-marque {
            width: 78px;
            height: 78px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            transition: background-color 0.16s ease, transform 0.16s ease;
        }

        .lien-marque:hover,
        .lien-marque:focus-visible {
            background: #fff4d0;
            transform: translateY(-1px);
            outline: none;
        }

        .marque {
            width: 70px;
            height: 70px;
            object-fit: contain;
        }

        .onglets {
            display: flex;
            align-items: stretch;
            gap: 10px;
            min-width: 0;
            flex: 1;
            overflow-x: auto;
            padding-bottom: 6px;
        }

        .onglet {
            min-width: max-content;
            padding: 14px 17px;
            border-bottom: 5px solid transparent;
            border-radius: 8px 8px 0 0;
            background: transparent;
            font-weight: 700;
            color: #333;
            transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
        }

        .onglet.est-actif {
            border-color: var(--jaune);
        }

        .onglet:hover,
        .onglet:focus-visible {
            background: #fff4d0;
            color: #000;
            outline: none;
        }

        .titre-section {
            margin: 0;
            font-size: clamp(34px, 4vw, 58px);
            line-height: 1;
        }

        .sous-titre-section {
            max-width: 760px;
            margin: 18px 0 42px;
            color: #282828;
            font-size: clamp(20px, 2vw, 28px);
            font-weight: 600;
        }

        .produits {
            display: grid;
            grid-template-columns: repeat(4, minmax(130px, 1fr));
            gap: 34px 28px;
        }

        .carte-produit {
            position: relative;
            min-height: 255px;
            padding: 18px 14px 16px;
            border-color: transparent;
            display: grid;
            grid-template-rows: 136px auto auto;
            gap: 8px;
            text-align: center;
        }

        .carte-produit:hover,
        .carte-produit:focus-visible {
            border-color: var(--jaune);
            box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
            outline: none;
        }

        .carte-produit img {
            width: 100%;
            height: 136px;
            object-fit: contain;
            align-self: center;
        }

        .carte-produit strong {
            min-height: 44px;
            display: grid;
            place-items: center;
            font-size: 20px;
            line-height: 1.1;
        }

        .prix {
            font-size: 20px;
            font-weight: 800;
        }

        .panier {
            min-height: 100vh;
            padding: 28px 22px;
            background: #fafafa;
            border-left: 1px solid var(--ligne);
            display: grid;
            grid-template-rows: auto 1fr auto;
            gap: 22px;
        }

        .entete-panier {
            display: flex;
            align-items: start;
            justify-content: space-between;
            gap: 20px;
        }

        .panier h2 {
            margin: 0 0 12px;
            font-size: 22px;
        }

        .numero-commande {
            font-size: 40px;
            font-weight: 900;
        }

        .mode-ticket {
            color: #444;
            font-weight: 700;
        }

        .liste-panier {
            margin: 0;
            padding: 0;
            list-style: none;
            overflow-y: auto;
        }

        .element-panier {
            padding: 14px 0;
            border-bottom: 1px solid var(--ligne);
        }

        .ligne-panier {
            display: flex;
            align-items: start;
            justify-content: space-between;
            gap: 12px;
            font-weight: 800;
        }

        .options-panier {
            margin: 8px 0 0;
            padding-left: 16px;
            color: #555;
            line-height: 1.55;
        }

        .panier-vide {
            color: var(--texte-discret);
            font-weight: 700;
        }

        .etat-vide {
            grid-column: 1 / -1;
            margin: 0;
            padding: 40px 0;
            color: var(--texte-discret);
            font-size: 24px;
            font-weight: 800;
        }

        .total {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: end;
            gap: 20px;
            margin-bottom: 18px;
            font-weight: 900;
        }

        .libelle-total {
            font-size: 18px;
            line-height: 1.1;
        }

        .prix-total {
            font-size: 34px;
        }

        .actions-panier {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .bouton {
            min-height: 58px;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: 900;
            background: var(--jaune);
            color: #111;
            transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
        }

        .bouton:hover,
        .bouton:focus-visible {
            background: var(--jaune-fonce);
            box-shadow: 0 10px 18px rgba(242, 180, 7, 0.28);
            transform: translateY(-1px);
            outline: none;
        }

        .bouton.secondaire {
            background: #fff;
            border: 2px solid var(--ligne);
        }

        .bouton.secondaire:hover,
        .bouton.secondaire:focus-visible {
            background: #f5f5f5;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        }

        .bouton.danger {
            background: #fff;
            border: 2px solid var(--danger);
            color: var(--danger);
        }

        .bouton.danger:hover,
        .bouton.danger:focus-visible {
            background: #fff1f2;
            box-shadow: 0 8px 16px rgba(194, 31, 40, 0.14);
        }

        .modale {
            position: fixed;
            inset: 0;
            display: none;
            place-items: center;
            z-index: 10;
            padding: 36px;
            background: rgba(0, 0, 0, 0.42);
        }

        .modale.est-ouverte {
            display: grid;
        }

        .panneau-modale {
            width: min(980px, 94vw);
            max-height: 92vh;
            overflow: auto;
            padding: 44px;
            border-radius: 16px;
            background: #fff;
            box-shadow: var(--ombre);
        }

        .panneau-modale h2 {
            margin: 0 0 12px;
            font-size: clamp(34px, 4vw, 52px);
        }

        .panneau-modale p {
            margin: 0 0 32px;
            font-size: 24px;
            font-weight: 700;
        }

        .grille-options {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 28px;
            margin-bottom: 34px;
        }

        .carte-option {
            min-height: 190px;
            padding: 22px;
            display: grid;
            place-items: center;
            gap: 14px;
            font-size: 28px;
            font-weight: 900;
        }

        .carte-option.est-selectionne {
            border-color: var(--succes);
        }

        .carte-option:hover,
        .carte-option:focus-visible {
            background: #fffaf0;
            box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
            outline: none;
        }

        .carte-option img {
            width: 150px;
            height: 110px;
            object-fit: contain;
        }

        .actions-modale {
            display: flex;
            justify-content: flex-end;
            gap: 16px;
        }

        .selecteur-quantite {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 26px;
            margin: 22px 0 34px;
        }

        .selecteur-quantite button {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--jaune);
            font-size: 34px;
            font-weight: 900;
        }

        .selecteur-quantite span {
            min-width: 70px;
            text-align: center;
            font-size: 36px;
            font-weight: 900;
        }

        .numero-table {
            display: flex;
            justify-content: center;
            gap: 22px;
            margin: 38px 0;
        }

        .numero-table input {
            width: 90px;
            height: 90px;
            border: 2px solid var(--ligne);
            border-radius: 8px;
            text-align: center;
            font-size: 48px;
            font-weight: 900;
        }

        .remerciement {
            align-items: center;
            justify-content: center;
            padding: 40px;
            background:
                linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92)),
                url("/wacdo/images/mc_landing_banner.png") center top / cover no-repeat;
        }

        .panneau-remerciement {
            width: min(900px, 92vw);
            padding: 58px;
            border-radius: 18px;
            background: #fff;
            box-shadow: var(--ombre);
            text-align: center;
        }

        .panneau-remerciement h1 {
            margin: 0 0 32px;
            font-size: clamp(44px, 6vw, 72px);
        }

        .panneau-remerciement p {
            margin: 0 0 18px;
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 800;
            line-height: 1.25;
        }

        @media (max-width: 1100px) {
            .disposition-menu {
                grid-template-columns: 1fr;
            }

            .panier {
                min-height: auto;
                border-left: 0;
                border-top: 1px solid var(--ligne);
            }

            .produits {
                grid-template-columns: repeat(3, minmax(130px, 1fr));
            }
        }

        @media (max-width: 760px) {
            .accueil {
                padding: 24px;
                background:
                    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
                    url("/wacdo/images/mc_landing_banner.png") center top / auto 38vh no-repeat,
                    #f2f2f2;
            }

            .panneau-choix {
                min-height: auto;
                padding: 28px;
            }

            .panneau-choix h1,
            .panneau-choix p {
                margin-bottom: 30px;
            }

            .grille-choix,
            .grille-options {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .carte-choix {
                min-height: 230px;
            }

            .catalogue {
                padding: 18px;
            }

            .barre-haut {
                align-items: flex-start;
                flex-direction: column;
            }

            .onglets {
                width: 100%;
            }

            .produits {
                grid-template-columns: repeat(2, minmax(120px, 1fr));
                gap: 16px;
            }

            .carte-produit {
                min-height: 230px;
            }

            .panneau-modale {
                padding: 26px;
            }
        }
