/* Retail shares the same cart and checkout; its catalogue starts with compact rows. */
#priceEntryPanel[hidden]{display:none!important}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:7px}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-card{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:82px;height:auto;padding:12px 58px 12px 12px;border:1px solid #d7e5ee;border-radius:8px;background:#fff}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-card-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-details{padding:0;min-width:0}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-details strong{display:block;font-size:15px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-details small{display:block;font-size:11px;margin-top:4px}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-visual,#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-photo{position:static;flex:none;width:48px;height:48px;border-radius:7px;padding:0;object-fit:contain}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode footer{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding:0;min-height:0;flex:none;max-width:140px}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode footer .price{font-size:18px}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode footer .stock{font-size:10px;text-align:right;white-space:normal}
#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-card-top{position:absolute;top:5px;right:12px;min-height:0}
@media(min-width:601px){
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active){grid-template-columns:minmax(0,1fr);grid-template-rows:max-content max-content max-content minmax(0,1fr) max-content}
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active)>.category-list{grid-column:1;grid-row:2;position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:7px;width:auto;max-height:none;overflow:visible;border:0;padding:0;margin:12px 0 0}
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active)>.category-list .category{width:auto;min-height:42px;flex:none}
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active)>#nextItemPrice{grid-column:1;grid-row:3}
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active)>#productList{grid-column:1;grid-row:4;margin-top:12px}
 #appScreen #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active)>#productEmpty{grid-column:1;grid-row:5}
}
@media(max-width:600px){
 #appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-card{padding:12px 52px 12px 10px;gap:9px}
 #appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-details strong{font-size:13px}
 #appScreen #orderView[data-sales-layout="retail"] #productList.list-mode footer .price{font-size:16px}
 #appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-visual,#appScreen #orderView[data-sales-layout="retail"] #productList.list-mode .product-photo{width:36px;height:36px}
}
@media(min-width:601px) and (max-width:1100px){
 #appScreen #orderView[data-sales-layout="retail"] .catalog.price-keypad-active #productList.list-mode .product-card{flex-direction:column;align-items:stretch;gap:8px}
 #appScreen #orderView[data-sales-layout="retail"] .catalog.price-keypad-active #productList.list-mode footer{align-items:flex-start;max-width:100%}
}
