/* Storefront liquid wipe page transitions */
#pt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999999;
    display: none;
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
}

#pt-overlay.pt-active {
    display: block;
}

/* Head snippet state: covers screen instantly on next page before first paint */
html.pt-covering::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--pt-bg, #00bdd6);
    z-index: 99999998;
    pointer-events: none;
    max-width: 100vw;
    max-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
    #pt-overlay,
    html.pt-covering::before {
        display: none !important;
    }
}
