/* Original XFG fall designs, sharing the existing shop layout and controls. */
.gear-shop-page .xfg-fall-loadout { scroll-margin-top:140px; }
.gear-shop-page .xfg-fall-loadout[hidden] { display:none; }
.gear-shop-page .xfg-fall-loadout .xfg-flow-feature__story { border-radius:6px; }
.gear-shop-page .xfg-fall-loadout .xfg-flow-feature__story > img { object-position:center 45%; }
.gear-shop-page .xfg-flow-carousel .xfg-fall-product .xfg-shop-product__media {
    overflow:hidden; background:var(--shop-photo,#f0ede6); isolation:isolate;
}
.gear-shop-page .xfg-flow-carousel .xfg-fall-product[data-product-front-back] .xfg-shop-product__media > img {
    position:absolute; inset:0 auto auto 0; display:block; width:200%; max-width:none; height:100%;
    object-fit:contain; transform:scale(.9); transform-origin:25% 50%; clip-path:inset(0 50% 0 0);
}
.gear-shop-page .xfg-flow-carousel .xfg-fall-product[data-product-front-back] .xfg-shop-product__media > img.xfg-product-back {
    left:-100%; transform-origin:75% 50%; clip-path:inset(0 0 0 var(--fall-pair-back-inset,50%));
}
.gear-shop-page img[src$="/night-ops-hoodie.webp"] { --fall-pair-back-inset:50.4%; }
.gear-shop-page .xfg-fall-loadout :is([data-carousel-viewport],.xfg-flow-carousel__collection-link) { scroll-margin-top:130px; }
.gear-shop-page .xfg-fall-gallery-stage,
.gear-shop-page .xfg-fall-thumb,
.gear-shop-page .xfg-fall-zoom-stage {
    position:relative; display:block; overflow:hidden; aspect-ratio:1; background:var(--shop-photo,#f0ede6);
}
.gear-shop-page .xfg-fall-gallery-stage { cursor:pointer; }
.gear-shop-page .xfg-product-gallery__thumbnails .xfg-fall-thumb { width:100%; height:auto; }
.gear-shop-page .xfg-fall-gallery-stage > img.xfg-fall-pair,
.gear-shop-page .xfg-fall-thumb > img,
.gear-shop-page .xfg-fall-zoom-stage > img {
    position:absolute; inset:0 auto auto 0; display:block; width:200%; max-width:none; height:100%; max-height:none;
    object-fit:contain; background:transparent; transform:scale(.92); transform-origin:25% 50%; clip-path:inset(0 50% 0 0);
}
.gear-shop-page .xfg-fall-gallery-stage.is-back > img.xfg-fall-pair,
.gear-shop-page .xfg-fall-thumb.is-back > img,
.gear-shop-page .xfg-fall-zoom-stage.is-back > img { left:-100%; transform-origin:75% 50%; clip-path:inset(0 0 0 var(--fall-pair-back-inset,50%)); }
.gear-shop-page .xfg-fall-zoom-stage { width:min(100%,calc(100dvh - 140px)); margin:0 auto; }
.gear-shop-page .xfg-fall-product .xfg-product-view-toggle { z-index:4; }
@media(max-width:700px) {
    .gear-shop-page.xfg-shop-home .xfg-fall-loadout .xfg-flow-feature__story > img { aspect-ratio:3/2; }
    .gear-shop-page.xfg-shop-home .xfg-fall-loadout .xfg-shop-product__media { background:var(--shop-photo,#f0ede6); }
}
