/* ==========================================================================
   Related / upsell product carousels - equal height cards
   ==========================================================================
   The .pp-related-equal class is added by JS (assets/js/related-upsell-equal.js)
   only AFTER Salient Flickity carousel has measured and sized its viewport.
   Gating is essential: a percentage height applied before that measurement
   resolves against a viewport of 0 and collapses the cells (cards would
   disappear on load).

   Height chain, every level definite so the next one can resolve:
     .flickity-slider      height:100% of the measured viewport (Salient CSS)
       .flickity-cell      height:100% (this file)
         li.product        height:100% (this file)
           .product-card   height:100% (product-card.css)

   The card is a flex column whose .product-card-meta has margin-top:auto, so
   the price and button sit on the bottom edge of every card and the
   excerpt-to-price gap absorbs the extra space.
   ========================================================================== */

.pp-related-equal ul.products .flickity-cell {
    height: 100%;
}

/* Descendant selector (the cell only ever contains the product item). */
.pp-related-equal ul.products .flickity-cell li.product {
    box-sizing: border-box;
    height: 100%;
}