/*
 * TRIWUU_TYPOGRAPHY_LIBRE_FRANKLIN_1_1_23
 * Jerarquía tipográfica corporativa acordada para todo el frontal.
 * La hoja se carga al final para unificar tema, WooCommerce y plugins propios.
 */
:root {
  --triwuu-font-primary: 'Libre Franklin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.site,
.site-main,
.entry-content,
.elementor,
.woocommerce,
.triwuu-site-header,
.triwuu-home-slider,
.thpb-home-blocks,
.triwuu-ocio-archive,
.triwuu-ocio-single {
  font-family: var(--triwuu-font-primary) !important;
  font-synthesis: none;
}

body {
  font-weight: 400;
}

body :where(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, li, dt, dd, td, th, summary, small, strong, em) {
  font-family: var(--triwuu-font-primary) !important;
}

/* Titulares y banners: Bold 700. */
body :where(h1, h2, h3, h4, h5, h6),
.entry-title,
.page-title,
.woocommerce-products-header__title,
.elementor-heading-title,
.triwuu-category-hero h1,
.triwuu-section-hero h1,
.triwuu-section-hero h2,
.triwuu-ocio-hero h1,
.triwuu-ocio-summary h1,
.triwuu-how__intro h1,
.triwuu-home-slide__title,
.triwuu-shop-title,
.triwuu-page-title,
.triwuu-clean-home__title,
.triwuu-eci-title,
.triwuu-comparison-title,
.triwuu-steps-title,
.triwuu-ocio-options-title,
.triwuu-ocio-description-title,
.triwuu-ocio-includes-title,
.triwuu-ocio-conditions-title,
.thpb-section-head h2 {
  font-weight: 700 !important;
}

/* Secciones, categorías, navegación y etiquetas: SemiBold 600. */
.triwuu-main-menu a,
.triwuu-mobile-panel a,
.triwuu-menu-link,
.triwuu-category-pill,
.triwuu-category-chip,
.triwuu-category-tree__link,
.triwuu-cat-card-title,
.triwuu-sidebar-title,
.triwuu-product-filter__title,
.triwuu-product-category,
.triwuu-product-card__category,
.triwuu-product-card__brand,
.triwuu-product-card__format,
.triwuu-kicker,
.triwuu-home-slide__kicker,
.thpb-section-eyebrow,
.triwuu-footer-title,
.triwuu-pack-loop-product-count__label,
.triwuu-card-quantity__label,
.triwuu-quantity-label,
.triwuu-ocio-card__category,
.triwuu-ocio-price-prefix,
.triwuu-store-selector__label,
.triwuu-store-selector__option-label,
.triwuu-discount-filter__label {
  font-weight: 600 !important;
}

/* Nombres de producto y de propuesta: Medium 500. */
.woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.single-product .product_title,
.triwuu-single-summary h1,
.triwuu-product-title,
.triwuu-product-title a,
.triwuu-product-card__title,
.triwuu-product-card__title a,
.triwuu-catalog-main ul.products li.product.triwuu-product-card--pack-listing .triwuu-product-card__title,
.triwuu-catalog-main ul.products li.product.triwuu-product-card--pack-listing .triwuu-product-card__title a,
.triwuu-supermarket-card .triwuu-product-card__title,
.triwuu-supermarket-card .triwuu-product-card__title a,
.thpb-home-blocks .triwuu-supermarket-card .triwuu-product-card__title,
.thpb-home-blocks .triwuu-supermarket-card .triwuu-product-card__title a,
.triwuu-shot-title,
.thpb-product-title,
.triwuu-ocio-card__title,
.triwuu-ocio-card__title a {
  font-weight: 500 !important;
}

/* Descripciones y texto de apoyo: Regular 400. */
.entry-content p,
.triwuu-home-slide__description,
.triwuu-shop-desc,
.triwuu-catalog-description,
.triwuu-product-card__pack-description,
.woocommerce-product-details__short-description,
.thpb-section-description,
.triwuu-ocio-card__excerpt,
.triwuu-ocio-hero__description,
.triwuu-discount-filter__help {
  font-weight: 400 !important;
}

/* Precios, descuentos, ahorro, stock y cifras destacadas: Bold 700. */
.price,
.price *,
.amount,
.triwuu-price,
.triwuu-single-price,
.triwuu-product-card__price,
.triwuu-product-card__price *,
.triwuu-product-card__offer,
.triwuu-product-card__offer *,
.triwuu-offer-price-block,
.triwuu-price-summary__current,
.triwuu-price-summary__current *,
.triwuu-price-summary__regular,
.triwuu-price-summary__regular *,
.triwuu-price-summary__saving,
.triwuu-price-summary__stock,
.triwuu-price-summary__low-stock,
.triwuu-pack-loop-product-count__number,
.triwuu-cart-line-saving,
.triwuu-cart-saving-badge,
.triwuu-cart-savings-total,
.triwuu-checkout-savings-total,
.triwuu-ocio-card__price,
.triwuu-ocio-card__price *,
.triwuu-ocio-card__discount,
.triwuu-ocio-offer-price,
.triwuu-ocio-option-card__price,
.triwuu-ocio-summary__discount {
  font-weight: 700 !important;
}

/* El ahorro se identifica siempre en rojo, sin alterar precios ni stock. */
.triwuu-price-summary__saving,
.triwuu-cart-line-saving,
.triwuu-cart-savings-total th,
.triwuu-cart-savings-total td,
.triwuu-cart-savings-total strong,
.triwuu-checkout-savings-total th,
.triwuu-checkout-savings-total td,
.triwuu-checkout-savings-total strong,
.triwuu-ocio-summary__discount {
  color: #d9152b !important;
}

/* En las tarjetas de Ocio el porcentaje va sobre una pastilla roja. */
.triwuu-ocio-card__discount {
  color: #fff !important;
}

/* Botones y llamadas a la acción: SemiBold 600. */
button,
input[type='button'],
input[type='submit'],
input[type='reset'],
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.triwuu-home-slide__button,
.triwuu-shop-hero__button,
.triwuu-add-to-cart,
.add_to_cart_button,
.single_add_to_cart_button,
.checkout-button,
.wc-block-components-button,
.thpb-section-cta,
.thpb-carousel-button,
.triwuu-supermarket-card .triwuu-add-to-cart,
.triwuu-supermarket-card .triwuu-add-to-cart--floating,
.thpb-home-blocks .triwuu-supermarket-card .triwuu-add-to-cart,
.woocommerce ul.products li.product.triwuu-supermarket-card .triwuu-add-to-cart,
.woocommerce ul.products li.product.triwuu-supermarket-card .triwuu-add-to-cart--floating,
.triwuu-ocio-external-cta,
.triwuu-ocio-home__cta,
.triwuu-ocio-card__link,
.triwuu-how__cta,
.triwuu-how__final-cta,
.triwuu-cart-quantity__button {
  font-weight: 600 !important;
}

/* Las fuentes de iconos conservan su familia nativa. */
.dashicons,
.dashicons-before::before {
  font-family: dashicons !important;
}

[class^='eicon-'],
[class*=' eicon-'],
.elementor-icons-manager__tab__item__icon {
  font-family: eicons !important;
}
