/* Product catalogue only: show a small photo for items with an admin-uploaded primary photo.
   Products without that photo keep their original text-only row. */
body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo {
 display:grid !important;
 grid-template-columns:76px minmax(0,1fr) auto !important;
 align-items:center;
 column-gap:16px;
 min-height:102px;
}
body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo .gas-product-main-photo {
 display:flex;
 align-items:center;
 justify-content:center;
 width:76px;
 height:76px;
 min-width:0;
 margin:0;
 padding:0;
 overflow:hidden;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
}
body.page-products .catalogue-main .gas-simple-product-row .gas-product-main-photo img {
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
 object-position:center;
 border:0;
 background:transparent;
}
body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo .gas-simple-product-title {
 min-width:0;
}
@media(max-width:580px){
 body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo {
  grid-template-columns:56px minmax(0,1fr) auto !important;
  column-gap:10px;
  min-height:76px;
  padding-block:10px;
 }
 body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo .gas-product-main-photo {
  width:56px;
  height:56px;
 }
}
@media(max-width:350px){
 body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo {
  grid-template-columns:48px minmax(0,1fr) auto !important;
  column-gap:8px;
 }
 body.page-products .catalogue-main .product-list > .gas-simple-product-row.has-main-photo .gas-product-main-photo {
  width:48px;
  height:48px;
 }
}
