/* Estilos globales */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background: var(--color-categorias-bg);
  color: #222;
}


/* Contenedor máximo opcional */
.contenedor {
  margin: auto;
  padding: 0 16px;
  max-width: 1200px;
}

h1, h2, h3 {
  text-align: center;
  color: #333;
}

section {
  margin: auto;
}

.toggle-body{
    max-height: none;
}

.toggle-header{
    justify-content: center;
    font-size: 2rem;
}

@media (max-width: 600px) {
  .toggle-header {
    font-size: 1.7rem;
    /* Estas dos líneas son clave si no lo hereda del general */
    justify-content: center;
    text-align: center;
  }

  .ventajas-lista li {
  flex-direction: column;
}

}






/* ---------------- HERO ---------------- */
.hero {
  background: linear-gradient(to bottom right, #fff8d8, #fcefb3); /* dorado suave */
color: #333;

  text-align: center;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #333;
    border: 2px solid #333;
    margin-top: 5rem;
}

.hero h1,.hero strong{
    color: #333;
}

.hero p {
  font-size: 18px;
  margin: 12px 0;
  color: #333;

}

.tiendas-destacadas-controles h2{
    font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;

}

.tiendas{
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--color-categorias-bg);
}

.btn-registrarse {
  display: inline-block;
  background: #ffe345;
  color: #333;
  padding: 12px 24px;
  font-weight: bold;
    border: 2px solid #333;
  box-shadow: 4px 4px 0 #333;
  border-radius: 8px;
  font-size: 18px;
  margin-top: 20px;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
}

.btn-registrarse:hover {
  transform: scale(1.05); /* Aumenta el tamaño en un 5% */
}

/* ---------------- Ventajas + Panel ---------------- */
.ventajas-panel-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  background: #ffff;
  padding: 20px;
  border-radius: 12px;
}

.oferta-destacada {
  display: block;
  background: var(--color-primario);
  color: #16122c;
  border: 2px solid #333;
  padding: 1rem 1.5rem;
  font-size: 1.3rem;
  font-family: var(--fuente-principal);
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 4px 4px 0 #333;
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
  position: relative;
}



.ventajas-lista,
.panel-demo {
  flex: 1;
  max-width: 600px;
}

/* Lista */
.ventajas-lista ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ventajas-lista li {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}



/* Video */
.panel-demo {
  text-align: center;
}

.panel-demo video {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--color-secundario);
    box-shadow: 0 0 8px var(--color-secundario);

}

/* Responsive */
@media (max-width: 768px) {
  .ventajas-panel-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .ventajas-lista,
  .panel-demo {
    max-width: 100%;
  }

  .btn-registrarse {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* ---------------- Tiendas Ejemplo ---------------- */
.galeria-tiendas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.tienda {
  text-align: center;
}

.tienda img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.tienda a {
  display: block;
  margin-top: 8px;
  color: #5c7cfa;
  font-weight: bold;
}

/* Carrusel de tiendas en el home */
.galeria-tiendas-carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 500px;
  margin: auto;
  margin-bottom: 10px;
}

.galeria-tiendas-carrusel .galeria-estilo {
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--color-secundario);
    box-shadow: 0 0 8px var(--color-secundario);
  background: white;
}

.galeria-tiendas-carrusel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.selector-tienda-link {
  text-align: center;
  margin-top: 8px;
}

.selector-tienda-link a {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
}

.selector-tienda-link a:hover {
  text-decoration: underline;
}

.flecha {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  color: #333;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  cursor: pointer;
}

.flecha.izq {
  left: 0;
}

.flecha.der {
  right: 0;
}


/* Controles superiores de tienda */
.tiendas-destacadas-controles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
/* Estilo para móviles */
@media (max-width: 600px) {
  .tiendas-destacadas-controles button {
    font-size: 0.9rem;
    padding: 6px 10px;
    max-width: 150px;
    text-align: center;
  }

  
}


.nombre-tienda {
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
}

.tiendas{
    padding: 1rem;
    border-radius: 12px;
    background: var(--color-categorias-bg);
    border: 2px solid #333;
    max-width: 100%;
    width: 100%;
}

.tiendas.columnas {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.info-personalizacion {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ✅ CENTRA verticalmente el contenido */
  flex: 1 1 300px;
  max-width: 500px;
}
.galeria-estilo iframe {
    width: 100%;
    border: none;
}


.info-personalizacion li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.info-personalizacion h3 {
  text-align: left;
  color: #16122c;
  margin-bottom: 16px;
}

.info-personalizacion ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}



.info-personalizacion p {
  font-size: 1.2rem;
  color: #333;
}

.galeria-tiendas-columna {
  flex: 1 1 400px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .tiendas.columnas {
    flex-direction: column;
  }

  .info-personalizacion,
  .galeria-tiendas-columna {
    max-width: 100%;
  }
}




/* ---------------- Kit Impulso ---------------- */
.kit-impulso-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  padding: 20px;
  border-radius: 12px;

}

.texto-ayuda {
  flex: 1 1 300px;
  max-width: 600px;
}

.texto-ayuda h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #16122c;
}

.texto-ayuda p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #222;
}

@media (max-width: 768px) {
  .kit-impulso-wrapper {
    flex-direction: column;
    padding: 1rem;
  }

  .formulario-ayuda {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
  }

  .texto-ayuda {
    width: 100%;
    max-width: 100%;
  }
}


.formulario-ayuda {
  flex: 1 1 500px;
  
}

.formulario-ayuda h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #16122c;
  text-align: center;
}

.formulario-kit label {
  display: block;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 4px;
}
.formulario-kit{
    padding: 0.5rem;
    border-radius: 8px;
    background: #ffff;
}

.formulario-kit input,
.formulario-kit textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.formulario-kit textarea {
  resize: vertical;
}

.formulario-kit button {
  display: block;
  margin-top: 16px;
  background: #5c7cfa;
  color: white;
  padding: 12px;
  border: 2px solid #333;
  box-shadow: 4px 4px 0 #333;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.formulario-kit button:hover {
  background: #3d5af1;
}


@media (max-width: 768px) {
  .kit-impulso-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0rem;
  }

  .texto-ayuda,
  .formulario-ayuda {
    max-width: 100%;
  }
  .texto-ayuda{
    text-align: center;
  }
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.hero-contenido h1 {
  animation: pulse 2.5s infinite ease-in-out;
}


.oculto {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.aparece {
  opacity: 1;
  transform: translateY(0);
}

.btn-registrarse {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-registrarse:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
