/* ─── Menu / Carta ───────────────────────────────────────── */
#menu { background: var(--dark); }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.menu-tab {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.menu-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.menu-tab:hover { color: var(--text); }
.menu-panel { display: none; }
.menu-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; animation: panelFadeIn 0.4s ease both; }
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  gap: 1rem;
  position: relative;
}
.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  transition: width 0.4s ease;
}
.menu-item:hover::after { width: 100%; }
.menu-item:hover .menu-item-name { color: var(--gold-light); }
.menu-item-info { flex: 1; }
.menu-item-name { font-family: var(--sans); font-size: 0.88rem; font-weight: 400; letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.25rem; transition: color 0.3s; }
.menu-item-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.menu-item-price { font-family: var(--sans); font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.menu-item-tag {
  display: inline-block;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(0,0,0,0.2);
  padding: 0.15rem 0.4rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.allergen-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.5rem; }
.allergen-tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138,126,110,0.7);
  border: 1px solid rgba(138,126,110,0.18);
  padding: 0.23rem 0.65rem;
  transition: border-color 0.25s, color 0.25s;
  line-height: 1.6;
}
.allergen-tag:hover { border-color: rgba(0,0,0,0.5); color: var(--gold); }

/* ─── Alérgenos ──────────────────────────────────────────── */
#alergenos { background: var(--charcoal); border-top: 1px solid rgba(0,0,0,0.08); }
.alergenos-header { text-align: center; margin-bottom: 3rem; }
.alergenos-header h2 { font-family: var(--sans); font-size: clamp(1rem, 2.2vw, 1.5rem); font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 0.8rem; }
.alergenos-header p { font-size: 0.82rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.8; }
.alergenos-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.7rem; margin-bottom: 2.5rem; }
.al-card {
  background: var(--mid);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.35rem 0.3rem;
  text-align: center;
  pointer-events: none;
}
.al-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid rgba(0,0,0,0.25);
  margin: 0 auto 0.45rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.al-card-name { font-family: var(--sans); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.15rem; }
.al-card-code { font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.alergenos-notice {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.alergenos-notice .notice-icon {
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  width: 24px; height: 24px;
  border: 1px solid rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--gold);
}
.alergenos-notice p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.8; }
.alergenos-notice strong { color: var(--text); font-weight: 400; }

/* ─── Filtros ────────────────────────────────────────────── */
#lang-toggle {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.35);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
#lang-toggle:hover {
  background: rgba(0,0,0,0.1);
  border-color: var(--gold);
}
#filter-bar {
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ftabs-scroll { overflow-x: visible; margin-bottom: 1.2rem; mask-image: none; -webkit-mask-image: none; }
.ftabs { display: flex; flex-wrap: wrap; gap: 0.4rem; border-bottom: none; width: 100%; }
.ftab { background: transparent; border: 1px solid rgba(42,31,20,0.2); border-radius: 20px; color: var(--text-muted); font-family: var(--sans); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 1rem; cursor: pointer; white-space: nowrap; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.ftab:hover { color: var(--text); border-color: rgba(42,31,20,0.4); background: rgba(42,31,20,0.04); }
.ftab--active { background: var(--text); color: #fff; border-color: var(--text); font-weight: 500; }
.ftab--menudia { color: #8B5E3C; border-color: rgba(139,94,60,0.4); background: rgba(139,94,60,0.05); font-weight: 500; }
.ftab--menudia:hover { background: rgba(139,94,60,0.1); border-color: #8B5E3C; color: #6B3E1C; }
.fbar-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}
.filter-search-wrap {
  position: relative;
  flex: 1;
  max-width: 340px;
}
.filter-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}
.filter-search {
  width: 100%;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  padding: 0.55rem 0.9rem 0.55rem 2.3rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.filter-search::placeholder { color: var(--text-muted); }
.filter-search:focus { border-color: rgba(0,0,0,0.4); background: rgba(0,0,0,0.06); }
.filter-search::-webkit-search-cancel-button { opacity: 0.4; cursor: pointer; }
.frestrict-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.frestrict-toggle:hover { border-color: rgba(0,0,0,0.4); color: var(--text); }
.frestrict-toggle--active { border-color: var(--gold); color: var(--gold); background: rgba(0,0,0,0.04); }
.frestrict-count {
  background: var(--gold);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 600;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.frestrict-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}
.frestrict-panel--open { max-height: 600px; opacity: 1; }
.frestrict-inner {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}
.frestrict-section { display: flex; flex-direction: column; gap: 0.55rem; }
.frestrict-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-chip--diet-dark {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 20px;
  color: rgba(0,0,0,0.7);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.filter-chip--diet-dark .chip-icon { font-size: 0.75rem; line-height: 1; }
.filter-chip--diet-dark:hover { border-color: rgba(0,0,0,0.5); color: #000; background: rgba(0,0,0,0.05); }
.filter-chip--diet-dark.active { background: #111; border-color: #111; color: #fff; font-weight: 500; }
.filter-chip--allergen-dark {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 2px;
  color: rgba(0,0,0,0.6);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-chip--allergen-dark:hover { border-color: rgba(180,70,60,0.5); color: #b04040; background: rgba(180,70,60,0.06); }
.filter-chip--allergen-dark.active { background: rgba(180,70,60,0.1); border-color: rgba(180,70,60,0.6); color: #a03030; font-weight: 500; }
.filter-dark-clear {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
  color: rgba(0,0,0,0.5);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.filter-dark-clear:hover { background: rgba(0,0,0,0.06); }
#menu-render { min-height: 200px; }
.menu-section { margin-bottom: 3rem; }
.menu-section:last-child { margin-bottom: 0; }
.menu-section-heading {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.menu-section-grid { display: grid; gap: 0; }
.menu-item-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; align-items: center; }
.menu-item-badges .allergen-tags { margin-top: 0; }
.diet-badges { display: flex; gap: 0.3rem; }
.diet-badge {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 1px;
}
.diet-badge.diet-vegetariano { border: 1px solid rgba(120,180,100,0.5); color: #8dc87a; background: rgba(120,180,100,0.06); }
.diet-badge.diet-vegano { border: 1px solid rgba(80,180,130,0.5); color: #6ecba8; background: rgba(80,180,130,0.06); }
.menu-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); font-family: var(--sans); font-size: 0.85rem; }
.menu-empty-clear {
  margin-top: 1.2rem;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.3);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.menu-empty-clear:hover { background: rgba(0,0,0,0.08); border-color: var(--gold); }
.menu-item-price-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem; }
.menu-item-price-copa {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.menu-section-note {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: none;
  margin-top: 0.3rem;
}
.menu-section-note-solo {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1rem;
  border-left: 1px solid rgba(0,0,0,0.15);
}

/* ─── Pollos por encargo ─────────────────────────────────── */
.pollos-section { background: var(--charcoal); border-top: 1px solid rgba(0,0,0,0.08); }
.pollos-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.pollos-header { margin-bottom: 3.5rem; }
.pollos-title {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.pollos-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}
.pollos-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(0,0,0,0.3);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.pollos-tel:hover { border-color: var(--gold); background: rgba(0,0,0,0.06); }
.pollos-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pollo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(0,0,0,0.18);
  position: relative;
  transition: border-color 0.3s;
}
.pollo-item::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.07);
  pointer-events: none;
}
.pollo-item:hover { border-color: var(--gold); }
.pollo-info { flex: 1; }
.pollo-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pollo-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; }
.pollo-price {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ─── Responsive carta ───────────────────────────────────── */
@media (max-width: 1100px) {
  .alergenos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .menu-panel.active { grid-template-columns: 1fr; }
  .alergenos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .menu-tabs { flex-wrap: wrap; }
  .menu-tab { padding: 0.6rem 1rem; font-size: 0.55rem; }
  .alergenos-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .alergenos-notice { flex-direction: column; }
  .ftabs { gap: 0.35rem; }
  .ftab { font-size: 0.65rem; padding: 0.4rem 0.8rem; }
  .ftab--menudia { width: 100%; justify-content: center; display: flex; text-align: center; }
  .fbar-bottom { gap: 0.5rem; }
  .filter-search-wrap { flex: 1; max-width: unset; }
  .frestrict-toggle { font-size: 0.68rem; padding: 0.5rem 0.7rem; }
  .frestrict-inner { padding: 1rem; }
  .menu-section-heading { font-size: 0.95rem; }
  #lang-toggle { font-size: 0.65rem; padding: 0.28rem 0.5rem; }
  .pollos-items { grid-template-columns: 1fr; }
}
