.matc-image-tools{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff;color:#102c3d}
.matc-image-canvas{position:absolute;inset:0;overflow:hidden;outline-offset:-4px;cursor:zoom-in;overscroll-behavior:contain}
.matc-image-canvas.is-zoomed{cursor:grab}.matc-image-canvas.is-zoomed:active{cursor:grabbing}
.matc-image-tools .matc-image-canvas>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;transform-origin:center;user-select:none;-webkit-user-drag:none;mix-blend-mode:normal}
.matc-image-toolbar{position:absolute;left:14px;bottom:14px;z-index:2;display:flex;align-items:center;gap:0;background:#fff;border:1px solid #c8d3da;border-radius:6px;box-shadow:0 3px 12px #102c3d12;overflow:hidden}
.matc-image-toolbar button,.matc-image-expand{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:0;color:#102c3d;background:#fff;border:0;cursor:pointer;font:inherit}
.matc-image-toolbar button:hover:not(:disabled),.matc-image-expand:hover{color:#1644ab;background:#eef3ff}
.matc-image-toolbar button:disabled{opacity:.35;cursor:default}
.matc-image-toolbar output{width:53px;min-width:24px;flex-shrink:1;text-align:center;color:#344d5d;font-size:12px;font-variant-numeric:tabular-nums}
.matc-image-toolbar .matc-original-size{width:auto;min-width:48px;padding-inline:10px;border-left:1px solid #d8e1e5;font-size:12px}
.matc-image-expand{position:absolute;top:14px;right:14px;z-index:2;border:1px solid #c8d3da;border-radius:4px}
.matc-image-tools :is(button,[tabindex]):focus-visible{outline:3px solid #1644ab;outline-offset:-3px}
.matc-image-error{padding:24px;color:#526571;font-size:14px}
.matc-photo-dialog .gallery-full-image{padding:0;overflow:hidden;background:#fff;display:block}
.matc-photo-gallery .gallery-stage{padding:0;touch-action:auto}
.matc-photo-gallery .gallery-controls button{display:flex;justify-content:center;align-items:center}
.matc-photo-gallery .gallery-dialog-head>button{display:flex;align-items:center;justify-content:center;width:44px;height:44px}
.mp-main-product-image:has(>.matc-image-tools){padding:0;background:#fff}
.mp-main-product-image>.matc-image-tools{height:420px}
.mp-image-dialog .mp-viewer-stage.matc-zoom-stage{display:block;padding:0;overflow:hidden;background:#fff}
.mp-viewer-stage.matc-zoom-stage>.matc-image-tools{height:100%}
.matc-home .matc-home-hero>figure.matc-home-photo{padding:0;background:#102c3d;box-shadow:none;overflow:hidden;border:1px solid #46606e}
.matc-home .matc-home-hero>figure.matc-home-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.matc-home .matc-home-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:0;color:#eff5f7;background:#102c3d;font-size:13px;line-height:1.5}
.matc-home .matc-home-photo figcaption::after{content:'MATC';color:#eff5f7;font-weight:700;font-size:12px;letter-spacing:.06em}
@media(max-width:760px){.matc-image-toolbar{left:8px;bottom:8px;max-width:calc(100% - 16px)}.matc-image-expand{top:8px;right:8px}.mp-main-product-image>.matc-image-tools{height:320px}.matc-photo-dialog .gallery-dialog-foot{gap:10px}.matc-home .matc-home-photo figcaption{padding:13px 15px;font-size:12px}.matc-home .matc-home-hero>figure.matc-home-photo{margin-top:28px}}
