/* PCP Theme v5.19.1 — full product-card title visibility */

/* Never crop or line-clamp product names on PCP cards. */
.pcp-v220-product h3,
.pcp-v280-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display:block!important;
    -webkit-line-clamp:unset!important;
    -webkit-box-orient:initial!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    max-height:none!important;
    height:auto!important;
    min-height:0!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
}

/* Let cards grow naturally while keeping price/actions at the bottom. */
.pcp-v220-product,
.pcp-v280-product,
.woocommerce ul.products li.product {
    height:100%;
}

.pcp-v220-product-body,
.pcp-v280-product-body {
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-height:0!important;
}

.pcp-v280-actions,
.pcp-product-card-actions,
.woocommerce ul.products li.product .button {
    margin-top:auto;
}

/* WPCE result cards previously forced titles into a fixed 60px box. */
body.pcp-wpce-results-page .pcp-v280-product-title {
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    display:block!important;
    -webkit-line-clamp:unset!important;
    -webkit-box-orient:initial!important;
}

/* Keep long names readable on narrow cards without splitting words unnaturally. */
@media (max-width:820px) {
    .pcp-v220-product h3,
    .pcp-v280-product-title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        line-height:1.25!important;
    }
}
