/* Scroll reveal. assets/js/reveal.js tags blocks below the first screen with .gnx-rv and adds .in as they
   scroll into view. Nothing is hidden unless that script runs, so with scripting off the page simply shows.

   The timing is the one the WooCommerce product pages already use (their own .rv rules in
   template-product-page.php), so every page eases in the same way: 28px up, 0.8s.
   "body .gnx-rv" outranks a single-class rule, so a card's own transition cannot cut the fade short. */
body .gnx-rv {
    opacity: 0;
    transform: translateY(28px);
}
/* The transition lives on the revealed state, so the block is hidden instantly when it is tagged and
   only the reveal itself is animated. */
body .gnx-rv.in {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    body .gnx-rv, body .gnx-rv.in { opacity: 1; transform: none; transition: none; }
}
/* Printing and saving as PDF must show everything, scrolled or not. */
@media print {
    body .gnx-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}
