/* === Contenedor principal del archivo de productos === */
.archive.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
  background: #121212;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.1);
  color: #eee;
}

/* === Cada producto individual === */
.archive.woocommerce ul.products li.product {
  background: #1c1c1c;
  border-radius: 12px;
  padding: 1.5rem;
  width: calc(33.33% - 1.5rem);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.archive.woocommerce ul.products li.product:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px #ff004c;
}

/* === Imagen del producto === */
.archive.woocommerce ul.products li.product img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: contain;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* === Título del producto === */
.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-secondary, sans-serif);
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 0 8px #0ff;
  margin-bottom: 0.5rem;
}

/* === Precio === */
.archive.woocommerce ul.products li.product .price {
  color: #ff5252;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* === Botón Añadir al carrito === */
.archive.woocommerce ul.products li.product .button {
  background: linear-gradient(135deg, var(--neon-red, #ff004c), #ff5252);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--neon-red, #ff004c);
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.archive.woocommerce ul.products li.product .button:hover {
  background: linear-gradient(135deg, #ff5252, var(--neon-red, #ff004c));
  box-shadow: 0 0 22px var(--neon-red, #ff004c);
  transform: scale(1.1);
}

/* === Etiqueta oferta en archivo === */
.archive.woocommerce ul.products li.product .onsale {
  background: linear-gradient(135deg, #ff0066, #ff5252);
  color: #fff;
  padding: 0.3rem 0.6rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 0.75rem;
  box-shadow: 0 0 10px var(--neon-red);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .archive.woocommerce ul.products li.product {
    width: calc(50% - 1.5rem);
  }
}

@media (max-width: 600px) {
  .archive.woocommerce ul.products {
    padding: 1rem;
  }

  .archive.woocommerce ul.products li.product {
    width: 100%;
  }
}





.archive.woocommerce ul.products li.product .button {
  background: linear-gradient(135deg, var(--neon-red, #ff004c), #ff5252);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--neon-red, #ff004c);
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 1rem; /* <- aquí el espacio extra */
}
