body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
}

.topbar {
  background: red;
  padding: 0.5rem 1rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.hero {
  background: black;
  color: white;
  text-align: center;
  padding: 1rem;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.container {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.entradas h2, .info h2 {
  border-left: 5px solid red;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.ticket img {
  height: 40px;
}

.ticket select {
  margin-left: auto;
  padding: 0.4rem;
}

.total {
  text-align: right;
}

.total button {
  background: #faa;
  border: none;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: bold;
  color: white;
  transition: background 0.3s ease;
}

.total button.inactivo {
  background: #faa;
  cursor: not-allowed;
  pointer-events: none;
}

.total button.activo {
  background: #e60023;
  cursor: pointer;
}

.stock-alert {
  margin-top: 0.3rem;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-alert i {
  color: #e25822;
}


.precio-original {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
}

.precio-oferta {
  color: #e91e63;
  font-weight: bold;
  font-size: 1.1rem;
}


.info-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.details {
  flex: 1;
}

.details p {
  margin: 0.5rem 0;
}

.artist-img {
  width: 80px;
  border-radius: 50%;
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  background: #111;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
}

/* — Adaptación móvil — */
@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }

  .hero img {
    width: 100%;
    height: auto;
  }

  .container {
    padding: 1rem;
  }

  .ticket {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket select {
    margin: 0.5rem 0 0;
    width: 100%;
  }

  .total {
    text-align: center;
  }
  .total button {
    width: 100%;
  }

  .info-content {
    flex-direction: column;
    align-items: center;
  }
  .info-content img {
    max-width: 100%;
    height: auto;
  }
}
