/* Post-Purchase Page: JS states for the platform module behaviour (see script.js) */

/* tab bar offset before script.js measures the header (72px header, +32px under the WP admin bar) */
html { --pf-hdr: 72px; }
@media (min-width: 783px) { html:has(> body.admin-bar) { --pf-hdr: 104px; } }

/* module corner dots: script.js draws them on a canvas (hover glow + click to dispatch), so the CSS dots step aside */
.pf-mp-dots.has-grid, .pf-hero-dots.has-grid { background-image: none !important; }
.pf-mp-grid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* the light running along the module grid lines (fixed canvas drawn by script.js; rails only exist from tablet up) */
.pf-comet { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; }
@media (max-width: 767.98px) { .pf-comet { display: none; } }
