/* Compact product tiles for catalog, search and related items. */
@media (min-width:768px){
 :is(#catalog-section,.related-products) .item-display .item-inner {--tile-height:290px;--img-h:162px;--img-w:190px;display:flex;flex-direction:column;justify-content:flex-start;box-sizing:border-box;height:auto;min-height:var(--tile-height);padding:5px 10px 9px;margin-bottom:20px;}
 #catalog-section .disp-cat .mg-mob {display:flex!important;flex-wrap:wrap;align-items:stretch}
 :is(#catalog-section,.related-products) .item-display {min-width:0;}
 :is(#catalog-section,.related-products) .item-display>.item-inner {height:calc(100% - var(--tile-gap,20px));}
 :is(#catalog-section,.related-products) .item-inner>a {display:block;}
 :is(#catalog-section,.related-products) .item-inner .image {display:flex;align-items:center;justify-content:center;height:var(--img-h);min-height:0;padding:0;margin:0;overflow:hidden;}
 :is(#catalog-section,.related-products) .item-inner .image img {display:block;width:100%;max-width:var(--img-w);height:100%;max-height:100%;object-fit:contain;}
 :is(#catalog-section,.related-products) .item-inner .item-name {display:block;height:auto;min-height:0;max-height:none;overflow:visible;margin:0;font-size:16px;line-height:21px;overflow-wrap:break-word;}
 :is(#catalog-section,.related-products) .item-inner .wrap_price {display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:4px;margin: auto 0 0;padding-top:6px;}
 :is(#catalog-section,.related-products) .item-inner .wrap_price .price {width:auto;white-space:nowrap;line-height:21px;font-size:16px;}
 :is(#catalog-section,.related-products) .item-inner .desc_srok {box-sizing:border-box;display:block;flex:none;white-space:nowrap;min-width:74px;padding:0 6px;font-size:13px;line-height:20px;text-align:center;}
 :is(#catalog-section,.related-products) .item-inner .mob_srok {display:none;}
}
@media (min-width:1200px){
 :is(#catalog-section,.related-products) .item-display .item-inner {--tile-height:328px;--tile-gap:30px;--img-h:185px;--img-w:214px;padding:5px 16px 10px;margin-bottom:30px;}
 :is(#catalog-section,.related-products) .item-inner .item-name,:is(#catalog-section,.related-products) .item-inner .wrap_price .price {font-size:18px;line-height:24px;}
}
@media (min-width:768px){:is(#catalog-section,.related-products) .item-inner .image img.compact-wide-photo{height:auto;max-height:none;}}
