/* Real dimensions for shared product imagery and commerce columns. */
body.scf-active :is(.store-main,#main.scd-page){width:min(100%,1440px);max-width:1440px;margin-inline:auto!important;min-width:0;box-sizing:border-box}
body.scf-active :is(.scd-page,.store-main)>.woocommerce{width:100%;max-width:100%;min-width:0;margin-inline:auto;float:none}
body.scf-active.scd-checkout-page .woocommerce form.scd-checkout-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:0;max-width:100%;float:none;box-sizing:border-box}
body.scf-active.scd-checkout-page .woocommerce form.scd-checkout-layout::before,
body.scf-active.scd-checkout-page .woocommerce form.scd-checkout-layout::after{display:none;content:none}
body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-form-column{grid-column:1;min-width:0;padding:28px 36px 36px}
body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-receipt{grid-column:2;min-width:0;min-height:0;padding:42px 28px 0}
body.scf-active.scd-checkout-page .scd-checkout-form-column .scd-breadcrumb{padding-top:0!important}
body.scf-active.scd-checkout-page .scd-checkout-heading{display:block}
body.scf-active.scd-checkout-page .scd-checkout-heading>a{position:static;display:inline-block;margin-top:14px}
body.scf-active.scd-checkout-page :is(#customer_details,#order_review,.scf-contact-fields,.scw-address-fields){min-width:0;max-width:100%}

/* The photo has one save action on collection cards: beside Add to bag. */
body.scf-active.scd-wishlist-page .scw-photo>.sf-wish{display:none!important}
body.scf-active.scd-wishlist-page .scw-buy>.scw-wish{position:static!important;inset:auto!important;width:36px;flex:none}

/* Product pages and their suggestions use the same outer width as the catalogue. */
body.scf-active.scd-single .store-main{max-width:1440px;width:100%;margin-inline:auto}
body.scf-active.scd-single .scd-product{display:block!important;float:none;width:100%;max-width:100%;min-width:0}
body.scf-active.scd-single .scd-portrait{grid-template-columns:180px minmax(0,1fr) minmax(300px,390px);gap:28px;padding:24px 28px 32px}
body.scf-active.scd-single .scd-portrait--no-notes{grid-template-columns:minmax(0,1fr) minmax(300px,440px)}
body.scf-active.scd-single .scd-gallery{width:100%;max-width:360px;min-width:0;background:#f6f2eb;border-radius:0;padding:14px 0}
body.scf-active.scd-single .scd-gallery::before{content:none}
body.scf-active.scd-single .scf-gallery-stage{width:min(100%,300px);max-width:300px;margin-inline:auto;display:block;aspect-ratio:1;height:auto;padding:0;background:#eee7db}
body.scf-active.scd-single .scf-gallery-stage>.scf-art{width:100%!important;height:auto!important;max-width:300px;aspect-ratio:1!important}
body.scf-active.scd-single .scd-product>:is(.related,.upsells,.woocommerce-tabs,.scf-journey,.scf-discovery){clear:both;float:none;width:100%;max-width:100%;min-width:0;box-sizing:border-box;grid-column:1/-1}
body.scf-active.scd-single :is(.related,.upsells)>h2,
body.scf-active.scd-cart-page .cross-sells>h2{font:400 28px/1.2 var(--scf-serif);margin:0 0 20px}
body.scf-active.scd-cart-page .cross-sells{float:none!important;width:100%!important;clear:both;padding:28px 24px;margin:0;min-width:0;box-sizing:border-box}
body.scf-active.scd-single :is(.related,.upsells) ul.products,
body.scf-active.scd-cart-page .cross-sells ul.products{display:grid!important;grid-template-columns:repeat(var(--sc-products),minmax(0,1fr))!important;width:100%;clear:both;margin:0!important}
body.scf-active.scd-single :is(.related,.upsells) ul.products::before,
body.scf-active.scd-single :is(.related,.upsells) ul.products::after,
body.scf-active.scd-cart-page .cross-sells ul.products::before,
body.scf-active.scd-cart-page .cross-sells ul.products::after{display:none!important;content:none!important}
body.scf-active.scd-cart-page .cross-sells ul.products li.product{width:100%!important;min-width:0;margin:0!important;float:none!important}

/* Standalone WebP files replace all screenshot-atlas photography in commerce. */
.scf-art.scf-standalone{display:block;position:relative;overflow:hidden;background-image:none!important;background-size:auto!important;background-position:center!important}
.scf-art.scf-standalone>img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%;margin:0!important;padding:0!important;border:0;border-radius:0;object-fit:cover;object-position:center;mix-blend-mode:normal}
.scf-art.scf-image-product>img{object-fit:contain;background:#f3eee5}
body.scf-active .scf-product-photo :is(.scf-art,img),
body.scf-active.scd-wishlist-page .scw-card .scw-photo :is(.scf-art,img){aspect-ratio:1!important;max-width:300px;margin-inline:auto!important}
body.scf-active.scd-wishlist-page .scw-card .scw-photo .scf-art{height:auto!important}
body.scf-active .scd-note-strip>span{align-items:center;min-width:0}
body.scf-active .scd-note-strip .scf-art.scf-image-note{width:min(100%,50px)!important;max-width:50px!important;height:auto!important;aspect-ratio:1!important;flex:0 0 auto;mix-blend-mode:normal}
body.scf-active.scd-single .scd-scent-aside .scd-note-strip .scf-art.scf-image-note{width:50px!important;height:50px!important;flex:0 0 50px}
body.scf-active.scd-single .scd-scent-aside .scd-note-strip--vertical>span{grid-template-columns:50px minmax(0,1fr)}
body.scf-active.scd-single .scf-journey-steps article>.scf-image-note{width:50px!important;height:50px!important;max-width:50px;aspect-ratio:1!important;margin:12px auto}
body.scf-active.scd-single .scf-journey-steps{align-items:start}
.scf-hero .scf-image-banner>img{object-position:right center}
body.scf-active.scd-checkout-page .scf-checkout-story>.scf-art{aspect-ratio:3/1!important;height:auto;max-height:200px;min-height:0}
body.scf-active.scd-checkout-page .scf-checkout-story>.scf-art>img{object-position:right center}
.scf-standalone.scf-image-product{max-width:300px}
.scf-photo-dialog .scf-image-product{width:min(80vw,300px)!important;height:auto!important;aspect-ratio:1!important;margin:auto}

@media(max-width:1099px){
 body.scf-active.scd-single .scd-portrait,body.scf-active.scd-single .scd-portrait--no-notes{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:24px}
 body.scf-active.scd-single .scd-scent-aside{grid-column:1/-1}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-form-column{padding:24px}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-receipt{padding:42px 22px 0}
}
@media(max-width:800px){
 body.scf-active.scd-checkout-page .woocommerce form.scd-checkout-layout{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-form-column,
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-receipt{grid-column:1;min-width:0}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-receipt{padding:32px 24px 0}
}
@media(max-width:600px){
 body.scf-active.scd-single .scd-portrait,body.scf-active.scd-single .scd-portrait--no-notes{display:flex;flex-direction:column;padding:16px;gap:22px}
 body.scf-active.scd-single .scd-gallery{max-width:332px;align-self:center}
 body.scf-active.scd-single .scd-portrait .summary{width:100%;min-width:0}
 body.scf-active.scd-cart-page .cross-sells{padding:24px 14px}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-form-column{padding:20px 16px 28px}
 body.scf-active.scd-checkout-page .scd-checkout-layout>.scd-checkout-receipt{padding:32px 18px 0}
 body.scf-active.scd-checkout-page .scd-checkout-receipt .scf-checkout-story{margin-inline:-18px}
}
