/* A shared photo/title area and bottom purchase block keep each row aligned. */
.products .product{display:flex;flex-direction:column;gap:0;height:100%;border:1px solid #e2e5e9;box-shadow:0 4px 14px rgb(32 35 32 / 5%)}
.products .productCardLink{display:block;min-width:0;color:inherit}
.products .photo{height:auto;aspect-ratio:4/3;background:#fff}
.products .photo>img{padding:8px;box-sizing:border-box;object-fit:contain;object-position:center}
.products .productCardLink>small{display:block;height:16px;line-height:16px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.products .product h3{height:4.05em;min-height:0;font-size:14px;line-height:1.35;margin:8px 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.products .productSummary{height:48px;overflow:hidden;margin-bottom:10px}
.products .productSummary .productFacts{margin:0;padding-left:17px;font-size:13px;line-height:20px}
.products .productSummary .productFacts li{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.products .quickViewButton{margin:0 0 12px;min-height:38px}
.products .productPurchase{display:grid;grid-template-rows:24px 22px 30px 44px;gap:6px;margin-top:auto;padding-top:8px}
.products .productPurchase .stock{justify-self:start;align-self:center;margin:0;padding:3px 8px;font-size:11px;line-height:16px;white-space:nowrap}
.products .productPriceMeta{display:flex;align-items:center;gap:6px;min-width:0;min-height:22px}
.products .productPriceMeta del{margin:0;font-size:12px;line-height:18px}
.products .productPriceMeta .productDiscount{margin:0;padding:2px 5px;font-size:11px;line-height:16px}
.products .productPurchase .price{margin:0;font-size:22px;line-height:30px;white-space:nowrap;font-variant-numeric:tabular-nums}
.products .productPurchase .addBtn{margin:0;min-height:44px;padding:10px 6px;font-size:14px;line-height:20px}
.similarGrid .similarCard{display:flex;flex-direction:column;gap:8px}
.similarGrid .similarCard b{min-height:3.9em;line-height:1.3;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.similarGrid .similarCard>span{margin-top:auto;font-weight:800}
@media(max-width:850px){
  .products .productCardLink>small,.products .productSummary{display:none}
  .products .productPurchase{grid-template-rows:24px 20px 26px 44px;gap:4px}
  .products .productPriceMeta{min-height:20px}
  .products .productPurchase .price{font-size:20px;line-height:26px}
  .products .productPurchase .stock{padding:0;background:transparent}
}
@media(max-width:380px){
  .products .productPurchase .price{font-size:18px}
}
