.ws-product-media-layout .wap-gallery{position:relative;min-width:0;align-self:start}
.ws-product-media-layout .wap-track{width:100%;aspect-ratio:3/4;gap:0}
.ws-product-media-layout .wap-slide{height:100%;flex:0 0 100%;width:100%}
.ws-product-media-layout .wap-slide img{width:100%;height:100%;object-fit:contain;background:#fff}
.ws-product-media-layout .wap-gallery-controls{position:absolute;inset:0 0 auto;aspect-ratio:3/4;display:block;pointer-events:none;margin:0;padding:0;min-height:0}
.ws-product-media-layout .wap-gallery-controls button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;margin:0;background:rgba(255,255,255,.9);border:0;pointer-events:auto}
.ws-product-media-layout [data-wap-prev]{left:0}.ws-product-media-layout [data-wap-next]{right:0}
.ws-product-media-layout .wap-gallery-controls button:disabled{visibility:hidden}
.ws-product-media-layout [data-wap-counter]{position:absolute;right:0;bottom:-30px;background:#fff;padding:3px 6px}
.ws-product-media-layout .wap-thumbnails{margin-top:40px;max-width:100%;padding-bottom:8px}
.ws-product-media-layout .wap-swatches{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
.ws-product-media-layout .wap-swatch{border:0;border-bottom:1px solid transparent;border-radius:0;background:#fff;box-shadow:none}
.ws-product-media-layout .wap-swatch[aria-pressed="true"]{border-bottom-color:#151515;box-shadow:none}
.ws-product-media-layout .wap-swatch:not(.wap-swatch--text){flex:0 0 72px;width:72px;height:86px;padding:4px 4px 8px}
.ws-product-media-layout .wap-swatch img{width:100%;height:100%;object-fit:contain;background:#fff}
.ws-product-media-layout .wap-swatch--text{font-size:12px;min-height:44px;padding:8px 4px;max-width:150px;white-space:normal}
.ws-product-media-layout .wap-gallery-controls[hidden]{display:none}
@media(max-width:749px){.ws-product-media-layout .wap-thumbnails{margin:40px 16px 0;max-width:calc(100% - 32px)}}
