html.mp-gallery-open,html.mp-gallery-open body{overflow:hidden!important;overscroll-behavior:none;scroll-behavior:auto!important}
.page-product .mp-root.mp-product .mp-full-gallery{position:fixed;inset:0;z-index:500;width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--mp-viewer-background);color:var(--mp-text-color);font-family:inherit;--mp-viewer-thumb-actual:var(--mp-viewer-thumb-size)}
.page-product .mp-root.mp-product .mp-full-gallery,.page-product .mp-root.mp-product .mp-full-gallery *{box-sizing:border-box}
.page-product .mp-root.mp-product .mp-full-gallery [hidden]{display:none!important}
@supports(height:100dvh){.page-product .mp-root.mp-product .mp-full-gallery{height:100dvh}}
.page-product .mp-root.mp-product .mp-full-gallery:not([open]){display:none!important}
.page-product .mp-root.mp-product .mp-full-gallery[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.page-product .mp-root.mp-product .mp-full-gallery::backdrop{background:var(--mp-viewer-background)}
.page-product .mp-root.mp-product .mp-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:calc(var(--mp-viewer-header-height) + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0;border-bottom:1px solid var(--mp-viewer-divider);background:var(--mp-viewer-background);direction:rtl}
.page-product .mp-root.mp-product .mp-viewer-header h2{flex:1;min-width:0;overflow-wrap:anywhere;margin:0;padding:0;font-size:var(--mp-viewer-title-font);font-weight:var(--mp-viewer-title-weight);line-height:1.6;color:var(--mp-text-color)}
.page-product .mp-root.mp-product .mp-viewer-header button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;min-height:44px;padding:0;margin-inline-end:-8px;border:0;background:none;color:var(--mp-text-color);font:inherit;cursor:pointer}
.page-product .mp-root.mp-product .mp-viewer-header button span{font-size:32px;font-weight:400;line-height:1}
.page-product .mp-root.mp-product .mp-viewer-stage{position:relative;min-width:0;min-height:0;padding:var(--mp-viewer-image-top) var(--mp-viewer-image-padding) 16px;overflow:hidden;touch-action:pan-y pinch-zoom}
.page-product .mp-root.mp-product .mp-viewer-image-slot{display:flex;align-items:flex-start;justify-content:center;width:100%;height:100%;min-height:0}
.page-product .mp-root.mp-product .mp-viewer-image-slot picture{display:block;width:100%;height:100%;max-width:var(--mp-viewer-max-image-width);max-height:calc(100vw - var(--mp-viewer-image-padding)*2);margin:0}
.page-product .mp-root.mp-product .mp-viewer-image-slot img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top;max-width:100%;border:0;border-radius:0;user-select:none;-webkit-user-drag:none}
.page-product .mp-root.mp-product .mp-viewer-status{position:absolute;inset:var(--mp-viewer-image-top) 16px auto;margin:0;text-align:center;font-size:12px;font-weight:400;line-height:1.8;color:var(--mp-muted-color)}
.page-product .mp-root.mp-product .mp-viewer-footer{display:block;min-width:0;padding:0 0 env(safe-area-inset-bottom,0px);background:var(--mp-viewer-background);border:0;margin:0}
.page-product .mp-root.mp-product .mp-viewer-counter{margin:0;padding:8px 16px;font-size:var(--mp-viewer-counter-font);font-weight:var(--mp-viewer-counter-weight);line-height:1.8;text-align:start;color:var(--mp-viewer-accent)}
.page-product .mp-root.mp-product .mp-viewer-thumbnails{display:flex;align-items:center;gap:var(--mp-viewer-thumb-gap);overflow-x:auto;overflow-y:hidden;direction:rtl;padding:8px 12px 16px;scrollbar-width:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain;touch-action:pan-x pinch-zoom}
.page-product .mp-root.mp-product .mp-viewer-thumbnails::-webkit-scrollbar{display:none}
.page-product .mp-root.mp-product .mp-viewer-thumb{flex:0 0 var(--mp-viewer-thumb-actual);width:var(--mp-viewer-thumb-actual);height:var(--mp-viewer-thumb-actual);min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:6px;border:1px solid var(--mp-viewer-divider);border-radius:var(--mp-viewer-thumb-radius);background:var(--mp-viewer-thumb-background);scroll-snap-align:center;cursor:pointer}
.page-product .mp-root.mp-product .mp-viewer-thumb.is-active{border-color:var(--mp-viewer-accent);background:var(--mp-viewer-selected-background)}
.page-product .mp-root.mp-product .mp-viewer-thumb img{display:block;width:100%;height:100%;object-fit:contain;border-radius:max(0px,calc(var(--mp-viewer-thumb-radius) - 3px));pointer-events:none;user-select:none;-webkit-user-drag:none}
.page-product .mp-root.mp-product .mp-full-gallery :is(button,[tabindex]):focus-visible{outline:2px solid var(--mp-viewer-accent);outline-offset:-3px}
.page-product .mp-root.mp-product[data-mp-viewer-show-counter=false] .mp-viewer-counter,.page-product .mp-root.mp-product[data-mp-viewer-show-thumbnails=false] .mp-viewer-thumbnails{display:none}
@media(max-height:500px){.page-product .mp-root.mp-product .mp-full-gallery{--mp-viewer-thumb-actual:min(var(--mp-viewer-thumb-size),64px)}.page-product .mp-root.mp-product .mp-viewer-stage{padding-block:8px}.page-product .mp-root.mp-product .mp-viewer-counter{padding-block:4px}.page-product .mp-root.mp-product .mp-viewer-thumbnails{padding-block:4px}}
