/* Catalog and product gallery images share a large, uniform portrait frame. */
.storefront .productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.storefront .featurePanel .cardPhoto{width:100%;height:auto!important;min-height:0!important;aspect-ratio:3/4;overflow:hidden}
.storefront .modalImageFrame{aspect-ratio:3/4;height:auto;min-height:0}
.storefront .modalImageFrame:has(.looksGalleryNav){aspect-ratio:3/4;height:auto!important;min-height:0!important}
.storefront .modalImageFrame .looksGalleryImage{width:100%;height:calc(100% - 66px)!important;max-height:none!important;aspect-ratio:3/4;object-fit:contain}
.storefront .seoPicture .looksGalleryImage{width:100%;height:auto;max-height:none;aspect-ratio:3/4;object-fit:contain}
@media(max-width:900px){.storefront .productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.storefront .productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}}

/* Desktop width approved 11/11/2026; preserve the mobile storefront. */
@media(min-width:901px){
 .storefront main{width:100%;max-width:1800px;padding:12px 32px}
 .storefront .hero.heroFull{width:100%;margin:16px 0 24px;max-width:none}
 .storefront .productGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
 .storefront .catalogHeading{margin-bottom:18px}
 .storefront .referenceHeader.siteHeader{max-width:1800px;margin-inline:auto;padding-inline:32px}
}

/* Keep the lower desktop sections centered on the expanded storefront. */
@media(min-width:901px){
 .storefront .referenceBenefits{width:100%;max-width:none;margin:20px auto 28px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .storefront .referenceBenefits>div{justify-content:center;min-width:0}
 .storefront .homeSeo{width:100%;max-width:none;margin:24px auto 28px;padding:0;text-align:center}
 .storefront .homeSeo p{max-width:1400px;margin:0 auto 10px}
 .storefront footer.simpleFooter{align-items:center;text-align:center}
 .storefront .simpleFooter .footerLogo,.storefront .simpleFooter .footerLinks,.storefront .simpleFooter .footerLocation{margin-inline:auto;text-align:center;justify-content:center}
 .storefront .simpleFooter .footerBrand{margin-inline:auto}
}
