.product-gallery{--pg-green:#153e35;--pg-lime:#c9e54d;color:var(--pg-green);background:#f6f8f1;box-sizing:border-box;border:1px solid #9bb4a5;border-radius:20px;padding:0;width:min(1180px,calc(100vw - 24px));max-width:none;max-height:94dvh;overflow:auto;font:15px/1.4 system-ui,sans-serif;box-shadow:0 22px 90px #08271d50}.product-gallery *{box-sizing:border-box}.product-gallery::backdrop{background:#08271dcc}.product-gallery .pg-header{position:sticky;top:0;z-index:3;background:var(--pg-green);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}.product-gallery .pg-heading{min-width:0}.product-gallery h2{margin:0;font-size:19px;overflow-wrap:anywhere}.product-gallery .pg-subtitle{margin:3px 0 0;font-size:13px;color:#dce8cf}.product-gallery button{font:inherit;min-height:42px;min-width:42px;border:1px solid #9bb4a5;border-radius:10px;background:white;color:var(--pg-green);padding:8px 13px;cursor:pointer}.product-gallery button:disabled{opacity:.45;cursor:default}.product-gallery button:focus-visible,.product-gallery [tabindex]:focus-visible{outline:3px solid #92b32a;outline-offset:3px}.product-gallery .pg-close{background:var(--pg-lime);font-weight:650;white-space:nowrap;flex-shrink:0}.product-gallery .pg-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;padding:10px 14px}.product-gallery .pg-counter{font-variant-numeric:tabular-nums;min-width:70px;text-align:center;font-weight:650}.product-gallery .pg-stage{position:relative;display:grid;place-items:center;min-height:260px;height:min(55dvh,600px);margin:0 16px;background:#fff;border:1px solid #d9e2d3;border-radius:14px;overflow:auto;touch-action:pan-y}.product-gallery .pg-stage.pg-zoomed{touch-action:pan-x pan-y}.product-gallery .pg-image-wrap{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0}.product-gallery .pg-image{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}.product-gallery .pg-image[hidden]{display:none}.product-gallery .pg-feedback{text-align:center;max-width:440px;padding:18px}.product-gallery .pg-feedback p{margin:0 0 10px}.product-gallery .pg-thumbs{display:flex;gap:9px;overflow-x:auto;padding:14px 18px 18px;scroll-padding-inline:18px}.product-gallery .pg-thumb{flex:0 0 70px;width:70px;height:70px;padding:4px;border:2px solid #d9e2d3;position:relative;background:#fff}.product-gallery .pg-thumb[aria-current=true]{border-color:var(--pg-green);box-shadow:0 0 0 2px var(--pg-lime)}.product-gallery .pg-thumb img{width:100%;height:100%;object-fit:contain;display:block}.product-gallery .pg-thumb-number{position:absolute;bottom:2px;right:2px;font-size:10px;line-height:15px;min-width:15px;border-radius:4px;background:#edf4e7;color:var(--pg-green)}.product-gallery .pg-live{margin:0;padding:0 18px 4px;min-height:24px;text-align:center;font-size:13px}.product-gallery [hidden]{display:none!important}@media(max-width:600px){.product-gallery{width:calc(100vw - 12px);max-height:96dvh;border-radius:13px}.product-gallery .pg-header{padding:10px}.product-gallery h2{font-size:16px}.product-gallery .pg-stage{margin:0 8px;height:49dvh;min-height:200px}.product-gallery .pg-tools{gap:6px;padding:8px}.product-gallery button{padding:8px 10px}.product-gallery .pg-thumbs{padding:12px 10px}.product-gallery .pg-thumb{flex-basis:58px;width:58px;height:58px}}@media(prefers-reduced-motion:reduce){.product-gallery *{scroll-behavior:auto!important}}
