/* ========================================================================== 
   Contraste tipografico comun

   Los textos secundarios conservan su jerarquia por tamano y peso, pero usan
   el mismo casi negro que el cuerpo para que sigan siendo legibles.
   Los acentos marrones y los textos claros sobre fondos oscuros no cambian.
   ========================================================================== */

:root {
  --muted: #292724;
  --store-muted: #292724;
  --campaign-muted: #292724;
  --landing-muted: #292724;
}

.anaduran-shop-catalog {
  --shop-copy: #292724;
  --shop-muted: #292724;
  --muted: #292724;
}

/* Formularios, compra y cuenta. */
body :where(
  .store-page-content .form-row label,
  .store-page-content .form-row .optional,
  .store-checkout-section-heading p,
  .store-checkout-saved-address,
  .store-page-content--finalizar-compra #ship-to-different-address label,
  .store-page-content--finalizar-compra .woocommerce-account-fields label,
  .store-page-content--finalizar-compra .cart_item .product-quantity,
  .store-page-content--finalizar-compra .cart_item .variation,
  .store-page-content--finalizar-compra .woocommerce-checkout-review-order-table tfoot th,
  .store-page-content--finalizar-compra .woocommerce-checkout-review-order-table tfoot td,
  .store-page-content--finalizar-compra .woocommerce-privacy-policy-text,
  .store-page-content--finalizar-compra .woocommerce-terms-and-conditions-wrapper,
  .store-page-content--mi-cuenta .woocommerce-MyAccount-content,
  .store-page-content--mi-cuenta .woocommerce-MyAccount-content p,
  .store-page-content--mi-cuenta .woocommerce-MyAccount-content small
) {
  color: #292724 !important;
}

/* Catalogo y fichas de producto. */
body :where(
  .catalog-result-count,
  .catalog-sort label,
  .catalog-card-meta,
  .catalog-card-description,
  .catalog-services small,
  .product-breadcrumb,
  .product-breadcrumb a,
  .product-buy-description,
  .product-selection-help,
  .product-delivery-note,
  .product-special-size-note,
  .product-price-copy small,
  .product-tab-body,
  .product-pro-points span,
  .product-related-copy small
) {
  color: #292724 !important;
}

/* Paginas editoriales, contacto, legales y pie. */
body :where(
  .section-intro,
  .benefit-grid p,
  .values span,
  .contact-v2__intro > div > p:last-child,
  .contact-v2__info-item p,
  .contact-v2__info-item small,
  .contact-v2__note span,
  .contact-v2__direct,
  .contact-v2 .contact-notice,
  .contact-v2 .contact-field label,
  .contact-v2 .contact-consent label,
  .legal-document__updated,
  .client-archive__intro > p:last-child,
  .client-archive__header > p:last-child,
  .site-footer.home-mockup-footer .site-footer__intro p,
  .site-footer.home-mockup-footer .site-footer__column a,
  .site-footer.home-mockup-footer .site-footer__column span,
  .site-footer.home-mockup-footer .footer-legal a,
  .site-footer.home-mockup-footer > small
) {
  color: #292724 !important;
}

/* El placeholder sigue siendo secundario, pero ya no queda lavado. */
body :where(input, textarea)::placeholder {
  color: #59534d;
  opacity: 1;
}

/* Excepciones con fondo oscuro o fotografia. */
body :where(
  .hero,
  .tile,
  .style-card,
  .final,
  .final-preview,
  .final-cta,
  .campaign-note,
  .store-notice-bar,
  .catalog-dark-button,
  .button--dark,
  .single_add_to_cart_button
) :where(p, span, small, strong, label) {
  color: inherit !important;
}

.woocommerce-checkout .store-page-content--finalizar-compra #payment div.payment_box,
.woocommerce-checkout .store-page-content--finalizar-compra #payment div.payment_box :where(p, span, small, label, a) {
  color: #fff !important;
}
