/* =========================================================
   v1.19 — Donate closing CTA rendering + paw-swarm repair
   =========================================================
   v1.18 correctly restored the red panel, but one selector also styled
   every span generated inside .button-white. The CTA paw swarm is built
   from spans, so that rule turned the swarm layer into a white overlay.
   Keep the button surface, content, and decorative swarm as three separate
   visual layers here.
   ========================================================= */

.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta {
    position: relative !important;
    isolation: isolate;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 248px;
    min-height: 54px;
    padding: 15px 24px;
    overflow: visible !important;
    color: #7E1112 !important;
    background: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(82, 10, 12, .24);
    text-decoration: none !important;
}

/* Keep real button content above the animated decorative paws. */
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .donation-final-cta__icon,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .donation-final-cta__label {
    position: relative;
    z-index: 4;
    color: #7E1112 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .donation-final-cta__icon {
    flex: 0 0 auto;
    font-size: 1.25rem;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .donation-final-cta__label {
    display: inline-block;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    white-space: nowrap;
}

/* The swarm wrapper must never inherit the white button surface. */
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .cta-paw-swarm {
    z-index: 2 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta .cta-paw-swarm__paw {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--paw-color, #A71B1C) !important;
}

/* Give paws a little more breathing room around this particular CTA, while
   keeping the button face completely clear. */
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .cta-paw-swarm {
    inset: -30px -34px !important;
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta .cta-paw-swarm__paw {
    opacity: .42;
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:hover .cta-paw-swarm__paw,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:focus-visible .cta-paw-swarm__paw {
    opacity: .92;
}

.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:hover,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:focus-visible {
    color: #7E1112 !important;
    background: #FFF8F1 !important;
    border-color: #FFF8F1 !important;
    box-shadow: 0 18px 42px rgba(82, 10, 12, .30);
}
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:hover > .donation-final-cta__icon,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:hover > .donation-final-cta__label,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:focus-visible > .donation-final-cta__icon,
.inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta:focus-visible > .donation-final-cta__label {
    color: #7E1112 !important;
}

@media (max-width: 620px) {
    .inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-inline: 18px;
    }
    .inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .donation-final-cta__label {
        white-space: normal;
        text-align: center;
    }
    .inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta > .cta-paw-swarm {
        inset: -24px -12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inner-page.inner-page-donate > section.section.donation-final-panel .donation-final-cta .cta-paw-swarm__paw {
        animation: none !important;
    }
}
