/* Targeted specific Elementor sticky classes and general header sticking classes */
.elementor-sticky--active .elementor-button,
.elementor-sticky--active .elementor-widget-button .elementor-button,
.ast-header-sticky-active .elementor-button {
    color: #000000 !important;
    border-color: #000000 !important;
}

.elementor-sticky--active .elementor-button .elementor-button-icon,
.elementor-sticky--active .elementor-widget-button .elementor-button .elementor-button-icon,
.ast-header-sticky-active .elementor-button .elementor-button-icon {
    color: #000000 !important;
}

/* Ensure text inside button spans is also black */
.elementor-sticky--active .elementor-button .elementor-button-text,
.ast-header-sticky-active .elementor-button .elementor-button-text {
    color: #000000 !important;
}

/* Target Astra specific buttons if they are used instead of Elementor buttons */
.ast-header-sticky-active .ast-custom-button {
    color: #000000 !important;
    border-color: #000000 !important;
}