/* Shared, single-cycle arrow feedback. Direction classes come from pff_icon(). */
/* Link-card arrows belong to their title row, never an isolated footer row. */
.link-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.link-heading>.icon{flex:none;width:24px;height:24px;margin-top:.12em}
.icon--arrow-down, .icon--arrow-up-right { transition: none; }
.icon--expand { transform-origin: center; transform-box: view-box; transition: none; }
@keyframes pff-icon-expand {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(.85); }
    65% { transform: scale(1.15); }
}
@keyframes pff-arrow-down {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(0, 4px); }
    65% { transform: translate(0, -8px); }
}
@keyframes pff-arrow-diagonal {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-4px, 4px); }
    65% { transform: translate(8px, -8px); }
}
@keyframes pff-arrow-left {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(4px); }
    65% { transform: translateX(-8px); }
}
@keyframes pff-arrow-right {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    65% { transform: translateX(8px); }
}
@media (prefers-reduced-motion: no-preference) {
    dialog .icon--close { transform-origin: center; transform-box: view-box; transition: transform .32s cubic-bezier(.4,0,.2,1); }
    dialog button:is(:hover, :focus-visible) .icon--close { transform: rotate(90deg); }
    :is(a, button, summary):is(:hover, :focus-visible) .icon--arrow-left {
        animation: pff-arrow-left .64s cubic-bezier(.4,0,.2,1);
    }
    :is(a, button, summary):is(:hover, :focus-visible) .icon--arrow-right {
        animation: pff-arrow-right .64s cubic-bezier(.4,0,.2,1);
    }
    :is(a, button):is(:hover, :focus-visible) .icon--expand {
        animation: pff-icon-expand .64s cubic-bezier(.4,0,.2,1);
    }
    :is(a, button, summary, .collection-swatch):is(:hover, :focus-visible) .icon--arrow-down {
        animation: pff-arrow-down .64s cubic-bezier(.4,0,.2,1);
    }
    :is(a, button, summary, .collection-swatch):is(:hover, :focus-visible) .icon--arrow-up-right {
        animation: pff-arrow-diagonal .64s cubic-bezier(.4,0,.2,1);
    }
}
