/* ================= RESET Y ESTRUCTURA GENERAL ================= */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
img{
max-width:100%;
height:auto;
}
body {
  background-color: #f8f8ff;
  font-family: 'Quicksand', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  animation: aparecerPagina 0.5s ease;

}
@keyframes aparecerPagina{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
main {
  flex: 1;
}
* {
  box-sizing: border-box;
}

@keyframes aparecerFrase{
  from{
    opacity: 0;
    transform: translateY(15px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= HEADER ================= */
/* ================= HEADER GENERAL ================= */
.header {
  width: 100%;
  min-height: 30vh;
  background-color: #8c52ff;
  color: white;
  text-align: center;
  padding: 40px 10px 20px 10px;
  transition: height 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

/* Logo */
.logo {
  max-width: 350px;
  width: 100%;
  filter: drop-shadow(0 6px 14px rgba(90, 40, 120, 0.35));
  animation: aparecerLogo 0.8s ease;
}

/* Animación logo */
@keyframes aparecerLogo {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header.shrink{
min-height:90px;
padding:10px 10px;
box-shadow:0 3px 10px rgba(0,0,0,0.25);
transition:all 0.3s ease;
}

.header.shrink .logo{
max-width:180px;
}

.header.shrink .descripcion-principal{
font-size:14px;
margin-top:5px;
}

/* Texto principal del header */
.descripcion-principal {
  text-align: center;
  font-family: 'Fraunces', serif;
 
  font-size: 20px;  /* tamaño consistente */
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  margin-top: 20px;
  margin-bottom: 15px; /* 👈 agregá esto */
  opacity: 0;
  animation: aparecerFrase 1.2s ease forwards;
}

/* Animación del texto */
@keyframes aparecerFrase {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*menu nav*/
/* MENU */
/* MENU */
.menu{
  background-color: #7a3fe0 ;
  padding: 6px 20px;
  position: relative;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

}


/* links desktop */
.menu-links{
  display: flex;
  justify-content: center;
  gap: 50px;
}

.menu-links a{
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  padding: 5px;
  
}

/* efecto hover */
.menu-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}

.menu-links a:hover::after{
  width: 100%;
}




/*------------------ MENÚ HAMBURGUESA ------------------ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* animación a X */
.menu-toggle.activo span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.activo span:nth-child(2){
  opacity: 0;
}

.menu-toggle.activo span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}
/* ================= PRODUCTOS PRINCIPALES (INDEX) ================= */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
  justify-content: center;
  justify-items: center;
  gap: 100px;
  padding-bottom: 40px;
  padding-top: 40px;

  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(30px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.producto {
   width: 100%;
  max-width: 350px;
  height: auto;
  min-height: 360px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
}

.producto img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;              /* rellena el área sin deformar */
}
/* título */



/* botón */
.producto button {
  width: 100%;
}
.linkProducto {
  text-decoration: none;
  color: inherit;
  display: block;
}

.producto.visible:hover { 
  transform:  translateY(-6px) scale(1.02) ;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  cursor: pointer;

}
.producto:hover h3{
    color: #8c52ff;
}

.producto:nth-child(1){
  transition-delay: 0.1s;
}

.producto:nth-child(2){
  transition-delay: 0.3s;
}

button {
  background: #8c52ff;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
}

button:hover {
  background:#7a3fe0;
  transform: translateY(-2px);
}
/* ================= MODAL ================= */
.formulario{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
justify-content:center;
align-items:center;
z-index: 9999;
}

.formulario-contenido{
background:#d3d3d3;
padding:20px;
width:90%;
max-width:420px;
border-radius:12px;
position: relative;
max-height:85vh;
overflow-y:auto;
}

.tematica{
border:1px solid #9999;
border-radius:10px;
margin-bottom:10px;
overflow:hidden;
}

.tematica-titulo{
padding:8px 10px;
background:#E8E8E8;
cursor:pointer;
font-weight:600;
display:flex;
justify-content:space-between;
font-size: 14px;
align-items:center;
}
.tematica input{
  height:30px;
font-size:14px;
}

.tematica-contenido{
display:none;
padding:8px;
}
.colores{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:8px;
}

.color{

  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0;
  padding: 5px;
transition:all .2s;
}
  .colores label {
    border: 2px solid #141414; 
    padding: 8px;
    border-radius: 4px;
    display:inline-block;
    margin-right:5px;
    cursor:pointer;
  }
.nombreColor {
  font-size: 14px;
}
.color input{
display:none;
}

/* tilde */
.color::after{
content:"✓";
color:black;
font-size:14px;
font-weight:bold;
display:none;
text-align: center;

}
.info-tematicas{
font-size:16px;
color:#292828;
margin-bottom:10px;
}
.aviso{ 
  display:none;
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%); 
  background:#ffebee; 
  color:#b71c1c; 
  padding:14px 20px; 
  border-radius:10px; 
  font-weight:500; 
  border: 1px solid rgba(183, 28, 28, 0.5);
  box-shadow: 0 4px 10px rgba(183,28,28,0.25);
  z-index: 9999; 
  animation: aparecer 0.3s ease; 
}
@keyframes aparecer{
  from{
    opacity:0;
    transform:translate(-50%, -20px);
  }
  to{
    opacity:1;
    transform:translate(-50%, 0);
  }
}
/* cuando está seleccionado */

.color:has(input:checked){
transform:scale(1.2);
border:4px solid #8c52ff;
}

.color:has(input:checked)::after{
display:block;
}
.rojo{background:#BD1417 ;}
.azul{background:#0047BB;}
.amarillo{background: #EDBD1B;}
.rosa{background: #EF76AC;}
.verde{background:#168833;}
.dorado{background:linear-gradient(
    45deg,
    #D4AF37,
    #FFD700,
    #F7E27C,
    #FFD700,
    #B8962E
  )}
.plateado{background:linear-gradient(
    45deg,
    #C0C0C0,
    #E8E8E8,
    #A9A9A9,
    #F5F5F5,
    #B0B0B0
  )}

.cantidad-control{
display:flex;
align-items:center;
gap:6px;
margin-top:6px;
height: 30px;
}
.tematica.seleccionada{
background:#E6E6FA;
border:2px solid #8c52ff;
border-radius:10px;
padding:8px;
}

.cantidad-control input{
width:60px;
height:30px;
text-align:center;
border:1px solid #999999;
border-radius:6px;
padding:0;
font-size:14px;

}

.cantidad-control button{
width:32px;
height:30px;
border:none;
background:#7a3fe0;
color:white;
font-size:18px;
border-radius:6px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}
.cantidad-control button:hover{
opacity:0.9;
}

/* ================= INPUTS ================= */
input, textarea {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #999999;
  box-sizing: border-box;
  font-size: 14px;
  background-color:#e8e8e8 ;
}


/* ================= BOTÓN WHATSAPP FLOTANTE ================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ================= CARDS PRODUCTOS PÁGINAS INTERNAS ================= */
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
  gap: 30px;
  padding: 20px;
  justify-content: center;
  justify-items: center;
  align-items: stretch; /* 👈 clave */
}

#contenedor-productos .card-producto{
  background-color:  #f2f2f2;
}
.card-producto {
  border-radius: 15px;
  padding: 15px;
  width: 250px;
box-shadow: 
  -4px 0 8px rgba(0,0,0,0.05),
  -8px 0 16px rgba(169, 169, 169, 0.25);
  transition: 0.2s;
  flex-direction: column;
  height: 100%;
  display: flex;
  position: relative;
  height: 100%; /* 👈 clave */
}
.contenido-card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.botones-card {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.botones-card button{
  width:100%;
  border:none;
  border-radius:25px;
  padding:10px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s;
}

.botones-card button:first-child{
  background:#8c52ff;
  color:white;
}

.botones-card button:first-child:hover{
  background:#7a3fe0;
  transform:scale(1.03);
}
.card-producto:hover {
  transform: scale(1.03);
}

.imagen-card {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.descripcion {
  font-size: 14px;
  color: #555;
  margin-top: 0;
  margin-bottom: 10px;
}

.precio {
    font-size:22px;
  font-weight:700;
  color:#000;
  margin:10px 0;
}

.card-producto button {
  width: 100%;
  background:#8c52ff ;
  border-radius: 25px;
  padding: 12px;
  color: white;
}

.card-producto button:hover {
  background: #7a3fe0;
}

/* ================= FOOTER ================= */
footer {
  width: 100%;
  background-image:url(img/footer.png);
  background-color: #8c52ff;
  color: white;
  padding: 5px 0px;          /* más compacto */
  font-size: 12px;
  margin-top: auto;
  font-weight: 800;
  letter-spacing: 0.5px;

}
#contacto{
  background-color:rgba(140, 82, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
}
#redes{
  background-color:rgba(140, 82, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
}
.footer-contenido {
  width: 100%;
   max-width: 1000px;     /* limita el contenido, no el footer */
  margin: 0 auto;        /* centra el contenido */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;

}

.redes a {
  display: inline-block;
  margin: 5px;
  text-decoration: none;
  font-size: 15px;
  color: black;
  
}

.redes a:hover {
  text-decoration: underline;
  transform: scale(1.20);
}

.redes i {
  margin-right: 8px;
  font-size: 15px;
}

.footer-copy {
  text-align: center;
  margin-top: 3px;
  font-size: 11px;
  color: #ccc;
}

/* ================= GALERÍA ================= */
.body-galeria {
  font-family: Arial;
  padding: 20px;
  background-color: #f5f5f5;
}



.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
  
}

.galeria img {
  width: 100%;
 height: 340px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.boton-volver {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color:#8c52ff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  backdrop-filter: blur(10px);
  background: rgba(30, 0, 40, 0.6);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal.activo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal img {
  max-width: 85%;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow:
    0 0 25px rgba(140, 99, 163, 0.4),
    0 0 60px rgba(140, 99, 163, 0.2);
  transform: scale(0.8) translateY(20px);
  animation: magiaEntrada 0.5s ease forwards;
}
.modal.activo img {
  transform: scale(1) translateY(0);
  opacity: 1;
}
  @keyframes fadeModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes magiaEntrada {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  60% {
    transform: scale(1.03) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-contenido {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.imagen-galeria {
  width: 100%;
  height: 200px; /* o el alto que uses */
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  transition: 0.3s;
}

.imagen-galeria:hover {
  transform: scale(1.05);
}

.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 60px;
  height: 60px;
  
  background: #8c52ff;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  color: white;
  cursor: pointer;
 
    box-shadow:
    0 0 10px rgba(140, 99, 163, 0.6),
    0 0 20px rgba(140, 99, 163, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.3);
  animation: glowMagico 2.5s infinite alternate;
  transition: 0.3s ease;

}

.flecha:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow:  
    0 0 15px rgba(140, 99, 163, 0.8),
    0 0 30px rgba(140, 99, 163, 0.6),
    0 12px 25px rgba(0, 0, 0, 0.35);
}

.flecha.izquierda {
  left: 20px;
}

.flecha.derecha {
  right: 20px;
}
/* Contenedor del FAQ */
.faq {
  max-width: 800px;       /* ancho máximo para que no se extienda demasiado */
  margin: 40px auto;      /* centrado y espacio superior e inferior */
  padding: 20px;
  background-color: #f9f9f9; /* fondo suave */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Quicksand', sans-serif;
  line-height: 1.6;
}

/* Títulos de las preguntas */
.faq h2 {
  font-size: 1.4rem;
  color: #4b2d65;        /* tu color de marca */
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: default;       /* opcional, evita que parezca clickable */
}

/* Párrafos de respuesta */
.faq p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

/* Opcional: resaltar palabras clave como "seña", "WhatsApp" */
.faq p strong {
  color: #4b2d65;
}
.promo{
  background:#e4d8ff;
  padding:8px;
  border-radius:8px;
  font-weight:600;
  line-height:1.4;
}
.detalles{
  font-size:14px;
  color:#555;
  margin:8px 0;
  line-height:1.4;
}


/* Adaptación a móviles */
@media (max-width: 600px) {
  .faq {
    padding: 15px;
    margin: 20px auto;
  }

  .faq h2 {
    font-size: 1.2rem;
  }

  .faq p {
    font-size: 0.95rem;
  }
}

/* ================= RESPONSIVE ================= */
@media(max-width:600px) {
  .productos {
    padding: 20px;
  }

  .footer-contenido {
    flex-direction: column;
  }

  .redes {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media(max-width:500px) {
  .formulario-contenido {
    padding: 15px;
  }

  .formulario-contenido h2 {
    font-size: 18px;
  }

  .formulario-contenido input,
  .formulario-contenido textarea,
  .formulario-contenido button {
    font-size: 14px;
  }

  .formulario-contenido .cerrar {
    font-size: 20px;
  }
}
@media (max-width: 768px){


  .menu {
    flex-direction: row;
    align-items: center;
  }

  .menu-toggle {
    display: flex; /* mostrar hamburguesa */
  }


  .menu-links.activo {
    display: flex; /* mostrar links cuando se hace click */
  }

  .menu-links a {
    padding: 10px 20px;
    font-size: 18px;
  }

  /* Animación opcional al abrir/cerrar */
  .menu-links {
    transition: all 0.3s ease;
  }

.menu-toggle span {
  transition: all 0.3s ease;
}

/* Dropdown */
.menu-links {
   backdrop-filter: blur(12px);
  background: rgba(140, 82, 255, 0.85); /* semi transparente */
  display: none;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  position: absolute;
  top: 100%;       /* justo debajo del toggle */
  left: 20%;        /* centro respecto al toggle */
  transform:  translateX(-50%) translateY(-10px) scale(0.95); /* mueve la caja para que quede centrada */
  width: 200px;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.3),
    0 5px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  
  
}

.menu-links.activo {
  display: flex;
   opacity: 1;
 
}

  .menu-links a {
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 18px;
    transition: 0.2s;
  }

  .menu-links a:hover{
  background: rgba(255,255,255,0.15);
  transform: translateX(5px);
  }
    .flecha {
    width: 40px;
    height: 40px;
    font-size: 18px;  /* 👈 esto achica la flecha */
  }

  .flecha.izquierda {
    left: 5px;
  }

  .flecha.derecha {
    right: 5px;
  }
  .header {
    min-height: 18vh;
  padding: 20px 10px;
  }
.logo {
  max-width: 220px;
}
  .header p {
    font-size: 16px;
  }
   .galeria {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  .galeria img {
  width: 90%;
  max-width: 350px;
}
}


@media (max-width: 480px) {

  .boton-modal {
    background: rgba(140, 99, 163, 0.6);
  }
   .galeria {
    grid-template-columns: 1fr;
  }
}

/* ========================
COLORES ETIQUETAS VARIAS
======================== */

.card-pack{

border:1px solid #ddd;
padding:15px;
margin:10px 0;
border-radius:8px;
background:#fff;

}

.card-pack button{

margin-top:8px;
padding:8px 12px;
border:none;
background:#8c52ff;
color:white;
border-radius:5px;
cursor:pointer;

}

.precio-pack {
  font-weight: bold;
  color: #6c63ff; /* violeta, por ejemplo */
  margin-top: 5px;
}
.card-producto {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  margin: 10px;
 
}

.promo-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffe0ff; /* violeta clarito */
  color: #900080;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}
.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  color: #000;
}


.aviso-colores {
  font-size: 13px;
  color: #000;
  background: #f5f5f5;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}
