/* Estilos base */
body {
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  background-color: #fdf6e2;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: block;
}

header {
  height: 15em;
  padding: 2em;
  font-size: 2em;
  background-image: url("../imgs/background.jpg");
  background-size: cover;
  background-position: center calc(100%);
  color: rgb(43, 43, 43);
}

main {
  min-height: calc(100vh - 150px); /* Ajusta según la altura del header y footer */
}

footer {
  background: linear-gradient(to top, rgb(43, 43, 43) 80%, rgba(43, 43, 43, 0) 100%);
  color: #f1d118;
  font-weight: 500;
  padding: 1em;
  text-align: center;
  font-size: 1.5em;
}

/* Estilos para la sección de productos */
.productos {
  max-width: 800px;
  margin: 3em auto;
  padding: 0 2em;
}

.productos h2 {
  text-align: center;
  margin-bottom: 1.5em;
  color: rgb(43, 43, 43);
  font-size: 2.5em;
}

/* Estilos para mostrar cards en una columna */
.producto {
  width: 100%;
  margin: 2em 0;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* Estilos para las imágenes */
.producto img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Estilos para la información */
.informacion {
  padding: 1.5em;
}

.informacion h3 {
  margin-top: 0;
  color: rgb(43, 43, 43);
  font-size: 1.5em;
}

.informacion p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 1em;
}

.informacion .precio {
  font-weight: bold;
  font-size: 1.3em;
  color: #f1d118;
  background-color: rgb(43, 43, 43);
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 30px;
  margin-top: 0.5em;
}