/* COLORES PREMIUM CAZUELA */
:root {
  --negro: #181818;
  --granate: #8B1E3F;
  --blanco: #fff;
  --gris-suave: #f4f4f4;
  --gris-medio: #bdbdbd;
  --granate-hover: #a8324a;
}

/* TIPOGRAFÍA UNIFICADA - MISMA QUE LA BARRA PRINCIPAL */
/* Solo aplicar a elementos de texto, no a iconos */
body, h1, h2, h3, h4, h5, h6, p, span, div, li, a, button, input, textarea, select, label {
  font-weight: 700 !important;
  font-family: inherit !important;
}

body {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  line-height: 1.4 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

p, span, div, li, a, button, input, textarea, select, label {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

/* Excluir iconos de la tipografía unificada */
i, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-weight: normal !important;
  font-size: inherit !important;
}

/* Ajustes específicos para elementos que necesitan tamaños diferentes */
.acceso-btn, .carta-btn {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

.acceso-btn i, .carta-btn i {
  font-weight: normal !important;
  font-size: inherit !important;
}

.nav a {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

.nav a i {
  font-weight: normal !important;
  font-size: inherit !important;
}

.tema-selector {
  font-weight: 700 !important;
  font-size: 1.08rem !important; /* Mantenemos ligeramente más pequeño */
}

.tema-selector select {
  font-weight: 700 !important;
  font-size: 1rem !important; /* Mantenemos ligeramente más pequeño */
}

/***** ESTRUCTURA Y ESPACIADO PREMIUM *****/
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
}
main {
  max-width: 950px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  background: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(24,24,24,0.13);
  margin-top: 110px;
}
header {
  background: #fff;
  color: var(--granate);
  box-shadow: 0 4px 24px rgba(24,24,24,0.13);
  border-bottom: 2px solid var(--granate);
  min-height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
body.tema-oscuro header {
  background: #181818;
  color: #fff;
  border-bottom: 2px solid #8B1E3F;
}
body.tema-daltonico header {
  background: #fff;
  color: #8B1E3F;
  border-bottom: 2px solid #8B1E3F;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  min-height: 70px;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 700px) {
  .nav {
    background: #fff;
    box-shadow: 2px 0 16px rgba(24,24,24,0.13);
    border-right: 2px solid #8B1E3F;
    border-bottom: none;
    min-height: 100vh;
    padding: 2.5rem 0.5rem 1rem 0.5rem;
    transition: left 0.3s, background 0.3s;
  }
  body.tema-oscuro .nav {
    background: #181818;
    color: #fff;
    border-right: 2px solid #8B1E3F;
  }
  body.tema-daltonico .nav {
    background: #fff;
    color: #8B1E3F;
    border-right: 2px solid #8B1E3F;
  }
}

/* ESTILOS DE NAVEGACIÓN MÓVIL CONSOLIDADOS */

.nav li {
  margin: 0 1.2rem;
  display: flex;
  align-items: center;
  position: relative;
}
.nav a {
  color: var(--granate);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.18rem;
  padding: 0.7rem 1.2rem;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: transparent;
  border: none;
  margin: 0 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav a.active, .nav a:hover {
  background: var(--granate);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,30,63,0.10);
}
body.tema-oscuro .nav a {
  color: #fff;
  background: transparent;
}
body.tema-oscuro .nav a.active, body.tema-oscuro .nav a:hover {
  background: #8B1E3F;
  color: #fff;
}
body.tema-daltonico .nav a {
  color: #8B1E3F;
  background: transparent;
}
body.tema-daltonico .nav a.active, body.tema-daltonico .nav a:hover {
  background: #fff !important;
  color: #000 !important;
}

.li-tema-selector {
  margin-left: 1.5rem;
  margin-right: 0;
  display: flex;
  align-items: center;
}
.tema-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  border: 1.5px solid #8B1E3F;
  margin: 0 0.5rem;
}
body.tema-oscuro .tema-selector {
  background: #232323;
  border: 1.5px solid #fff;
  color: #fff;
}
body.tema-daltonico .tema-selector {
  background: #000 !important;
  border: 3px solid #fff !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
}
body.tema-daltonico .tema-selector select {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}
body.tema-daltonico .tema-selector::before {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1.1em !important;
}
.tema-selector label {
  color: inherit;
  font-weight: 600;
}
.tema-selector select {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #bdbdbd;
  font-size: 1rem;
  background: #fff;
  color: #8B1E3F;
  font-weight: 600;
}
body.tema-oscuro .tema-selector select {
  background: #232323;
  color: #fff;
  border: 1px solid #fff;
}
body.tema-daltonico .tema-selector select {
  background: #fff;
  color: #8B1E3F;
  border: 1px solid #8B1E3F;
}
.tema-selector::before {
  content: '\f185';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  color: #8B1E3F;
  font-size: 1.1em;
}
body.tema-oscuro .tema-selector::before {
  color: #fff;
}
body.tema-daltonico .tema-selector::before {
  color: #8B1E3F;
}

/* Elimino estilos de .hamburguesa innecesarios */
.hamburguesa { display: none !important; }
body.tema-oscuro .hamburguesa { display: none !important; }
body.tema-daltonico .hamburguesa { display: none !important; }

/* ESTILOS MÓVILES PARA OTROS ELEMENTOS */
@media (max-width: 700px) {
  .accesos-rapidos {
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0 1rem 0;
  }
  .acceso-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.1rem;
    padding: 1rem 0.5rem;
  }
  .menu-dia, .categoria-carta, .alergenos-leyenda {
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(24,24,24,0.08);
    padding: 1rem 0.7rem;
    margin-bottom: 1.2rem;
  }
  .carta-categorias {
    gap: 0.4rem;
    margin-bottom: 1.2rem;
  }
  .carta-btn {
    min-width: 90px;
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
    border-radius: 14px;
  }
  .plato {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.5rem;
    gap: 0.7rem;
  }
  .plato img {
    width: 100%;
    height: 140px;
    border-radius: 12px 12px 0 0;
    margin: 0 0 0.7rem 0;
  }
  .img-principal {
    max-width: 100vw;
    margin: 1rem 0;
  }
  .mapa iframe {
    margin-top: 0.7rem;
    border-radius: 10px;
  }
  footer {
    padding: 2rem 0 1.2rem 0;
    font-size: 1rem;
    border-radius: 0 0 14px 14px;
  }
}
/***** FIN AJUSTES ESTRUCTURA *****/

/* BOTONES PREMIUM */
.acceso-btn, .carta-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(90deg, var(--negro) 80%, var(--granate) 100%);
  color: var(--blanco);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem 1.7rem;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(24,24,24,0.10);
  border: 2px solid var(--granate);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}
.acceso-btn i, .carta-btn i {
  font-size: 1.3em;
  background: var(--blanco);
  color: var(--granate);
  border-radius: 50%;
  padding: 0.3em;
  box-shadow: 0 2px 8px rgba(24,24,24,0.10);
}
.acceso-btn:hover, .acceso-btn:focus, .carta-btn.active, .carta-btn:hover {
  background: linear-gradient(90deg, var(--granate) 80%, var(--negro) 100%);
  color: var(--blanco);
  border: 2px solid var(--negro);
  box-shadow: 0 6px 24px rgba(24,24,24,0.18);
}

/* TARJETAS Y PLATOS */
.menu-dia, .categoria-carta, .plato, .alergenos-leyenda {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(24,24,24,0.10);
  border: 1.5px solid var(--granate);
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
}
.plato {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  padding: 1.2rem 1.5rem;
}
.plato img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(24,24,24,0.10);
  border: 2px solid var(--granate);
}

/* ICONOS PREMIUM */
.alergeno-icon, .alergeno-item i {
  background: var(--gris-medio);
  color: var(--granate) !important;
  border-radius: 50%;
  padding: 0.3em;
  box-shadow: 0 2px 8px rgba(24,24,24,0.10);
  font-size: 1.2em;
  margin-right: 0.2em;
}

/* SEPARADORES */
hr, .separador {
  border: none;
  border-top: 2px solid var(--granate);
  margin: 2.5rem 0 2rem 0;
  opacity: 0.5;
}

/* FOOTER PREMIUM */
footer {
  background: linear-gradient(90deg, var(--negro) 80%, var(--granate) 100%);
  color: var(--blanco);
  text-align: center;
  padding: 2rem 0 1.2rem 0;
  margin-top: 3rem;
  font-size: 1.05rem;
  border-top: 2px solid var(--granate);
  box-shadow: 0 -2px 12px rgba(24,24,24,0.10);
  position: relative;
}
footer .footer-redes {
  margin: 1rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
footer .footer-redes a {
  color: var(--granate);
  background: var(--blanco);
  border-radius: 50%;
  padding: 0.5em;
  font-size: 1.5em;
  box-shadow: 0 2px 8px rgba(24,24,24,0.10);
  transition: background 0.2s, color 0.2s;
}
footer .footer-redes a:hover {
  background: var(--granate);
  color: var(--blanco);
}

/* IMÁGENES PRINCIPALES */
.img-principal {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 2rem auto;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(24,24,24,0.12);
  border: 2px solid var(--granate);
}

/* ANIMACIONES SUAVES */
.tab-content, .menu-dia, .categoria-carta, .plato, .acceso-btn, .carta-btn {
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.tab-content {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
  display: none;
}
.tab-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block;
  z-index: 1;
}
.tab-content#carta.active .carta-categorias {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 1200 !important;
  background: #fff !important;
  position: sticky;
  top: 60px;
  min-height: 48px;
  max-height: 80px;
  overflow-x: auto !important;
  overflow-y: visible !important;
  visibility: visible !important;
}

/* BOX SIZING GLOBAL */
*, *::before, *::after {
  box-sizing: border-box;
} 

/* --- TEMAS - REGLAS BASE Y ESPECÍFICAS --- */
/* Tema claro por defecto */
body {
  background: #f4f4f4;
  color: #181818;
}

body header, body .nav {
  background: #fff !important;
  color: #8B1E3F !important;
  border-bottom: 2px solid #8B1E3F !important;
}

body main {
  background: #fff;
  color: #181818;
}

body .menu-dia, body .categoria-carta, body .alergenos-leyenda {
  background: #fff;
  border: 1.5px solid #8B1E3F;
  color: #181818;
}

body .acceso-btn, body .carta-btn {
  background: #fff;
  color: #8B1E3F;
  border: 2px solid #8B1E3F;
}

body .acceso-btn:hover, body .acceso-btn:focus, body .carta-btn.active, body .carta-btn:hover {
  background: #8B1E3F;
  color: #fff;
  border: 2px solid #8B1E3F;
}

body .acceso-btn i, body .carta-btn i {
  background: #f4f4f4;
  color: #8B1E3F;
}

body footer {
  background: linear-gradient(90deg, #181818 80%, #8B1E3F 100%);
  color: #fff;
}

/* Refuerzo específico para tema claro */
body.tema-claro {
  background: #f4f4f4 !important;
  color: #181818 !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro h1, body.tema-claro h2, body.tema-claro h3, body.tema-claro h4, body.tema-claro h5, body.tema-claro h6 {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-claro p, body.tema-claro span, body.tema-claro div, body.tema-claro li, body.tema-claro a, body.tema-claro button, body.tema-claro input, body.tema-claro textarea, body.tema-claro select, body.tema-claro label {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-claro header, body.tema-claro .nav {
  background: #fff !important;
  color: #8B1E3F !important;
  border-bottom: 2px solid #8B1E3F !important;
}

body.tema-claro .nav a {
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro .nav a i {
  font-weight: normal !important;
  font-size: inherit !important;
}

body.tema-claro main {
  background: #fff !important;
  color: #181818 !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro .menu-dia, body.tema-claro .categoria-carta, body.tema-claro .alergenos-leyenda {
  background: #fff !important;
  border: 1.5px solid #8B1E3F !important;
  color: #181818 !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro .acceso-btn, body.tema-claro .carta-btn {
  background: #fff !important;
  color: #8B1E3F !important;
  border: 2px solid #8B1E3F !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro .acceso-btn i, body.tema-claro .carta-btn i {
  background: #f4f4f4 !important;
  color: #8B1E3F !important;
  font-weight: normal !important;
  font-size: inherit !important;
}

body.tema-claro .acceso-btn:hover, body.tema-claro .acceso-btn:focus, body.tema-claro .carta-btn.active, body.tema-claro .carta-btn:hover {
  background: #8B1E3F !important;
  color: #fff !important;
  border: 2px solid #8B1E3F !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-claro footer {
  background: linear-gradient(90deg, #181818 80%, #8B1E3F 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.18rem !important;
}

body.tema-oscuro {
  background: #181818;
  color: #fff;
}
body.tema-oscuro header, body.tema-oscuro .nav {
  background: #181818 !important;
  color: #fff !important;
  border-bottom: 2px solid #8B1E3F !important;
}
body.tema-oscuro main {
  background: #232323;
  color: #fff;
}
body.tema-oscuro .menu-dia, body.tema-oscuro .categoria-carta, body.tema-oscuro .alergenos-leyenda {
  background: #232323;
  border: 1.5px solid #fff;
  color: #fff;
}
body.tema-oscuro .acceso-btn, body.tema-oscuro .carta-btn {
  background: #8B1E3F;
  color: #fff;
  border: 2px solid #fff;
}
body.tema-oscuro .acceso-btn:hover, body.tema-oscuro .acceso-btn:focus, body.tema-oscuro .carta-btn.active, body.tema-oscuro .carta-btn:hover {
  background: #fff;
  color: #8B1E3F;
  border: 2px solid #8B1E3F;
}
body.tema-oscuro .acceso-btn i, body.tema-oscuro .carta-btn i {
  background: #232323;
  color: #fff;
}

/* PLATOS EN TEMA OSCURO - TEXTO VISIBLE */
body.tema-oscuro .plato {
  background: #232323 !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
}

body.tema-oscuro .plato h3 {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-oscuro .plato p {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-oscuro .plato .precio {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-oscuro .plato .descripcion {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-oscuro .plato .alergenos {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-oscuro footer {
  background: linear-gradient(90deg, #181818 80%, #4a0d22 100%);
  color: #fff;
}

body.tema-daltonico {
  background: #fff !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico h1, body.tema-daltonico h2, body.tema-daltonico h3, body.tema-daltonico h4, body.tema-daltonico h5, body.tema-daltonico h6 {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico p, body.tema-daltonico span, body.tema-daltonico div, body.tema-daltonico li, body.tema-daltonico a, body.tema-daltonico button, body.tema-daltonico input, body.tema-daltonico textarea, body.tema-daltonico select, body.tema-daltonico label {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico header, body.tema-daltonico .nav {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 3px solid #fff !important;
}

body.tema-daltonico .nav a {
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .nav a i {
  color: #fff !important;
  font-weight: normal !important;
  font-size: inherit !important;
}

body.tema-daltonico .nav a.active, body.tema-daltonico .nav a:hover {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

body.tema-daltonico main {
  background: #fff !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .menu-dia, body.tema-daltonico .categoria-carta, body.tema-daltonico .alergenos-leyenda {
  background: #fff !important;
  border: 3px solid #000 !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .acceso-btn, body.tema-daltonico .carta-btn {
  background: #000 !important;
  color: #fff !important;
  border: 3px solid #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .acceso-btn i, body.tema-daltonico .carta-btn i {
  background: #000 !important;
  color: #fff !important;
  font-weight: normal !important;
  font-size: inherit !important;
}

body.tema-daltonico .acceso-btn:hover, body.tema-daltonico .acceso-btn:focus, body.tema-daltonico .carta-btn.active, body.tema-daltonico .carta-btn:hover {
  background: #fff !important;
  color: #000 !important;
  border: 3px solid #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico footer {
  background: linear-gradient(90deg, #000 80%, #333 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

/* PLATOS EN TEMA DALTONICO - CONSISTENCIA */
body.tema-daltonico .plato {
  background: #fff !important;
  color: #000 !important;
  border: 3px solid #000 !important;
}

body.tema-daltonico .plato h3 {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .plato p {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .plato .precio {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .plato .descripcion {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico .plato .alergenos {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

body.tema-daltonico footer {
  background: #000 !important;
  color: #fff !important;
} 

.carta-btn {
  z-index: 10;
} 

/* Refuerzo visibilidad botones menú navegación */
.nav a {
  background: rgba(139,30,63,0.07);
  color: var(--granate);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  margin: 0 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 4px rgba(139,30,63,0.07);
}
body.tema-oscuro .nav a {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
body.tema-daltonico .nav a {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
.nav a.active, .nav a:hover {
  background: #8B1E3F;
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,30,63,0.10);
}
body.tema-oscuro .nav a.active, body.tema-oscuro .nav a:hover {
  background: #8B1E3F;
  color: #fff;
}
body.tema-daltonico .nav a.active, body.tema-daltonico .nav a:hover {
  background: #fff !important;
  color: #000 !important;
} 

/* VALORACIONES MEJORADAS */
.resenas-inicio {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(139,30,63,0.08);
  padding: 3rem 2.5rem 2rem 2.5rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  border: 2px solid rgba(139,30,63,0.1);
  overflow: hidden;
}

.resenas-inicio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--granate) 0%, #a8324a 50%, var(--granate) 100%);
}

.resenas-inicio h2 {
  color: var(--granate);
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(139,30,63,0.1);
}

.resenas-valoracion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(139,30,63,0.05);
  border-radius: 16px;
  border: 1px solid rgba(139,30,63,0.1);
}

.resenas-estrellas {
  font-size: 2.5rem;
  color: #ffd700;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 8px rgba(255,215,0,0.3);
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.resenas-num {
  color: #666;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.resenas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.resenas-lista blockquote {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-left: 5px solid var(--granate);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(139,30,63,0.08);
  padding: 1.5rem 1.8rem 1.2rem 1.8rem;
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(139,30,63,0.1);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resenas-lista blockquote:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139,30,63,0.15);
  border-color: var(--granate);
}

.resenas-lista blockquote:before {
  content: '"';
  font-size: 3rem;
  color: var(--granate);
  position: absolute;
  left: 15px;
  top: 5px;
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
}

.resenas-lista blockquote p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
}

.resenas-lista blockquote footer {
  margin-top: auto;
  color: var(--granate);
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
  font-style: normal;
  background: rgba(139,30,63,0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(139,30,63,0.1);
}

.resenas-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--granate) 0%, #a8324a 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  padding: 1rem 2rem;
  margin: 1rem 1.5rem 0 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(139,30,63,0.2);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid var(--granate);
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.resenas-google-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.resenas-google-btn:hover::before {
  left: 100%;
}

.resenas-google-btn:hover {
  background: linear-gradient(135deg, #a8324a 0%, var(--granate) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,30,63,0.3);
}

.resenas-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.resenas-actualizacion {
  color: #888;
  font-size: 1rem;
  font-style: italic;
  background: rgba(0,0,0,0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
}

.resenas-aviso {
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.95rem;
  background: rgba(139,30,63,0.05);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(139,30,63,0.1);
  font-style: italic;
}

@media (max-width: 700px) {
  .resenas-inicio {
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    margin: 1.2rem 0 1.5rem 0;
  }
  .resenas-lista {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .resenas-lista blockquote {
    max-width: 100vw;
    min-width: 0;
    font-size: 1rem;
  }
  .resenas-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
} 

.horario-btn {
  background: #fff;
  color: #8B1E3F;
  border: 2px solid #8B1E3F;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.7rem 1.2rem;
  margin: 0 0.2rem;
  box-shadow: 0 1px 4px rgba(139,30,63,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.horario-btn:hover, .horario-btn:focus {
  background: #8B1E3F;
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,30,63,0.10);
  transform: scale(1.06);
}

/* Modal horario */
.modal-horario {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.45);
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}
.modal-horario.abierto {
  display: flex;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-horario-content {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(139,30,63,0.18);
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  min-width: 270px;
  max-width: 90vw;
  text-align: center;
  position: relative;
}
.modal-horario-content h3 {
  color: #8B1E3F;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.horario-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.08rem;
}
.horario-lista li {
  margin-bottom: 0.7rem;
  color: #181818;
}
.cerrar-modal-horario {
  position: absolute;
  top: 0.7rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #8B1E3F;
  cursor: pointer;
  transition: color 0.18s;
}
.cerrar-modal-horario:hover {
  color: #a8324a;
}
@media (max-width: 700px) {
  .modal-horario-content {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    min-width: 0;
    max-width: 98vw;
  }
  .modal-horario-content h3 {
    font-size: 1.1rem;
  }
} 

/* Fade out/in de la barra de navegación principal */
.nav.nav-fadeout {
  opacity: 0;
  pointer-events: none;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 0;
  transition: opacity 0.4s ease, height 0.4s ease, min-height 0.4s ease, max-height 0.4s ease;
}
.nav.nav-fadein {
  opacity: 1;
  pointer-events: auto;
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  overflow: visible;
  position: relative;
  z-index: 1000;
  transition: opacity 0.4s ease, height 0.4s ease, min-height 0.4s ease, max-height 0.4s ease;
}

/* === BARRA SECUNDARIA PARA CARTA === */

/* Wrapper para la barra secundaria */
.carta-categorias-wrapper {
  position: relative;
  z-index: 999;
  width: 100%;
}

/* BARRA SECUNDARIA DE CATEGORÍAS */
.carta-categorias {
  /* Estilos base */
  background: #fff !important;
  color: var(--granate) !important;
  box-shadow: 0 4px 24px rgba(24,24,24,0.13) !important;
  border-bottom: 2px solid var(--granate) !important;
  min-height: 70px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  z-index: 999 !important;
  transition: all 0.4s ease !important;
  
  /* Layout */
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  
  /* Scroll horizontal */
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: thin !important;
  scrollbar-color: #8B1E3F #f4f4f4 !important;
  
  /* Estado inicial - OCULTA */
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

/* Estilos del scrollbar para webkit */
.carta-categorias::-webkit-scrollbar {
  height: 4px !important;
  background: #f4f4f4 !important;
}

.carta-categorias::-webkit-scrollbar-thumb {
  background: #8B1E3F !important;
  border-radius: 2px !important;
}

.carta-categorias::-webkit-scrollbar-track {
  background: #f4f4f4 !important;
  border-radius: 2px !important;
}

/* Clase para mostrar la barra */
.carta-categorias:not(.hidden) {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Clase para ocultar la barra */
.carta-categorias.hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

/* BOTONES IDÉNTICOS A LOS ENLACES DE NAV PRINCIPAL PERO MÁS COMPACTOS */
.carta-categorias .carta-btn {
  color: var(--granate) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 1.1rem !important; /* Aumentado de 0.95rem */
  padding: 0.5rem 0.8rem !important;
  border-radius: 14px !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
  background: transparent !important;
  border: none !important;
  margin: 0 0.3rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  cursor: pointer !important;
  outline: none !important;
  white-space: nowrap !important;
  min-width: auto !important;
  flex-shrink: 0 !important;
}

.carta-categorias .carta-btn.active, 
.carta-categorias .carta-btn:hover {
  background: var(--granate) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(139,30,63,0.10) !important;
}

.carta-categorias .carta-btn i {
  margin-right: 0.3rem !important;
  font-size: 1em !important; /* Aumentado de 0.9em */
}

/* TEMAS - RÉPLICA EXACTA DE LOS TEMAS DEL HEADER PRINCIPAL */
/* Tema claro - RÉPLICA EXACTA */
body.tema-claro .carta-categorias {
  background: #fff !important;
  color: var(--granate) !important;
  border-bottom: 2px solid var(--granate) !important;
}

body.tema-claro .carta-categorias .carta-btn {
  color: var(--granate) !important;
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

body.tema-claro .carta-categorias .carta-btn.active, 
body.tema-claro .carta-categorias .carta-btn:hover {
  background: var(--granate) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(139,30,63,0.10) !important;
}

body.tema-claro .carta-categorias .carta-btn i {
  font-weight: normal !important;
  font-size: 1em !important;
}

body.tema-oscuro .carta-categorias {
  background: #181818 !important;
  color: #fff !important;
  border-bottom: 2px solid #8B1E3F !important;
}

body.tema-daltonico .carta-categorias {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 3px solid #fff !important;
}

body.tema-oscuro .carta-categorias .carta-btn {
  color: #fff !important;
  background: transparent !important;
}

body.tema-oscuro .carta-categorias .carta-btn.active, 
body.tema-oscuro .carta-categorias .carta-btn:hover {
  background: #8B1E3F !important;
  color: #fff !important;
}

body.tema-daltonico .carta-categorias .carta-btn {
  color: #8B1E3F !important;
  background: transparent !important;
}

body.tema-daltonico .carta-categorias .carta-btn.active, 
body.tema-daltonico .carta-categorias .carta-btn:hover {
  background: #8B1E3F !important;
  color: #fff !important;
}

/* RESPONSIVE - RÉPLICA EXACTA DEL RESPONSIVE DEL NAV PRINCIPAL */
@media (max-width: 700px) {
  .carta-categorias {
    background: #fff !important;
    box-shadow: 2px 0 16px rgba(24,24,24,0.13) !important;
    border-right: 2px solid #8B1E3F !important;
    border-bottom: none !important;
    min-height: 100vh !important;
    padding: 2.5rem 0.5rem 1rem 0.5rem !important;
    transition: left 0.3s, background 0.3s !important;
  }
  
  .carta-categorias .carta-btn {
    font-size: 1rem !important; /* Aumentado de 0.85rem */
    padding: 0.4rem 0.6rem !important;
    border-radius: 12px !important;
    margin: 0 0.2rem !important;
  }
  
  .carta-categorias .carta-btn i {
    font-size: 0.9em !important; /* Aumentado de 0.8em */
    margin-right: 0.2rem !important;
  }
  
  /* Tema claro en responsive - RÉPLICA EXACTA */
  body.tema-claro .carta-categorias {
    background: #fff !important;
    color: var(--granate) !important;
    border-right: 2px solid #8B1E3F !important;
  }
  
  body.tema-claro .carta-categorias .carta-btn {
    font-size: 1rem !important;
    font-weight: 700 !important;
  }
  
  body.tema-claro .carta-categorias .carta-btn i {
    font-size: 0.9em !important;
    font-weight: normal !important;
  }
  
  /* Tema oscuro en responsive - RÉPLICA EXACTA */
  body.tema-oscuro .carta-categorias {
    background: #181818 !important;
    color: #fff !important;
    border-right: 2px solid #8B1E3F !important;
  }
  
  /* Tema daltónico en responsive - RÉPLICA EXACTA */
  body.tema-daltonico .carta-categorias {
    background: #000 !important;
    color: #fff !important;
    border-right: 2px solid #8B1E3F !important;
  }
}

/* BARRA DE CATEGORÍAS MÓVIL OPTIMIZADA */
@media (max-width: 700px) {
  .carta-categorias {
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100vw !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0.2rem !important;
    min-height: 60px !important;
    background: #fff !important;
    scrollbar-width: thin !important;
    scrollbar-color: #8B1E3F #f4f4f4 !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    will-change: scroll-position !important;
    transform: translateZ(0) !important;
  }
  
  .carta-categorias::-webkit-scrollbar {
    height: 6px !important;
    background: #f4f4f4 !important;
  }
  
  .carta-categorias::-webkit-scrollbar-thumb {
    background: #8B1E3F !important;
    border-radius: 4px !important;
  }
  
  .carta-categorias .carta-btn {
    margin: 0 0.2rem !important;
    min-width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    will-change: transform !important;
  }
}

/* ESTILOS DUPLICADOS ELIMINADOS */ 

/* TIPOGRAFÍA RESPONSIVE - MANTENER CONSISTENCIA */
@media (max-width: 700px) {
  body {
    font-weight: 700 !important;
    font-size: 1.1rem !important; /* Ligeramente más pequeño en móvil */
    line-height: 1.4 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
  }
  
  p, span, div, li, a, button, input, textarea, select, label {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
  }
  
  /* Excluir iconos en responsive */
  i, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .acceso-btn, .carta-btn {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
  }
  
  .acceso-btn i, .carta-btn i {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .nav a {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
  }
  
  .nav a i {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .tema-selector {
    font-weight: 700 !important;
    font-size: 1rem !important;
  }
  
  .tema-selector select {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  body {
    font-weight: 700 !important;
    font-size: 1rem !important; /* Aún más pequeño en móviles pequeños */
    line-height: 1.4 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    font-size: 1rem !important;
  }
  
  p, span, div, li, a, button, input, textarea, select, label {
    font-weight: 700 !important;
    font-size: 1rem !important;
  }
  
  /* Excluir iconos en responsive pequeño */
  i, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .acceso-btn, .carta-btn {
    font-weight: 700 !important;
    font-size: 1rem !important;
  }
  
  .acceso-btn i, .carta-btn i {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .nav a {
    font-weight: 700 !important;
    font-size: 1rem !important;
  }
  
  .nav a i {
    font-weight: normal !important;
    font-size: inherit !important;
  }
  
  .tema-selector {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
  }
  
  .tema-selector select {
    font-weight: 700 !important;
    font-size: 0.85rem !important;
  }
} 

/* ESTILOS PARA EL MENÚ DIARIO */
.menu-dia {
  background: #fff;
  border: 2px solid var(--granate);
  border-radius: 18px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 24px rgba(139,30,63,0.10);
}

.menu-dia h3 {
  color: var(--granate);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.menu-fecha {
  color: #666;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.menu-dia ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.menu-dia li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.menu-dia li:last-child {
  border-bottom: none;
}

.menu-dia .precio {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--granate);
  text-align: center;
  margin: 1.5rem 0 1rem 0;
}

.menu-nota {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
}

.aviso {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  margin: 2rem 0;
} 

/* TEMAS PARA EL MENÚ DIARIO */
body.tema-oscuro .menu-dia {
  background: #232323 !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(255,255,255,0.1) !important;
}

body.tema-oscuro .menu-dia h3 {
  color: #fff !important;
}

body.tema-oscuro .menu-fecha {
  color: #ccc !important;
}

body.tema-oscuro .menu-dia li {
  border-bottom: 1px solid #444 !important;
  color: #fff !important;
}

body.tema-oscuro .menu-dia .precio {
  color: #fff !important;
}

body.tema-oscuro .menu-nota {
  color: #ccc !important;
}

body.tema-oscuro .aviso {
  background: #2d2d00 !important;
  border: 1px solid #666600 !important;
  color: #ffffcc !important;
}

body.tema-daltonico .menu-dia {
  background: #fff !important;
  border: 3px solid #000 !important;
  color: #000 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
}

body.tema-daltonico .menu-dia h3 {
  color: #000 !important;
}

body.tema-daltonico .menu-fecha {
  color: #333 !important;
}

body.tema-daltonico .menu-dia li {
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
}

body.tema-daltonico .menu-dia .precio {
  color: #000 !important;
}

body.tema-daltonico .menu-nota {
  color: #333 !important;
}

body.tema-daltonico .aviso {
  background: #000 !important;
  border: 2px solid #000 !important;
  color: #fff !important;
} 

/* ESTILOS PARA EL ENLACE DE LA CARTA */
.enlace-carta {
  color: var(--granate);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--granate);
  transition: all 0.3s ease;
}

.enlace-carta:hover {
  color: #8b1e3f;
  border-bottom-color: #8b1e3f;
  text-decoration: none;
}

.menu-aviso .enlace-carta {
  color: #1565c0;
  border-bottom-color: #1565c0;
}

.menu-aviso .enlace-carta:hover {
  color: #0d47a1;
  border-bottom-color: #0d47a1;
}

.aviso .enlace-carta {
  color: #856404;
  border-bottom-color: #856404;
}

.aviso .enlace-carta:hover {
  color: #6d4c41;
  border-bottom-color: #6d4c41;
} 

/* TEMAS PARA EL ENLACE DE LA CARTA */
body.tema-oscuro .enlace-carta {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

body.tema-oscuro .enlace-carta:hover {
  color: #ccc !important;
  border-bottom-color: #ccc !important;
}

body.tema-oscuro .menu-aviso .enlace-carta {
  color: #90caf9 !important;
  border-bottom-color: #90caf9 !important;
}

body.tema-oscuro .menu-aviso .enlace-carta:hover {
  color: #64b5f6 !important;
  border-bottom-color: #64b5f6 !important;
}

body.tema-oscuro .aviso .enlace-carta {
  color: #ffffcc !important;
  border-bottom-color: #ffffcc !important;
}

body.tema-oscuro .aviso .enlace-carta:hover {
  color: #fff9c4 !important;
  border-bottom-color: #fff9c4 !important;
}

body.tema-daltonico .enlace-carta {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

body.tema-daltonico .enlace-carta:hover {
  color: #333 !important;
  border-bottom-color: #333 !important;
}

body.tema-daltonico .menu-aviso .enlace-carta {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

body.tema-daltonico .menu-aviso .enlace-carta:hover {
  color: #333 !important;
  border-bottom-color: #333 !important;
}

body.tema-daltonico .aviso .enlace-carta {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

body.tema-daltonico .aviso .enlace-carta:hover {
  color: #333 !important;
  border-bottom-color: #333 !important;
} 

/* BOTONES DE ACCESO DIRECTO MEJORADOS */
.accesos-rapidos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 0 1rem;
}

.acceso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  color: var(--granate);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(139,30,63,0.12);
  border: 2px solid var(--granate);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.acceso-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.acceso-btn:hover::before {
  left: 100%;
}

.acceso-btn i {
  font-size: 1.8rem;
  background: var(--granate);
  color: #fff;
  border-radius: 50%;
  padding: 0.8rem;
  box-shadow: 0 4px 16px rgba(139,30,63,0.2);
  transition: all 0.3s ease;
  min-width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acceso-btn:hover {
  background: linear-gradient(135deg, var(--granate) 0%, #a8324a 100%);
  color: #fff;
  border-color: var(--granate);
  box-shadow: 0 12px 40px rgba(139,30,63,0.25);
  transform: translateY(-4px);
}

.acceso-btn:hover i {
  background: #fff;
  color: var(--granate);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.acceso-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,30,63,0.2);
} 

/* ESTILOS PARA EL MENÚ PRÓXIMO */
.menu-dia.proximo-menu {
  border: 2px dashed var(--granate);
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  position: relative;
}

.menu-dia.proximo-menu::before {
  content: "🔮";
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--granate);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.menu-dia.proximo-menu h3 {
  color: var(--granate);
  font-size: 1.4rem;
}

.menu-aviso {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  color: #1565c0;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: 600;
}

/* TEMAS PARA EL MENÚ PRÓXIMO */
body.tema-oscuro .menu-dia.proximo-menu {
  background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%) !important;
  border: 2px dashed #fff !important;
}

body.tema-oscuro .menu-dia.proximo-menu::before {
  background: #fff !important;
  color: #000 !important;
}

body.tema-oscuro .menu-aviso {
  background: #1a237e !important;
  border: 1px solid #3f51b5 !important;
  color: #90caf9 !important;
}

body.tema-daltonico .menu-dia.proximo-menu {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
  border: 3px dashed #000 !important;
}

body.tema-daltonico .menu-dia.proximo-menu::before {
  background: #000 !important;
  color: #fff !important;
}

body.tema-daltonico .menu-aviso {
  background: #000 !important;
  border: 2px solid #000 !important;
  color: #fff !important;
}

/* TEMAS PARA BOTONES DE ACCESO */
body.tema-oscuro .acceso-btn {
  background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%) !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 8px 32px rgba(255,255,255,0.1) !important;
}

body.tema-oscuro .acceso-btn i {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 4px 16px rgba(255,255,255,0.2) !important;
}

body.tema-oscuro .acceso-btn:hover {
  background: linear-gradient(135deg, #fff 0%, #ccc 100%) !important;
  color: #000 !important;
  border-color: #fff !important;
  box-shadow: 0 12px 40px rgba(255,255,255,0.2) !important;
}

body.tema-oscuro .acceso-btn:hover i {
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

body.tema-daltonico .acceso-btn {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
  color: #000 !important;
  border-color: #000 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
}

body.tema-daltonico .acceso-btn i {
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}

body.tema-daltonico .acceso-btn:hover {
  background: linear-gradient(135deg, #000 0%, #333 100%) !important;
  color: #fff !important;
  border-color: #000 !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
}

body.tema-daltonico .acceso-btn:hover i {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 6px 20px rgba(255,255,255,0.3) !important;
}

/* TEMAS PARA VALORACIONES */
body.tema-oscuro .resenas-inicio {
  background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%) !important;
  border-color: rgba(255,255,255,0.2) !important;
  box-shadow: 0 12px 48px rgba(255,255,255,0.1) !important;
}

body.tema-oscuro .resenas-inicio::before {
  background: linear-gradient(90deg, #fff 0%, #ccc 50%, #fff 100%) !important;
}

body.tema-oscuro .resenas-inicio h2 {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(255,255,255,0.1) !important;
}

body.tema-oscuro .resenas-valoracion {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

body.tema-oscuro .resenas-estrellas {
  color: #ffd700 !important;
  text-shadow: 0 2px 8px rgba(255,215,0,0.5) !important;
}

body.tema-oscuro .resenas-num {
  background: #333 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

body.tema-oscuro .resenas-lista blockquote {
  background: linear-gradient(135deg, #333 0%, #2a2a2a 100%) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

body.tema-oscuro .resenas-lista blockquote p {
  color: #fff !important;
}

body.tema-oscuro .resenas-lista blockquote footer {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

body.tema-oscuro .resenas-google-btn {
  background: linear-gradient(135deg, #fff 0%, #ccc 100%) !important;
  color: #000 !important;
  border-color: #fff !important;
  box-shadow: 0 8px 32px rgba(255,255,255,0.2) !important;
}

body.tema-oscuro .resenas-google-btn:hover {
  background: linear-gradient(135deg, #ccc 0%, #fff 100%) !important;
  box-shadow: 0 12px 40px rgba(255,255,255,0.3) !important;
}

body.tema-oscuro .resenas-actualizacion {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #ccc !important;
}

body.tema-oscuro .resenas-aviso {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #ccc !important;
}

body.tema-daltonico .resenas-inicio {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
  border-color: rgba(0,0,0,0.3) !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2) !important;
}

body.tema-daltonico .resenas-inicio::before {
  background: linear-gradient(90deg, #000 0%, #333 50%, #000 100%) !important;
}

body.tema-daltonico .resenas-inicio h2 {
  color: #000 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

body.tema-daltonico .resenas-valoracion {
  background: rgba(0,0,0,0.1) !important;
  border-color: rgba(0,0,0,0.3) !important;
}

body.tema-daltonico .resenas-estrellas {
  color: #000 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}

body.tema-daltonico .resenas-num {
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

body.tema-daltonico .resenas-lista blockquote {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
  border-color: rgba(0,0,0,0.3) !important;
  color: #000 !important;
}

body.tema-daltonico .resenas-lista blockquote p {
  color: #000 !important;
}

body.tema-daltonico .resenas-lista blockquote footer {
  background: rgba(0,0,0,0.1) !important;
  border-color: rgba(0,0,0,0.3) !important;
  color: #000 !important;
}

body.tema-daltonico .resenas-google-btn {
  background: linear-gradient(135deg, #000 0%, #333 100%) !important;
  color: #fff !important;
  border-color: #000 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

body.tema-daltonico .resenas-google-btn:hover {
  background: linear-gradient(135deg, #333 0%, #000 100%) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
}

body.tema-daltonico .resenas-actualizacion {
  background: rgba(0,0,0,0.1) !important;
  border-color: rgba(0,0,0,0.3) !important;
  color: #333 !important;
}

body.tema-daltonico .resenas-aviso {
  background: rgba(0,0,0,0.1) !important;
  border-color: rgba(0,0,0,0.3) !important;
  color: #333 !important;
} 

/* RESPONSIVE PARA BOTONES DE ACCESO Y VALORACIONES */
@media (max-width: 700px) {
  .accesos-rapidos {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0 0.5rem;
  }
  
  .acceso-btn {
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    min-height: 70px;
  }
  
  .acceso-btn i {
    font-size: 1.5rem;
    padding: 0.6rem;
    min-width: 3rem;
    height: 3rem;
  }
  
  .resenas-inicio {
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 2rem 0;
    border-radius: 20px;
  }
  
  .resenas-inicio h2 {
    font-size: 1.5rem;
  }
  
  .resenas-valoracion {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem;
  }
  
  .resenas-estrellas {
    font-size: 2.2rem;
  }
  
  .resenas-lista {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .resenas-lista blockquote {
    padding: 1.2rem 1.5rem 1rem 1.5rem;
    font-size: 1rem;
    min-height: 120px;
  }
  
  .resenas-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .resenas-google-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin: 0.5rem 1rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .acceso-btn {
    font-size: 1rem;
    padding: 1rem 1.2rem;
    min-height: 60px;
  }
  
  .acceso-btn i {
    font-size: 1.3rem;
    padding: 0.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
  }
  
  .resenas-inicio {
    padding: 1.5rem 0.8rem 1rem 0.8rem;
    margin: 1.5rem 0;
  }
  
  .resenas-inicio h2 {
    font-size: 1.3rem;
  }
  
  .resenas-estrellas {
    font-size: 2rem;
  }
  
  .resenas-lista blockquote {
    padding: 1rem 1.2rem 0.8rem 1.2rem;
    font-size: 0.95rem;
    min-height: 100px;
  }
  
  .resenas-google-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    margin: 0.3rem 0.8rem 0 0.8rem;
  }
} 

/* NAVEGACIÓN MÓVIL MEJORADA */
@media (max-width: 700px) {
  .nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100vw;
    border-radius: 0;
    box-shadow: none;
    padding: 0.5rem 0.2rem;
    min-height: 70px;
    background: #fff !important;
    scrollbar-width: thin;
    scrollbar-color: #8B1E3F #f4f4f4;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    will-change: scroll-position;
    transform: translateZ(0);
  }
  
  .nav::-webkit-scrollbar {
    height: 6px;
    background: #f4f4f4;
  }
  
  .nav::-webkit-scrollbar-thumb {
    background: #8B1E3F;
    border-radius: 4px;
  }
  
  .nav::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-radius: 4px;
  }
  
  .nav li {
    margin: 0 0.4rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
  }
  
  .nav a, .nav button {
    white-space: nowrap;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    flex-shrink: 0;
    min-width: auto;
    transition: all 0.2s ease;
    will-change: transform;
  }
  
  .horario-btn {
    white-space: nowrap;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    flex-shrink: 0;
    min-width: auto;
    transition: all 0.2s ease;
  }
  
  .li-tema-selector {
    display: none !important;
  }
  
  /* Temas para navegación móvil */
  body.tema-oscuro .nav {
    background: #181818 !important;
    scrollbar-color: #fff #333;
  }
  
  body.tema-oscuro .nav::-webkit-scrollbar {
    background: #333;
  }
  
  body.tema-oscuro .nav::-webkit-scrollbar-thumb {
    background: #fff;
  }
  
  body.tema-oscuro .nav::-webkit-scrollbar-track {
    background: #333;
  }
  
  body.tema-daltonico .nav {
    background: #fff !important;
    scrollbar-color: #000 #f0f0f0;
  }
  
  body.tema-daltonico .nav::-webkit-scrollbar {
    background: #f0f0f0;
  }
  
  body.tema-daltonico .nav::-webkit-scrollbar-thumb {
    background: #000;
  }
  
  body.tema-daltonico .nav::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
}

/* NAVEGACIÓN MÓVIL PEQUEÑA OPTIMIZADA */
@media (max-width: 480px) {
  .nav {
    padding: 0.4rem 0.1rem;
    min-height: 65px;
  }
  
  .nav li {
    margin: 0 0.3rem;
  }
  
  .nav a, .nav button {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 14px;
  }
  
  .horario-btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 14px;
  }
  
  .nav::-webkit-scrollbar {
    height: 4px;
  }
} 

/* ESTILOS DUPLICADOS ELIMINADOS - CONSOLIDADOS ARRIBA */ 

/* SELECTOR DE TEMA FLOTANTE PARA MÓVILES */
@media (max-width: 700px) {
  .li-tema-selector {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    width: auto !important;
    display: block !important;
  }
  
  /* Ocultar el selector de tema original en la navegación móvil */
  .nav .li-tema-selector {
    display: none !important;
  }
  
  .tema-selector {
    background: linear-gradient(135deg, #8B1E3F 0%, #6B1E3F 100%) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border: 3px solid #fff !important;
    box-shadow: 0 6px 20px rgba(139, 30, 63, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    animation: temaPulse 2s infinite !important;
  }
  
  .tema-selector:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
    animation: none !important;
  }
  
  .tema-selector:active {
    transform: scale(0.95) !important;
  }
  
  .tema-selector::before {
    content: '\f185' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 1.8rem !important;
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  }
  
  .tema-selector label {
    display: none !important;
  }
  
  .tema-selector select {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    font-size: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
  
  /* Temas específicos para móvil */
  body.tema-oscuro .tema-selector {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #181818 !important;
  }
  
  body.tema-oscuro .tema-selector::before {
    color: #181818 !important;
  }
  
  body.tema-daltonico .tema-selector {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 3px solid #fff !important;
  }
  
  body.tema-daltonico .tema-selector::before {
    color: #fff !important;
  }
  
  /* Animación de pulso */
  @keyframes temaPulse {
    0% {
      box-shadow: 0 6px 20px rgba(139, 30, 63, 0.4) !important;
    }
    50% {
      box-shadow: 0 6px 20px rgba(139, 30, 63, 0.7) !important;
    }
    100% {
      box-shadow: 0 6px 20px rgba(139, 30, 63, 0.4) !important;
    }
  }
  
  body.tema-oscuro .tema-selector {
    animation: temaPulseOscuro 2s infinite !important;
  }
  
  @keyframes temaPulseOscuro {
    0% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.4) !important;
    }
    50% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.7) !important;
    }
    100% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.4) !important;
    }
  }
  
  body.tema-daltonico .tema-selector {
    animation: temaPulseDaltonico 2s infinite !important;
  }
  
  @keyframes temaPulseDaltonico {
    0% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.4) !important;
    }
    50% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.7) !important;
    }
    100% {
      box-shadow: 0 6px 20px rgba(255,255,255,0.4) !important;
    }
  }
}

@media (max-width: 480px) {
  .li-tema-selector {
    bottom: 15px !important;
    right: 15px !important;
  }
  
  .tema-selector {
    width: 55px !important;
    height: 55px !important;
  }
  
  .tema-selector::before {
    font-size: 1.5rem !important;
  }
}

/* BOTÓN DE LLAMADA FLOTANTE PARA MÓVILES */
@media (max-width: 700px) {
  .boton-llamar-flotante {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 9999 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border: 3px solid #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    animation: llamarPulse 2s infinite !important;
  }
  
  .boton-llamar-flotante:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6) !important;
    animation: none !important;
  }
  
  .boton-llamar-flotante:active {
    transform: scale(0.95) !important;
  }
  
  .boton-llamar-flotante::before {
    content: '\f095' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    margin: 0 !important;
  }
  
  @keyframes llamarPulse {
    0% {
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    }
    50% {
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7) !important;
    }
    100% {
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    }
  }
}

@media (max-width: 480px) {
  .boton-llamar-flotante {
    bottom: 15px !important;
    left: 15px !important;
    width: 55px !important;
    height: 55px !important;
  }
  
  .boton-llamar-flotante::before {
    font-size: 1.3rem !important;
  }
} 

 