.product-image.has-photo{position:relative;height:auto;aspect-ratio:4/5;padding:0;background:#eeefec;overflow:hidden}.product-image.has-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.product-card:hover .product-image.has-photo img{transform:scale(1.025)}.product-photo-count{position:absolute;right:10px;bottom:10px;z-index:1;padding:5px 8px;border-radius:6px;background:#ffffffdf;color:#355762;font-size:9px;line-height:1.3;box-shadow:0 2px 9px #15394112;backdrop-filter:blur(6px)}.product-gallery{max-width:440px;margin:0 auto 24px;min-width:0}.gallery-stage{position:relative;width:100%;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:#eeefec}.gallery-enlarge{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;position:relative}.gallery-enlarge>img{display:block;width:100%;height:100%;object-fit:cover}.gallery-expand-label{position:absolute;right:12px;top:12px;background:#ffffffd9;color:#315560;padding:7px 10px;border-radius:7px;font-size:10px;backdrop-filter:blur(8px)}.gallery-counter{position:absolute;left:12px;top:12px;padding:7px 10px;background:#ffffffd9;color:#315560;border-radius:7px;font-size:10px;pointer-events:none;backdrop-filter:blur(8px)}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:42px;border:1px solid #ffffffb0;border-radius:9px;background:#ffffffdb;color:#244c59;display:flex;align-items:center;justify-content:center;font:inherit;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 2px 12px #15394114;z-index:2}.gallery-previous{left:10px}.gallery-next{right:10px}.gallery-arrow:hover{background:#fff}.gallery-thumbnails{display:flex;gap:10px;margin-top:12px;justify-content:flex-start}.gallery-thumbnails button{display:grid;grid-template-rows:72px auto;gap:6px;padding:4px;width:84px;flex:none;border:1px solid #dce5e6;border-radius:9px;background:#fff;cursor:pointer;color:#667f88}.gallery-thumbnails img{display:block;width:100%;height:72px;object-fit:cover;border-radius:5px}.gallery-thumbnails span{font-size:9px;line-height:1.4;text-align:center;padding:0 0 3px;white-space:nowrap}.gallery-thumbnails button[aria-pressed=true]{border:2px solid #377c87;padding:3px;box-shadow:0 0 0 2px #a9c7c526;color:#1f5864}.product-gallery figcaption{font-size:10px;color:var(--muted);line-height:1.7;margin-top:10px;min-height:17px}.gallery-enlarge:focus-visible,.gallery-arrow:focus-visible,.gallery-thumbnails button:focus-visible,.gallery-dialog button:focus-visible{outline:3px solid #9bbfc3;outline-offset:3px}.gallery-dialog{border:1px solid #d4e0e1;border-radius:16px;padding:0;width:min(94vw,1050px);max-width:94vw;max-height:94vh;background:#f6f7f4;color:var(--ink);box-shadow:0 24px 90px #0b28335c}.gallery-dialog::backdrop{background:#102f39b3;backdrop-filter:blur(5px)}.gallery-dialog-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;font-size:12px;border-bottom:1px solid #dfe5e2}.gallery-dialog-toolbar button{width:36px;height:36px;border:0;border-radius:8px;color:var(--accent);background:#e6eeeb;font:inherit;font-size:26px;cursor:pointer}.gallery-dialog-body{position:relative;display:flex;align-items:center;justify-content:center;min-height:220px}.gallery-dialog-body>img{display:block;max-width:100%;width:100%;height:min(78vh,820px);object-fit:contain}.gallery-dialog-body .gallery-arrow{background:#fffffff0}@media(max-width:600px){.product-photo-count{right:7px;bottom:7px;font-size:8px;padding:4px 6px}.product-gallery{margin-bottom:20px;max-width:100%}.gallery-thumbnails{gap:8px}.gallery-thumbnails button{width:78px;grid-template-rows:65px auto}.gallery-thumbnails img{height:65px}.gallery-expand-label{right:9px;top:9px;padding:6px 8px;font-size:9px}.gallery-counter{left:9px;top:9px;padding:6px 8px;font-size:9px}.gallery-stage{border-radius:10px}.gallery-arrow{width:32px;height:38px}.gallery-dialog{border-radius:12px}.gallery-dialog-body>img{height:70vh}.gallery-dialog-body .gallery-previous{left:6px}.gallery-dialog-body .gallery-next{right:6px}}@media(max-width:360px){.gallery-thumbnails{gap:6px}.gallery-thumbnails button{width:72px}.gallery-thumbnails span{font-size:8px}}@media(prefers-reduced-motion:reduce){.product-image.has-photo img{transition:none}.product-card:hover .product-image.has-photo img{transform:none}}

.product-gallery.is-loading .gallery-enlarge>img,.product-gallery.is-loading .gallery-dialog-body>img{opacity:.3}.product-gallery.is-loading .gallery-stage:after,.product-gallery.is-loading .gallery-dialog-body:after{content:'Loading photo…';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:10px 14px;border-radius:8px;background:#ffffffed;color:#426773;font-size:12px;white-space:nowrap;pointer-events:none;z-index:3}

.product-image.has-photo .product-photo-count{font-size:10px;letter-spacing:0;text-transform:none;font-weight:500;line-height:1.3}@media(max-width:600px){.product-image.has-photo .product-photo-count{font-size:9px}}
