/*=============== Fondo y tipografía general ===============*/
html, body {
  height: 100%;
}
body {
  font-family: Arial, sans-serif;
  background: #000;
  margin: 0;
  padding: 0;
  color: #f4f4f4;
}

/* Encabezado fijo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #000;
  border-bottom: 2px solid #d62828;
  z-index: 1000;
}
header h1 {
  color: #d62828;
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}


/*=============== Contenedor con scroll ===============*/
.menu {
  position: fixed;
  top: 60px;
  bottom: 50px;
  left: 0;
  right: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scroll personalizado */
.menu::-webkit-scrollbar {
  width: 10px;
}
.menu::-webkit-scrollbar-track {
  background: #111;
}
.menu::-webkit-scrollbar-thumb {
  background: #6e1f1f;
  border-radius: 5px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
.menu::-webkit-scrollbar-thumb:hover {
  background: #822626;
}

/* Wrapper interno para centrar y separar los items */
.menu-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Items */
.item {
  background: #111;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.6);
  width: 100%;
  max-width: 800px;
  padding: 15px;
  color: #f4f4f4;
}
.item h3 {
  margin: 0;
  color: #e50914;
  text-align: left;
}
.tipo {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 15px;
}
.item-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.item-left img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.item-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100px;
}
.item-right .descripcion {
  font-size: 14px;
  color: #ccc;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}
.item-right .price {
  font-weight: bold;
  color: #ff4444;
  text-align: right;
  align-self: flex-end;
}

/*=============== Footer fijo ===============*/
.footer-fijo {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.6);
  border-top: 2px solid #d62828;
}
.btn-regresar {
  background: #222;
  color: #eae5e5;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #d62828;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-regresar:hover {
  background: #d62828;
  color: #fff;
  transform: scale(1.05);
}

/*=============== Responsive ===============*/
@media (max-width: 480px) {
  .item {
    max-width: 95%;
    padding: 10px;
  }
  .item-left img {
    width: 80px;
    height: 80px;
  }
  .item-right {
    height: 80px;
  }
}
