/* HOTFIX7-R3C — Featured Templates viewer-state color parity.
 * Scoped to the Home Featured section only. Card geometry and Preview styling
 * remain owned by the existing Home/Elementor presentation.
 */

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-apply {
    border-color: rgba(57,117,83,.38) !important;
    background: rgba(242,250,245,.98) !important;
    color: #397553 !important;
    box-shadow: 0 2px 7px rgba(57,117,83,.055) !important;
}

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-apply:hover,
#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-apply:focus-visible {
    border-color: rgba(40,91,63,.52) !important;
    background: rgba(232,246,237,.99) !important;
    color: #285b3f !important;
    box-shadow: 0 3px 9px rgba(57,117,83,.08) !important;
}

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-applied {
    border: 1px solid rgba(57,117,83,.26) !important;
    background: rgba(239,248,243,.96) !important;
    color: #397553 !important;
    cursor: default !important;
    box-shadow: none !important;
}

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-upgrade {
    border-color: rgba(162,103,35,.42) !important;
    background: rgba(255,251,244,.96) !important;
    color: #936020 !important;
    box-shadow: 0 2px 7px rgba(117,76,28,.055) !important;
}

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-upgrade:hover,
#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-upgrade:focus-visible {
    border-color: rgba(147,96,32,.72) !important;
    background: #fff8ed !important;
    color: #74430e !important;
    box-shadow: 0 3px 9px rgba(117,76,28,.08) !important;
}

#templates .invitea-featured-templates .invitea-public-template-card__button--catalog-unavailable {
    border-color: rgba(95,85,90,.16) !important;
    background: #f7f4f5 !important;
    color: #8a8085 !important;
    cursor: default !important;
    box-shadow: none !important;
}
