/* ============================================
   tabs.css — estilos añadidos para las pestañas
   (Carta / Desayunos / Bebidas). No modifica ni
   sustituye styles.css: son reglas nuevas para
   clases nuevas, pensadas para convivir con tu
   diseño actual (misma familia tipográfica).
   ============================================ */

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.tabs-nav__btn {
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  opacity: 0.65;
}

.tabs-nav__btn:hover {
  opacity: 1;
}

.tabs-nav__btn.is-active {
  background-color: currentColor;
  opacity: 1;
}

.tabs-nav__btn.is-active span {
  color: var(--tabs-active-text, #fff);
}

.tabs-nav__btn span {
  color: inherit;
}

/* truco para invertir el color del texto cuando el botón está activo,
   sin depender de variables que no sabemos si existen en tu styles.css */
.tabs-nav__btn.is-active {
  color: #1a1a1a;
}
.tabs-nav__btn.is-active span {
  color: #ffffff;
  mix-blend-mode: difference;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabFadeIn 0.25s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdf-gallery {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem 2rem;
}

.pdf-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tab-panel .info {
  margin-top: 0;
}
