/* DEREB V2.1 — card row alignment & sidebar selection interaction. */
/* CSS Grid already stretches a row to the height of its longest card. Every
   card body must also grow so the action section sits at the common baseline. */
.products-page .products-grid{align-items:stretch;grid-auto-rows:auto;}
.products-page .products-grid .product-card{
  height:100%;align-self:stretch;display:flex!important;flex-direction:column!important;
}
.products-page .products-grid .product-card .product-body{
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;
  justify-content:flex-start!important;min-height:0;
}
.products-page .products-grid .product-card .product-specs{
  min-height:0;flex:0 0 auto;overflow-wrap:anywhere;
}
.products-page .products-grid .product-card .product-links{
  flex:0 0 auto;overflow-wrap:anywhere;
}
.products-page .products-grid .product-card .nv-card-actions{
  margin-top:auto!important;padding-top:14px;flex:0 0 auto;align-self:stretch;
}
/* Don't reserve a second vertical gap after pushing the actions to the bottom. */
.products-page .products-grid .product-card .nv-card-actions .nv-card-add,
.products-page .products-grid .product-card .nv-card-actions .nv-card-details{
  min-height:44px;
}
.products-page .filter-panel .filter-parent-input:indeterminate{accent-color:#0871d7;}
.products-page .catalog-heading h2{overflow-wrap:anywhere;}
/* Avoid text collisions in narrow Arabic cards. */
html[dir="rtl"] .products-page .products-grid .product-card .product-body{
  direction:rtl;text-align:right;
}
@media(max-width:760px){
  .products-page .products-grid .product-card .nv-card-actions{margin-top:auto!important;padding-top:12px;}
}
