/* Desktop catalogue: use the available width and complete the final row. */
@media(min-width:1101px){
 .materials-v39 #materials .c5-container{width:min(1440px,100%) !important;padding-inline:24px !important}
 .materials-v39 #materials .c5-material-grid{gap:20px !important}
 .materials-v39 #materials .c5-material-card:last-child:nth-child(odd){grid-column:1/-1 !important;display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;align-items:stretch !important}
 .materials-v39 #materials .c5-material-card:last-child:nth-child(odd) .c5-material-card__body{justify-content:center !important;width:100% !important;height:100% !important}
}
@media(min-width:1280px){
 .materials-v39 #materials .c5-material-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
 .materials-v39 #materials .c5-material-card:last-child:nth-child(n){grid-column:auto !important;display:flex !important;flex-direction:column !important}
 .materials-v39 #materials .c5-material-card:last-child:nth-child(3n+1){grid-column:1/-1 !important;display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,2fr) !important}
 .materials-v39 #materials .c5-material-card:last-child:nth-child(3n+2){grid-column:span 2 !important;display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 .materials-v39 #materials .c5-material-card:last-child:is(:nth-child(3n+1),:nth-child(3n+2)) .c5-material-card__body{justify-content:center !important;width:100% !important;height:100% !important}
 .materials-v39 #materials .c5-material-card:last-child:is(:nth-child(3n+1),:nth-child(3n+2)) .c5-material-swatch{align-self:center !important}
}
