.product-gallery-visual{min-width:0;width:100%;max-width:100%}
.product-gallery{width:100%;min-width:0}
.product-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;aspect-ratio:1/1;box-sizing:border-box;overflow:hidden;border:1px solid #e4e5dc;border-radius:6px;background:#fff}
.product-gallery-stage a[data-product-gallery-main]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;cursor:zoom-in}
.product-gallery-stage img{display:block;width:100%;height:100%;max-height:690px;aspect-ratio:1/1;object-fit:contain;box-sizing:border-box;background:#fff;transition:opacity .16s ease}
.product-gallery-is-loading .product-gallery-stage img{opacity:.25}
.product-gallery-loading{position:absolute;inset:50% 12% auto;z-index:1;margin:0;padding:10px 14px;border-radius:4px;background:#fffffff0;color:#66735e;font:12px/1.8 Arial,'PingFang SC','Microsoft YaHei',sans-serif;text-align:center;transform:translateY(-50%);pointer-events:none}
.product-gallery-loading[hidden]{display:none}
.product-gallery-thumbs{display:flex;align-items:stretch;gap:10px;width:100%;margin-top:14px;padding:3px 2px 7px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#b5bfaa transparent}
.product-gallery-thumbs button[data-product-gallery-thumb]{display:block;position:relative;flex:0 0 76px;width:76px;height:76px;margin:0;padding:4px;box-sizing:border-box;border:1px solid #dfe3d7;border-radius:4px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
.product-gallery-thumbs button[data-product-gallery-thumb] img{display:block;width:100%;height:100%;margin:0;object-fit:contain;background:#fff}
.product-gallery-thumbs button[data-product-gallery-thumb]:hover{border-color:#91a07c}
.product-gallery-thumbs button[data-product-gallery-thumb].active,.product-gallery-thumbs button[data-product-gallery-thumb][aria-pressed=true]{border-color:#577146;box-shadow:0 0 0 1px #577146}
.product-gallery-thumbs button[data-product-gallery-thumb]:focus-visible,.product-gallery-stage a[data-product-gallery-main]:focus-visible{outline:2px solid #70885d;outline-offset:3px}
.product-gallery-caption{margin:10px 0 0;color:#77806e;font:12px/1.8 Arial,'PingFang SC','Microsoft YaHei',sans-serif;overflow-wrap:anywhere}
.product-gallery-guide{margin:12px 0 0;color:#66735e;font:12px/1.8 Arial,'PingFang TC','Microsoft JhengHei',sans-serif}
@media(max-width:640px){.product-gallery-stage{border-radius:4px}.product-gallery-stage img{max-height:none}.product-gallery-thumbs{gap:8px;margin-top:11px}.product-gallery-thumbs button[data-product-gallery-thumb]{flex-basis:64px;width:64px;height:64px;padding:3px}.product-gallery-caption{font-size:11px}.product-gallery-loading{font-size:11px}}
@media(prefers-reduced-motion:reduce){.product-gallery-stage img,.product-gallery-thumbs button[data-product-gallery-thumb]{transition:none}}
