.fusy-product-gallery{min-width:0;max-width:100%}.fusy-gallery-stage{position:relative}.fusy-gallery-slide{display:block}.fusy-gallery-slide[hidden]{display:none!important}.fusy-gallery-slide img{width:100%;height:auto;object-fit:contain;display:block}.fusy-gallery-stage>button{position:absolute;top:50%;transform:translateY(-50%);left:8px;min-width:44px;min-height:44px}.fusy-gallery-stage>button+button{left:auto;right:8px}.fusy-gallery-thumbs{display:flex;gap:var(--fpg-thumb-gap,10px);overflow-x:auto;padding:10px 0;position:relative}.fusy-gallery-thumbs>button{padding:0;flex:0 0 calc((100% - (var(--fusy-gallery-thumbs) - 1)*var(--fpg-thumb-gap,10px))/var(--fusy-gallery-thumbs));min-width:0;border:2px solid transparent;background:transparent}.fusy-gallery-thumbs img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.fusy-gallery-thumbs [aria-current=true]{border-color:currentColor}.fusy-gallery-dots{display:flex;justify-content:center;gap:10px}.fusy-gallery-dots button{width:18px;height:18px;padding:0;border-radius:50%;border:1px solid currentColor;background:transparent}.fusy-gallery-dots [aria-current=true]{background:currentColor}.fusy-gallery-lightbox{max-width:96vw;max-height:94dvh;padding:44px;box-sizing:border-box;border:0}.fusy-gallery-lightbox::backdrop{background:#000c}.fusy-gallery-lightbox img{display:block;max-width:calc(96vw - 88px);max-height:calc(94dvh - 88px);object-fit:contain}.fusy-gallery-lightbox button{position:absolute;min-width:44px;min-height:44px;top:50%;left:0}.fusy-gallery-lightbox [data-close]{top:0;left:auto;right:0}.fusy-gallery-lightbox [data-step="1"]{left:auto;right:0}
/* Never inherit theme button backgrounds on the photo or its thumbnails. */
.elementor-widget-fusy-product-gallery>.elementor-widget-container,.fusy-product-gallery,.fusy-product-gallery .fusy-gallery-stage,.fusy-product-gallery .fusy-gallery-slide,.fusy-product-gallery .fusy-gallery-thumbs,.fusy-product-gallery .fusy-gallery-slide img,.fusy-product-gallery .fusy-gallery-thumbs img{background:transparent!important;box-shadow:none}
.fusy-product-gallery .fusy-gallery-thumbs>button,.fusy-product-gallery .fusy-gallery-thumbs>button:hover,.fusy-product-gallery .fusy-gallery-thumbs>button:focus{background:transparent!important;box-shadow:none;padding:0!important;color:inherit}
html[data-fusy-theme=dark] body:not(.wp-admin) .elementor-widget-fusy-product-gallery>.elementor-widget-container{background:transparent!important}

.fusy-gallery-stage{overflow:hidden}.fusy-gallery-stage>button{width:var(--fpg-arrow-size,44px);height:var(--fpg-arrow-size,44px);min-width:0;min-height:0;padding:0;left:var(--fpg-arrow-offset,8px);border-style:solid}.fusy-gallery-stage>button+button{left:auto;right:var(--fpg-arrow-offset,8px)}.fusy-gallery-dots button{width:var(--fpg-dot-size,18px);height:var(--fpg-dot-size,18px)}

.fusy-gallery-thumbs>button{border-radius:0}
.fusy-product-gallery[data-dot-shape=square] .fusy-gallery-dots button,.fusy-gallery-lightbox[data-dot-shape=square] .fusy-gallery-dots button{border-radius:0}.fusy-product-gallery[data-dot-shape=bar] .fusy-gallery-dots button,.fusy-gallery-lightbox[data-dot-shape=bar] .fusy-gallery-dots button{border-radius:3px;width:calc(var(--fpg-dot-size,18px)*1.8);height:calc(var(--fpg-dot-size,18px)*.4)}.fusy-gallery-lightbox .fusy-gallery-dots{margin-top:12px}.fusy-gallery-lightbox .fusy-gallery-dots button{position:static;min-width:0;min-height:0;width:18px;height:18px;border:1px solid currentColor;padding:0;border-radius:50%;background:transparent}.fusy-gallery-lightbox .fusy-gallery-dots [aria-current=true]{background:currentColor}.fusy-gallery-lightbox:has(.fusy-gallery-dots) img{max-height:calc(94dvh - 130px)}
