@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .product-catalog {
        perspective: 1000px;
    }

    .product-catalog-card.is-tilting,
    .product-catalog-card.is-tilt-resetting {
        --tilt-x: 0deg;
        --tilt-y: 0deg;
        --tilt-scale: 1;
        --glare-x: 50%;
        --glare-y: 50%;
        transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--tilt-scale));
        transform-style: preserve-3d;
    }

    .product-catalog-card.is-tilting {
        --tilt-scale: 1.02;
        z-index: 1;
        border-color: #a5c5df;
        box-shadow: 0 12px 28px rgba(28, 68, 95, .14);
        transition: none;
    }

    .product-catalog-card.is-tilt-resetting {
        transition: transform 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out;
    }

    .product-catalog-card.is-tilting::before {
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: inherit;
        background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(59, 122, 182, .08), transparent 55%);
        content: "";
        pointer-events: none;
    }
}
