.product-gallery-custom .woocommerce-product-gallery__image { position: relative; }
.product-gallery-custom .woocommerce-product-gallery__image.product-gallery-placeholder { display: flex; min-height: 360px; align-items: center; justify-content: center; background: #e5e5e5; }
.product-gallery-custom .product-gallery-placeholder img { display: block; width: 24%; max-width: 180px; height: auto; }
.product-gallery-custom.image-action-zoom .woocommerce-product-gallery__image a { cursor: zoom-in; }
.product-gallery-custom .product-gallery-zoom { position: absolute; z-index: 2; inset: 0; background-color: #fff; background-repeat: no-repeat; background-size: 200% 200%; opacity: 0; pointer-events: none; transition: opacity 120ms ease; }
.product-gallery-custom .product-gallery-is-zooming .product-gallery-zoom { opacity: 1; }
.product-gallery-custom .woocommerce-product-gallery__wrapper.product-gallery-static-slides > .wd-carousel-wrap { width: 100% !important; transform: none !important; }
.product-gallery-custom .woocommerce-product-gallery__wrapper.product-gallery-static-slides > .wd-carousel-wrap > .wd-carousel-item { display: none !important; }
.product-gallery-custom .woocommerce-product-gallery__wrapper.product-gallery-static-slides > .wd-carousel-wrap > .wd-carousel-item.wd-active { display: block !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
.product-gallery-custom .wd-gallery-thumb .wd-carousel-item { opacity: .5 !important; }
.product-gallery-custom .wd-gallery-thumb .wd-carousel-item:is(.wd-thumb-active, [aria-pressed="true"]) { opacity: 1 !important; }
@media (min-width: 1025px) {
    .product-gallery-custom.wd-has-thumb { display: grid; grid-template-columns: var(--wd-thumbs-width, 132px) minmax(0, 1fr); align-items: start; }
    .product-gallery-custom.wd-has-thumb > .wd-gallery-thumb { grid-column: 1; grid-row: 1; width: 100%; max-width: 100%; min-width: 0; height: var(--wd-thumbs-height, 375px); }
    .product-gallery-custom.wd-has-thumb > .wd-gallery-images { grid-column: 2; grid-row: 1; width: 100%; max-width: 100%; min-width: 0; }
    .product-gallery-custom.wd-has-thumb .wd-gallery-thumb .wd-carousel-inner { position: relative; inset: auto; height: 100%; }
}
