

* {
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #1a1a1a;
}


a {
  text-decoration: none;
  color: inherit;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  flex-wrap: wrap;
}
.panel {
  position: absolute;
  right: 30px;
  top: 80px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  width: 250px;
}

.panel input {
  width: 100%;
  margin: 8px 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.panel button {
  width: 100%;
  padding: 10px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.oculto {
  display: none;
}


.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  gap: 10px;
}

.logo-icono {
  height: 25px;
  width: auto;
  vertical-align: middle;
}

.menu a {
  margin: 0 15px;
  font-size: 15px;
  color: #333;
}

.iconos span {
  margin-left: 15px;
  font-size: 18px;
}

.hero {
  display: flex;
  margin: 50px auto;
  gap: 170px;
  align-items: start;
  padding: 50px;
  background-color: #f4f3ef;
  border-radius: 50px;
  max-width: 1000px;
  flex-wrap: wrap;
}

.hero-texto {
  max-width: 350px;
}

.hero-texto h1 {
  font-size: 40px;
  font-weight: bold;
}

.hero-texto p {
  font-size: 15px;
  margin-top: 10px;
  color: #555;
}

.botones {
  margin-top: 50px;
}

.btn-negro,
.btn-blanco {
  padding: 15px 20px;
  font-size: 15px;
  margin-right: 10px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.btn-negro {
  background-color: #1a1a1a;
  color: #fff;
}

.btn-blanco {
  background-color: transparent;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
}

.hero-imagen img {
  width: 250px;
  height: 350px;
  border-radius: 16px;
}


.categorias {
  padding: 40px 60px;
  text-align: start;
}

.lista-categorias {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.categoria {
  text-align: center;
  background-color: #fafafa;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 16px;
  width: 150px;
}
.ver-coleccion {
  color: #007BFF;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  user-select: none;
  transition: color 0.3s ease;
}

.ver-coleccion:hover {
  color: #0056b3;
}

#contenedor-coleccion {
  background-color: #fafafa;
  border-radius: 8px;
  min-height: 100px;
}



.categoria span {
  font-size: 30px;
}

.categoria p {
  margin-block: 10px;
  font-size: 15px;
}


.productos {
  padding: 40px 60px;
  margin: 30px;
}

.lista-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 10px;
}

.producto {
  text-align: center;
  border-radius: 16px;
  width: 150px;
}

.producto img {
  width: 150px;
  height: 250px;
  border-radius: 8px;
}

.producto h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  text-align: start;
}

.producto p {
  margin-bottom: 10px;
  color: #555;
  text-align: start;
}

.precio {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.producto button {
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 8px 16px;
  cursor: pointer;
}


.newsletter {
  background-color: #f4f3ef;
  padding: 40px 60px;
  text-align: center;
  margin: 20px 180px;
  border-radius: 20px;
}

.newsletter h2 {
  font-size: 1.5em;
}

.newsletter p {
  margin: 10px 0 20px;
  color: #555;
}

.newsletter input {
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  width: 250px;
  max-width: 80%;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background-color: #1a1a1a;
  color: white;
  margin-left: 10px;
  cursor: pointer;
}


footer {
  padding: 30px 60px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  text-align: center;
}

.inicio {
  text-align: start;
}

.fin {
  text-align: end;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.2em;
}

.footer-enlaces a {
  margin: 0 5px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.footer-iconos a {
  margin-left: 10px;
  color: #333;
  font-size: 18px;
}

.footer-iconos img.icono-red {
  width: 22px;
  height: 22px;
  margin-left: 15px;
}

.carrito-container {
  padding: 1rem 2rem;
  background-color: #fff;
  margin: 20px auto;
  max-width: 600px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.carrito-container h2 {
  margin-bottom: 10px;
}

.carrito-container ul {
  list-style: none;
  padding-left: 0;
}

.carrito-container li {
  margin-bottom: 8px;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    margin-top: 10px;
  }

  .menu a {
    display: block;
    margin: 10px 0;
  }

  .hero {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    margin: 30px 15px;
  }

  .hero-imagen img {
    width: 100%;
    height: auto;
  }

  .productos {
    padding: 20px;
    margin: 10px;
  }

  .newsletter {
    margin: 20px;
    padding: 30px 20px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .precio {
    flex-direction: column;
    gap: 10px;
    align-items: start;
  }
}
#panel-ayuda {
  position: fixed;
  top: 350px;
  right: 30px;
  bottom: 80px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1;
  width: 200px;
  height: 250px;
}

#panel-ayuda button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.oculto {
  display: none;
}







