/* ============================================
   PÁGINAS DE MENÚ (Títulos y filtros)
   ============================================ */
.page-title {
  font-family: "Noto Serif JP", serif;
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--rojo-chino);
  text-shadow: 2px 2px 4px rgba(196, 30, 58, 0.2);
}

.page-subtitle {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

/* ============================================
   FILTROS DEL MENÚ
   ============================================ */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.7rem 2rem;
  background: var(--blanco-arroz);
  border: 2px solid var(--rojo-chino);
  border-radius: 9999px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rojo-chino);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background: var(--dorado);
  color: var(--rojo-oscuro);
  border-color: var(--dorado);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--rojo-chino), var(--rojo-oscuro));
  color: var(--blanco-arroz);
  border-color: var(--rojo-chino);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

/* ============================================
   GRID DEL MENÚ
   ============================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.menu-item {
  background: var(--blanco-arroz);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--dorado);
}

/* ===== IMAGEN BASE (para todos los platillos) ===== */
.menu-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center; /* Centro por defecto */
  display: block;
  border-bottom: 3px solid var(--rojo-chino);
}

/* ===== IMAGEN PARA BEBIDAS EN VASO/COPA (prioriza la parte superior) ===== */
.menu-item.bebida-copa img {
  object-position: top; /* Muestra el borde superior de la copa */
}

.menu-item-content {
  padding: 1.8rem;
}

.menu-item-content h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--rojo-chino);
}

.menu-item-content p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.price {
  display: inline-block;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--rojo-oscuro);
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.2),
    rgba(240, 199, 94, 0.2)
  );
  padding: 0.3rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid var(--dorado);
}

/* ============================================
   RESPONSIVE MENÚ
   ============================================ */
@media (max-width: 600px) {
  .page-title {
    font-size: 2.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-item img {
    height: 200px;
  }

  .menu-item-content {
    padding: 1.2rem;
  }
}
/* ============================================
   RESPONSIVE MENÚ
   ============================================ */
@media (max-width: 600px) {
  .page-title {
    font-size: 2.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-item img {
    height: 200px;
  }

  .menu-item-content {
    padding: 1.2rem;
  }
}
