/* ============================
   GLOBAL
============================ */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ============================
   HEADER + TITRE PAGE
============================ */
header {
    background: #b30000;
    color: white;
    padding: 20px 10px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    overflow: hidden;
}

.page-title {
    background: #990000;
    color: white;
    padding: 12px 10px;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin: 0 0 20px 0;
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
}

/* ============================
   LANG SWITCH
============================ */
.lang-switch {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
}

.lang-switch a {
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.lang-switch img {
    width: 22px;
    margin-right: 5px;
}

/* ============================
   TITRES SECTIONS
============================ */
.category-title {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    overflow: hidden;
}

.category-title.section-titre {
    background: #990000;
    color: white;
    padding: 12px 20px;
    font-size: 28px;
    text-align: center;
}

.category-title.carte-sous {
    background: #BD0F1C;
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    margin: 20px 0 10px 0;
    text-align: center;
}

/* ============================
   BANDEAU MENU ENFANT — VERSION PREMIUM
============================ */
.bandeau-menu-enfant-lite {
    background: #ffe5e5;
    border-left: 6px solid #b30000;
    padding: 18px 22px;
    margin: 35px auto 30px auto;
    border-radius: 8px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bandeau-menu-enfant-lite .titre-enfant {
    font-size: 28px;
    font-weight: 900;
    color: #b30000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.prix-enfant {
    font-size: 26px;
    font-weight: 800;
    color: #b30000;
    margin-top: 4px;
}



/* ============================
   TABS
============================ */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: auto;
}

.tabs a {
    text-decoration: none;
    font-size: 18px;
    padding: 10px 18px;
    border-radius: 30px;
    color: #b30000;
    border: 2px solid #b30000;
    white-space: nowrap;
}

.tabs:not(.header-tabs) a.active,
.tabs:not(.header-tabs) a:hover {
    background: #b30000;
    color: white;
}


/* ============================
   SECTIONS
============================ */
section {
    padding: 25px 30px 25px 20px; /* marge droite élargie */
    max-width: 1100px;
    margin: auto;
}

/* ============================
   PLATS
============================ */
.plats-list {
    width: 100%;
}

.plat-row {
    display: flex;
    justify-content: space-between; /* prix bien à droite */
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    min-width: 0;
}

.plat-left,
.plat-right {
    min-width: 0;
}

.plat-name {
    font-weight: bold;
    font-size: 16px;
    white-space: normal;
}

.plat-desc {
    font-size: 16px;
    color: #555;
    margin-top: 4px;
    white-space: normal;
}

/* ============================
   PRIX MULTIPLES — VERSION STABLE
============================ */

/* Colonne de droite : pile de lignes */
.plat-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
}

/* Largeur fixe de la colonne prix */
.prix-large {
    width: 140px !important;
    min-width: 140px !important;
}

/* Ligne de prix : label fixe + espace + prix */
.prix-ligne {
    display: grid !important;
    grid-template-columns: 80px 0.5cm auto !important;
    align-items: center;
    width: 100%;
    gap: 4px;
}

.quantite {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prix {
    white-space: nowrap;
    font-weight: bold;
    color: #b30000;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 600px) {
    section {
        padding: 18px 12px;
    }

    .plat-row {
        flex-direction: column;
        font-size: 18px;
    }

    .plat-right {
        align-items: flex-start;
        margin-top: 10px;
    }

    .prix-ligne {
        grid-template-columns: 80px 0.5cm auto !important;
        width: 100%;
    }
}

/* ============================
   COULEURS VINS
============================ */
.category-title.couleur-blanc { background: #f4d03f !important; color: #000 !important; }
.category-title.couleur-rouge { background: #b30000 !important; color: #fff !important; }
.category-title.couleur-rose { background: #ff8fb1 !important; color: #000 !important; }
.category-title.couleur-champagne { background: #f7e9a8 !important; color: #000 !important; }
.category-title.couleur-violet { background: #8e44ad !important; color: #fff !important; }

/* ============================
   IFRAME / IMAGES
============================ */
iframe, img, video {
    max-width: 100% !important;
    height: auto;
    display: block;
}

/* ============================
   BOUTON ACCUEIL
============================ */
.btn-retour-accueil {
    all: unset;
    position: fixed;
    top: 120px;
    left: 20px;
    background-color: #d10000;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
    cursor: pointer;
    z-index: 9999;
    display: inline-block;
}

.btn-retour-accueil:hover {
    transform: scale(1.05);
}


/* ============================
   SOUS-TITRES BOISSONS (LEVEL 2)
   Ex : ────────── Pression ──────────
============================ */

.souscat-ligne {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #b30000;
    text-align: center;
    padding: 5px 0 20px;
    letter-spacing: 1px;
    display: block;
    white-space: pre; /* ← OBLIGATOIRE pour afficher les tirets */
}

/* TITRES DU MENU ENFANT : Boissons / Plats / Desserts */
.enfant-titre {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #b30000 !important;
    text-transform: uppercase;
    text-align: center;
    margin: 35px 0 20px 0;
    letter-spacing: 1px;
}
.staff-icon {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 22px;
    opacity: 0.15;
    cursor: pointer;
    z-index: 9999;
    transition: opacity 0.3s;
}

.staff-icon:hover {
    opacity: 0.4;
}

#checkPricesBtn {
  position: fixed;
  bottom: 60px;
  left: 10px;
  background: #000;
  color: #d4af37;
  padding: 12px 18px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  display: none;
  z-index: 99999;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
/* Message de vérification des prix */
.price-check-message {
    position: fixed;
    bottom: 120px;
    left: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease-out;
}

/* Prix OK (vert) */
.price-ok {
    background-color: #28a745;
}

/* Mise à jour nécessaire (rouge) */
.price-update {
    background-color: #dc3545;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
#staffIcon {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    font-size: 22px !important;
    opacity: 0.15 !important;
    cursor: pointer !important;
    z-index: 999999999 !important; /* au-dessus de TOUT */
    pointer-events: auto !important;
}

/* Empêche un élément invisible de bloquer le clic */
body, body * {
    pointer-events: auto !important;
}
#staffIcon {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    font-size: 22px !important;
    opacity: 0.4 !important;
    cursor: pointer !important;      /* ← corrige le problème */
    z-index: 999999999 !important;
    pointer-events: auto !important;
}

/* ============================
   ONGLET ACTIF DU HAUT (VERT)
============================ */
.header-tabs a {
    background: white;
    border: 2px solid #b30000;
    color: #b30000;
}

.header-tabs a.active {
    background: #0a7d00 !important;
    border-color: #0a7d00 !important;
    color: white !important;
}
/* Empêche Android d’ouvrir Google quand on clique sur un plat */
.plat-row, 
.plat-row * {
    pointer-events: none !important;
    text-decoration: none !important;
}









