/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #494949;
    line-height: 1.6;
  }
  
  /* CONTENEDOR */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  .aviso{
    background-color: black;
    color: white;
    text-align: center;
    font-size: medium;
  }

/* HERO PRINCIPAL */
.hero-inicio {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-inicio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/banner2.jpg') center/cover no-repeat;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-inicio::before {
    background-image: url('../img/bannercelu3.jpg');
  }
}

.hero-texto {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 700px;
}

.hero-texto h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-texto p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* PRODUCTOS DESTACADOS */
.destacados {
  padding: 4rem 0;
}

.destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.destacado-item img {
  width: 80%;
  border-radius: 10px;
}

.destacado-item p {
  text-align: center;
  margin-top: 0.5rem;
}

.negrita{
  font-weight: 600;
}
/* CTA */
/* SECCIÓN CTA (lado a lado con video) */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: #dadada;
  padding: 3rem 1rem;
}

.cta-contenido {
  flex: 1 1 400px;
  max-width: 600px;
}

.cta-contenido p{
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.cta video {
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: 12px;
}

/* FAQ */
.faq {
  padding: 3rem 0;
}

.faq details {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.faq summary {
  font-weight: bold;
}

.faq summary::marker {
  content: "➕ ";
}

/* Reutilizables */
.seccion-titulo {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.btn-secundario {
  background-color: #444;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-secundario:hover {
  background-color: #222;
}

  
  /* HERO */
  .hero {
    background-color: #f8f8f8;
    padding: 5rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
  }
  
  .btn-primario {
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .btn-primario:hover {
    background-color: #e65500;
  }
  @media (max-width: 768px){
  .aviso{
    font-size: small;
  }
  .destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  font-size: small;
}
  .destacado-item img {
  width: 100%;
  border-radius: 10px;
}

  .cta-contenido {
    align-content: center;
  }
}
  /* FOOTER */
.footer {
  background-color: #f8f8f8;
  color: #333;
  padding: 2rem 1rem 1rem;
  font-size: 0.95rem;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo h3 {
  margin-bottom: 0.5rem;
  color: #ff6600;
}

.footer-contacto h4 {
  margin-bottom: 0.5rem;
}

.footer-contacto ul {
  list-style: none;
  padding: 0;
}

.footer-contacto li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #333;
  text-decoration: none;
}

.footer a:hover {
  color: #ff6600;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #777;
}

  .icono-contacto {
  color: #777;
  margin-right: 0.6rem;
  width: 20px;
}


  .filtros {
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.filtro-btn {
  background-color: #f36c20;
  color: white;
  border: none;
  margin: 0 5px;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.filtro-btn:hover, .filtro-btn.activo {
  background-color: #d85a0e;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 20px 40px;
}

.producto-card {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  background: #fff;
}

.producto-card img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.producto-card h2 {
  font-size: 1.2em;
  margin: 10px 0 5px;
}

.producto-card p {
  margin: 5px 0;
}

.btn {
  background-color: #f36c20;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.btn:hover {
  background-color: #d85a0e;
}

/* Grid para mostrar las cards */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Cada card individual */
.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.3s;
  text-decoration: none;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #333;
    text-decoration: none;

}

.product-card p {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none !important;

}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card a:hover {
  color: #ff6600; /* o el color que quieras para hover */
}

.product-card button {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

.product-card button:hover {
  background-color: #e65c00;
}

/* Botón flotante */
.boton-carrito-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.boton-carrito-flotante:hover {
  background-color: #e65c00;
}

/* Panel lateral */
.carrito-lateral {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 1rem;
  z-index: 1100; /* o más */
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.carrito-lateral.abierto {
  right: 0;
}

.carrito-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carrito-contenido {
  flex-grow: 1;
  overflow-y: auto;
  margin: 1rem 0;
}

.carrito-contenido p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.carrito-footer {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.carrito-footer .btn {
  display: block;
  text-align: center;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

