/* =========================
   SECCIÓN LA CARTA (MENÚ)
   ========================= */

.menu-section {
  background-color: var(--color-bg);
  color: var(--color-cream);
  padding: 6rem 0;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6rem;
}

.menu-label {
  font-family: "Metropolis", sans-serif;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.menu-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-black);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: var(--color-cream);
}

.menu-subtitle {
  font-family: "Metropolis", sans-serif;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 247, 238, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.menu-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: 2.5rem;
}

/* =========================
   TABS
   ========================= */

.menu-tabs-wrapper {
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.menu-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(255, 247, 238, 0.5);
  cursor: pointer;
  outline: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.menu-tab.is-active {
  border-bottom-color: var(--color-gold);
  color: var(--color-gold);
}

.menu-tab:hover {
  color: rgba(255, 247, 238, 0.8);
}

/* =========================
   PANELES
   ========================= */

.menu-panels {
  position: relative;
}

.menu-panel {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.menu-panel.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   CATEGORÍAS
   ========================= */

.menu-category {
  margin-bottom: 3rem;
  position: relative;
}

.menu-category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-category-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(170, 117, 12, 0.7),
    transparent
  );
}

.menu-category-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  white-space: nowrap;
}

/* =========================
   GRIDS
   ========================= */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 3rem;
}

.menu-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

/* =========================
   ITEMS GENERALES
   ========================= */

.menu-item {
  font-family: "Metropolis", sans-serif;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.menu-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cream);
}

.menu-item-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-gold-light);
  white-space: nowrap;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dashed rgba(170, 117, 12, 0.4);
  margin-bottom: 0.2rem;
}

.menu-item-description {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 247, 238, 0.7);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.menu-item-divider {
  height: 1px;
  width: 100%;
  background-color: rgba(170, 117, 12, 0.15);
}

/* Vinos */

.menu-item-varietal {
  font-weight: 300;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 247, 238, 0.75);
  margin-bottom: 0.35rem;
}

/* Destilados: grid compacto, solo nombre y precio */

.menu-item-compact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.menu-item-compact-name {
  font-weight: 500;
  color: var(--color-cream);
}

.menu-item-compact-price {
  font-weight: 600;
  color: var(--color-gold-light);
  white-space: nowrap;
}

/* =========================
   BARRA INFERIOR FLOTANTE
   ========================= */

.menu-bar-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(0, 28, 4, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(170, 117, 12, 0.25);
  padding: 0;
  /* Empieza abajo — oculta */
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-bar-bottom.is-visible {
  transform: translateY(0);
}

.menu-bar-tab {
  flex: 1;
  max-width: 200px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1.1rem 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 247, 238, 0.45);
  cursor: pointer;
  outline: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
  position: relative;
}

.menu-bar-tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.menu-bar-tab.is-active {
  color: var(--color-gold);
}

.menu-bar-tab.is-active::after {
  width: 40px;
}

.menu-bar-tab:hover {
  color: rgba(255, 247, 238, 0.8);
}

/* =========================
   DECO IMAGES
   ========================= */

/* COMIDA */

.menu-deco-tabla {
  position: absolute;
  left: -350px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  height: 350px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-aceituna {
  position: absolute;
  right: -10px;
  top: 25%;
  rotate: -35deg;
  transform: translateY(-50%);
  height: 150px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-bolillo {
  position: absolute;
  right: -450px;
  top: 25%;
  rotate: -35deg;
  transform: translateY(-50%);
  height: 230px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-queso {
  position: absolute;
  left: -300px;
  top: 50%;
  transform: translateY(-50%) rotate(10deg);
  height: 500px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-esparrago {
  position: absolute;
  right: -350px;
  top: 0%;
  transform: translateY(-50%) rotate(130deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

.menu-deco-pasta {
  position: absolute;
  left: -350px;
  top: 0%;
  transform: translateY(-50%);
  rotate: 10deg;
  height: 400px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* VINO */

.menu-deco-uvas {
  position: absolute;
  right: -400px;
  rotate: -30deg;
  transform: translateY(-25%);
  height: 450px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-botella3 {
  position: absolute;
  left: -200px;
  top: 0%;
  rotate: -20deg;
  transform: translateY(-0%);
  height: 600px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-copa2 {
  position: absolute;
  right: -200px;
  top: 0%;
  transform: translateY(-70%);
  height: 500px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* BEBIDAS */

.menu-deco-copa5 {
  position: absolute;
  left: -200px;
  top: 0%;
  transform: translateY(-20%);
  height: 550px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-copa4 {
  position: absolute;
  right: -200px;
  top: 0%;
  transform: translateY(35%);
  height: 550px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-barril {
  position: absolute;
  left: -300px;
  top: 0%;
  transform: translateY(5%);
  height: 450px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-vaso-whiskey {
  position: absolute;
  right: -200px;
  transform: translateY(-45%);
  top: 0%;
  rotate: 10deg;
  height: 550px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-whiskey {
  position: absolute;
  left: -200px;
  top: 0%;
  transform: translateY(30%);
  rotate: -10deg;
  height: 350px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-botella2 {
  position: absolute;
  right: -250px;
  transform: translateY(-40%);
  top: 0%;
  rotate: 10deg;
  height: 500px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.menu-deco-vodka {
  position: absolute;
  left: -100px;
  transform: translateY(-30%);
  top: 0%;
  rotate: -10deg;
  height: 550px;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .menu-container {
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .menu-container {
    padding: 0 1.5rem;
  }

  .menu-tabs {
    gap: 1.5rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .menu-tabs {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .menu-grid-compact {
    grid-template-columns: 1fr;
  }
}
