/* Six independent product-family displays. */
#products .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
#products .grid .product{min-width:0;display:flex;flex-direction:column;padding:20px;gap:0;box-sizing:border-box;align-items:stretch}
#products .grid .product-photo{width:100%;aspect-ratio:4/3;margin:0 0 18px;flex-shrink:0;position:relative;overflow:hidden}
#products .grid .product-photo img{width:100%;height:100%;object-fit:contain}
#products .grid .number{margin:0 0 10px}
#products .grid h3{margin:0 0 10px;min-height:2.8em;overflow-wrap:break-word}
#products .grid .product p{margin:0;min-height:3.4em}
#products .grid .product:nth-child(5){border-top-color:#09a8d5}
#products .grid .product:nth-child(6){border-top-color:#c62f43}
#products .grid .product-photo.carousel-supplied{aspect-ratio:263/196;background:#0788df}
#products .grid .product-photo.prism-supplied img{position:absolute;width:109.1255%;height:auto;max-width:none;left:-2.6616%;top:-15.8163%;object-fit:initial}
#products .grid .product-photo.coating-supplied img{position:absolute;width:106.8441%;height:auto;max-width:none;left:-3.8023%;top:-8.6735%;object-fit:initial}
@media(max-width:1000px){#products .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#products .grid{grid-template-columns:minmax(0,1fr)}#products .grid .product{padding:18px}#products .grid .product-photo{max-height:280px}}

/* One row travels continuously, preserving each category's own photo cycle. */
#products .grid.moving-product-rows{display:flex;flex-direction:column;gap:28px}
.product-row-viewport{width:100%;overflow:hidden;touch-action:pan-y;padding:6px 0 12px}
.product-row-track{display:flex;gap:24px;width:100%;will-change:transform;align-items:stretch}
#products .grid .product-row-track .product{flex:0 0 calc((100% - 72px)/4);background:#fff}
#products .grid .product-row-track .product-photo{aspect-ratio:4/3;height:auto}
.product-row-viewport:focus-visible{outline:3px solid #0755df;outline-offset:4px}
@media(max-width:1000px){#products .grid .product-row-track .product{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:600px){#products .grid .product-row-track .product{flex-basis:100%}}

/* Uniform photo windows; preserve just the top accent line. */
#products .grid .product-row-track .product{border-left:0;border-right:0;border-bottom:0;border-radius:0;box-shadow:none}
#products .grid .product-row-track .product-photo,#products .grid .product-row-track .product-photo.carousel-supplied{aspect-ratio:4/3;height:auto;max-height:none;background:#eaf6ff}
