.wa-gallery-stage{border:0;border-radius:14px;background:#fff;touch-action:pan-y}
.wa-gallery-stage .wa-gallery-main{aspect-ratio:1;object-fit:contain}
.wa-gallery-arrow,.wa-gallery-enlarge{position:absolute;border:1px solid #d9e3e9;background:#fffffff2;color:#05243a;box-shadow:0 2px 10px #05243a0d;display:flex;align-items:center;justify-content:center;z-index:2}
.wa-gallery-arrow{top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;font-size:27px;line-height:1}
.wa-gallery-arrow--prev{left:10px}.wa-gallery-arrow--next{right:10px}
.wa-gallery-enlarge{bottom:12px;right:12px;border-radius:30px;min-height:38px;padding:8px 13px;font-size:10px;font-weight:600;gap:6px}
.wa-gallery-arrow:hover,.wa-gallery-enlarge:hover{border-color:#0584c0;color:#0584c0}
.wa-gallery-stage [hidden]{display:none}
.wa-gallery-counter{position:absolute;bottom:15px;left:15px;border-radius:30px;padding:6px 10px;background:#fffffff0;font-size:10px;color:#05243a}
.wa-product-gallery .wa-gallery-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;overflow:visible;margin:12px 0 0}
.wa-gallery-thumbs button{width:100%;min-width:0;aspect-ratio:1;border-radius:6px;border:1px solid #dce4e8;padding:2px;box-sizing:border-box;transition:border-color .15s}
.wa-gallery-thumbs button.is-active{border:2px solid #0584c0;padding:1px}
.wa-gallery-thumbs img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}
.wa-gallery-dialog{padding:48px 12px 12px;border:0;border-radius:14px;background:white;max-width:min(96vw,1400px);max-height:96dvh;overflow:auto;color:#05243a}
.wa-gallery-dialog::backdrop{background:#05243acb;backdrop-filter:blur(4px)}
.wa-gallery-dialog img{max-width:100%;width:auto;max-height:calc(96dvh - 70px);object-fit:contain;margin:auto}
.wa-gallery-dialog-close{position:absolute;top:6px;right:10px;background:white;border:1px solid #dce4e8;border-radius:30px;min-height:36px;padding:6px 14px;color:#05243a;font-size:12px}
@media(max-width:749px){.wa-product .wa-product-gallery{display:block;min-width:0}.wa-gallery-arrow{width:36px;height:36px}.wa-gallery-arrow--prev{left:4px}.wa-gallery-arrow--next{right:4px}.wa-product-gallery .wa-gallery-thumbs{gap:5px;margin-top:9px}.wa-gallery-enlarge{font-size:9px;min-height:32px;bottom:8px;right:8px}.wa-gallery-counter{bottom:10px;left:9px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.wa-gallery-thumbs button{transition:none}}
