/* =====================
ESTILOS GENERALES
====================== */
body {
  padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  color: #2e2a26;
  /* background-color: #f4f1e8; */
  background:
    linear-gradient(170deg, #f8f5ed 0%, #ece6da 100%);
  position: relative;

}



body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("fondotextura.png");
  background-size: 450px;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* =====================
HEADER
====================== */
.header {
  text-align: center;
  padding: 30px 20px;
}

.header img {
  max-width: 180px;
  margin-bottom: 20px;
}

.descripcion-local {
  font-size: 1rem;
  color: #5a524a;
}

/* =====================
CATEGORÍAS
====================== */
.categoria {
  scroll-margin-top: 70px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.categoria.visible {
  opacity: 1;
  transform: translateY(0);
}

.categoria h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c9bfae;
  color: #6B4E2E;
}

/* =====================
ITEMS DEL MENÚ
====================== */
.item {
  padding: 15px 0;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.item h3 {
  font-size: 1.1rem;
  margin: 0;
}

.precio {
  font-weight: bold;
  font-size: 1rem;
}

.descripcion {
  font-size: 0.95rem;
  color: #6a635c;
  margin-top: 5px;
}
  /* =====================
FOOTER
====================== */
  .footer {
    text-align: center;
    padding: 40px 0;
  }

  .footer a {
    margin: 0 10px;
    color: #7a6f63;
    text-decoration: none;
    font-size: 0.95rem;
  }

  #volverArriba {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #c9bfae;
    color: #2e2a26;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  #volverArriba:hover {
    background-color: #b8ad9c;
  }

  .microcopy-identidad {
    font-size: 0.9rem;
    color: #7a6f63;
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .microcopy-menu {
    text-align: center;
    font-size: 0.9rem;
    color: #6a635c;
    margin-bottom: 30px;
  }

  .descripcion-categoria {
    font-size: 15px;
    color: #555;
    margin: 5px 0 20px 0;
    max-width: 600px;
    line-height: 1.5;
    font-style: italic;
  }


.descripcion-categoria strong {
  font-weight: 600;
}

/* 14/02/2026 */

.menu-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  /* fija altura clara */
  display: flex;
  align-items: stretch;
  background: #f8f5ed;
  border-bottom: 1px solid #e5e0d6;
  z-index: 999;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Oculta scrollbar pero mantiene funcionalidad */
.menu-nav::-webkit-scrollbar {
  display: none;
}

.menu-nav {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.menu-nav ul {
  display: flex;
  gap: 40px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0px 40px;
  min-width: max-content;
}

.menu-nav a {
  display: flex;
  align-items: center;
  padding: 0 30px;
  height: 100%;
  /* ocupa todo el nav */
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #444;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.menu-nav a.active {
  background-color: #e9e4d8;
  color: #000;
}

.menu-nav::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 100%;
  /* background: linear-gradient(to left, #f8f5ed, transparent); */
  pointer-events: none;
}