.pjhy-gallery img,.pjhy-product-header>a{cursor:zoom-in}.pjhy-gallery img:focus-visible{outline:3px solid #245348;outline-offset:-3px}
.pjhy-photo-modal{box-sizing:border-box;width:min(1000px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #ccc;border-radius:5px;background:#fff;color:#252525;overflow:auto;overscroll-behavior:contain}
.pjhy-photo-modal::backdrop{background:rgba(0,0,0,.75)}
.pjhy-photo-modal>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:#fff;border-bottom:1px solid #ddd}
.pjhy-photo-modal h2{margin:0;font-family:inherit;font-size:20px;line-height:1.35}
.pjhy-photo-modal button{box-sizing:border-box;font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer;min-height:44px;padding:10px 16px;border:1px solid #74866c;background:#edf3e9;color:#243c2b;white-space:normal}
.pjhy-photo-modal button:focus-visible{outline:3px solid #245348;outline-offset:2px}.pjhy-photo-modal>header button{flex-shrink:0}
.pjhy-photo-content{position:relative;padding:16px 48px;min-width:0}
.pjhy-photo-content img{display:block;width:100%;height:min(65dvh,720px);object-fit:contain;background:#fff;touch-action:pan-y pinch-zoom}
.pjhy-photo-content button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;font-size:36px;border:0;background:rgba(255,255,255,.7);color:#000}
.pjhy-photo-content [data-photo-prev]{left:4px}.pjhy-photo-content [data-photo-next]{right:4px}.pjhy-photo-content button:disabled{opacity:.25;cursor:default}
.pjhy-photo-counter{text-align:center;margin:0;padding:12px 16px;border-top:1px solid #ddd}
@media(max-width:767px){.pjhy-photo-modal>header{padding:12px}.pjhy-photo-modal h2{font-size:17px}.pjhy-photo-content{padding:10px 44px}.pjhy-photo-content img{height:58dvh}}



