/* Consistent previews and fluid product layouts across every range. */
#main{min-width:0}
#main :is(article,section,aside,figure,nav,form,fieldset,details){min-width:0;max-width:100%;box-sizing:border-box}
#main :is(h1,h2,h3,p,li,dt,dd,label,summary){overflow-wrap:anywhere}
#main :is(img,video,iframe){max-width:100%}
#main :is(.slp-hero,.editorial-hero,.shop-product-grid,.editorial-order,.editorial-details,.slp-how){grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
#main :is(.slp-hero,.editorial-hero,.shop-product-grid,.editorial-order,.editorial-details,.slp-how)>*{min-width:0;max-width:100%}
#main :where([class*="grid"],[class*="hero"],[class*="layout"])>*{min-width:0;box-sizing:border-box}
#main :is(.shop-grid,.slp-related-grid,.sh-product-grid,.blind-grid)>*{min-width:0}
#main :is(.shop-card,.sh-product,.slp-related-card,.blind-card,.result-card){height:100%;min-width:0;overflow:hidden;box-sizing:border-box}
#main .sh-product>a{display:flex!important;flex-direction:column!important;height:100%;grid-template-columns:none!important;align-items:stretch!important;color:inherit;text-decoration:none}
#main :is(.shop-photo,.clear-product-card .shop-photo,.slp-related-card a>div){display:flex!important;align-items:center;justify-content:center;width:100%;height:auto!important;aspect-ratio:4/3!important;min-height:0!important;padding:0!important;overflow:hidden;background:#edf2ef}
#main :is(.shop-photo,.clear-product-card .shop-photo,.slp-related-card a>div)>img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center center!important;margin:auto}
#main .sh-product>a>img,#main .blind-card>a:first-child>img{display:block!important;flex:none;width:100%!important;height:auto!important;aspect-ratio:4/3!important;min-height:0!important;object-fit:cover!important;object-position:center center!important;background:#edf2ef}
#main .sh-product>a>div{display:flex;flex:1;flex-direction:column;min-width:0;padding:20px}
#main .sh-product strong{margin-top:auto;padding-top:8px}
#main .slp-related-card>a{height:100%;display:flex;flex-direction:column}
#main .slp-related-card strong{margin-top:auto;padding-top:16px}
#main .sh-product h3,#main .shop-card h3,#main .slp-related-card h3{font-size:clamp(1.12rem,1.7vw,1.5rem);line-height:1.2}
#main .sh-product p,#main .shop-card p,#main .slp-related-card p{font-size:1rem;line-height:1.55}
#main :is(.slp-main-photo,.editorial-main-image){object-position:center center!important}
#main :is(.editorial-gallery,.slp-gallery){width:100%;max-width:100%;min-width:0}
#main .editorial-gallery figure{margin:0}
#main .editorial-main-image{width:100%;height:auto!important;aspect-ratio:4/3;object-fit:contain!important;display:block}
#main :is(.editorial-thumbnails,.slp-media-tabs){max-width:100%;overflow-x:auto;flex-wrap:nowrap}
#main :is(.product-section-nav,.slp-section-nav){max-width:100%}
#main :is(.product-section-nav,.slp-section-nav)>.wrap{min-width:0;max-width:100%;box-sizing:border-box}
#main :is(table,pre){max-width:100%}
#main .editorial-table-scroll{max-width:100%;overflow:auto}
#main :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
#main :is(.button,button){max-width:100%;box-sizing:border-box;white-space:normal}
#main .slp-stage.slp-expanded{max-width:none}
@media(max-width:800px){
 #main :is(.slp-hero,.editorial-hero,.shop-product-grid,.editorial-order,.editorial-details,.slp-how){grid-template-columns:minmax(0,1fr)!important;gap:24px}
 #main :is(.sh-product-grid,.shop-grid,.blind-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 #main .sh-product>a{display:flex!important}
 #main :is(.slp-intro,.editorial-intro) h1{font-size:clamp(1.8rem,5vw,2.65rem)}
}
@media(max-width:520px){
 #main :is(.sh-product-grid,.shop-grid,.blind-grid,.slp-related-grid){grid-template-columns:minmax(0,1fr)!important}
 #main .wrap{width:calc(100% - 32px);max-width:calc(100% - 32px)}
 #main .wrap .wrap{width:100%;max-width:100%}
 #main .slp-facts>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 #main :is(.sh-product,.shop-card,.slp-related-card) h3{font-size:1.35rem}
}
