:root{--wc3-primary:#060605;--wc3-accent:#740ded;--wc3-text:#17212b;--wc3-onPrimary:#ffffff;--wc3-surface:#ffffff;--wc3-muted:#f0f0f0;}
/* WC3-COLORS v1 — paleta del logo seleccionado. Solo colores: sin cambios de
   tipografia, tamano, layout, visibilidad, posicion ni z-index.
   Variables definidas por el instalador: --wc3-primary --wc3-accent --wc3-text
   --wc3-onPrimary --wc3-surface --wc3-muted. Estados semanticos y WhatsApp se conservan. */

/* Botones principales (PS 1.6 classic/LV/ddab/z, PS 8/9 classic, WooCommerce) */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.btn-primary, .button.ajax_add_to_cart_button, .exclusive, #add_to_cart button,
  .add-to-cart, .button-medium, .standard-checkout, #SubmitLogin, #SubmitCreate, #submitMessage,
  .single_add_to_cart_button, .checkout-button, .woocommerce a.button.alt, .woocommerce button.button.alt,
  .wp-block-button__link, button[name="submitNewsletter"]):not(:is(.btn-success,.btn-danger,.btn-warning,.alert,[class*="whatsapp"],[href*="wa.me"],[href*="whatsapp"])) {
  background-color: var(--wc3-primary) !important;
  border-color: var(--wc3-primary) !important;
  color: var(--wc3-onPrimary) !important;
  background-image: none !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.btn-primary, .button.ajax_add_to_cart_button, .exclusive, .add-to-cart, .button-medium, .single_add_to_cart_button, .checkout-button, .wp-block-button__link):not(:is([class*="whatsapp"],[href*="wa.me"])) :is(span, i, strong, b) {
  color: var(--wc3-onPrimary) !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.btn-primary, .exclusive, .add-to-cart, .single_add_to_cart_button, .checkout-button, .wp-block-button__link, #SubmitLogin, #SubmitCreate):not(:is([class*="whatsapp"],[href*="wa.me"])):is(:hover, :focus-visible) {
  background-color: var(--wc3-accent) !important;
  border-color: var(--wc3-accent) !important;
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.btn-primary, .exclusive, .add-to-cart, .single_add_to_cart_button, .checkout-button):focus-visible {
  outline: 2px solid var(--wc3-accent) !important;
  outline-offset: 2px;
}

/* Barra de menu: fondo de marca, enlaces de nivel 1 con texto pareado */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu, #block_top_menu > ul, .top-menu[data-depth="0"], #_desktop_top_menu .top-menu[data-depth="0"], .main-navigation > div > ul, .primary-menu) {
  background-color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu, #block_top_menu > ul, .top-menu[data-depth="0"], .main-navigation > div > ul, .primary-menu) > li > a {
  color: var(--wc3-onPrimary) !important;
  background-color: transparent !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu, #block_top_menu > ul, .top-menu[data-depth="0"], .main-navigation > div > ul, .primary-menu) > li > a:is(:hover, :focus-visible),
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu, .top-menu[data-depth="0"]) > li:is(.sfHover, .sfHoverForce, :hover) > a {
  background-color: var(--wc3-accent) !important;
  color: var(--wc3-onPrimary) !important;
}
/* Submenus desplegables y menu movil: superficie clara + texto oscuro */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu ul, .sf-menu .submenu-container, .popover.sub-menu, .top-menu .sub-menu, .main-navigation ul ul, #mobile_top_menu_wrapper, .sub-menu) {
  background-color: var(--wc3-surface) !important;
  background-image: none !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu ul, .sf-menu .submenu-container, .popover.sub-menu, .top-menu .sub-menu, .main-navigation ul ul, #mobile_top_menu_wrapper, .sub-menu) a {
  color: var(--wc3-text) !important;
  background-color: transparent !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.sf-menu ul, .popover.sub-menu, .main-navigation ul ul, #mobile_top_menu_wrapper, .sub-menu) a:is(:hover, :focus-visible) {
  color: var(--wc3-onPrimary) !important;
  background-color: var(--wc3-primary) !important;
}

/* Encabezado: franja superior con color de marca */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.header-nav, #header .nav, .header-top-bar) {
  background-color: var(--wc3-primary) !important;
  background-image: none !important;
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.header-nav, #header .nav, .header-top-bar) :is(a, span, p, strong, label):not(:is([class*="whatsapp"],[href*="wa.me"],.material-icons,[class^="icon-"],[class*=" icon-"],.fa)) {
  color: var(--wc3-onPrimary) !important;
}

/* Pie de pagina */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#footer, .footer-container, footer.site-footer, .site-footer) {
  background-color: var(--wc3-primary) !important;
  background-image: none !important;
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#footer, .footer-container, .site-footer) :is(a, h4, h3, h5, p, li, span, strong, .h3, .h4, address, label):not(:is([class*="whatsapp"],[href*="wa.me"],.alert,.alert *,.material-icons,[class^="icon-"],[class*=" icon-"],.fa,input,textarea,select)) {
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#footer, .footer-container, .site-footer) a:is(:hover, :focus-visible):not(:is([class*="whatsapp"],[href*="wa.me"])) {
  color: var(--wc3-onPrimary) !important;
  text-decoration-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#footer, .footer-container, .site-footer) :is(input, textarea, select) {
  background-color: var(--wc3-surface) !important;
  color: var(--wc3-text) !important;
}

/* Enlaces de contenido en superficie clara */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#center_column, #content-wrapper, #main, .site-main, .woocommerce) :is(p, li, .rte, .breadcrumb) a:not(:is(.btn, .button, [class*="whatsapp"], [href*="wa.me"], .product-name, .product-title a)) {
  color: var(--wc3-text) !important;
  text-decoration-color: var(--wc3-accent) !important;
}

/* Precios y titulos de seccion en acento de marca; el guard corrige si el contraste falla */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.price, .product-price, .current-price, .content_price .price, .woocommerce-Price-amount):not(:is(.old-price, .regular-price, del *, del)) {
  color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.page-heading, .title_block, .h1.page-title, .products-section-title, .section-title) {
  color: var(--wc3-primary) !important;
  border-color: var(--wc3-accent) !important;
}

/* Nombre del producto: siempre oscuro sobre claro (regla de la usuaria) */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.product-name, .product-title, .product-title a, h1[itemprop="name"], .product_title, .woocommerce-loop-product__title, h5[itemprop="name"] a, .product-container .product-name) {
  color: #1d232b !important;
}

/* Insignias / chips de marca con texto pareado */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.new-box .new-label, .product-flag.new, .cart_quantity_button, .badge-primary, .ajax_cart_quantity, .cart-products-count):not(:is(.discount, .on-sale, .online-only)) {
  background-color: var(--wc3-accent) !important;
  color: var(--wc3-onPrimary) !important;
}

/* Bordes de foco en formularios */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(input, textarea, select):not([type="hidden"]):focus {
  border-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) ::selection { background-color: var(--wc3-accent); color: var(--wc3-onPrimary); }

/* Older LV styles also paint child spans, tabs, focus rings and pagination
   from these inherited variables. Override the brand tokens, not just text. */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) {
  --lv-brand: var(--wc3-accent);
  --lv-brand-dark: var(--wc3-primary);
  --lv-brand-light: var(--wc3-onPrimary);
  --lv-brand-ink: var(--wc3-primary);
  --lv-brand-05: color-mix(in srgb, var(--wc3-accent) 5%, transparent);
  --lv-brand-10: color-mix(in srgb, var(--wc3-accent) 10%, transparent);
  --lv-brand-18: color-mix(in srgb, var(--wc3-accent) 18%, transparent);
  --lv-brand-25: color-mix(in srgb, var(--wc3-accent) 25%, transparent);
  --lv-brand-35: color-mix(in srgb, var(--wc3-accent) 35%, transparent);
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#home-page-tabs, .nav-tabs) {
  border-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#home-page-tabs, .nav-tabs) > li.active > a {
  background-color: var(--wc3-accent) !important;
  background-image: none !important;
  border-color: var(--wc3-accent) !important;
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.lnk_view, .lnk_view span) {
  background-color: var(--wc3-surface) !important;
  background-image: none !important;
  border-color: var(--wc3-primary) !important;
  color: var(--wc3-text) !important;
}
/* Do not let a legacy theme's erroneous brand-variable binding recolor danger
   controls blue. Success/discount/WhatsApp rules remain outside these targets. */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.btn-danger, .alert-danger, .label-danger) {
  background-color: #b42318 !important;
  border-color: #b42318 !important;
  color: #ffffff !important;
}

/* LV / Mercado Cálido: these are custom blocks, not Bootstrap's buttons or
   native PS header/footer. Include the visual footer even outside #footer.
   The installer adds its ID specificity scope so late !important theme rules
   cannot retain the old palette. Only paint properties; no layout or handlers. */
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#lvh2, #lvh2 .lvh2-search form, #lv-mega, .lv-mega, .lv-mega-panel, .lv-col) {
  background-color: var(--wc3-surface) !important;
  color: var(--wc3-text) !important;
  border-color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lvh2 :is(.lvh2-act:not(.wa), .lvh2-act:not(.wa) .lvh2-lbl strong, .lvh2-search input) {
  color: var(--wc3-text) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lvh2 .lvh2-act:not(.wa) .lvh2-lbl small,
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lvh2 .lvh2-search input::placeholder {
  color: var(--wc3-muted) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lvh2-nav .lvh2-burg span {
  background-color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.ajax_add_to_cart_button, #add_to_cart button, .exclusive_large) {
  box-shadow: 0 2px 0 var(--wc3-primary),
    0 3px 6px color-mix(in srgb, var(--wc3-accent) 25%, transparent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lv-topbar .lv-tb-brand::before {
  background-color: var(--wc3-accent) !important;
  box-shadow: 0 0 8px var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#lvh2 .lvh2-search button, #lvh2 .lvh2-badge,
  #lv-hero-band .lv-hb-btn.pri, #lv-hero-band .lv-hb-badge,
  .lv-fo-cta a.btn, .lvfb-news-btn, #lv-fab .lv-fab-form, #lv-fab .lv-fab-chat,
  #lv-fab-modal .lv-fm-close, #lv-reassure .lv-rs-ic) {
  background-color: var(--wc3-accent) !important;
  background-image: none !important;
  color: var(--wc3-onPrimary) !important;
  border-color: var(--wc3-accent) !important;
  box-shadow: none !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#lvh2-nav, .lv-tb-inner, #lv-topbar, #lv-reassure, #lv-hero-band,
  .lv-fo-wrap, .lv-fo-cta, .lv-fo-bottom, .lvfb-news, .lvfb-bottom, .lvfb-main,
  #lv-fab .lv-fab-lbl, #lv-mega .lv-head, .lv-sd-head) {
  background-color: var(--wc3-primary) !important;
  background-image: none !important;
  color: var(--wc3-onPrimary) !important;
  border-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lv-reassure::before {
  background-image: none !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#lvh2-nav, .lv-tb-inner, #lv-topbar, #lv-reassure,
  .lv-fo-wrap, .lv-fo-cta, .lv-fo-bottom, .lvfb-news, .lvfb-bottom, .lvfb-main)
  :is(a, span, p, h1, h2, h3, h4, h5, h6, strong, small, li, label, .lb):not(:is([class*="whatsapp"], [href*="wa.me"], input, textarea, select)) {
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(#lvh2 .lvh2-search button, #lv-hero-band .lv-hb-btn.pri, .lv-fo-cta a.btn, #lv-fab .lv-fab-form):is(:hover, :focus-visible) {
  background-color: var(--wc3-primary) !important;
  color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lv-hero-band .lv-hb-bg::after {
  background-image: linear-gradient(90deg, var(--wc3-primary), transparent) !important;
  background-image: linear-gradient(90deg,
    color-mix(in srgb, var(--wc3-primary) 95%, transparent),
    color-mix(in srgb, var(--wc3-primary) 40%, transparent)) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lv-hero-band :is(.lv-hb-title, .lv-hb-title em, .lv-hb-sub, .lv-hb-btn.sec) {
  color: var(--wc3-onPrimary) !important;
  border-color: var(--wc3-onPrimary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) #lv-hero-band .lv-hb-btn.sec {
  background-color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) .lv-fo-brand h4::before,
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) .lv-brands-accent {
  background-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.lv-cc-ring, .lv-fo-cta, .lvfb-news) {
  border-color: var(--wc3-accent) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.lv-cc-title, .lv-cc-name, .lv-wu-title, .lv-brands-title, .lv-sg-price) {
  color: var(--wc3-primary) !important;
}
html body:not(#wc3-palette-reserved-1):not(#wc3-palette-reserved-2):not(#wc3-palette-reserved-3) :is(.lv-cc-item:hover .lv-cc-name, .lv-mega a:hover, .lv-wu-ic) {
  color: var(--wc3-accent) !important;
}
