/* One homepage catalogue layout, independent of retired mosaic/grid-row rules. */
.home-materials #featured-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:36px 26px;grid-template-columns:none;grid-auto-rows:auto}
.home-materials #featured-grid>.product-card{flex:0 0 calc((100% - 52px)/3);max-width:calc((100% - 52px)/3);min-width:0;display:flex;flex-direction:column;grid-column:auto;grid-row:auto;align-self:stretch;margin:0}
.home-materials #featured-grid>.product-card .product-image{flex:0 0 auto;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/3}
.home-materials #featured-grid>.product-card .card-title{align-items:flex-start;gap:12px}.home-materials #featured-grid>.product-card h3{line-height:1.35}.home-materials #featured-grid>.product-card>p{flex:1;line-height:1.7;margin-bottom:0}.home-materials #featured-grid>.product-card>.compare{align-self:flex-start;min-height:34px;margin-top:10px}
.home-materials #featured-grid .save-button{top:12px;bottom:auto;inset-inline-end:12px;inset-inline-start:auto;width:32px;height:32px}.home-materials #featured-grid .product-type{max-width:calc(100% - 72px);white-space:normal;line-height:1.35}
/* Four remaining cards become two centred pairs instead of a row of three + one. */
@media(min-width:1001px){.home-materials #featured-grid>.product-card:nth-last-child(4):nth-child(3n+1){margin-inline-start:calc((100% + 26px)/6 - .2px)}.home-materials #featured-grid>.product-card:nth-last-child(3):nth-child(3n+2){margin-inline-end:calc((100% + 26px)/6 - .2px)}}
@media(max-width:1000px){.home-materials #featured-grid{gap:30px 20px}.home-materials #featured-grid>.product-card{flex-basis:calc((100% - 20px)/2);max-width:calc((100% - 20px)/2)}.home-materials #featured-grid:has(>.product-card:last-child:nth-child(odd))>.product-card:first-child{flex-basis:100%;max-width:100%}.home-materials #featured-grid>.product-card .product-image{aspect-ratio:4/3}.home-materials #featured-grid .save-button{top:10px;inset-inline-end:10px}}
@media(max-width:640px){.home-materials #featured-grid{gap:27px 15px}.home-materials #featured-grid>.product-card{flex-basis:calc((100% - 15px)/2);max-width:calc((100% - 15px)/2)}.home-materials #featured-grid:has(>.product-card:last-child:nth-child(odd))>.product-card:first-child{flex-basis:100%;max-width:100%}.home-materials #featured-grid>.product-card .product-image{aspect-ratio:4/3}.home-materials #featured-grid .card-title{padding-top:12px;gap:7px}.home-materials #featured-grid .save-button{width:30px;height:30px;top:8px;inset-inline-end:8px}.home-materials #featured-grid .scene-toggle{width:44px;max-width:44px;padding:8px;inset-inline-end:9px;bottom:10px}.home-materials #featured-grid .scene-toggle>span{display:none}.home-materials #featured-grid .scene-kind{max-width:calc(100% - 72px);font-size:8px}.home-materials #featured-grid:has(>.product-card:last-child:nth-child(odd))>.product-card:first-child .scene-toggle{width:auto;max-width:none;padding:10px 13px}.home-materials #featured-grid:has(>.product-card:last-child:nth-child(odd))>.product-card:first-child .scene-toggle>span{display:inline}.home-materials #featured-grid>.product-card>p{font-size:11px}.home-materials #featured-grid>.product-card>.compare{font-size:10px;min-height:32px}}
