/*
 * WoW Theme Pro — Foundation
 * v1.0.30
 * Reglas estáticas consolidadas. Los valores configurables siguen llegando
 * mediante variables CSS generadas por el Customizer.
 */

/* ==========================================================
   1. Tipografía global segura
   ========================================================== */
body.trv26:not(.elementor-page) .tr-main,
body.trv26:not(.elementor-page) .entry-content {
  font-family: var(--tr-body-font, 'Roboto', sans-serif);
}

body.trv26:not(.elementor-page) .tr-main :where(h1,h2,h3,h4,h5,h6):not(.elementor-heading-title):not(.woocommerce-loop-product__title):not(.product_title),
body.trv26:not(.elementor-page) .entry-content :where(h1,h2,h3,h4,h5,h6):not(.elementor-heading-title) {
  font-family: var(--tr-heading-font, 'Roboto', sans-serif);
  color: inherit;
}

/* ==========================================================
   2. Footer Pro
   La fuente sigue SIEMPRE la selección global:
   - títulos -> heading
   - texto/enlaces -> body
   - CTA -> menu
   ========================================================== */
html body.trv26 .tr-site-footer,
html body.trv26 .tr-footer-pro,
html body.trv26 .tr-footer-pro-content,
html body.trv26 .tr-footer-pro-content p,
html body.trv26 .tr-footer-pro-content li,
html body.trv26 .tr-footer-pro-text,
html body.trv26 .tr-footer-pro-contact,
html body.trv26 .tr-footer-pro-contact a,
html body.trv26 .tr-footer-pro-menu a,
html body.trv26 .tr-footer-menu a,
html body.trv26 .tr-footer-pro-services a,
html body.trv26 .tr-footer-pro-custom-links a,
html body.trv26 .tr-footer-pro-bottom {
  font-family: var(--tr-body-font, 'Roboto', sans-serif) !important;
}

html body.trv26 .tr-footer-pro-title,
html body.trv26 .tr-footer-style-classic .tr-footer-pro-title {
  font-family: var(--tr-heading-font, 'Roboto', sans-serif) !important;
}

html body.trv26 .tr-footer-pro a.tr-footer-pro-button,
html body.trv26 .tr-footer-pro .tr-footer-pro-button {
  font-family: var(--tr-menu-font, 'Roboto', sans-serif) !important;
}

body.trv26 .tr-site-footer {
  background: var(--tr-footer-bg);
  color: var(--tr-footer-text);
}

body.trv26 .tr-footer-pro {
  background: var(--tr-footer-bg);
  color: var(--tr-footer-text);
}

body.trv26 .tr-footer-pro-title {
  color: var(--tr-footer-heading);
}

body.trv26 .tr-footer-pro :where(p,li,span) {
  color: var(--tr-footer-text);
}

body.trv26 .tr-footer-pro a {
  color: var(--tr-footer-link);
}

body.trv26 .tr-footer-pro-services a,
body.trv26 .tr-footer-pro-services span {
  display: inline-flex;
  line-height: 1.4;
  text-decoration: none;
  color: var(--tr-footer-link);
}

body.trv26 .tr-footer-pro-services a:hover {
  text-decoration: underline;
}

html body.trv26 .tr-footer-pro a.tr-footer-pro-button,
html body.trv26 .tr-footer-pro .tr-footer-pro-button {
  background: var(--tr-footer-button-bg) !important;
  color: var(--tr-footer-button-color) !important;
  border-radius: var(--tr-footer-button-radius) !important;
  text-decoration: none !important;
}

html body.trv26 .tr-footer-pro a.tr-footer-pro-button span,
html body.trv26 .tr-footer-pro .tr-footer-pro-button span,
html body.trv26 .tr-footer-pro a.tr-footer-pro-button .tr-footer-pro-button-icon {
  color: var(--tr-footer-button-color) !important;
}

html body.trv26 .tr-footer-pro a.tr-footer-pro-button:hover,
html body.trv26 .tr-footer-pro .tr-footer-pro-button:hover {
  background: var(--tr-footer-button-hover-bg) !important;
  color: var(--tr-footer-button-hover-color) !important;
  text-decoration: none !important;
}

html body.trv26 .tr-footer-pro a.tr-footer-pro-button:hover span,
html body.trv26 .tr-footer-pro .tr-footer-pro-button:hover span,
html body.trv26 .tr-footer-pro a.tr-footer-pro-button:hover .tr-footer-pro-button-icon {
  color: var(--tr-footer-button-hover-color) !important;
}

/* ==========================================================
   3. Plantillas oscuras de blog
   ========================================================== */
body.trv26.tr-blog-dark_magazine .tr-archive {
  background: #111;
  color: #fff;
  border-radius: 28px;
  padding: 54px 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

body.trv26.tr-blog-dark_magazine .tr-archive :where(h1,h2,h3,h4,p,span,li,.tr-post-meta,.tr-post-excerpt,.tr-read-more),
body.trv26.tr-blog-dark_magazine .tr-archive a {
  color: #fff !important;
}

body.trv26.tr-blog-dark_magazine .tr-post-card {
  background: #1b1b1b;
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.10);
}

body.trv26.tr-blog-image_focus .tr-post-card :where(h1,h2,h3,h4,p,span,.tr-post-meta,.tr-post-excerpt,.tr-read-more),
body.trv26.tr-blog-image_focus .tr-post-card a {
  color: #fff !important;
}

body.trv26 .tr-post-layout-bold_article :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,.tr-post-meta,.tr-single-post-content),
body.trv26 .tr-post-layout-bold_article a,
body.trv26 .tr-post-layout-bold_article .tr-single-post-content :where(strong,b) {
  color: #fff !important;
}

/* ==========================================================
   4. WooCommerce: contraste seguro
   ========================================================== */
body.trv26.tr-catalog-dark_gallery .tr-main ul.products {
  background: #111;
  color: #fff;
}

body.trv26.tr-catalog-dark_gallery .tr-main ul.products li.product :where(.woocommerce-loop-product__title,.woocommerce-loop-product__title a,.price,.tr-card-excerpt,span,p,a) {
  color: #fff !important;
}

body.trv26.tr-catalog-dark_gallery .tr-main ul.products li.product .button {
  background: #fff !important;
  color: #111 !important;
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary,
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary {
  background: var(--tr-single-panel-bg);
  color: var(--tr-single-excerpt);
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary .product_title,
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary .product_title {
  color: var(--tr-single-title) !important;
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary :where(p,li,dt,dd,label,.woocommerce-product-details__short-description,.woocommerce-product-details__short-description *),
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary :where(p,li,dt,dd,label,.woocommerce-product-details__short-description,.woocommerce-product-details__short-description *) {
  color: var(--tr-single-excerpt) !important;
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary :where(.price,.amount,.woocommerce-Price-amount,.woocommerce-Price-currencySymbol,bdi),
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary :where(.price,.amount,.woocommerce-Price-amount,.woocommerce-Price-currencySymbol,bdi) {
  color: var(--tr-single-price) !important;
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary a,
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary a {
  color: var(--tr-link-color);
}

body.trv26.single-product.tr-single-conversion_luxury .tr-main .tr-single-summary .single_add_to_cart_button,
body.trv26.tr-single-conversion_luxury .tr-main .tr-single-summary .single_add_to_cart_button {
  background: var(--tr-single-button-bg) !important;
  color: var(--tr-single-button-color) !important;
}
