/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* 
 * Fix for Add to Cart button to use Primary color
 * 
 * WHY THE DEFAULT ACCENT COLOR ISN'T TAKEN:
 * 1. Woodmart config IS setting --btn-accented-bgcolor correctly in generated CSS
 * 2. However, Elementor's global secondary color (#E0B252 yellow) may override it
 * 3. CSS load order or specificity can cause Elementor styles to take precedence
 * 
 * SOLUTION: Explicitly set the accent button color to use Primary color
 */
:root {
  /* Use Primary color for accent buttons - this ensures consistency */
  --btn-accented-bgcolor: var(--wd-primary-color, #930809);
}

/* Fix for Search Submit button - remove yellow background from Elementor Secondary color, keep transparent */
button.searchsubmit {
  background-color: transparent !important;
}

.single_add_to_cart_button {
  background-color: var(--wd-primary-color, #930809) !important;
}