/* All ordinary storefront buttons follow the selected theme primary color. */
body.suntk-buttons-follow-theme:not(.wp-admin) .suntk-button,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce a.button,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce button.button,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce input.button,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce #respond input#submit,
body.suntk-buttons-follow-theme:not(.wp-admin) button.single_add_to_cart_button,
body.suntk-buttons-follow-theme:not(.wp-admin) .wc-block-components-button,
body.suntk-buttons-follow-theme:not(.wp-admin) .wp-element-button {
    background:var(--suntk-primary)!important;
    border-color:var(--suntk-primary)!important;
    color:var(--suntk-button-text,#fff)!important;
}
body.suntk-buttons-follow-theme:not(.wp-admin) .suntk-button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce a.button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce button.button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce input.button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .woocommerce #respond input#submit:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) button.single_add_to_cart_button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .wc-block-components-button:hover,
body.suntk-buttons-follow-theme:not(.wp-admin) .wp-element-button:hover {
    background:var(--suntk-primary-dark)!important;
    border-color:var(--suntk-primary-dark)!important;
    color:#fff!important;
}

/* Preserve explicit soft and outline styles while keeping the selected theme hue. */
body.suntk-buttons-follow-theme.suntk-button-style-outline:not(.wp-admin) .suntk-button,
body.suntk-buttons-follow-theme.suntk-card-button-outline:not(.wp-admin) .suntk-product-card__actions .button,
body.suntk-buttons-follow-theme.suntk-purchase-button-outline:not(.wp-admin) .single_add_to_cart_button {
    background:#fff!important;
    color:var(--suntk-primary)!important;
    border:1px solid var(--suntk-primary)!important;
}
body.suntk-buttons-follow-theme.suntk-button-style-soft:not(.wp-admin) .suntk-button,
body.suntk-buttons-follow-theme.suntk-card-button-soft:not(.wp-admin) .suntk-product-card__actions .button,
body.suntk-buttons-follow-theme.suntk-purchase-button-soft:not(.wp-admin) .single_add_to_cart_button {
    background:color-mix(in srgb,var(--suntk-primary) 13%,white)!important;
    color:var(--suntk-primary)!important;
    border-color:color-mix(in srgb,var(--suntk-primary) 25%,white)!important;
}
body.suntk-buttons-follow-theme.suntk-button-style-gradient:not(.wp-admin) .suntk-button,
body.suntk-buttons-follow-theme.suntk-card-button-gradient:not(.wp-admin) .suntk-product-card__actions .button,
body.suntk-buttons-follow-theme.suntk-purchase-button-gradient:not(.wp-admin) .single_add_to_cart_button {
    background:linear-gradient(135deg,var(--suntk-primary),var(--suntk-primary-dark))!important;
}

/* Hero colors are intentionally isolated from the selected storefront palette. */
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero {
    background:linear-gradient(135deg,var(--suntk-hero-bg-start),var(--suntk-hero-bg-end))!important;
    color:var(--suntk-hero-text)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero h1,
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero__stats b {
    color:var(--suntk-hero-text)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero__content>p,
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero__stats span {
    color:var(--suntk-hero-muted)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero__kicker {
    color:color-mix(in srgb,var(--suntk-hero-text) 85%,var(--suntk-hero-accent))!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero .suntk-button {
    background:var(--suntk-hero-button-bg)!important;
    border-color:var(--suntk-hero-button-bg)!important;
    color:var(--suntk-hero-button-text)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero .suntk-button:hover {
    filter:brightness(.96);
    color:var(--suntk-hero-button-text)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero .suntk-button--ghost {
    background:transparent!important;
    border-color:color-mix(in srgb,var(--suntk-hero-secondary-button-text) 58%,transparent)!important;
    color:var(--suntk-hero-secondary-button-text)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero-nav {
    color:var(--suntk-hero-accent)!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero-nav:hover {
    background:var(--suntk-hero-accent)!important;
    color:#fff!important;
}
body.suntk-hero-independent-colors .suntk-hero-slider .suntk-hero-dots button.is-active {
    background:var(--suntk-hero-accent)!important;
}
body.suntk-hero-independent-colors .suntk-hero-button-outline .suntk-hero__actions .suntk-button {
    background:transparent!important;
    border-color:var(--suntk-hero-accent)!important;
    color:var(--suntk-hero-accent)!important;
}
body.suntk-hero-independent-colors .suntk-hero-button-glass .suntk-hero__actions .suntk-button {
    background:color-mix(in srgb,var(--suntk-hero-accent) 82%,transparent)!important;
    color:#fff!important;
}
