/* Original KR child-theme palette and the published CTA variants.
 * Hero: tf-cta-button-2; how-to: tf-cta-button-3; cards: home-product-widget.
 * Keep disabled WooCommerce buttons inert, including on touch devices.
 */
body.kr-storefront .kr-button,
body.kr-storefront .kr-purchase .single_add_to_cart_button{
    transition:background-color .3s,color .3s,border-color .3s,box-shadow .3s;
}
body.kr-storefront .kr-button.kr-button--hero{
    background:var(--kr-ink);color:var(--kr-paper);border:2px solid var(--kr-ink);
    box-shadow:0 0 15px -5px var(--kr-accent);
}
.kr-button--hero .kr-button-highlight{color:var(--kr-accent);transition:color .3s}
body.kr-storefront .kr-button.kr-button--hero:is(:hover,:focus-visible){
    background:var(--kr-accent);border-color:var(--kr-accent);color:var(--kr-paper);
}
.kr-button--hero:is(:hover,:focus-visible) .kr-button-highlight{color:var(--kr-ink)}
body.kr-storefront .kr-button.kr-button--accent,
body.kr-storefront .kr-purchase .single_add_to_cart_button{
    background:var(--kr-accent);border-color:var(--kr-accent);color:var(--kr-paper);
    box-shadow:0 0 15px -5px var(--kr-accent);
}
body.kr-storefront .kr-button.kr-button--accent:not(:disabled):is(:hover,:focus-visible),
body.kr-storefront .kr-purchase .single_add_to_cart_button:not(:disabled):not(.disabled):is(:hover,:focus-visible){
    background:var(--kr-ink);border-color:var(--kr-ink);color:var(--kr-paper);
}
body.kr-storefront .kr-how .kr-button.kr-button--gold{
    background:var(--kr-gold);border:2px solid var(--kr-gold);color:var(--kr-paper);
    box-shadow:0 10px 10px var(--kr-gold40);
}
body.kr-storefront .kr-how .kr-button.kr-button--gold:is(:hover,:focus-visible){
    background:var(--kr-ink);border-color:var(--kr-ink);color:var(--kr-paper);
}
/* Same shared CTA structure and transition; only the order palette differs. */
body.kr-storefront .kr-button.kr-button--gold-cta{
    background:var(--kr-gold);border:2px solid var(--kr-gold);color:var(--kr-ink);
    box-shadow:0 0 15px -5px var(--kr-gold);
}
body.kr-storefront .kr-button.kr-button--gold-cta:is(:hover,:focus-visible){
    background:var(--kr-ink);border-color:var(--kr-ink);color:var(--kr-gold);
}
body.kr-storefront .kr-button:disabled,
body.kr-storefront .kr-purchase .single_add_to_cart_button:is(:disabled,.disabled){
    opacity:.5;cursor:not-allowed;box-shadow:none;
}
body.kr-storefront .kr-button:focus-visible,
body.kr-storefront .kr-purchase .single_add_to_cart_button:focus-visible{
    outline:3px solid var(--kr-accent);outline-offset:4px;
}
.kr-home-hero .kr-stars{color:var(--kr-accent)}
.kr-cart-link .kr-cart-count{background:var(--kr-accent);color:var(--kr-paper)}
.kr-color.is-current .kr-swatch{outline-color:var(--kr-accent)}
@media(prefers-reduced-motion:reduce){
    body.kr-storefront .kr-button,
    body.kr-storefront .kr-button .kr-button-highlight,
    body.kr-storefront .kr-purchase .single_add_to_cart_button{transition:none}
}
