/* Product category tiles. Equipment lists and individual product pages keep their layouts. */
#product-grid.catalog-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;border:0;align-items:stretch}
#product-grid.catalog-card-grid>.product-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:18px;border:1px solid var(--border);border-radius:6px;background:#fff;box-shadow:none;transition:box-shadow .18s,border-color .18s}
#product-grid.catalog-card-grid>.product-card:hover{background:#fff;border-color:#c5ccd3;box-shadow:0 6px 22px #1022390d}
#product-grid.catalog-card-grid .catalog-tile-image{display:block;margin-bottom:18px;color:inherit;text-decoration:none;flex-shrink:0}
#product-grid.catalog-card-grid .product-photo{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:auto;min-height:0;margin:0;aspect-ratio:1/1;background:white;border-radius:3px;overflow:hidden}
#product-grid.catalog-card-grid .product-photo img{width:100%;height:100%;object-fit:scale-down;transform:none}
#product-grid.catalog-card-grid .product-photo-empty{background:#f7f8fa}
#product-grid.catalog-card-grid .product-no-photo{min-height:0;background-color:transparent}
#product-grid.catalog-card-grid .product-open{display:block;grid-column:auto;grid-row:auto;align-self:stretch;margin:0;min-height:4.2em;font-size:16px;line-height:1.4;font-weight:500}
#product-grid.catalog-card-grid .product-name{display:inline;font-size:16px;line-height:1.4;font-weight:500;color:var(--ink);text-decoration:none;hyphens:none;overflow-wrap:anywhere}
#product-grid.catalog-card-grid .product-name:hover{color:var(--red);text-decoration:none}
#product-grid.catalog-card-grid .product-sku{grid-column:auto;grid-row:auto;align-self:stretch;margin:12px 0 18px;font-size:13px;line-height:1.4;color:#596575}
#product-grid.catalog-card-grid .product-bottom{display:flex;grid-column:auto;grid-row:auto;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:12px;margin-top:auto}
#product-grid.catalog-card-grid .product-bottom strong{font-size:20px;font-weight:600;line-height:1.35;white-space:normal;text-align:left;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#product-grid.catalog-card-grid .product-bottom .primary{width:100%;min-height:44px;padding:11px 14px;font-size:14px}
#product-grid.catalog-card-grid a:focus-visible{outline:2px solid var(--red);outline-offset:4px}
#product-grid.catalog-card-grid>.notice,#product-grid.catalog-card-grid>.empty-results{grid-column:1/-1}
@media(max-width:1100px){#product-grid.catalog-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:800px){#product-grid.catalog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:600px){
 #product-grid.catalog-card-grid{gap:12px}
 #product-grid.catalog-card-grid>.product-card{padding:12px}
 #product-grid.catalog-card-grid .catalog-tile-image{margin-bottom:14px}
 #product-grid.catalog-card-grid .product-open,#product-grid.catalog-card-grid .product-name{font-size:14px;line-height:1.45}
 #product-grid.catalog-card-grid .product-sku{margin:8px 0 14px;font-size:12px}
 #product-grid.catalog-card-grid .product-sku .article-copy{width:32px;height:36px;flex-basis:32px}
 #product-grid.catalog-card-grid .product-bottom strong{font-size:18px;text-align:left}
 #product-grid.catalog-card-grid .product-bottom{gap:10px}
 #product-grid.catalog-card-grid .product-bottom .primary{min-height:44px;font-size:13px;padding:10px 8px}
}
@media(max-width:359px){#product-grid.catalog-card-grid{grid-template-columns:minmax(0,1fr)}#product-grid.catalog-card-grid>.product-card{padding:16px}}
