/* Global action palette: primary actions are matcha green and deepen on hover. */
.tm-btn:not(.tm-btn--ghost),
.tm-btn:not(.tm-btn--ghost):visited,
.header-cta,
.header-cta:visited,
.primary-nav .mobile-menu-cta,
.primary-nav .mobile-menu-cta:visited,
.tm-form-panel .ff-btn-submit{
 background:var(--tm-matcha)!important;
 color:#fff!important;
 border-color:var(--tm-matcha)!important;
 -webkit-text-fill-color:#fff;
 box-shadow:0 10px 26px rgba(111,150,56,.22);
 transition:background-color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.tm-btn:not(.tm-btn--ghost):hover,
.tm-btn:not(.tm-btn--ghost):focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.primary-nav .mobile-menu-cta:hover,
.primary-nav .mobile-menu-cta:focus-visible,
.tm-form-panel .ff-btn-submit:hover,
.tm-form-panel .ff-btn-submit:focus{
 background:var(--tm-forest)!important;
 color:#fff!important;
 border-color:var(--tm-forest)!important;
 -webkit-text-fill-color:#fff;
 transform:translateY(-2px);
 box-shadow:0 16px 34px rgba(18,59,44,.23);
}
.tm-btn--ghost,
.tm-btn--ghost:visited{
 background:transparent!important;
 color:var(--tm-forest)!important;
 border-color:rgba(18,59,44,.24)!important;
 box-shadow:none!important;
}
.tm-btn--ghost:hover,
.tm-btn--ghost:focus-visible{
 background:var(--tm-forest)!important;
 color:#fff!important;
 border-color:var(--tm-forest)!important;
 -webkit-text-fill-color:#fff;
}
@media(prefers-reduced-motion:reduce){
 .tm-btn,.header-cta,.primary-nav .mobile-menu-cta,.tm-form-panel .ff-btn-submit{transition:none!important;transform:none!important}
}

/* Product-page final CTA on a dark panel: invert to white on hover/focus. */
.tm-product-detail .tm-pd-final__top .tm-btn:not(.tm-btn--ghost):hover,
.tm-product-detail .tm-pd-final__top .tm-btn:not(.tm-btn--ghost):focus-visible{
 background:#fff!important;
 color:var(--tm-forest)!important;
 border-color:#fff!important;
 -webkit-text-fill-color:var(--tm-forest)!important;
 box-shadow:0 16px 36px rgba(0,0,0,.2);
}
