/* Keep purchase controls aligned at the bottom of each catalogue card. */
#products > .bmk-product { display:flex; flex-direction:column; min-width:0; }
#products > .bmk-product > .bmk-product-photo { flex-shrink:0; }
#products .bmk-product-body { display:flex; flex-direction:column; flex:1; min-width:0; }
#products .bmk-product-body > .buy538 { display:grid; grid-template-columns:106px minmax(0,1fr); gap:12px; align-items:end; margin: auto 0 0; padding-top:20px; }
#products .buy538 > .pack539 { grid-column:1 / -1; min-width:0; margin:0; }
#products .buy538 > .quantity538 { width:106px; height:44px; }
#products .buy538 > .add538 { width:100%; min-width:0; min-height:44px; height:100%; padding:10px 8px!important; }
#products .pack539 select { min-width:0; max-width:100%; }
@media (min-width:541px) and (max-width:700px) {
 #products .bmk-product-body > .buy538 { grid-template-columns:1fr; }
 #products .buy538 > .quantity538 { justify-self:start; }
}
@media (min-width:541px) and (max-width:1000px) {
 #products.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
