/* ===== Estilo general de la página ===== */
body.page-id-339 {
  background-color: #FFEDED;
  color: #333;
  font-family: "Poppins", sans-serif;
}

/* Contenedor principal */
.nuestras-fajas,
.woocommerce {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* ===== TÍTULO Y DESCRIPCIÓN ===== */
body.page-id-339 h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  animation: fadeInDown 0.8s ease-out;
}

body.page-id-339 h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #000, #000, #000);
  margin: 0.5rem auto 0;
  border-radius: 4px;
  animation: slideInWidth 1s ease-out 0.5s both;
}

/* Descripción debajo del título */
body.page-id-339 .descripcion-tienda {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes slideInWidth {
  from { width: 0; opacity: 0; }
  to { width: 100px; opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTENEDOR DE PRODUCTOS - 4 COLUMNAS CENTRADAS ===== */
body.page-id-339 .woocommerce ul.products {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    padding: 40px 20px !important;
    margin: 0 auto !important;
    max-width: 1300px !important;
}

/* ===== TARJETAS DE PRODUCTO ===== */
body.page-id-339 .woocommerce ul.products li.product {
    background: linear-gradient(145deg, #FFEDED, #FFEDED);
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardEntrance 0.6s ease-out;
    
    /* TAMAÑO FIJO PARA 4 COLUMNAS */
    width: 280px !important;
    min-height: 500px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Efecto de brillo al hover */
body.page-id-339 .woocommerce ul.products li.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 135, 183, 0.05), transparent);
  transition: left 0.6s ease;
}

body.page-id-339 .woocommerce ul.products li.product:hover::before {
  left: 100%;
}

body.page-id-339 .woocommerce ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255, 135, 183, 0.15);
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Imagen del producto */
body.page-id-339 .woocommerce ul.products li.product img {
  border-radius: 20px;
  margin-bottom: 1.2rem;
  height: 250px !important;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.98);
  width: 100% !important;
}

body.page-id-339 .woocommerce ul.products li.product:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* Nombre del producto */
body.page-id-339 .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

body.page-id-339 .woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #FF87B7;
}

/* Precio */
body.page-id-339 .woocommerce ul.products li.product .price {
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Barra desplazamiento precio */
body.page-id-339 .woocommerce ul.products li.product .price::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

body.page-id-339 .woocommerce ul.products li.product:hover .price::after {
  width: 100%;
}

/* ===== Botón añadir al carrito ===== */
body.page-id-339 .woocommerce ul.products li.product .button {
  background: linear-gradient(135deg, #FF87B7, #FF69B4);
  color: #fff !important;
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  transition: all 0.4s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 135, 183, 0.3);
  margin-top: auto !important;
}

body.page-id-339 .woocommerce ul.products li.product .button:hover {
  background: linear-gradient(135deg, #FF69B4, #FF87B7);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 135, 183, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    body.page-id-339 .woocommerce ul.products li.product {
        width: 300px !important;
    }
}

@media (max-width: 768px) {
    body.page-id-339 .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 400px !important;
        min-height: 450px !important;
    }
    
    body.page-id-339 h1 {
        font-size: 2.2rem;
    }
}

/* ===== ANIMACIONES ESCALONADAS ===== */
body.page-id-339 .woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.1s; }
body.page-id-339 .woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.2s; }
body.page-id-339 .woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.3s; }
/* ===================== HERO FULL WIDTH ===================== */
.full-width-hero {
  position: relative;
  width: 70vw; /* ancho del hero */
  max-width: 100vw;
  height: 600px; /* altura del hero */
  margin-left: calc(-50vw + 50%); /* rompe el contenedor */
  margin-right: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  background-size: cover;
  background-position: center;
}

/* Capa oscura para contraste */
.full-width-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15); /* opacidad de la capa oscura */
  z-index: 1;
}
/*bordes redondeados*/
.full-width-hero {
  border-radius: 50px; /* Cambia este valor para más o menos redondez */
  overflow: hidden; /* Para que la imagen y la capa oscura respeten los bordes */
}

/* Contenido de texto y botón */
.full-width-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* Título */
.full-width-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Subtítulo / párrafo */
.full-width-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===================== BOTÓN HERO ===================== */
.full-width-hero a.hero-button {
  background-color: #FF87B7;
  color: black;
  padding: 14px 36px; /* más grande y cómodo */
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;

  /* Transición suave para animaciones */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Animación hover: elevación, sombra y ligero crecimiento */
.full-width-hero a.hero-button:hover {
  background-color: #f0f0f0; /* cambio de color */
  transform: translateY(-6px) scale(1.06); /* eleva y crece */
  box-shadow: 0 12px 25px rgba(0,0,0,0.25); /* sombra más visible */
}

/* ===================== OPCIONAL: ADICIONAL EFECTO SUAVE AL CARGAR ===================== */
.full-width-hero .hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s; /* pequeña demora */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

