/* Larger product and colour previews, November12 owner request. Photos stay complete. */
html body .outlet-detail,html body .shoe-detail{max-width:1440px;margin:14px auto;padding-left:12px;padding-right:12px;box-sizing:border-box}
html body .outlet-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;margin-top:12px;align-items:start}
html body .outlet-layout>div,html body .outlet-layout>section{min-width:0}
html body .outlet-layout .outlet-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0;align-items:start}
html body .outlet-layout .outlet-option{height:auto!important;padding:3px!important}
html body .outlet-layout .outlet-option img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
html body .outlet-layout #outlet-main-photo{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:transparent}
html body .outlet-layout #outlet-full-photo{background:transparent}
html body .outlet-layout h1{margin:8px 0 12px}html body .outlet-layout h2{margin-top:18px}
html body .outlet-option span,html body .outlet-option strong{font-size:14px;padding:5px 3px}
html body .shoe-detail-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:20px}
html body .shoe-variants{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
html body .shoe-variant-card{padding:5px}html body .shoe-variant-choice img{width:100%;height:auto;max-height:none;object-fit:contain}
html body .britten-rich-media .outlet-layout{display:block;max-width:1280px}
html body .britten-colour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html body .britten-rich-media .britten-colour-card img{height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
html body .everly-store{max-width:1400px;margin:14px auto;padding:0 12px}
html body .everly-design{padding:14px 0}html body .everly-design h2{margin:10px 0}
html body .everly-design-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .everly-design-media:has(>:only-child){grid-template-columns:minmax(0,1fr)}
html body .everly-design-media img,html body .everly-design-media video{width:100%;height:auto;max-height:none;object-fit:contain}
/* Main catalogue photos: fewer columns on larger screens, closer spacing on phones. */
html body .grid:has(>[data-favourite-product]),html body .global-results,html body .saved-favourites-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;padding-left:0;padding-right:0}
html body #product-gallery .gallery-photo-stage{max-width:1280px}
html body #product-gallery[data-gallery-mode] .gallery-image-area{max-width:1280px!important}
html body #product-gallery[data-gallery-mode] .gallery-overview{flex:0 0 auto!important;gap:8px!important}
html body #product-gallery[data-gallery-mode] .gallery-inner{min-height:0!important}
html body .outlet-photo-views{flex-wrap:wrap;gap:6px;margin:8px 0}
html body .tory-size-controls{margin:8px 0}
@media(max-width:1000px){
 html body .outlet-layout{grid-template-columns:1fr;gap:14px}
 html body .outlet-layout>div:first-child{width:100%;max-width:680px;margin:0 auto}
 html body .shoe-variants,html body .britten-colour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .grid:has(>[data-favourite-product]),html body .global-results,html body .saved-favourites-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}
@media(max-width:700px){
 html body .shoe-detail-layout{grid-template-columns:1fr;gap:12px}
 html body .outlet-detail,html body .shoe-detail,html body .everly-store{padding-left:10px;padding-right:10px;margin-top:10px}
 html body .everly-design-media{grid-template-columns:1fr}
 html body .outlet-layout .outlet-options{gap:8px}
 html body #product-gallery .gallery-photo-stage .gallery-overview{grid-template-columns:1fr!important}
}
@media(max-width:480px){
 /* Colour detail previews occupy the phone width rather than postage-stamp tiles. */
 html body .outlet-layout .outlet-options,html body .shoe-variants,html body .britten-colour-grid{grid-template-columns:minmax(0,1fr)}
 html body .outlet-choice .actions a,html body .britten-colour-actions a{font-size:14px}
}
