/* 3Grafik Catalog Repair v2 — preserves Puca's native column widths and wrappers. */
/* Undo earlier card borders that joined the five native columns together. */
body.tax-product_cat .products .product,
body.post-type-archive-product .products .product,
body.tax-product_tag .products .product {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
  transform: none !important;
  padding-bottom: 0 !important;
}
/* White card belongs on Puca's inner product block. No column-width or grid overrides. */
body.tax-product_cat .products .product .product-block,
body.post-type-archive-product .products .product .product-block,
body.tax-product_tag .products .product .product-block {
  background: #fff !important;
  border: 1px solid #F0E4EA !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 14px !important;
  transition: box-shadow .2s ease, transform .2s ease;
}
body.tax-product_cat .products .product .product-block:hover,
body.post-type-archive-product .products .product .product-block:hover,
body.tax-product_tag .products .product .product-block:hover {
  box-shadow: 0 9px 22px rgba(21,21,21,.07) !important;
  transform: translateY(-2px);
}
/* Consistent artwork frame without cutting off names printed on a product mockup. */
body.tax-product_cat .products .product .product-block img,
body.post-type-archive-product .products .product .product-block img,
body.tax-product_tag .products .product .product-block img {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}
/* Prefer compact product descriptions and avoid tall blank cards. */
body.tax-product_cat .products .product .product-block .name,
body.post-type-archive-product .products .product .product-block .name,
body.tax-product_cat .products .product .product-block .product-name,
body.post-type-archive-product .products .product .product-block .product-name,
body.tax-product_cat .products .product .product-block .woocommerce-loop-product__title,
body.post-type-archive-product .products .product .product-block .woocommerce-loop-product__title {
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  color: #151515 !important;
  margin: 10px 10px 6px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
body.tax-product_cat .products .product .product-block .name a,
body.post-type-archive-product .products .product .product-block .name a,
body.tax-product_cat .products .product .product-block .product-name a,
body.post-type-archive-product .products .product .product-block .product-name a,
body.tax-product_cat .products .product .product-block .woocommerce-loop-product__title,
body.post-type-archive-product .products .product .product-block .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  max-height: 3em !important;
}
/* Price overrides handle both WooCommerce and Puca price markup. */
body.tax-product_cat .products .product .price,
body.post-type-archive-product .products .product .price,
body.tax-product_tag .products .product .price,
body.tax-product_cat .products .product .price ins,
body.post-type-archive-product .products .product .price ins,
body.tax-product_cat .products .product .price .amount,
body.post-type-archive-product .products .product .price .amount {
  color: #E64D87 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}
body.tax-product_cat .products .product .price del,
body.post-type-archive-product .products .product .price del,
body.tax-product_cat .products .product .price del .amount,
body.post-type-archive-product .products .product .price del .amount {
  color: #A09AA0 !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}
@media (prefers-reduced-motion: reduce) {
  body .products .product .product-block {transition: none !important;}
}
