.journal-product-viewer{box-sizing:border-box;position:fixed;inset:0;margin:auto;border:0;border-radius:0;padding:0;width:min(86vw,86dvh,860px);height:min(86vw,86dvh,860px);max-width:94vw;max-height:92dvh;background:#f6f4f0;color:#171714;overflow:hidden;font:13px/1.4 Arial,Helvetica,sans-serif}
.journal-product-viewer[open]{display:grid;grid-template-rows:minmax(0,1fr) 56px}
.journal-product-viewer::backdrop{background:rgba(0,0,0,.6)}
.journal-product-viewer .journal-viewer-close{position:absolute;right:0;top:0;z-index:2;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:#f6f4f0;color:inherit;cursor:pointer}
.journal-product-viewer .journal-viewer-stage{min-height:0;min-width:0;display:grid;place-items:center;overflow:hidden;touch-action:pan-y pinch-zoom}
.journal-product-viewer .journal-viewer-stage img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0;padding:0;-webkit-user-drag:none;user-select:none}
.journal-product-viewer .journal-viewer-stage [hidden]{display:none}
.journal-product-viewer .journal-viewer-nav{display:flex;align-items:center;justify-content:space-between;padding:0 16px;gap:16px;min-height:56px}
.journal-product-viewer .journal-viewer-nav button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
.journal-product-viewer button:hover{background:#eae6de}.journal-product-viewer button:focus-visible{outline:2px solid #171714;outline-offset:-4px}.journal-product-viewer .journal-viewer-nav span{font-variant-numeric:tabular-nums}
@media(max-width:800px){.journal-product-viewer{width:min(94vw,440px,calc((92dvh - 100px)*.8));height:auto;aspect-ratio:auto}.journal-product-viewer[open]{grid-template-rows:44px minmax(0,1fr) 56px}.journal-product-viewer .journal-viewer-close{position:static;justify-self:end;grid-row:1}.journal-product-viewer .journal-viewer-stage{grid-row:2;aspect-ratio:4/5}.journal-product-viewer .journal-viewer-nav{grid-row:3}}
@media(max-width:800px){.journal-product-viewer{--viewer-width:min(94vw,440px,calc((92dvh - 100px)*.8));width:var(--viewer-width);height:calc(var(--viewer-width)*1.25 + 100px)}.journal-product-viewer .journal-viewer-stage{aspect-ratio:auto}}
