/* ===== NEUTRALIZACION COMPLETA DE TONOS FRIOS ===== */

/* 1. WordPress core blocks - Tailwind blues → warm */
.has-text-color { color: #2D2520 !important; }
.has-background:not(.has-warm-background) { background-color: #FBF7F0 !important; }
.wp-block-cover__background { background-color: #2D2520 !important; }

/* 2. Astra theme cold backgrounds */
.ast-separate-container { background-color: #FBF7F0 !important; }
.ast-plain-container { background-color: #FBF7F0 !important; }
.ast-page-builder-template .site-content > .ast-container { background: #FBF7F0 !important; }
#page { background: #FBF7F0 !important; }
.site-content { background: #FBF7F0 !important; }
.ast-container { background: transparent !important; }

/* 3. Cold blue links → warm */
a, a:visited, .entry-content a, .ast-builder-menu-1 .menu-link,
.comment-reply-link, .ast-comment-content a {
  color: #2D2520 !important;
}
a:hover, .entry-content a:hover, .ast-builder-menu-1 .menu-link:hover,
.comment-reply-link:hover { color: #C8963E !important; }

/* 4. WordPress admin bar - neutralize */
#wpadminbar { background: #2D2520 !important; }
#wpadminbar .ab-item, #wpadminbar a.ab-item { color: rgba(255,255,255,0.8) !important; }
#wpadminbar .ab-item:hover { color: #C8963E !important; background: transparent !important; }

/* 5. Cold form elements → warm */
input, textarea, select, .wp-block-search__input {
  background: #FFFFFF !important;
  color: #2D2520 !important;
  border-color: #E8E2D8 !important;
}
input:focus, textarea:focus, select:focus,
.wp-block-search__input:focus {
  border-color: #C8963E !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(200,150,62,0.15) !important;
}
input::placeholder, textarea::placeholder { color: #8C8C8C !important; }

/* 6. WooCommerce ALL cold blues removed */
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt,
.woocommerce button.button.alt, .woocommerce input.button.alt {
  background: #2D2520 !important;
  color: #FFFFFF !important;
  border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: #C8963E !important;
  color: #FFFFFF !important;
}
.woocommerce-store-notice, .demo_store { background: #2D2520 !important; }
.woocommerce-info, .woocommerce-message { border-top-color: #C8963E !important; }
.woocommerce-info::before, .woocommerce-message::before { color: #C8963E !important; }
.woocommerce-error { border-top-color: #CF2E2E !important; }
.woocommerce-MyAccount-navigation-link a { color: #2D2520 !important; }
.woocommerce-MyAccount-navigation-link.is-active a { color: #C8963E !important; }

/* 7. Astra theme cold defaults */
.ast-builder-grid-row-container { background: transparent !important; }
.ast-primary-header-bar { background: #FBF7F0 !important; border-bottom: 1px solid #E8E2D8 !important; }
.ast-mobile-header-wrap { background: #FBF7F0 !important; }
.site-header { background: #FBF7F0 !important; }
.main-header-bar { background: #FBF7F0 !important; }
.header-main-layout-1 .main-header-bar-wrap { background: #FBF7F0 !important; }

/* 8. Cold grays → warm neutrals */
.site-footer, .ast-small-footer { background: #2D2520 !important; color: rgba(255,255,255,0.65) !important; }
.site-footer a, .ast-small-footer a { color: rgba(255,255,255,0.8) !important; }
.site-footer a:hover, .ast-small-footer a:hover { color: #C8963E !important; }
.ast-small-footer-section { color: rgba(255,255,255,0.5) !important; }

/* 9. Astra widget areas */
.widget { color: #2D2520 !important; background: transparent !important; }
.widget-title { color: #2D2520 !important; }

/* 10. Sidebar */
.ast-right-sidebar #secondary, .ast-left-sidebar #secondary { background: #FBF7F0 !important; }

/* 11. Breadcrumbs */
.ast-breadcrumbs-wrapper, .ast-breadcrumbs-wrapper a { color: #6B5E53 !important; }
.ast-breadcrumbs-wrapper a:hover { color: #C8963E !important; }

/* 12. Tables */
table, th, td { border-color: #E8E2D8 !important; }
th { background: #F8F3EB !important; color: #2D2520 !important; }

/* 13. Block editor specific */
.wp-block-cover, .wp-block-group { background-color: transparent !important; }
.wp-block-separator { border-color: #E8E2D8 !important; }

/* 14. Elementor overrides */
.elementor-widget-container, .elementor-section { background: transparent !important; }

/* 15. Gravity Forms / Contact Form 7 */
.wpcf7 input, .wpcf7 textarea, .gform_body input, .gform_body textarea {
  background: #FFFFFF !important; border-color: #E8E2D8 !important;
}
.wpcf7 input[type="submit"], .gform_button {
  background: #2D2520 !important; color: #fff !important;
}
.wpcf7 input[type="submit"]:hover, .gform_button:hover {
  background: #C8963E !important;
}

/* 16. Comments section */
.comments-area { background: #FBF7F0 !important; }
.comment-list .comment-body { background: #FFFFFF !important; border: 1px solid #E8E2D8 !important; }
.comment-author .fn { color: #2D2520 !important; }

/* 17. Navigation */
.main-navigation ul li a { color: #2D2520 !important; }
.main-navigation ul li:hover > a { color: #C8963E !important; }
.main-navigation ul ul { background: #FFFFFF !important; border: 1px solid #E8E2D8 !important; }
.main-navigation ul ul a { color: #2D2520 !important; }
.main-header-menu .sub-menu { background: #FFFFFF !important; }

/* 18. Scroll to top */
.ast-scroll-to-top { background: #2D2520 !important; color: #fff !important; }
.ast-scroll-to-top:hover { background: #C8963E !important; }

/* 19. Post/archive meta */
.entry-meta, .entry-meta a { color: #6B5E53 !important; }
.entry-meta a:hover { color: #C8963E !important; }

/* 20. Pagination */
.nav-links .page-numbers { color: #2D2520 !important; border-color: #E8E2D8 !important; }
.nav-links .page-numbers.current { background: #2D2520 !important; color: #fff !important; }
.nav-links .page-numbers:hover:not(.current) { background: #F8F3EB !important; color: #C8963E !important; }