/**
 * Product Loop Title — H3 equivalents of Breakdance's h2-scoped rules.
 *
 * Breakdance styles the loop product title with TAG + CLASS selectors
 * (plugins/breakdance/subplugins/breakdance-woocommerce/css/breakdance-woocommerce.css):
 *   line  324  -> .breakdance-woocommerce h2.woocommerce-loop-product__title            ("Small Headings" group)
 *   line 3475  -> .breakdance-woocommerce ul.products h2.woocommerce-loop-product__title
 * Those rules stop matching once the tag becomes h3, so they are re-declared here.
 * (The tag switch itself lives in custom/product_loop_title.php.)
 *
 * Version: 1.0.0
 */

/* "Small Headings" group equivalent.
 * NOTE: text-align is intentionally NOT set here.
 * Breakdance's per-element CSS applies text-align to BOTH `li.product` and
 * `h2.woocommerce-loop-product__title` (e.g. .bde-wooshoppage-466-102,
 * .bde-wooproductslist-2-242/527-281/527-284 -> text-align:center).
 * Since the h2 variant no longer matches, the h3 inherits the same value from
 * `li.product` — but only if we do not override it with an explicit value.
 */
.breakdance-woocommerce h3.woocommerce-loop-product__title {
    color: var(--bde-woo-base-headings-color);
    font-weight: var(--bde-woo-typography-font-weight-normal);
    font-size: var(--bde-woo-typography__size-large);
    font-family: var(--bde-woo-typography__size-large-font-family);
    line-height: var(--bde-woo-base-heading-line-height);
    margin: 0;
    padding: 0;
}

/* Products list override (same order as Breakdance: comes after -> wins) */
.breakdance-woocommerce ul.products h3.woocommerce-loop-product__title {
    font-weight: var(--bde-woo-typography-font-weight-normal);
    font-size: var(--bde-woo-typography__size-medium);
    font-family: var(--bde-woo-typography__size-medium-font-family);
}
