/* CREACH V15 · ÚLTIMA CAPA DE DISEÑO PÚBLICO
   Tokens controlados por admin/index.php?tab=appearance. NO aplicable a admin,
   imágenes subidas, marcas de pago, WhatsApp ni lógica de productos. */
:root{color-scheme:light}
html{background:var(--theme-canvas)!important}
body:not(.admin-body):not(.admin-login):not(.install-body){
  background:var(--theme-canvas)!important;color:var(--theme-text)!important;
  font-family:var(--theme-body-font)!important;font-size:calc(16px * var(--theme-scale));
}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(button,.btn,input,textarea,select,label,summary){font-family:var(--theme-ui-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(h1,h2,h3,h4,h5,h6){font-family:var(--theme-heading-font)!important;color:var(--theme-heading)!important;font-weight:var(--theme-weight)}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(p,li,dt,dd){color:var(--theme-text)}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(small,.muted,.product-meta,.eyebrow.dark,.creach-spec-label,.product-card-vehicle){color:var(--theme-muted)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(a:not(.btn),.link){accent-color:var(--theme-link)}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(a:not(.btn):not(.logo):not(.product-card-link):not(.creach-card-image):hover){color:var(--theme-link)}
/* Respetar el canvas en espacios públicos antes codificados a blanco. */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(
  main.page,.page.catalog-page,.catalog-pro-page,.brand-models-page,.model-page-pro,
  .category-page-pro,.standalone-page,.vehicle-workspace,.vehicle-workspace-content,
  .vehicle-persistent-panel,.model-workspace-pro,.category-workspace-pro,
  .catalog-shell,.catalog-content,.catalog-content-pro,.catalog-page .catalog-sidebar,
  .catalog-page .result-toolbar-pro,.catalog-pro-page .catalog-search-hub-pro,
  .model-categories-panel,.model-category-grid,.category-products-panel,
  .brand-models-section,.brand-related-section,.brand-related-marquee,
  .creach-product-page,.creach-product-page .creach-product-shell,
  .creach-product-page .creach-gallery-column,.creach-product-page .creach-copy-column
){background-color:var(--theme-canvas)!important;background-image:none!important}
/* Diferentes capas internas son editables por separado (por defecto, blancas). */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(
  .category-card,.category-tile,.model-category-card,.model-card,.brand-card,
  .home-brand-card,.brand-selector-card,.model-focus-card,.model-focus-stage,
  .creach-benefit,.creach-spec,.creach-info-card,.creach-related-card,
  .catalog-card-info,.catalog-page .side-block,.catalog-page .result-toolbar,
  .creach-payment,.product-card .product-info
){background-color:var(--theme-surface)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.creach-spec,.creach-info-card,.creach-info-card-with-image,.creach-related-card){border-color:var(--theme-border)!important}
/* No intervenir en [data-creach-product-bg]: su imagen tiene su propia administración. */
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card{
  background:var(--theme-surface)!important;border-color:var(--theme-border)!important;
  border-radius:var(--theme-radius)!important;color:var(--theme-text)!important;
}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card:hover{border-color:var(--theme-primary)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card .catalog-card-info{background:var(--theme-surface)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card .creach-card-image:not([data-creach-product-bg="1"]){background:var(--theme-surface)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card .product-brand-chip,
body:not(.admin-body):not(.admin-login):not(.install-body) .catalog-pro-page article.creach-ui-product-card .product-brand-chip{
  background:var(--theme-badge-bg)!important;border-color:var(--theme-border)!important;color:var(--theme-badge-text)!important;
}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card .product-brand-chip :is(.brand-chip-name,span){color:var(--theme-badge-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card :is(.product-card-vehicle,.product-card-vehicle span,.product-card-vehicle b,.product-meta-top,.product-meta){color:var(--theme-muted)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card :is(.product-name,.product-name a,.catalog-card-info h3,.catalog-card-info h3 a,.creach-related-name){color:var(--theme-heading)!important;font-family:var(--theme-heading-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.product-card .price,.catalog-card-pro .price,.creach-price,.creach-product-price,.price-value){color:var(--theme-price)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.premium-header,.premium-header .top-strip,.premium-header .site-header,.premium-header .creach-season-banner,.premium-header .scheduled-campaign){
  background:var(--theme-header-background)!important;color:var(--theme-header-text)!important;
}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header :is(.top-info,.top-info b,.top-info small,.site-header .logo b,.site-header .logo small,.site-header nav>a,.mobile-nav-meta,.header-menu-toggle,.site-header nav svg,.top-info svg,.header-favorites svg,.top-info-icon,.header-favorites,.site-header .logo-symbol:not(.has-image)){
  color:var(--theme-header-text)!important;
}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .site-header nav{background:var(--theme-header-background)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .site-header nav>a::after,
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .header-menu-toggle span{background:var(--theme-header-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .header-cta,
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .header-cta:hover{
  background:var(--theme-header-cta)!important;border-color:var(--theme-header-cta)!important;color:var(--theme-header-cta-text)!important;
}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .header-cta :is(span,svg){color:var(--theme-header-cta-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.site-footer,.premium-footer,.premium-footer .footer-accent){background:var(--theme-footer-background)!important;color:var(--theme-footer-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .site-footer :is(p,small,span,h2,h3,h4,b,strong,a,svg,.footer-brand-lockup b,.footer-brand-lockup small){color:var(--theme-footer-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .site-footer .footer-cta-button{background:var(--theme-secondary)!important;color:var(--theme-button-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .site-footer .footer-cta-button :is(span,svg){color:var(--theme-button-text)!important}
/* Botones de acción del catálogo, página de producto y búsquedas */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(
  .btn.primary,.btn-primary,button.primary,.hero-search button,.catalog-search button,
  .home-first-screen .hero-search button,.creach-product-page .creach-btn-primary,
  article.creach-ui-product-card .product-actions-pro .btn.primary,
  article.creach-ui-product-card .creach-btn-primary,
  .catalog-pro-page article.creach-ui-product-card .product-actions-pro .btn.primary
){background:var(--theme-primary)!important;background-image:none!important;border-color:var(--theme-primary)!important;color:var(--theme-button-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn.primary,.btn-primary,button.primary,.hero-search button,.catalog-search button,article.creach-ui-product-card .product-actions-pro .btn.primary):hover{background:var(--theme-primary-hover)!important;border-color:var(--theme-primary-hover)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn.primary,.btn-primary,button.primary,.hero-search button,.catalog-search button,article.creach-ui-product-card .product-actions-pro .btn.primary) :is(span,svg){color:var(--theme-button-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card :is(.btn.outline,.btn-outline){background:var(--theme-button-secondary)!important;border-color:var(--theme-border)!important;color:var(--theme-button-secondary-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) article.creach-ui-product-card :is(.btn.outline,.btn-outline) :is(span,svg){color:var(--theme-button-secondary-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.category-icon,.category-icon svg,.model-category-card .category-icon,.product-card .product-icon,.catalog-category-icon,.creach-spec-icon,.creach-info-card-icon){color:var(--theme-icon)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.category-count,.count-pill,.creach-reference-label,.product-brand-chip){border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.product-offer-badge,.status-badge,.category-count){background-color:var(--theme-badge-bg)!important;color:var(--theme-badge-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background-color:var(--theme-field-bg)!important;color:var(--theme-field-text)!important;border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(input,textarea,select):focus{border-color:var(--theme-focus)!important;outline-color:var(--theme-focus)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--theme-accent)}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn,.product-card,.creach-spec,.creach-benefit,.creach-info-card,.creach-related-card){border-radius:var(--theme-radius)}
/* Fuente principal y de encabezados: prioridad frente a Montserrat forzado por CSS legado. */
body:not(.admin-body):not(.admin-login):not(.install-body),
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.catalog-pro-page,.catalog-card-info,.product-card,.catalog-page,.creach-product-page,.premium-header,.site-footer){font-family:var(--theme-body-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(h1,h2,h3,h4,h5,h6,.hero h1,.hero-slide h1,.catalog-top-pro h1,.about-home-copy h2,.creach-title,.product-name,.product-name a,.creach-related-name,.catalog-card-info h3){font-family:var(--theme-heading-font)!important;color:var(--theme-heading)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn,.logo b,.site-header nav,.top-info b,.product-actions-pro .btn,.product-card .btn,.promo-ticker,.eyebrow,button){font-family:var(--theme-ui-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.catalog-card-info h3,.product-name,.creach-related-name,.creach-title,.model-card h3){color:var(--theme-heading)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.creach-product-page .creach-spec-value,.product-card .price,.catalog-card-pro .price){color:var(--theme-price)!important}
/* Algunos banners son ilustraciones con texto blanco superpuesto: conservar contraste. */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.hero-slide h1,.hero-slide p,.hero-content h1,.hero-content p){color:inherit!important}
@media(max-width:760px){body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header .site-header nav{background:var(--theme-header-background)!important}}
/* V15 · Extensión de la paleta a secciones heredadas con #087BAF fijado. */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(
  .promo-ticker,.home-first-screen>.promo-ticker
){background:var(--theme-primary)!important;color:var(--theme-button-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .promo-ticker .promo-ticker-card{
  background:var(--theme-primary-hover)!important;color:var(--theme-button-text)!important;border-color:var(--theme-primary-light)!important
}
body:not(.admin-body):not(.admin-login):not(.install-body) .promo-ticker :is(.promo-ticker-heading span,.promo-ticker-heading strong,.promo-ticker-copy strong,.promo-ticker-copy small,.promo-ticker-arrow,.promo-ticker-symbol,.promo-ticker-toggle){color:var(--theme-button-text)!important;font-family:var(--theme-ui-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.dark-section,.home-offers-section,.offer-section,.about-pro-contact,.about-contact-cta,.contact-team-hero-reference,.contact-team-hero,.about-pro-hero,.about-editorial-hero){background-color:var(--theme-surface-soft)!important;color:var(--theme-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.section,.category-strip-section,.models-section,.brand-home-section,.about-pro-section,.catalog-page,.contact-standalone-page){background-color:var(--theme-canvas)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.section-head h2,.why h2,.page-title h1,.catalog-top h1,.vehicle-copy h1,.about-pro-heading h2,.model-showcase h2,.brand-home-section h2,.home-offers-section h2){color:var(--theme-heading)!important;font-family:var(--theme-heading-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.section-head p,.why-copy p,.vehicle-copy p,.page-title p,.catalog-top p,.about-pro-heading p,.product-meta-top){color:var(--theme-muted)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.eyebrow,.section-head .eyebrow,.workspace-title .eyebrow,.text-link,.light-link,.side-all,.clear-filter,.about-map-link){color:var(--theme-link)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.category-icon,.status-icon,.feature-grid>div>span,.about-pro-icon,.creach-benefit-icon,.brand-open-label,.about-process-grid b){background:var(--theme-primary-light)!important;color:var(--theme-icon)!important;border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.chip,.product-badge,.product-badge-brand,.brand-tag,.tag,.product-brand-chip){background:var(--theme-badge-bg)!important;color:var(--theme-badge-text)!important;border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.hover-models a,.side-option.selected,.brand-mini.selected,.filter-chip.active,.pagination a.active){background:var(--theme-primary-light)!important;color:var(--theme-link)!important;border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.brand-summary-action,.brand-selector-card .brand-card-action,.catalog-submit,.creach-product-page .creach-related-add){background:var(--theme-primary)!important;border-color:var(--theme-primary)!important;color:var(--theme-button-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn.outline,.btn.ghost,.creach-product-page .creach-btn-outline){background:var(--theme-button-secondary)!important;border-color:var(--theme-border)!important;color:var(--theme-button-secondary-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.btn.outline,.btn.ghost,.creach-product-page .creach-btn-outline) :is(span,svg){color:var(--theme-button-secondary-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .creach-product-page{
 --creach-primary:var(--theme-primary);--creach-primary-dark:var(--theme-primary-hover);
 --creach-navy:var(--theme-heading);--creach-text:var(--theme-text);
 --creach-muted:var(--theme-muted);--creach-bg:var(--theme-canvas);
 --creach-surface:var(--theme-surface);--creach-line:var(--theme-border);
}
body:not(.admin-body):not(.admin-login):not(.install-body) .creach-product-page .creach-title{color:var(--theme-heading)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .creach-product-page :is(.creach-related-name,.creach-spec-value,.creach-section-head h2){color:var(--theme-heading)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .creach-product-page :is(.creach-spec-label,.creach-section-head p,.creach-info-card p){color:var(--theme-muted)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .creach-product-page :is(.creach-spec-icon,.creach-benefit-icon,.creach-info-card-icon){color:var(--theme-icon)!important;background:var(--theme-primary-light)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.creach-related-card,.creach-spec,.creach-info-card){border-color:var(--theme-border)!important}
/* Aplicar la tipografía a textos en widgets antiguos que tenían font !important. */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(p,a,b,strong,em,small,span,div,section,article,header,footer,nav,aside,main,li,dt,dd,label,legend,summary){font-family:var(--theme-body-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(h1,h2,h3,h4,h5,h6,.hero-slide h1,.home-first-screen .hero h1,.product-card .product-info h3,.product-card .product-info h3 a,.catalog-card-pro .product-name,.model-card h3){font-family:var(--theme-heading-font)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(button,.btn,.site-header nav,.site-header nav a,.logo b,.top-info b,.promo-ticker .promo-ticker-copy strong,.promo-ticker .promo-ticker-copy small,.product-actions-pro .btn,.eyebrow){font-family:var(--theme-ui-font)!important}

/* V15 final: separar el texto de campos, precios y navegación del texto general. */
body:not(.admin-body):not(.admin-login):not(.install-body) :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){background-color:var(--theme-field-bg)!important;color:var(--theme-field-text)!important;border-color:var(--theme-border)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.creach-product-page .creach-price,.creach-product-page .price-value,article.creach-ui-product-card .product-price,.price-current){color:var(--theme-price)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.site-footer.premium-footer,.site-footer.premium-footer .footer-trustbar){background:var(--theme-footer-background)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) :is(.site-footer .footer-trustbar,.site-footer .footer-grid-pro,.site-footer .footer-brand,.site-footer .footer-column){color:var(--theme-footer-text)!important}
body:not(.admin-body):not(.admin-login):not(.install-body) .premium-header :is(.site-header .logo b,.site-header .logo small,.site-header nav a){color:var(--theme-header-text)!important}
