/* Version 5.1.0 mobile catalogue alignment */
@media(max-width:760px){
  .designer-card .product-body{display:grid;grid-template-rows:minmax(2.35em,auto) minmax(4.15em,auto) minmax(2.2rem,auto) 50px auto;align-content:start;height:100%;min-height:270px}
  .designer-card .product-category{min-height:2.35em;line-height:1.18;display:flex;align-items:flex-start}
  .designer-card .product-title{min-height:4.15em;margin:7px 0 5px;line-height:1.18;overflow-wrap:anywhere}
  .designer-card .rating{min-height:2.2rem;display:flex;align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:2px 5px;line-height:1.08}
  .designer-card .price-row{display:grid;grid-template-columns:auto minmax(0,1fr) 46px;align-items:center;gap:5px;min-height:50px;margin:5px 0 10px}
  .designer-card .sale-price{font-size:1.18rem;line-height:1;white-space:nowrap}
  .designer-card .mrp{font-size:.61rem;white-space:nowrap;align-self:center}
  .designer-card .discount{justify-self:end;width:46px;min-width:46px;min-height:36px;padding:4px 3px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.05;box-sizing:border-box}
  .designer-card .feature-row{display:none!important}
  .designer-card .view-product{align-self:end;width:100%;min-height:41px;margin-top:0;box-sizing:border-box}
  .pagination{gap:7px;flex-wrap:nowrap;margin-top:34px}.pagination button{min-width:40px;height:42px;padding:0 10px;font-size:.88rem}.pagination button:first-child,.pagination button:last-child{min-width:76px}
}
@media(max-width:390px){
  .designer-card .product-body{min-height:278px;padding:11px}
  .designer-card .product-title{font-size:.96rem}
  .designer-card .rating{font-size:.82rem}.designer-card .rating small{font-size:.68rem}
  .designer-card .sale-price{font-size:1.12rem}.pagination{gap:5px}.pagination button{min-width:38px;padding:0 8px}.pagination button:first-child,.pagination button:last-child{min-width:70px;font-size:.76rem}
}

/* Version 5.9.1: universal catalogue-card content alignment across the portal */
.designer-product-grid{align-items:stretch;grid-auto-rows:1fr}
.designer-product-grid > article{height:100%;display:flex;flex-direction:column}
.designer-product-grid > article .product-body{
  flex:1 1 auto;
  display:grid;
  grid-template-rows:2.8em 3.45em 1.7rem 46px 44px 44px;
  row-gap:8px;
  align-content:start;
  min-height:320px;
}
.designer-product-grid > article .product-category,
.designer-product-grid > article .product-title,
.designer-product-grid > article .rating,
.designer-product-grid > article .price-row,
.designer-product-grid > article .feature-row,
.designer-product-grid > article .view-product{min-height:0;margin-top:0;margin-bottom:0}
.designer-product-grid > article .product-category,
.designer-product-grid > article .product-title{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.designer-product-grid > article .product-category{-webkit-line-clamp:2;line-height:1.25}
.designer-product-grid > article .product-title{-webkit-line-clamp:2;line-height:1.18}
.designer-product-grid > article .rating{align-self:start}
.designer-product-grid > article .price-row{align-self:center;width:100%}
.designer-product-grid > article .feature-row{
  align-self:center;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  line-height:1.2;
}
.designer-product-grid > article .view-product{align-self:end;width:100%;min-height:42px;box-sizing:border-box}
@media(max-width:700px){
  .designer-product-grid > article .product-body{grid-template-rows:3.1em 4.15em 2.2rem 48px 42px;min-height:282px;padding:12px}
  .designer-product-grid > article .rating{align-items:flex-start;flex-wrap:wrap;gap:2px 6px}
  .designer-product-grid > article .feature-row{display:none}
}
