/* ============================================================
BUTTON STATE SAFETY — v2.5.8.22
Only protects anchor-based CTA text from theme link-state bleed.
Native page CSS remains the source of truth for button design.
============================================================ */

/* Product page: keep each action's intended contrast. */
.scp-page .scp-add-cart,
.scp-page .scp-add-cart:hover,
.scp-page .scp-add-cart:focus,
.scp-page .scp-add-cart:active{
  color:#fff !important;
}

.scp-page .scp-buy-now,
.scp-page .scp-buy-now:hover,
.scp-page .scp-buy-now:focus,
.scp-page .scp-buy-now:active{
  color:var(--brown) !important;
}
.scp-page .scp-buy-now:disabled{
  color:#8e7f75 !important;
}

.scp-page a.scp-related-button,
.scp-page a.scp-related-button:link,
.scp-page a.scp-related-button:visited,
.scp-page a.scp-related-button:hover,
.scp-page a.scp-related-button:focus,
.scp-page a.scp-related-button:active{
  color:#fff !important;
  text-decoration:none !important;
}

/* Thank-you page CTAs. */
.sc-thankyou a.sc-cta-btn,
.sc-thankyou a.sc-cta-btn:link,
.sc-thankyou a.sc-cta-btn:visited,
.sc-thankyou a.sc-cta-btn:hover,
.sc-thankyou a.sc-cta-btn:focus,
.sc-thankyou a.sc-cta-btn:active{
  color:#fff !important;
  text-decoration:none !important;
}
.sc-thankyou a.sc-cta-btn--outline,
.sc-thankyou a.sc-cta-btn--outline:link,
.sc-thankyou a.sc-cta-btn--outline:visited,
.sc-thankyou a.sc-cta-btn--outline:hover,
.sc-thankyou a.sc-cta-btn--outline:focus,
.sc-thankyou a.sc-cta-btn--outline:active{
  color:#6f4a33 !important;
}

/* Cancel / failed-payment page CTAs. */
.sc-cancel-page a.sc-cancel-btn{
  text-decoration:none !important;
}
.sc-cancel-page a.sc-cancel-btn-primary,
.sc-cancel-page a.sc-cancel-btn-primary:link,
.sc-cancel-page a.sc-cancel-btn-primary:visited,
.sc-cancel-page a.sc-cancel-btn-primary:hover,
.sc-cancel-page a.sc-cancel-btn-primary:focus,
.sc-cancel-page a.sc-cancel-btn-primary:active{
  color:#fff !important;
}
.sc-cancel-page a.sc-cancel-btn-secondary,
.sc-cancel-page a.sc-cancel-btn-secondary:link,
.sc-cancel-page a.sc-cancel-btn-secondary:visited,
.sc-cancel-page a.sc-cancel-btn-secondary:hover,
.sc-cancel-page a.sc-cancel-btn-secondary:focus,
.sc-cancel-page a.sc-cancel-btn-secondary:active{
  color:#7a573f !important;
}
.sc-cancel-page a.sc-cancel-btn-secondary:hover,
.sc-cancel-page a.sc-cancel-btn-secondary:focus{
  color:#63412d !important;
}

/* Cart anchor CTA. */
.stcart a.stcart-checkout,
.stcart a.stcart-checkout:link,
.stcart a.stcart-checkout:visited,
.stcart a.stcart-checkout:hover,
.stcart a.stcart-checkout:focus,
.stcart a.stcart-checkout:active{
  color:#fff !important;
  text-decoration:none !important;
}

/* My Account anchor actions. */
.st-account a.st-account-order-btn,
.st-account a.st-account-order-btn:link,
.st-account a.st-account-order-btn:visited,
.st-account a.st-account-order-btn:hover,
.st-account a.st-account-order-btn:focus,
.st-account a.st-account-order-btn:active,
.st-account a.st-download-btn,
.st-account a.st-download-btn:link,
.st-account a.st-download-btn:visited,
.st-account a.st-download-btn:hover,
.st-account a.st-download-btn:focus,
.st-account a.st-download-btn:active{
  color:#fff !important;
  text-decoration:none !important;
}

/* Header drawer CTA links. */
.stacy-header-wrap a.stacy-button--primary,
.stacy-header-wrap a.stacy-button--primary:link,
.stacy-header-wrap a.stacy-button--primary:visited,
.stacy-header-wrap a.stacy-button--primary:hover,
.stacy-header-wrap a.stacy-button--primary:focus,
.stacy-header-wrap a.stacy-button--primary:active{
  color:#fff !important;
  text-decoration:none !important;
}
.stacy-header-wrap a.stacy-button--outline,
.stacy-header-wrap a.stacy-button--outline:link,
.stacy-header-wrap a.stacy-button--outline:visited{
  color:#75533e !important;
  text-decoration:none !important;
}
.stacy-header-wrap a.stacy-button--outline:hover,
.stacy-header-wrap a.stacy-button--outline:focus,
.stacy-header-wrap a.stacy-button--outline:active{
  color:#fff !important;
  text-decoration:none !important;
}
