/* ==== DISEÑO UNIFORME DE PRODUCTOS SOLO EN CATEGORÍAS ==== */

/* CONTENEDOR DE PRODUCTOS (CATEGORÍAS) */
body.archive.woocommerce ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 20px !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* TARJETA DE PRODUCTO */
body.archive.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 14px !important;
  padding: 16px !important;
  width: 260px !important;
  height: auto !important;
  min-height: 420px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* IMAGEN */
body.archive.woocommerce ul.products li.product img {
  width: auto !important;
  height: 220px !important;
  object-fit: contain !important;
  margin-bottom: 12px !important;
}

/* TÍTULO */
body.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #111 !important;
  min-height: 44px !important;
  line-height: 1.3 !important;
  margin: 6px 0 6px !important;
}

/* PRECIO */
body.archive.woocommerce ul.products li.product .price {
  margin-top: auto !important;
  margin-bottom: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

/* BOTÓN */
body.archive.woocommerce ul.products li.product .button {
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  width: 100% !important;
  max-width: 200px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
}

body.archive.woocommerce ul.products li.product .button:hover {
  background-color: #444 !important;
  transform: translateY(-2px) !important;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  body.archive.woocommerce ul.products li.product {
    width: 46% !important;
    min-height: 390px !important;
  }
}

@media (max-width: 480px) {
  body.archive.woocommerce ul.products li.product {
    width: 100% !important;
    min-height: 360px !important;
  }
}
