/* ==========================================================
   AUBERGE — MENU (menu.json) — Style “carte sombre”
   v1.2.2 — transparent + typographie #875F38 + sans prix
   ========================================================== */

.aub-menu{
  --aub-menu-bg: transparent;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 0 4px;
  background: transparent;
  color: #875F38;
}

/* TITRES */
.aub-menu-title{
  font-size: clamp(1.9rem, 2.4vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  font-weight: 800;
  color: #875F38;
}

.aub-menu-desc,
.aub-menu-subtitle{
  margin: 0 0 18px 0;
  font-size: 1.02rem;
  line-height: 1.45;
  opacity: .82;
}

/* SECTIONS */
.aub-menu-section{
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
}

/* Frise 3 : double filet + losange central */
.aub-menu-section::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background:
    linear-gradient(to right, rgba(135,95,56,.55), rgba(135,95,56,.55)) 0 2px/100% 1px no-repeat,
    linear-gradient(to right, rgba(135,95,56,.30), rgba(135,95,56,.30)) 0 7px/100% 1px no-repeat;
}

.aub-menu-section::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: #875F38;
  opacity: .75;
  border-radius: 1px;
}

/* Pas de frise avant la toute première section */
.aub-menu-section:first-of-type{
  margin-top: 0;
  padding-top: 0;
}
.aub-menu-section:first-of-type::before,
.aub-menu-section:first-of-type::after{
  content: none;
}

.aub-menu-section-title{
  margin: 0 0 12px 0;
  font-size: 1.32rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  font-weight: 900;
  opacity: .92;
  color: #875F38;
}

/* LISTE PLATS */
.aub-menu-items{
  list-style: none;
  padding: 0;
  margin: 0;
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.aub-menu-item{
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.aub-menu-item:last-child{
  border-bottom: 0;
}

/* Suppression des puces/points (Divi peut injecter ::marker / ::before) */
.aub-menu-items > li{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.aub-menu-items > li::marker{
  content: "";
}
.aub-menu-items > li::before{
  content: none !important;
}

/* ✅ Badges à gauche sur largeur fixe -> titres alignés */
.aub-menu-item-top{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
}

.aub-menu-badges{
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  min-width: 52px;
}
.aub-menu-badges:empty{
  min-width: 52px;
}

/* Badge (SVG premium) */
.aub-menu-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(1px);
}

.aub-menu-badge svg{
  width: 18px;
  height: 18px;
  display: block;
}

/* Couleurs par badge (SVG = currentColor) */
.aub-menu-badge-vegetarien,
.aub-menu-badge-vegan{
  color: #2e7d32; /* vert */
}

.aub-menu-badge-sans_gluten{
  color: #c62828; /* rouge */
}

.aub-menu-badge-signature{
  color: #f9a825; /* jaune */
}

/* Nom du plat (petites majuscules) */
.aub-menu-item-name{
  color: #875F38;
  font-weight: 800;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  letter-spacing: .08em;
  font-size: 1.12rem;
}

/* Sécurité : aucun marqueur/point avant le titre du plat */
.aub-menu-item-name::before{
  content: none !important;
}

/* Description */
.aub-menu-item-desc{
  margin-top: 4px;
  font-size: .92rem;
  line-height: 1.42;
  opacity: .80;
  color: rgba(135,95,56,.85);
}

/* Allergènes (ligne dessous) */
.aub-menu-item-allergens{
  margin-top: 6px;
  font-size: .78rem;
  line-height: 1.35;
  opacity: .72;
  color: rgba(135,95,56,.75);
}

.aub-menu-item-allergens strong{
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  opacity: .9;
  color: #875F38;
}

/* Finition “carte” : un léger rythme vertical */
.aub-menu-item + .aub-menu-item{
  margin-top: 2px;
}

/* Message erreur */
.aub-menu-error{
  padding: 12px 14px;
  border-left: 3px solid rgba(192,57,43,.95);
  background: rgba(192,57,43,.18);
  border-radius: 12px;
  color: #875F38;
}

/* Mobile */
@media (max-width: 640px){
  .aub-menu-item-top{
    grid-template-columns: 44px 1fr;
    gap: 8px;
  }
  .aub-menu-badges,
  .aub-menu-badges:empty{
    min-width: 44px;
  }
  .aub-menu-section{
    margin-top: 14px;
    padding-top: 14px;
  }
}

/* Légende badges */
.aub-menu-legend{
  margin-top: 18px;
  padding-top: 12px;
}

.aub-menu-legend-title{
  font-weight: 800;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  letter-spacing: .10em;
  font-size: .95rem;
  margin-bottom: 8px;
  color: #875F38;
}

.aub-menu-legend-items{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.aub-menu-legend-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.aub-menu-legend-label{
  font-size: .85rem;
  opacity: .9;
}