/* Short phone screens: reserve a useful image area instead of shrinking it
   between the heading, price and purchase controls. */
@media(max-width:760px) and (max-height:740px){
 .product-card:not(.catalog-more){padding:10px 14px}
 .product-card .card-top{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:14px;font-size:9px;line-height:14px}
 .product-card .card-view{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;min-height:88px}
 .product-card .card-image{height:88px;min-height:88px;padding:0;overflow:hidden}
 .product-card .card-image img{inset:0;width:100%;height:100%;max-height:none}
 .product-card .card-view h3{font-size:14px;line-height:1.25;min-height:0;margin:0}
 .product-card .card-material{margin:3px 0 4px;font-size:11px}
 .product-card .base-density{margin-bottom:4px}
 .product-card .card-actions .card-add,.product-card .card-compare{min-height:32px;padding:6px 0}
}
/* The full catalogue uses a taller rail than the old toolbar formula.
   Anchor the toolbar above the phone dock and reserve room for selection. */
@media(max-width:760px){
 body:not([data-catalog-scope]) .catalog-bottom{top:auto;bottom:92px}
 body:not([data-catalog-scope]) .catalog-gallery{height:min(390px,calc(var(--vh) - 435px));min-height:220px}
}
