* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.layout {
  display: grid;
  grid-template-areas:
    "header"
    "nav"
    "main"
    "aside"
    "footer";
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: rgb(54, 54, 37);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: "Roboto", sans-serif;
}

.logo img {
  max-height: 70px;
  height: auto;
}

.menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #ffc107;
}

.boton-login {
  background-color: #f5f5dc;
  color: #2e2e2e;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.boton-login:hover {
  background-color: #e0dcb8;
}

.nav {
  grid-template-areas: nav;
  background-color: beige;
}

.slogan {
  background-color: #f5f5dc;
  font-family: "Domine", serif;
  font-size: 2rem;
  padding: 20px 40px;
  margin: 0 auto;
  text-align: center;
  border-radius: 8px;
}

.main {
  grid-template-areas: main;
  background-color: beige;
}

/* Lista de  precios */

.producto h3 {
  font-size: 1.1rem;
  margin: 10px 0;
  color: #3e3e3e;
}

.precio {
  font-weight: bold;
  color: #2e2e2e;
  margin-bottom: 10px;
}

.boton-agregar {
  background-color: #ebe3c4;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.boton-agregar:hover {
  background-color: #d5cba1;
}

.fila-productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 60px auto 40px;
  max-width: 1200px;
}

.producto {
  background-color: #f5f5dc;
  padding: 20px;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.producto img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Banner pagina principal */
.banner-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background-color: #f5f5dc;
}
.banner-principal img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-secciones {
  background-color: #f0e8cb; /* Beige cálido tipo arena */
  padding: 40px 20px;
  border-top: 2px solid #dcd3aa;
  font-family: "Roboto", sans-serif;
  color: #3e3e3e;
  text-align: center;
}
/* Inicio de sesion */
.form-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5dc;
  padding: 20px;
}

.form-contenedor form {
  background-color: #fff8e3;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 15px;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .logo img {
    max-height: 60px;
  }

  /*FOOTER */

  .footer-secciones {
    background-color: #f5f5dc;
    padding: 40px 20px;
    border-top: 2px solid #dcd3aa;
    font-family: "Roboto", sans-serif;
    text-align: center;
    color: #3e3e3e;
  }

  .footer-info {
    background-color: #f0e8cb;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    text-align: center;
  }

  .footer-info a:hover {
    color: #007bff;
  }

  .footer-social {
    margin: 20px 0;
  }

  .footer-social span {
    font-weight: bold;
    margin-right: 10px;
  }

  .footer-social img {
    width: 24px;
    margin: 0 5px;
    transition: transform 0.3s ease;
  }

  .footer-social img:hover {
    transform: scale(1.2);
  }

  .footer-copy {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /*PRODUCTOS DEL CARRITO */

  .fila-productos {
    flex-direction: column;
    align-items: center;
  }

  .producto {
    width: 90%;
    margin: 20px 0;
  }

  .producto img {
    height: auto;
  }

  .boton-agregar {
    width: 80%;
    font-size: 1rem;
  }

  .form-contenedor form {
    max-width: 90%;
  }
}
