.modal{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:64px}.modal .close{position:sticky;top:0;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:8px;line-height:1;background:var(--cream);border:1px solid #173d7830;border-radius:50%;margin:0 0 8px 12px}.modal .close:focus-visible{outline-offset:2px}.modal :is(a,button,summary){scroll-margin-top:64px}html:has(#product[open]),body:has(#product[open]){overflow:hidden}@media(max-width:650px){.modal{padding:20px;width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.modal h2{overflow-wrap:anywhere}}
