/* All four corners stay clipped while content scrolls inside the surface. */
dialog.pv-popup-polished,.pv-mega.pv-popup-polished{padding:0!important;border-radius:22px!important;overflow:hidden!important;isolation:isolate;--pv-popup-offset:32px;max-height:calc(100dvh - var(--pv-popup-offset))!important}
.pv-popup-body{box-sizing:border-box;padding:40px;max-height:calc(100dvh - var(--pv-popup-offset));overflow:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
.pv-popup-overflow>.pv-popup-body{max-height:calc(100dvh - var(--pv-popup-offset) - 52px)}
.pv-popup-polished,.pv-popup-polished *{scrollbar-width:none;-ms-overflow-style:none}
.pv-popup-polished::-webkit-scrollbar,.pv-popup-polished *::-webkit-scrollbar{display:none;width:0;height:0}
.pv-popup-scroll-footer{display:none;height:52px;box-sizing:border-box;padding:8px 14px;justify-content:flex-end;align-items:center;background:var(--pv-popup-paper,#f4f3f1);flex:none}
.pv-popup-overflow>.pv-popup-scroll-footer{display:flex}
.pv-popup-polished .pv-popup-scroll-cue{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #fc395f55;border-radius:50%;background:#fc395f;color:#111;cursor:pointer;flex:none;transition:background .2s,transform .2s}
.pv-popup-scroll-cue[hidden]{display:none!important}.pv-popup-scroll-cue svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.pv-popup-scroll-cue:hover{transform:translateY(2px);background:#ff5476}.pv-popup-scroll-cue:focus-visible{outline:2px solid #111;outline-offset:3px}
.pv-popup-polished>.dialog-close,.pv-popup-polished>.pact-dialog-close,.pv-popup-polished>.visual-close{position:absolute;z-index:4;top:12px;right:12px;margin:0;min-width:44px;min-height:44px;background:var(--pv-popup-paper,#eee);border-radius:999px}
.pv-demo-access .pv-popup-body>img{width:160px;height:auto;display:block}
.visual-dialog .pv-popup-body{padding:64px 25px 18px;overflow:hidden}
.visual-dialog .visual-scroll{max-height:calc(100dvh - 240px);overflow:auto;overscroll-behavior:contain;border-radius:12px}
.visual-dialog .pv-popup-body>p{font-size:11px;line-height:1.5;letter-spacing:0;margin:15px 0 0}
.pv-mega.pv-popup-polished{--pv-popup-offset:100px}.pv-mega .pv-popup-body{padding:0}
@media(max-width:600px){.pv-popup-body{padding:30px 22px}.visual-dialog .pv-popup-body{padding:60px 14px 18px}.pv-mega.pv-popup-polished{--pv-popup-offset:88px}.pv-popup-scroll-footer{padding-right:12px}}
@media(prefers-reduced-motion:reduce){.pv-popup-scroll-cue{transition:none}.pv-popup-scroll-cue:hover{transform:none}}
html:has(dialog[open]),body:has(dialog[open]){scrollbar-width:none}html:has(dialog[open])::-webkit-scrollbar,body:has(dialog[open])::-webkit-scrollbar{display:none;width:0;height:0}
.pv-mega.pv-popup-polished{border-top-left-radius:0!important;border-top-right-radius:0!important}
dialog.pv-demo-access{background:#fff!important;--pv-popup-paper:#fff!important}
/* Fit every product graphic inside its popup at its original aspect ratio. */
.visual-dialog.pv-popup-polished{width:calc(100% - 32px)!important;max-width:1600px!important}
.visual-dialog.pv-popup-polished .pv-popup-body{padding:64px 20px 20px!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important}
.visual-dialog.pv-popup-polished .visual-scroll{display:grid;place-items:center;min-width:0;max-width:100%;max-height:none!important;overflow:hidden!important;background:transparent}
.visual-dialog.pv-popup-polished .visual-scroll img{display:block;width:100%!important;height:auto!important;min-width:0!important;max-width:100%!important;max-height:calc(100dvh - 128px)!important;object-fit:contain;object-position:center;margin:0 auto}
.visual-dialog.pv-popup-polished.is-component{max-width:1120px!important}
.visual-dialog.pv-popup-polished.is-mobile{max-width:560px!important}
.visual-dialog.pv-popup-polished.is-mobile .visual-scroll img{width:auto!important}
@media(max-width:600px){.visual-dialog.pv-popup-polished{width:calc(100% - 24px)!important}.visual-dialog.pv-popup-polished .pv-popup-body{padding:60px 12px 16px!important}.visual-dialog.pv-popup-polished .visual-scroll img{max-height:calc(100dvh - 116px)!important}}
