/* Align shared WooCommerce cards and sale prices without changing product data. */
.ek-card { height:100%; }
.ek-card__info { display:flex; flex:1 1 auto; flex-direction:column; min-height:0; }
.ek-card__heading { flex:0 0 26px; min-height:26px; }
.ek-card__title { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ek-card__price.price { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:0; min-height:60px; margin-top:auto; padding-top:12px; line-height:24px; white-space:normal; }
.ek-card__price > del,.ek-card__price > ins { display:block; line-height:24px; }
.ek-card__price > ins,.ek-card__price > ins .amount { color:#e60023!important; text-decoration:none; }
.ek-card__actions { flex:0 0 auto; }
.ek-card__actions .ek-card__cart,.ek-card__actions .ek-card__quick { min-height:38px; }
.product-small > .col-inner:has(> .ek-card) { display:flex; flex-direction:column; height:100%; }
.product-small > .col-inner > .ek-card { flex:1 1 auto; }
.ek-best__slide,.ek-rec__slide { align-self:stretch; }
.single-product .summary .price:has(del),.mfp-content .product-info .price:has(del),.single-product .woocommerce-variation-price .price:has(del) { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
.single-product .summary .price > del,.single-product .summary .price > ins,.mfp-content .product-info .price > del,.mfp-content .product-info .price > ins { display:block; }
.single-product .summary .price ins,.single-product .summary .price ins .amount,.mfp-content .product-info .price ins,.mfp-content .product-info .price ins .amount { color:#e60023!important; }
@media(max-width:767px) { .ek-card__heading { flex-basis:20px; min-height:20px; } .ek-card__price.price { min-height:60px; } }
/* Existing product-detail theme assigns reversed flex order. */
.single-product .sf-pdp__summary > .price-wrapper .price:has(del) { display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-start; gap:0; }
.single-product .sf-pdp__summary > .price-wrapper .price > del { order:0; }
.single-product .sf-pdp__summary > .price-wrapper .price > ins { order:1; }
.ek-card__actions { height:64px; box-sizing:border-box; align-items:stretch; }
.ek-card__actions .ek-card__cart,.ek-card__actions .ek-card__quick { height:48px; }
@media(max-width:767px) { .ek-card__actions { height:98px; } .ek-card__actions .ek-card__cart,.ek-card__actions .ek-card__quick { height:38px; flex:0 0 38px; } }

/* Product archives and related-product cards: hide excerpts, preserve equal-height rows. */
body.tax-product_cat .ek-card__description, body.tax-product_tag .ek-card__description, body.post-type-archive-product .ek-card__description, .single-product .related.products .ek-card__description { display:none !important; }
body.tax-product_cat .products .product-small, body.tax-product_tag .products .product-small, body.post-type-archive-product .products .product-small, .single-product .related.products .product-small { align-self:stretch; }
body.tax-product_cat .products .product-small > .col-inner:has(> .ek-card), body.tax-product_tag .products .product-small > .col-inner:has(> .ek-card), body.post-type-archive-product .products .product-small > .col-inner:has(> .ek-card), .single-product .related.products .product-small > .col-inner:has(> .ek-card) { height:100%; display:flex; flex-direction:column; }

.single-product .sf-pdp__related .ek-card__description { display:none !important; }
.single-product .sf-pdp__related .product-small > .col-inner:has(> .ek-card) { display:flex; flex-direction:column; height:100%; }

/* Archive cards may also appear on custom collection pages. */
.ek-card--archive .ek-card__description { display:none!important; }
