@media(min-width:1024px){body.template-product [data-am-fit-gallery]{--am-gallery-height: max(180px, calc(100dvh - 240px) )}body.template-product .gallery-layout[data-am-fit-gallery]{justify-content:center;align-items:flex-start}body.template-product [data-am-fit-gallery=casterly] .media-main-wrapper{max-width:var(--am-gallery-height);min-width:0}body.template-product [data-am-fit-gallery=casterly] .media-main-img{height:auto!important;max-height:var(--am-gallery-height);object-fit:contain!important}body.template-product [data-am-fit-gallery=casterly] .media-thumbs-wrapper{height:var(--am-gallery-height);max-height:var(--am-gallery-height);flex-shrink:0}body.template-product [data-am-fit-gallery=casterly] .media-thumbs{height:100%;overflow-y:auto;overscroll-behavior-y:contain}body.template-product [data-am-fit-gallery=lx] .lx-main-wrapper{max-width:var(--am-gallery-height);margin-inline:auto}body.template-product [data-am-fit-gallery=lx] .lx-gallery-main img{height:auto!important;max-height:var(--am-gallery-height);object-fit:contain!important}body.template-product [data-am-fit-gallery=lx] .lx-gallery-thumbs,body.template-product [data-am-fit-gallery=native] .lx-product-native__media-wrap{max-width:var(--am-gallery-height);margin-inline:auto}body.template-product [data-am-fit-gallery=native] .lx-product-native__media-slide{min-height:0!important;height:auto!important;aspect-ratio:1 / 1!important;max-height:var(--am-gallery-height)}body.template-product [data-am-fit-gallery=native] .lx-product-native__media-slide :is(img,video,iframe,model-viewer){width:100%!important;height:100%!important;object-fit:contain!important}body.template-product [data-am-fit-gallery=native] .lx-product-native__dots{max-width:var(--am-gallery-height);margin-inline:auto}body.template-product [data-am-fit-gallery=sicotas]{justify-content:center}body.template-product [data-am-fit-gallery=sicotas] .gallery-main{flex:0 1 var(--am-gallery-height);min-width:0}body.template-product [data-am-fit-gallery=sicotas] .gallery-main img{max-height:var(--am-gallery-height);object-fit:contain}body.template-product [data-am-fit-gallery=sicotas] .gallery-thumbnails{flex-shrink:0;max-height:var(--am-gallery-height);overflow-y:auto;overscroll-behavior-y:contain}body.template-product #content [data-am-fit-gallery=standard] .main-image{max-width:var(--am-gallery-height);margin-inline:auto}body.template-product #content [data-am-fit-gallery=standard] .main-image .slider__item{max-height:var(--am-gallery-height);aspect-ratio:1 / 1!important}body.template-product #content [data-am-fit-gallery=standard] .main-image .slider__item img{object-fit:contain!important;width:100%!important;height:100%!important}body.template-product #content [data-am-fit-gallery=standard] .product-media-collage__item{width:100%;max-width:var(--am-gallery-height);aspect-ratio:1 / 1;margin-inline:auto}body.template-product #content [data-am-fit-gallery=standard] .product-media-collage__item :is(a.show-gallery,.media,.rimage-outer-wrapper,.rimage-wrapper){width:100%;height:100%;padding-bottom:0!important}body.template-product #content [data-am-fit-gallery=standard] .product-media-collage__item img{width:100%;height:100%;object-fit:contain!important}}
/*# sourceMappingURL=/cdn/shop/t/18/assets/anymaple-product-image-fit.css.map */
