.atlas-photo{height:275px;background:#f3f5f8}
.gallery-image{display:block;width:100%;height:100%;overflow:hidden}
.atlas-photo>.gallery-image{transition:transform .3s}
.image-link:hover .atlas-photo>.gallery-image,.variant-image-link:hover .atlas-photo>.gallery-image{transform:scale(1.025)}
.variant-image-link .atlas-photo{height:240px}
.atlas-photo.detail-photo{height:590px}
.gallery-photo-count{position:absolute;top:14px;right:14px;padding:5px 9px;border:1px solid #fff9;border-radius:3px;background:#fffffff0;color:#0b2b52;font-size:10px;font-weight:600;letter-spacing:.2px}
.atlas-photo .watermark,.gallery-stage .watermark,.gallery-dialog-photo .watermark{color:#0b2b52;text-shadow:0 1px 6px #fff9;opacity:.6;font-size:20px;right:22px;bottom:50px}
.product-gallery{min-width:0}
.gallery-stage{position:relative;aspect-ratio:1/1.08;background:#f3f5f8;outline-offset:4px;border:1px solid #e1e6ec}
.gallery-stage:focus-visible{outline:2px solid #0b2b52}
.gallery-main{width:100%;height:100%;position:absolute;inset:0}
.gallery-enlarge{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:7px;border:1px solid #dde4ec;background:#fffffff2;color:#0b2b52;padding:9px 11px;font-family:inherit;font-size:11px;cursor:pointer;border-radius:3px}
.gallery-enlarge>svg{width:16px;height:16px}
.gallery-enlarge:hover{border-color:#0b2b52}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:37px;height:44px;border:1px solid #e1e6ec;background:#fffffff0;color:#0b2b52;font-size:29px;line-height:1;cursor:pointer;display:grid;place-items:center}
.gallery-arrow:hover{background:#0b2b52;color:white}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-counter{position:absolute;bottom:15px;left:18px;background:#0b2b52;color:white;padding:5px 10px;font-size:10px;letter-spacing:1px}
.gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0 12px;font-size:11px;color:#6c7a8a}
.gallery-label{font-weight:600;color:#0b2b52}
.gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#a7b6c7 #eff2f6}
.gallery-thumb{flex:0 0 82px;width:82px;min-width:0;border:1px solid #dce3eb;background:#f3f5f8;cursor:pointer;padding:0;color:#53667c;font-family:inherit;overflow:hidden;text-align:left}
.gallery-thumb>.gallery-image{height:77px;aspect-ratio:1}
.gallery-thumb>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 6px;font-size:9px;background:#fff}
.gallery-thumb.is-active{border-color:#e10600;box-shadow:0 0 0 1px #e10600}
.gallery-thumb:focus-visible{outline:2px solid #0b2b52;outline-offset:2px}
.gallery-hint{font-size:10px;color:#718094;line-height:1.6;margin:3px 0 0}
.gallery-dialog{padding:0;border:0;border-radius:6px;background:#f4f6f8;width:min(1050px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);color:#0b2b52;overflow:auto;margin:auto}
.gallery-dialog::backdrop{background:#031122e8}
.gallery-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;background:white;border-bottom:1px solid #e0e6ed}
.gallery-dialog-title{margin:0;font-size:14px;line-height:1.5;font-weight:600;max-width:85%;letter-spacing:0}
.gallery-close{font-size:26px;line-height:1;border:0;background:none;cursor:pointer;color:#0b2b52;padding:3px 7px}
.gallery-dialog-photo{position:relative;height:min(690px,calc(100dvh - 180px));min-height:240px}
.gallery-dialog-photo>.gallery-image{height:100%}
.gallery-dialog-photo .watermark{bottom:18px}
.gallery-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 22px;background:white;font-size:12px}
.gallery-dialog-nav{display:flex;gap:8px}
.gallery-dialog-nav>button{background:white;border:1px solid #dce3eb;color:#0b2b52;font-family:inherit;font-size:12px;padding:8px 15px;cursor:pointer}
@media(max-width:1150px){.atlas-photo{height:250px}.variant-image-link .atlas-photo{height:215px}.atlas-photo.detail-photo{height:570px}.gallery-stage{aspect-ratio:1/1.18}.gallery-thumb{flex-basis:73px;width:73px}.gallery-thumb>.gallery-image{height:70px}}
@media(max-width:900px){.atlas-photo{height:290px}.variant-image-link .atlas-photo{height:265px}.atlas-photo.detail-photo{height:540px}.gallery-stage{aspect-ratio:1/1.2}}
@media(max-width:600px){.atlas-photo{height:325px}.variant-image-link .atlas-photo{height:300px}.atlas-photo.detail-photo{height:auto;aspect-ratio:1/1.1;max-height:480px}.gallery-stage{aspect-ratio:1/1.08}.gallery-enlarge{font-size:10px;top:12px;right:12px;padding:8px}.gallery-thumb{flex-basis:72px;width:72px}.gallery-thumb>.gallery-image{height:68px}.gallery-caption{font-size:11px;padding-top:12px}.gallery-thumbs{gap:8px}.gallery-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 30px)}.gallery-dialog-head{padding:14px}.gallery-dialog-title{font-size:12px}.gallery-dialog-foot{padding:12px 14px;flex-wrap:wrap;font-size:11px}.gallery-dialog-nav>button{padding:8px 12px}.gallery-stage .watermark{font-size:21px;bottom:52px}.gallery-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.atlas-photo>.gallery-image{transition:none}}
