:root{--popup-edge:32px;--popup-height:min(84dvh, calc(100dvh - 2 * var(--popup-edge)))}@media (width<=640px){:root{--popup-edge:16px}}:is(dialog,.an-modal,[data-popup-panel]){box-sizing:border-box;overscroll-behavior:contain;max-width:calc(100vw - 2 * var(--popup-edge))!important;max-height:var(--popup-height)!important}[data-popup-panel][data-popup-open]{box-shadow:var(--advanta-menu-shadow);width:min(560px, calc(100% - 2 * var(--popup-edge)))!important;max-height:min(var(--popup-height), calc(100% - 32px))!important;border:1px solid var(--advanta-border)!important;border-radius:20px!important;inset:50% auto auto 50%!important;overflow-y:auto!important;transform:translate(-50%,-50%)!important}[data-popup-panel][data-popup-open=false]{display:none!important}[data-popup-bounds]{box-sizing:border-box;overscroll-behavior:contain;max-width:min(var(--popup-width,1000px), calc(100vw - 2 * var(--popup-edge)))!important;max-height:var(--popup-height)!important;overflow-y:auto!important}@media (width>=768px){html body dialog[open]:not(.mobile-nav-drawer){position:fixed;inset:0;margin:auto!important}}@media (width<=767px){:root{--popup-edge:0px;--popup-height:85dvh}html body :is(dialog[open],.an-modal,[data-popup-panel][data-popup-open=true],[data-popup-bounds]):not([data-popup-open=false]):not(.mobile-nav-drawer){box-sizing:border-box;overscroll-behavior:contain;animation:.24s ease-out mobile-sheet-enter;border-radius:20px 20px 0 0!important;width:100%!important;max-width:100vw!important;max-height:85dvh!important;margin:0!important;position:fixed!important;inset:auto 0 0!important;transform:none!important}.product-preview__body{max-height:calc(85dvh - 30px)!important}.checkout-popup__body{min-height:0}dialog::backdrop{background:#000a}@keyframes mobile-sheet-enter{0%{translate:0 100%}to{translate:0}}}@media (width<=767px) and (prefers-reduced-motion:reduce){html body :is(dialog[open],.an-modal,[data-popup-panel],[data-popup-bounds]){animation:none!important}}
