@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');


  /* =========================================================
     1. VARIABLES GLOBALES (COLORES, RADIOS, TIPOGRAF BA)
     ========================================================= */
  :root {
    --color-bg: #f3f4f6;                 /* Fondo general de la página del menú */
    --color-card: #ffffff;               /* Fondo de la “tarjeta” principal del menú */
    --color-accent: #c59d5f;             /* Color dorado de acentos / botones */
    --color-accent-soft: rgba(197,157,95,0.12); /* Versión suave del dorado para fondos */
    --color-text: #111827;               /* Color principal del texto */
    --color-muted: #6b7280;              /* Texto secundario (descripciones, notas) */
    --radius-lg: 18px;                   /* Radio general de esquinas redondeadas */
  }

  /* Quitar márgenes por defecto del body (por seguridad) */
  body {
    margin: 0;
    padding: 0;
  }

  /* =========================================================
     2. ENVOLTORIOS GENERALES DEL MENÚ
     ========================================================= */

  /* Fondo exterior (franja gris suave detrás de la tarjeta blanca) */
  .menu2-wrapper {
    background: var(--color-bg);
    padding: 32px 12px;
  }

  /* Contenedor principal del menú (tarjeta blanca que envuelve todo) */
  .menu2-container {
    width: 100%;                         /* Ocupa todo el ancho disponible del contenedor */
    max-width: 960px;                    /* Máximo ancho en pantallas grandes (escritorio) */
    margin: 0 auto;                      /* Centrado horizontal */
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.09);
    padding: 24px 18px;
    border: 1px solid rgba(15,23,42,0.04);
    font-family: var(--mb-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    color: var(--color-text);
  }

  /* =========================================================
     3. CABECERA DEL MENÚ (TÍTULO, SUBTÍTULO, META)
     ========================================================= */
  .menu2-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
  }



/* TÍTULO PRINCIPAL CON BRILLO DORADO PREMIUM */
.menu2-title {
  position: relative;
  display: inline-block;
  font-size: 1.7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 800;

  /* Degradado dorado */
  background-image: linear-gradient(90deg, #b8893b, #f5e0b5, #c59d5f, #f5e0b5, #b8893b);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          color: transparent;

  /* Animación de brillo */
  animation: gold-shine 5s linear infinite;
}

/* Animación del brillo dorado que recorre el texto */
@keyframes gold-shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

  

  .menu2-subtitle {
    font-size: .9rem;
    color: var(--color-muted);
  }

  .menu2-meta {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--color-muted);
  }

  /* =========================================================
     4. ACORDEÓN PRINCIPAL (SECCIONES: ENTRANTES, PASTAS, ETC.)
     ========================================================= */
  .menu2-accordion {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .menu2-section {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #f9fafb;
  }
  
  /* Separación entre cada categoría del menú */
.menu2-section {
  margin-bottom: 18px;
}


  .menu2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    background: #f3f4f6;
  }

  .menu2-section-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .menu2-section-tag {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: var(--color-accent);
    font-weight: 700;
  }

  .menu2-section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .menu2-section-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 600;
  }

  .menu2-section-subtitle {
    font-size: .8rem;
    color: var(--color-muted);
  }

  .menu2-section-toggle {
    font-size: 1.3rem;
    transition: transform .2s;
    color: var(--color-muted);
  }

  /* Rotar la flecha cuando la sección está abierta */
  .menu2-section.open .menu2-section-toggle {
    transform: rotate(90deg);
  }

  /* Cuerpo del acordeón (contenedor de los platos) */
  .menu2-section-body {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height .25s ease;
  }
  
  /* ANIMACIÓN suave al abrir los acordeones */
.menu2-section-body-inner {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}

.menu2-section.open .menu2-section-body-inner {
  opacity: 1;
  transform: translateY(0);
}


  .menu2-section.open .menu2-section-body {
    max-height: 2000px; /* valor alto para permitir ver todo al abrir */
  }

  .menu2-section-body-inner {
    padding: 10px 12px 12px;
  }

  /* =========================================================
     5. SUB-ACORDEONES (POR EJEMPLO, VINOS TINTOS / BLANCOS)
     ========================================================= */
  .menu2-sub-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .menu2-sub-section {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #f9fafb;
  }

  .menu2-sub-header {
    display: flex;
    justify-content: space-between;
    padding: 7px 9px;
    cursor: pointer;
  }

  .menu2-sub-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
  }

  .menu2-sub-note {
    font-size: .75rem;
    color: var(--color-muted);
  }

  .menu2-sub-toggle {
    font-size: 1.1rem;
    color: var(--color-muted);
    transition: transform .2s;
  }

  .menu2-sub-section.open .menu2-sub-toggle {
    transform: rotate(90deg);
  }

  .menu2-sub-body {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height .25s ease;
  }

  .menu2-sub-section.open .menu2-sub-body {
    max-height: 1000px;
  }

  /* =========================================================
     6. ITEMS DEL MENÚ (CADA PLATO / PRODUCTO)
     ========================================================= */
  .menu2-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 4px;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
  }

  .menu2-item:last-child {
    border-bottom: none;
  }

  /* Versión con imagen a la izquierda + texto + precio (en escritorio) */
  .menu2-item.with-image {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  /* Miniatura de la imagen del plato */
.menu2-thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  cursor: pointer;
  position: relative; /* necesario para el texto dentro de la foto */
}

.menu2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* ============================
   IMAGEN “POP OUT” 3D
   ============================ */

/* Ajustes 3D del contenedor */
.menu2-thumb{
  overflow: visible;              /* deja ver la sombra fuera */
  transform-style: preserve-3d;
  perspective: 900px;
}

/* Imagen con transición 3D */
.menu2-thumb img{
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
  transform: translateZ(0);
  transform-style: preserve-3d;
}

/* Sombra “flotante” */
.menu2-thumb::after{
  content:"";
  position:absolute;
  inset: -10px;
  border-radius: 16px;
  pointer-events:none;
  opacity: 0;
  filter: blur(10px);
  transition: opacity .35s ease, transform .35s ease;
}

/* Shine/bisel sutil */
.menu2-thumb::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events:none;
  opacity: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,.55),
    rgba(255,255,255,0) 45%,
    rgba(0,0,0,.18) 100%);
  mix-blend-mode: soft-light;
  transition: opacity .35s ease;
}

/* Hover: sale hacia delante + inclinación */
.menu2-thumb:hover img{
  transform: translateZ(40px) rotateX(8deg) rotateY(-10deg) scale(1.04);
  filter: saturate(1.03) contrast(1.02);
}

.menu2-thumb:hover::after{
  opacity: 1;
  transform: translateY(10px);
  box-shadow: 0 26px 55px rgba(0,0,0,.28);
}

.menu2-thumb:hover::before{
  opacity: .9;
}

/* Móvil: efecto al tocar */
@media (max-width: 768px){
  .menu2-thumb:active img{
    transform: translateZ(34px) rotateX(7deg) rotateY(-8deg) scale(1.03);
  }
  .menu2-thumb:active::after{ opacity: 1; }
  .menu2-thumb:active::before{ opacity: .9; }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .menu2-thumb img,
  .menu2-thumb::before,
  .menu2-thumb::after{
    transition: none !important;
  }
}



  /* Texto pequeño dentro de la imagen (por ejemplo “Nuevo”, “Vegano”) */
  .menu2-thumb-label-inside {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.60);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
  }

  /* Bloque principal de texto de cada plato (nombre + descripción + alérgenos) */
  .menu2-item-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .menu2-item-name {
  font-size: 1.2rem !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}


  .menu2-item-desc {
    font-size: .8rem;
    color: var(--color-muted);
  }

  /* Columna del precio (puede contener varios tamaños y botones) */
  .menu2-item-price {
    font-size: .85rem;
    font-weight: 600;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .menu2-price-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    white-space: nowrap;
  }

  /* Botón tipo “añadir” por si quieres usar pedido online */
  .menu-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 999px;
    border: none;
    background: var(--color-accent);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .1s;
  }

  .menu-add-btn:hover {
    background: #b0884d;
    transform: translateY(-1px);
  }

  .menu-add-btn:active {
    transform: translateY(0);
  }

  /* =========================================================
     7. ALÉRGENOS (TEXTOS + ICONOS)
     ========================================================= */

  /* Contenedor de las etiquetas de alérgenos (píldoras de texto) */
  .menu2-item-allergens {
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Píldora de alérgeno (ej: Gluten, Lactosa…) en texto */
  .menu2-allergen-pill {
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 0.7rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
  }

  /* ICONOS de alérgenos (por ejemplo, imágenes pequeñas de gluten, lactosa…) */
  .menu2-allergen-icon {
    width: 40px;         /* Tamaño por defecto en móvil y pantallas pequeñas */
    height: 40px;
    object-fit: contain;
    margin-right: 4px;
    display: inline-block;
  }

  /* Tamaño MÁS PEQUEÑO de iconos SOLO en pantallas grandes (escritorio ancho) */
  @media (min-width: 1200px) {
    .menu2-allergen-icon {
      width: 19px !important;
      height: 19px !important;
      max-width: 19px !important;
      max-height: 19px !important;
    }
  }

  /* =========================================================
     8. FOOTER DEL MENÚ (NOTAS LEGALES, AVISOS, ETC.)
     ========================================================= */
  .menu2-footer {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
    font-size: .78rem;
    color: var(--color-muted);
    text-align: center;
  }

  /* =========================================================
     9. LIGHTBOX DE IMÁGENES (AMPLIAR FOTO DEL PLATO)
     ========================================================= */
  .menu2-lightbox-bg {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
  }

  .menu2-lightbox-bg.open {
    opacity: 1;
    pointer-events: auto;
  }

  .menu2-lightbox-bg img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    object-fit: contain;
  }

  /* =========================================================
     10. CARRITO FLOTANTE (SI USAS PEDIDO ONLINE)
     ========================================================= */
  .menu2-cart-toggle {
    position: fixed;
    right: 14px;
    bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .8rem;
    background: #111827;
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
    z-index: 9999;
  }

  .menu2-cart-count-pill {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-accent);
    font-weight: 700;
    font-size: .68rem;
  }

  .menu2-cart-panel {
    position: fixed;
    right: 14px;
    bottom: 56px;
    width: 280px;
    max-height: 70vh;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.45);
    padding: 10px;
    z-index: 9999;
    display: none;
    font-size: .8rem;
    border: 1px solid #e5e7eb;
  }

  .menu2-cart-panel.open {
    display: block;
  }

  .menu2-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }

  .menu2-cart-header strong {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
  }

  .menu2-cart-close {
    cursor: pointer;
    color: var(--color-muted);
  }

  .menu2-cart-items {
    max-height: 40vh;
    overflow-y: auto;
    padding: 6px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 6px;
  }

  .menu2-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
  }

  .menu2-cart-item-name {
    flex: 1;
  }

  .menu2-cart-item-qty {
    font-weight: 600;
  }

  .menu2-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }

  .menu2-cart-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
  }

  .menu2-cart-btn {
    flex: 1;
    border-radius: 999px;
    border: none;
    padding: 6px 8px;
    font-size: .78rem;
    cursor: pointer;
  }

  .menu2-cart-btn-primary {
    background: var(--color-accent);
    color: #fff;
  }

  .menu2-cart-btn-secondary {
    background: #e5e7eb;
    color: #111827;
  }

  /* =========================================================
     11. AJUSTES PARA MÓVIL (ANCHO + LAYOUT MÁS CÓMODO)
     ========================================================= */
  @media (max-width: 768px) {

    /* El fondo gris se ajusta un poco en móvil */
    .menu2-wrapper {
      padding: 16px 8px;
    }

    /* La tarjeta blanca ocupa TODO el ancho disponible en móvil */
    .menu2-container {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      padding: 18px 12px;
      border-radius: 12px;
      box-shadow: none;   /* sin sombra para que parezca más integrada */
      border: none;
    }

    /* Foto + texto más anchos: columnas más sencillas en móvil */
    .menu2-item.with-image {
      display: grid;
      grid-template-columns: 68px 1fr;
      grid-template-rows: auto auto;
      column-gap: 10px;
      row-gap: 4px;
      align-items: flex-start;
    }

    .menu2-item-main {
      grid-column: 1 / span 2;
      margin-top: 4px;
    }

    .menu2-item-price {
      grid-column: 1 / span 2;
      text-align: left;
      margin-top: 6px;
    }

    .menu2-item-name {
      width: 100%;
      display: block;
      font-size: .95rem;
    }

    .menu2-item-desc {
      width: 100%;
      display: block;
      font-size: .95rem;
    }

    .menu2-cart-panel {
      right: 8px;
      left: 8px;
      width: auto;
    }
    
    
    
    
  }
  
  
  /* CABECERA CENTRADA PREMIUM */
.menu2-header-centered {
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

/* Título principal */
.titulo-carta {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  color: #1a1a1a;
  text-transform: uppercase;
}

/* Línea dorada decorativa */
.menu2-header-line {
  width: 60px;
  height: 3px;
  background: #c8a462;
  margin: 8px auto 14px auto;
  border-radius: 2px;
}

/* Subtítulo */
.menu2-subtitle {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  color: #333;
}

/* Meta o frase inferior */
.menu2-meta {
  text-align: center;
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 18px;
  letter-spacing: 0.4px;
  color: #444;
}
/* Forzar que las secciones grandes (como Ibéricos) no se corten */
.menu2-section.open .menu2-section-body {
  max-height: none !important;
}
/* Ajuste fino del carrito un poco más hacia el centro */
.menu2-cart-toggle {
  right: 60px !important;   /* antes 50px */
}

.menu2-cart-panel {
  right: 60px !important;   /* panel acompaña al botón */
}

.menu2-desc-list {
  margin: 6px 0 0 0;
  padding-left: 18px;
}

.menu2-desc-list li {
  margin-bottom: 4px;
  font-size: .8rem;
  color: #6b7280;
  line-height: 1.45;
}

/* Bloque de notas de cata: aroma, sabor, variedad */
.menu2-wine-notes {
  margin-top: 4px;
  padding-left: 0;
  list-style: none;
}

.menu2-wine-notes li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 3px;
  font-size: 0.78rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Puntos dorados tipo viñeta */
.menu2-wine-notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}
/* Evitar que los submenús (Tintos, Rioja, Ribera, etc.) se corten en móvil */
.menu2-sub-section.open .menu2-sub-body {
  max-height: none !important;
}
.menu2-footer {
  text-align: center !important;
  width: 100%;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

             /* 🟩🟩🟩 INICIO VENTANA del pedido 🟩🟩🟩 */
/* PANEL DEL PEDIDO – VERSIÓN ESTABLE Y COMPLETA EN PANTALLA */
.menu2-cart-panel {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important; /* Solo centramos en horizontal */

  top: 8vh !important;        /* margen superior */
  bottom: 8vh !important;     /* margen inferior */

  width: 480px !important;    /* ancho en escritorio */
  max-width: 95% !important;  /* casi todo el ancho en móvil */

  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 20px !important;

  font-size: 1rem !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45) !important;

  overflow-y: auto !important;  /* SCROLL si hay muchos productos */
  z-index: 99999;
}

/* BOTÓN FLOTANTE PARA ABRIR EL PEDIDO */
/* BOTÓN VER PEDIDO – MISMA ALTURA QUE VOLVER ARRIBA */
.menu2-cart-toggle {
  position: fixed !important;
  bottom: 12px !important;    /* ↓ lo bajamos un poco más */
  right: 70px !important;     /* a la izquierda de la flecha */
  padding: 8px 14px !important;
  border-radius: 999px !important;
  z-index: 9999 !important;
}

/* AJUSTE EXTRA PARA MÓVIL PEQUEÑO */
@media (max-width: 480px) {
  .menu2-cart-panel {
    top: 6vh !important;
    bottom: 6vh !important;
    width: 96% !important;
    padding: 16px !important;
  }
}
/* PANEL DEL PEDIDO AJUSTADO AL CONTENIDO (SIN TANTO BLANCO VACÍO) */
.menu2-cart-panel {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important; /* centrado horizontal */

  bottom: 80px !important;      /* se apoya sobre la parte baja, sin tapar tanto */
  top: auto !important;         /* que NO se fije por arriba */

  width: 480px !important;
  max-width: 95% !important;

  /* Altura dinámica: crece con el contenido hasta un máximo */
  height: auto !important;
  max-height: 75vh !important;
  overflow-y: auto !important;

  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45) !important;
  font-size: 1rem !important;
  z-index: 99999;
}

/* Ajuste en móvil */
@media (max-width: 480px) {
  .menu2-cart-panel {
    bottom: 70px !important;
    width: 96% !important;
    padding: 16px !important;
    max-height: 70vh !important;
  }
}

           /* 🟩🟩🟩 FINAL VENTANA del pedido 🟩🟩🟩 */
            
            
/* TEXTO FINAL DEL PEDIDO — CENTRADO, GRANDE Y EN NEGRITA */
.menu2-cart-note {
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 700 !important;      /* NEGRITA FUERTE */
  color: #4b5563 !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  line-height: 1.4;
}

 .menu2-item {
  background: #ffffff;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  margin-bottom: 14px;
}

/* ICONOS PREMIUM PARA CADA CATEGORÍA */
.menu2-section-header {
  position: relative;
}

.menu2-section-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-right: 8px;
}
           
 /* BUSCADOR GENERAL DEL MENÚ 1 */
.menu2-search-wrap {
  margin: 10px 0 14px 0;
}

.menu2-search-wrap input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: .85rem;
  outline: none;
}

.menu2-search-wrap input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(197,157,95,0.35);
}

/* Un poquito de aire en móvil */
@media (max-width: 768px) {
  .menu2-search-wrap {
    margin: 8px 0 12px 0;
  }
}

/* =========================================================
   BOTÓN VOLVER ARRIBA – MENÚ 1
   ========================================================= */
#menu2-back-to-top {
  position: fixed;
  bottom: 12px;
  right: 12px;
  left: auto;
  top: auto;
  inset: auto 12px 12px auto;

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;

  background: var(--color-accent);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;

  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

#menu2-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#menu2-back-to-top:hover {
  background: #b0884d;
  transform: translateY(-2px);
}

#menu2-back-to-top:active {
  transform: translateY(0);
}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
  #menu2-back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* =========================================================
   FOOTER PROMOCIONAL – MENÚ DIGITAL + COPYRIGHT
   ========================================================= */
.menu2-footer{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  width: 100%;
}

.menu2-footer-legal{
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0 0 14px 0;
}

.menu2-footer-promo{
  padding: 18px 12px;
  border-top: 1px dashed #e5e7eb;
  max-width: 720px;
  margin: 0 auto;
}

.menu2-footer-question{
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 6px 0;
}

.menu2-footer-claim{
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 14px 0;
  color: #1f2937;
}

.menu2-footer-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;

  background-color: #1a73e8;
  color: #ffffff;

  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              background-color 0.15s ease;
}

.menu2-footer-btn:hover{
  background-color: #1668d3;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.menu2-footer-btn:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.menu2-footer-copyright{
  margin: 14px 0 0 0;
  font-size: 0.72rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
}
/* =========================================================
   SUMILLER IA (BOTÓN + PANEL)
   ========================================================= */

.menu2-ai-toggle{
  position: fixed !important;
  bottom: 12px !important;
  left: 12px !important;          /* lo ponemos a la izquierda */
  right: auto !important;

  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: none !important;

  background: #111827 !important;
  color: #fff !important;
  font-size: .85rem !important;
  font-weight: 700 !important;

  box-shadow: 0 12px 25px rgba(0,0,0,0.35) !important;
  z-index: 9999 !important;
  cursor: pointer !important;
}

.menu2-ai-panel{
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 80px !important;

  width: 480px !important;
  max-width: 95% !important;
  max-height: 75vh !important;
  overflow: hidden !important;

  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35) !important;

  display: none !important;
  z-index: 99999 !important;
}

.menu2-ai-panel.open{ display:block !important; }

.menu2-ai-header{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.menu2-ai-close{
  border:none;
  background: transparent;
  cursor:pointer;
  color: #6b7280;
  font-weight: 700;
}

.menu2-ai-messages{
  padding: 12px 14px;
  overflow-y: auto;
  max-height: 52vh;
}

.menu2-ai-bubble{
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: .9rem;
  line-height: 1.35;
  border: 1px solid #e5e7eb;
}

.menu2-ai-bubble.bot{ background: #f9fafb; }
.menu2-ai-bubble.user{ background: rgba(197,157,95,0.10); border-color: rgba(197,157,95,0.25); }

.menu2-ai-input{
  display:flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e5e7eb;
}

#menu2-ai-text{
  flex:1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  outline: none;
}

#menu2-ai-send{
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.menu2-ai-bubble{
  white-space: pre-line;  /* respeta \n como saltos */
}


/* ============================
   FIX ESCRITORIO: precio a la derecha + alérgenos debajo del texto
   ============================ */
@media (min-width: 769px){

  /* Grid fijo en PC: foto | texto | precio */
  .menu2-item.with-image{
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    grid-template-rows: auto auto; /* 1: nombre/desc, 2: alérgenos */
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
  }

  /* Foto ocupa las 2 filas */
  .menu2-item.with-image .menu2-thumb{
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  /* Texto (nombre + desc) en columna central */
  .menu2-item.with-image .menu2-item-main{
    grid-column: 2;
    grid-row: 1;
  }

  /* Alérgenos SIEMPRE debajo del texto, en la misma columna central */
  .menu2-item.with-image .menu2-item-allergens{
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    min-width: 0;
  }

  /* Precio SIEMPRE en la derecha, alineado al final */
  .menu2-item.with-image .menu2-item-price{
    grid-column: 3;
    grid-row: 1 / span 2; /* ocupa ambas filas */
    justify-self: end;
    align-self: start;
    text-align: right;
    white-space: nowrap;
  }
 }

/* ✅ ALÉRGENOS: en línea y con salto (móvil y PC) */
.menu2-item-allergens{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  width: 100% !important;
}

/* ✅ Cada pill NO ocupa 100% (evita que bajen 1 por línea) */
.menu2-item-allergens .menu2-allergen-pill{
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* ✅ Ajuste fino en móvil para que entren más por fila */
@media (max-width: 768px){
  .menu2-item-allergens{ gap: 5px 6px !important; }
  .menu2-item-allergens .menu2-allergen-pill{
    font-size: 0.66rem !important;
    padding: 2px 8px !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
  }
}

/* ✅ FIX MÓVIL: alérgenos ocupan toda la fila y hacen wrap real */
@media (max-width: 768px){
  .menu2-item-allergens{
    grid-column: 1 / span 2 !important;  /* ocupa la fila completa */
    width: 100% !important;
  }
}

@media (max-width: 768px){
  .menu2-item-allergens{
    grid-column: 1 / span 2 !important;
    width: 100% !important;
  }
}

/* ============================
   SUMILLER IA — typing "..."
   ============================ */
.menu2-ai-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu2-ai-typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6b7280;
  opacity: 0.35;
  animation: menu2Typing 1s infinite ease-in-out;
}

.menu2-ai-typing .dot:nth-child(2){ animation-delay: .15s; }
.menu2-ai-typing .dot:nth-child(3){ animation-delay: .30s; }

@keyframes menu2Typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* ===== FIX ancho centrado Menú Gourmet Clásico ===== */

[data-menube-app="1"]{
  width: min(1080px, calc(100% - 24px));
  margin: 32px auto;
  padding: 24px 18px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.09);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px){
  [data-menube-app="1"]{
    width: calc(100% - 8px);
    margin: 10px auto;
    padding: 16px 10px;
    border-radius: 12px;
    box-shadow: none;
    border: none;
  }
}


  .menube-root,
  .menube-root button,
  .menube-root input,
  .menube-root textarea,
  .menube-root select,
  .menu2-title,
  .menu2-subtitle,
  .menu2-meta,
  .menu2-section-title,
  .menu2-section-subtitle,
  .menu2-sub-title,
  .menu2-sub-note,
  .menu2-item-name,
  .menu2-item-desc,
  .menu2-item-price,
  .menu2-price-line,
  .menu2-cart-panel,
  .menu2-cart-panel button,
  .menu2-ai-panel,
  .menu2-ai-panel button,
  .menu2-ai-panel input,
  .menu2-search-wrap input,
  .menu2-footer,
  .menu2-footer button {
    font-family: var(--mb-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  }
