/*
Theme Name: Fabrica Child Theme
Theme URI: http://fabrica.ancorathemes.com/
Description: Fabrica is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: http://ancorathemes.com/
Version: 1.21.0
Tested up to: 6.8
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: fabrica
Template: fabrica
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* ============================================================
   PKI brand palette overrides — 2026-09-11
   Corrige colores de marca antigua hardcodeados en el CSS del
   tema padre (fabrica/skins/default/css/style.css) que no son
   modificables por opciones del tema.
   Paleta: PKI Blue #182740 · Night Blue #234466 · Sea Blue #3F75A4
           Sky Blue #A3CBE6 · White #FFFFFF
   Sin !important: este fichero se encola despues del padre
   (prioridad 1500 frente a 1000) y usa la misma especificidad.
   ============================================================ */

/* Advanced Popups: boton de notificacion — #181D4E -> #182740
   (texto #FFFFFF sobre #182740 = 14.9:1, AAA). El :hover del padre
   usa var(--theme-color-text_link), gestionado por el esquema: no se toca. */
.adp-popup-type-notification-box .adp-popup-button,
.adp-popup-type-notification-bar .adp-popup-button {
  background-color: #182740;
}

/* Contact Form 7: boton submit — fija la paleta PKI sin depender del
   esquema (el valor por defecto del skin es #0868D7, fuera de paleta).
   El submit se pinta con las reglas genericas de boton del padre
   (var(--theme-color-text_link)); aqui se ancla explicitamente.
   Fondo #3F75A4 + texto #FFFFFF = 4.89:1 (AA).
   :hover/:focus #182740 + #FFFFFF = 14.8:1 (AAA).
   Especificidad 0,2,1 (0,3,1 en estados): basta para ganar al padre,
   sin !important. */
.wpcf7 input.wpcf7-submit {
  background-color: #3F75A4;
  border-color: #3F75A4;
  color: #FFFFFF;
}
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 input.wpcf7-submit:active {
  background-color: #182740;
  border-color: #182740;
  color: #FFFFFF;
}
/* Foco visible (el padre lo anula con outline:none): anillo #182740
   sobre el fondo del boton = 14.8:1, muy por encima del 3:1 exigido. */
.wpcf7 input.wpcf7-submit:focus-visible {
  outline: 2px solid #182740;
  outline-offset: 2px;
}

/* Advanced Popups: boton de cierre — #A5A6AA sobre blanco = 2.43:1,
   fuera de paleta y por debajo del minimo 3:1 para un elemento de UI.
   #234466 sobre #FFFFFF = 10.1:1. El !important es imprescindible:
   el padre declara este color con !important en
   .adp-popup .adp-popup-close(:hover)(:before) — se replica la misma
   especificidad (0,2,0 / 0,2,1) y se contrarresta el !important. */
.adp-popup .adp-popup-close,
.adp-popup .adp-popup-close:hover,
.adp-popup .adp-popup-close:before,
.adp-popup .adp-popup-close:hover:before {
  color: #234466 !important;
}
/* Variante sobre fondo oscuro/imagen: se conserva el blanco del plugin. */
.adp-popup.adp-popup-open[data-light-close="true"] .adp-popup-close,
.adp-popup.adp-popup-open[data-light-close="true"] .adp-popup-close:before,
.adp-popup-type-content.adp-preview-image-yes .adp-popup-close,
.adp-popup-type-content.adp-preview-image-yes .adp-popup-close:before {
  color: #FFFFFF !important;
}
