/* Reset CSS Básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

/*---------------------------------------------------------------------Variables-----------------------------------------------------------------------*/
@font-face {
  font-family: 'cursiva';
  src: url('/assets/fuentes/GreatVibes-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'titulo';
  src: url('/assets/fuentes/Crimson_Text/CrimsonText-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'titulo-normal';
  src: url('/assets/fuentes/Crimson_Text/CrimsonText-Regular.ttf') format('truetype');
}


@font-face {
  font-family: 'normal';
  src: url('/assets/fuentes/LeagueSpartan-Regular.ttf') format('truetype');
}

:root {
  --color-primario: #a682c9;
  --color-secundario: #26212c;
  --color-terciario: #868686;
  --background: #faf9fb;
  --card: #ffffff;
  --background-2: #f0ecf4;
}


.flex-seccion {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.conetendor-seccion {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conetendor-seccion p:first-child {
  color: var(--color-primario);
  font-size: 1.1rem;
  margin-bottom: 12px;


}

.conetendor-seccion p {
  color: var(--color-terciario);
  font-size: 1.3rem;
  font-family: 'normal';
  text-align: center;
  margin-bottom: 15px;

}

.conetendor-seccion h2 {
  font-size: 2.0rem;
  color: var(--color-secundario);
  margin-bottom: 24px;
  font-family: 'titulo-normal';
  text-align: center;
}


.btn-principal {
  background-color: var(--color-primario);
  color: aliceblue;
  border-radius: 40px;
  padding: 8px 8px;
  font-family: 'normal';

}

.btn-principal:hover{
  background-color: #c19fe6;
}

.container-btn img {
  width: 20px;
}

.valores-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 10px;

}

.card-valor {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background-color: var(--background-2);
  margin: 15px;
  border-radius: 20px;
     box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    0 10px 20px rgba(0,0,0,0.08);

}

.card-valor div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  max-height: 60px;
  background-color: var(--background);
  padding: 8px;
  border-radius: 50px;
  margin-bottom: 20px;

}


.card-valor img {
  width: 100%
}

.card-valor h3 {
  text-align: center;
  font-family: 'titulo-normal';
  color: var(--color-secundario);
  margin-bottom: 12px;


}

.card-valor p {
  text-align: center;
  font-family: 'normal';
  color: var(--color-terciario);
  font-size: 1.1rem;

}


.mensaje .contenedor-inicio {
  margin-top: 70px;
  max-width: 90%;
  border-radius: 40px;
  margin-bottom: 40px;
  text-align: center;

}


.mensaje .btn-principal {
  background-color: #25d366;
  gap: 10px;

}

.mensaje .btn-principal:hover{
  background-color: #075e54;

}


/* ============================================
   CATÁLOGO / GRID DE PRODUCTOS - CORREGIDO
   ============================================ */

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem; /* ← Más espacio entre tarjetas */
  justify-content: center;
  width: 100%;
  max-width: 1400px; /* ← Límite para que no se estire demasiado en pantallas grandes */
  padding: 2rem; /* ← Más padding alrededor del grid */
  margin: 0 auto;
}

/* ============================================
   TARJETA DE PRODUCTO - MÁS AIRE
   ============================================ */

.card-producto {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border-radius: 24px; /* ← Bordes más redondeados */
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 2px 8px rgba(166, 130, 201, 0.08),   /* Sombra lila muy suave */
    0 8px 24px rgba(0, 0, 0, 0.06);         /* Sombra general sutil */
  border: 1px solid rgba(166, 130, 201, 0.1); /* Borde lila casi invisible */
}

.card-producto:hover {
  transform: translateY(-8px); /* ← Más elevación al hover */
  box-shadow: 
    0 12px 32px rgba(166, 130, 201, 0.15),  /* Sombra lila al hover */
    0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   IMAGEN DEL PRODUCTO - PROPORCIÓN MEJORADA
   ============================================ */

.img-producto {
  position: relative;
  width: 100%;
  height: 380px; /* ← Altura fija más balanceada (antes 460px) */
  overflow: hidden;
  background: linear-gradient(135deg, #f0ecf4 0%, #e8dff0 100%); /* Fondo placeholder lila */
}

.img-producto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* ← Enfoca la parte superior (mejor para vestidos) */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block; /* Quita espacio fantasma debajo de la imagen */
}

.card-producto:hover .img-producto img {
  transform: scale(1.05); /* ← Zoom suave al hover */
}

/* ============================================
   INSIGNIA / ETIQUETA - MEJOR POSICIONADA
   ============================================ */

.tipo {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem; /* ← Más pequeña y elegante */
  font-family: 'normal', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--color-primario);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
  /* Quité el rotate(-45deg) porque dificulta la lectura */
}

/* ============================================
   INFO DEL PRODUCTO - MÁS ESPACIO INTERNO
   ============================================ */

.info-producto {
  display: flex;
  flex-direction: column;
  gap: 0; /* Reset */
  padding: 1.5rem; /* ← Padding generoso alrededor de todo */
}

.info-producto p {
  color: var(--color-terciario);
  font-family: 'normal', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 8px 0; /* ← Espaciado controlado */
}

.info-producto h3 {
  color: var(--color-secundario);
  font-family: 'titulo-normal', serif;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 12px 0;
  /* Limita a 2 líneas para uniformidad */
  display: -webkit-box;

  -webkit-box-orient: vertical;
  overflow: hidden;
}

.info-producto strong {
  color: var(--color-primario);
  font-family: 'titulo', serif;
  font-size: 1.4rem;
  margin: 0 0 16px 0;
  display: block;
}

/* ============================================
   BOTÓN WHATSAPP - MEJOR ESTILO
   ============================================ */

.container-btn {
  margin-top: auto; /* ← Empuja el botón al fondo si hay poco contenido */
  padding-top: 8px;
}

.card-producto .btn-producto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%; /* ← Botón ancho completo */
  color: var(--color-primario);
  font-family: 'normal', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 20px;
  background-color: rgba(166, 130, 201, 0.12); /* ← Fondo lila muy transparente */
  border-radius: 50px;
  border: 1.5px solid rgba(166, 130, 201, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.card-producto .btn-producto:hover {
  background-color: var(--color-primario);
  color: #ffffff;
  border-color: var(--color-primario);
  box-shadow: 0 4px 16px rgba(166, 130, 201, 0.3);
}

.container-btn img {
  width: 18px;
  height: 18px;
  margin: 0; /* Reset del margin-right anterior */
}

/* ============================================
   ANIMACIONES - MÁS SUAVES
   ============================================ */

.mostrarcard {
  opacity: 0;
  transform: translateY(60px); /* ← Menos distancia (antes 150px) */
  transition: 
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mostrarcard.visible {
  opacity: 1;
  transform: translateY(0);
}







.tipo {
  position: absolute;
  top: 20px;
  left: 25px;
  transform: rotate(-45deg);
  font-size: 1.3rem;
  background-color: var(--color-primario);
  color: #f0ecf4;
  border-radius: 40px;
}

.btn-coleccion{
  min-width: 50%;
}


.mostrar{
    opacity: 0;
    transform: translateX(-100px);

    transition:
    opacity .8s ease,
    transform .8s ease;
}

.mostrarcard{
    opacity: 0;
    transform: translateY(150px);

    transition:
    opacity .8s ease,
    transform 2s ease;
}

.mostrarcard.visible{
   opacity: 1;
    transform: translateY(0);

}





.mostrar.visible{
    opacity: 1;
    transform: translateX(0);
}





@media (min-width: 1024px) {
  .valores-container {
    flex-direction: row;


  }

  .valores-container div {
    flex: 1;
  }

}



