/* Shared category/search product cards; applies equally after catalog AJAX updates. */
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .product-small.box {
  position: relative;
  isolation: isolate;
}
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .product-small.box::before {
  content: "";
  display: block;
  position: absolute;
  inset: -8px;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  pointer-events: none;
  z-index: -1;
}
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .box-image,
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .box-image > div:first-child,
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .box-image > div:first-child > a,
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .box-image img,
:is(body.tax-product_cat, body.nahavaran-product-search) .ncf-archive .ncf-products-column .box-image .woocommerce-placeholder {
  border-radius: 16px;
}
