/*
Theme Name: Asparagus Child
Theme URI: https://asparagus.qodeinteractive.com
Description: A child theme of Asparagus
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: asparagus
Template: asparagus
*/

/* vinos en movil*/
#vinos_mvl h4 {
  font-size: 20px;
}

/* -----------------------------
   Ajustes generales mobile
   ----------------------------- */
@media (max-width: 768px) {
  /* Evita que el slider “fullscreen” tape contenido */
  #rev_slider_12_1_wrapper,
  #rev_slider_12_1 {
    height: 70vh !important;
    min-height: 420px;
  }

  /* Margen interior global para que nada “pegue” a los bordes */
  .elementor-section.elementor-top-section,
  .qodef-grid.qodef-content-full-width {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Botones grandes (CTA) */
  .qodef-button {
    min-height: 48px;
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  /* Espaciado vertical entre bloques elementor */
  .elementor-widget:not(:last-child) {
    margin-bottom: 24px;
  }
}

/* -----------------------------
   Header y navegación
   ----------------------------- */
@media (max-width: 1024px) {
  /* Header fijo con sombra suave */
  #qodef-page-mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: #fbf9f4;
  }

  /* Logo responsive */
  #qodef-page-mobile-header img.qodef-header-logo-image {
    max-width: 160px;
    height: auto;
  }

  /* Botón hamburguesa */
  .qodef-mobile-header-opener {
    width: 48px;
    height: 48px;
    /*border-radius: 50%;*/
    justify-content: center;
  }

  /* Menú desplegado: relleno y tipografía */
  .qodef-mobile-header-navigation {
    background: #fbf9f4;
    padding: 12px 24px 32px;
  }
  .qodef-mobile-header-navigation li a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .qodef-mobile-header-navigation li:last-child a {
    border-bottom: none;
  }
}

/* -----------------------------
   Secciones de contenido
   ----------------------------- */
@media (max-width: 768px) {
  /* Bloques zigzag / cartas: tarjetas con sombra */
  #menu-a .qodef-e.qodef-grid-item,
  #menu-b .qodef-e.qodef-grid-item,
  #menu-c .qodef-e.qodef-grid-item {
    background: #202224 !important;
    padding-top: 10px;
  }
}

@media (max-width: 768px) {
  /* Bloques zigzag / cartas: tarjetas con sombra */
  .qodef-restaurant-menu-list .qodef-e {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /*border-radius: 14px;*/
    padding: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
    /* background: #fff;*/
  }
  .qodef-e-heading-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .qodef-e-description {
    font-size: 0.95rem;
    margin-top: 6px;
  }

  /* Acordeones de alérgenos */
  details.alergenos-trazas-collapsible {
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 10px;
  }
  details[open] summary {
    color: #c0392b;
  }
  details summary {
    font-weight: 600;
    cursor: pointer;
  }

  /* Carrusel de testimonios: centra flechas debajo */
  .qodef-testimonials-list-holder .swiper-button-prev,
  .qodef-testimonials-list-holder .swiper-button-next {
    position: static;
    margin-top: 12px;
    color: #000;
  }
  .qodef-testimonials-list-holder .swiper-button-prev svg,
  .qodef-testimonials-list-holder .swiper-button-next svg {
    width: 32px;
    height: 32px;
  }

  /* Galería: 2 columnas con gap */
  .qodef-image-gallery .qodef-grid-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* -----------------------------
   Formularios (reservas / OpenTable)
   ----------------------------- */
@media (max-width: 768px) {
  .qodef-reservation-form.qodef-layout--inline .qodef-m-field {
    width: 100%;
  }
  .qodef-reservation-form select,
  .qodef-reservation-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 14px;
    font-size: 1rem;
  }
  .qodef-reservation-form button.qodef-button {
    width: 100%;
  }
}

/* -----------------------------
   Footer
   ----------------------------- */
@media (max-width: 768px) {
  #qodef-page-footer-top-area-inner {
    padding: 60px 18px;
    text-align: center;
  }
  #qodef-page-footer-top-area-inner p,
  #qodef-page-footer-top-area-inner a {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .qodef-social-text {
    gap: 18px;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Catacaldos: Menú inferior móvil                                             */
/* -------------------------------------------------------------------------- */
/* Menú inferior móvil accesible y sin solapar contenido */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }

  #mobile-bottom-menu,
  #mobile-bottom-menu * {
    box-sizing: border-box;
  }

  #mobile-bottom-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 99999 !important;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Fjalla One", sans-serif !important;
  }

  #mobile-bottom-menu ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100% !important;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  #mobile-bottom-menu li {
    position: relative;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile-bottom-menu a {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    min-height: 52px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #111 !important;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: normal;
  }

  #mobile-bottom-menu a[aria-current="page"] {
    background-color: rgba(192, 57, 43, 0.12);
  }

  #mobile-bottom-menu .qodef-mobile-label {
    text-align: center;
  }

  #mobile-bottom-menu .qodef-mobile-menu-dropdown {
    position: static;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: 0;
    list-style: none;
    cursor: pointer;
    user-select: none;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.15;
    color: #111;
    background: transparent;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary::-webkit-details-marker {
    display: none;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary::after {
    content: "▾";
    font-size: 0.72rem;
    opacity: 0.75;
  }

  #mobile-bottom-menu
    .qodef-mobile-menu-dropdown[open]
    .qodef-mobile-menu-summary {
    background-color: rgba(192, 57, 43, 0.12);
  }

  #mobile-bottom-menu
    .qodef-mobile-menu-dropdown[open]
    .qodef-mobile-menu-summary::after {
    content: "▴";
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 100000;
    display: grid !important;
    grid-template-columns: 1fr;
    width: min(210px, 72vw);
    max-height: 58vh;
    overflow: auto;
    padding: 8px !important;
    margin: 0 !important;
    list-style: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu li {
    width: 100% !important;
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 0;
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) {
  #mobile-bottom-menu {
    display: none !important;
  }
}

/* Ajuste de anclaje para tabs de Menús de grupo en móvil */
@media (max-width: 1024px) {
  #menu-a,
  #menu-b,
  #menu-c,
  #menu-d,
  #menu-e {
    scroll-margin-top: 110px;
  }
}


/* Etiquetas de texto para iconos de alergenos */
details.alergenos-trazas-collapsible .qodef-allergen-with-text,
details.alergenos-trazas-collapsible .qodef-allergen-text-only {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  margin-bottom: 6px;
}

details.alergenos-trazas-collapsible .qodef-allergen-text-label {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #222;
}

details.alergenos-trazas-collapsible .qodef-allergen-fallback-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

/* vinos en movil*/
#vinos_mvl h4 {
  font-size: 20px;
}

/* -----------------------------
   Ajustes generales mobile
   ----------------------------- */
@media (max-width: 768px) {
  /* Evita que el slider “fullscreen” tape contenido */
  #rev_slider_12_1_wrapper,
  #rev_slider_12_1 {
    height: 70vh !important;
    min-height: 420px;
  }

  /* Margen interior global para que nada “pegue” a los bordes */
  .elementor-section.elementor-top-section,
  .qodef-grid.qodef-content-full-width {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Botones grandes (CTA) */
  .qodef-button {
    min-height: 48px;
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  /* Espaciado vertical entre bloques elementor */
  .elementor-widget:not(:last-child) {
    margin-bottom: 24px;
  }
}

/* -----------------------------
   Header y navegación
   ----------------------------- */
@media (max-width: 1024px) {
  /* Header fijo con sombra suave */
  #qodef-page-mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: #fbf9f4;
  }

  /* Logo responsive */
  #qodef-page-mobile-header img.qodef-header-logo-image {
    max-width: 160px;
    height: auto;
  }

  /* Botón hamburguesa */
  .qodef-mobile-header-opener {
    width: 48px;
    height: 48px;
    /*border-radius: 50%;*/
    justify-content: center;
  }

  /* Menú desplegado: relleno y tipografía */
  .qodef-mobile-header-navigation {
    background: #fbf9f4;
    padding: 12px 24px 32px;
  }
  .qodef-mobile-header-navigation li a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .qodef-mobile-header-navigation li:last-child a {
    border-bottom: none;
  }
}

/* -----------------------------
   Secciones de contenido
   ----------------------------- */
@media (max-width: 768px) {
  /* Bloques zigzag / cartas: tarjetas con sombra */
  #menu-a .qodef-e.qodef-grid-item,
  #menu-b .qodef-e.qodef-grid-item,
  #menu-c .qodef-e.qodef-grid-item {
    background: #202224 !important;
    padding-top: 10px;
  }
}

@media (max-width: 768px) {
  /* Bloques zigzag / cartas: tarjetas con sombra */
  .qodef-restaurant-menu-list .qodef-e {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /*border-radius: 14px;*/
    padding: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
    /* background: #fff;*/
  }
  .qodef-e-heading-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .qodef-e-description {
    font-size: 0.95rem;
    margin-top: 6px;
  }

  /* Acordeones de alérgenos */
  details.alergenos-trazas-collapsible {
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 10px;
  }
  details[open] summary {
    color: #c0392b;
  }
  details summary {
    font-weight: 600;
    cursor: pointer;
  }

  /* Carrusel de testimonios: centra flechas debajo */
  .qodef-testimonials-list-holder .swiper-button-prev,
  .qodef-testimonials-list-holder .swiper-button-next {
    position: static;
    margin-top: 12px;
    color: #000;
  }
  .qodef-testimonials-list-holder .swiper-button-prev svg,
  .qodef-testimonials-list-holder .swiper-button-next svg {
    width: 32px;
    height: 32px;
  }

  /* Galería: 2 columnas con gap */
  .qodef-image-gallery .qodef-grid-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* -----------------------------
   Formularios (reservas / OpenTable)
   ----------------------------- */
@media (max-width: 768px) {
  .qodef-reservation-form.qodef-layout--inline .qodef-m-field {
    width: 100%;
  }
  .qodef-reservation-form select,
  .qodef-reservation-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 14px;
    font-size: 1rem;
  }
  .qodef-reservation-form button.qodef-button {
    width: 100%;
  }
}

/* -----------------------------
   Footer
   ----------------------------- */
@media (max-width: 768px) {
  #qodef-page-footer-top-area-inner {
    padding: 60px 18px;
    text-align: center;
  }
  #qodef-page-footer-top-area-inner p,
  #qodef-page-footer-top-area-inner a {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .qodef-social-text {
    gap: 18px;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Catacaldos: Menú inferior móvil                                             */
/* -------------------------------------------------------------------------- */
/* Menú inferior móvil accesible y sin solapar contenido */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }

  #mobile-bottom-menu,
  #mobile-bottom-menu * {
    box-sizing: border-box;
  }

  #mobile-bottom-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 99999 !important;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Fjalla One", sans-serif !important;
  }

  #mobile-bottom-menu ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100% !important;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  #mobile-bottom-menu li {
    position: relative;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile-bottom-menu a {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    min-height: 52px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #111 !important;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: normal;
  }

  #mobile-bottom-menu a[aria-current="page"] {
    background-color: rgba(192, 57, 43, 0.12);
  }

  #mobile-bottom-menu .qodef-mobile-label {
    text-align: center;
  }

  #mobile-bottom-menu .qodef-mobile-menu-dropdown {
    position: static;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: 0;
    list-style: none;
    cursor: pointer;
    user-select: none;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.15;
    color: #111;
    background: transparent;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary::-webkit-details-marker {
    display: none;
  }

  #mobile-bottom-menu .qodef-mobile-menu-summary::after {
    content: "▾";
    font-size: 0.72rem;
    opacity: 0.75;
  }

  #mobile-bottom-menu
    .qodef-mobile-menu-dropdown[open]
    .qodef-mobile-menu-summary {
    background-color: rgba(192, 57, 43, 0.12);
  }

  #mobile-bottom-menu
    .qodef-mobile-menu-dropdown[open]
    .qodef-mobile-menu-summary::after {
    content: "▴";
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 100000;
    display: grid !important;
    grid-template-columns: 1fr;
    width: min(210px, 72vw);
    max-height: 58vh;
    overflow: auto;
    padding: 8px !important;
    margin: 0 !important;
    list-style: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu li {
    width: 100% !important;
  }

  #mobile-bottom-menu .qodef-mobile-menu-submenu a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 0;
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) {
  #mobile-bottom-menu {
    display: none !important;
  }
}

/* Etiquetas de texto para iconos de alergenos */
details.alergenos-trazas-collapsible .qodef-allergen-with-text,
details.alergenos-trazas-collapsible .qodef-allergen-text-only {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  margin-bottom: 6px;
}

details.alergenos-trazas-collapsible .qodef-allergen-text-label {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #222;
}

details.alergenos-trazas-collapsible .qodef-allergen-fallback-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.qodef-e-heading-price-label {
    font-weight: 400; /* más fino */
    opacity: 0.8;     /* opcional, visualmente secundario */
    margin-right: 4px;
}

.qodef-e-heading-price {
    font-weight: 700; /* más fuerte para el precio */
}
