/* =====================================================================
   HX · Sistema de estilos de camisetaspersonalizadas.com
   ---------------------------------------------------------------------
   Un solo archivo para todos los bloques de las páginas.
   Reglas:
   1. Los colores, radios y sombras salen SIEMPRE de los tokens --hx-*.
   2. Todas las clases empiezan por hx- (nunca .hero, .title, .btn...).
   3. Nada de :root, *, img, a, h2... sueltos: todo va dentro de .hx-*.
   4. Una página nueva NO lleva <style>: usa estas clases. Si falta un
      componente, se añade aquí (con versión en CHANGELOG), no en la página.
   Estilo de referencia: la HOME.
   ===================================================================== */

/* ---------- 0. Fuente: Montserrat alojada en la web ----------
   Un solo archivo (variable, alfabeto latino, 38 KB) para dos familias:
   - "HX Display": Montserrat tal cual. Títulos grandes de marca (hero).
   - "HX Text": la misma Montserrat ajustada para ocupar y verse igual que
     el Gilroy de antes (regular al 92,8 %, negritas al 89,1 %). Medido el
     28/11/2026: Montserrat es un 7,8 % más ancha que Gilroy en regular y un
     12,2 % en negrita.
   Licencia: SIL Open Font License 1.1 (assets/fonts/Montserrat-OFL.txt). */
@font-face { font-family: "HX Display"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "HX Text"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 550; font-style: normal; font-display: swap; size-adjust: 92.8%; }
@font-face { font-family: "HX Text"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 551 900; font-style: normal; font-display: swap; size-adjust: 89.1%; }

/* ---------- 1. Tokens ---------- */
:root {
  /* Colores */
  --hx-brand: #467FF7;        /* azul de la home: iconos y adornos (sin texto encima) */
  --hx-brand-strong: #195FF5; /* azul con texto: texto azul y fondos con texto blanco (contraste AA) */
  --hx-brand-soft: #8FB3FF;   /* checks sobre fondo oscuro */
  --hx-ink: #1C244B;          /* títulos de bloque */
  --hx-ink-2: #29468B;        /* final del degradado oscuro */
  --hx-text: #324A6D;         /* texto de bloque */
  --hx-text-hero: #333636;    /* texto del hero */
  --hx-muted: #6B7280;        /* texto secundario */
  --hx-black: #111;           /* botón principal del hero */
  --hx-border: #DDE5F5;
  --hx-line: rgba(0, 0, 0, .08);
  --hx-surface: #fff;
  --hx-surface-soft: #F4F7FF;
  --hx-hero-bg: #EFEFEF;
  --hx-on-dark: #E8EEFF;

  /* Forma */
  --hx-radius-sm: 10px;
  --hx-radius: 18px;
  --hx-radius-lg: 24px;
  --hx-radius-pill: 999px;
  --hx-shadow: 0 8px 22px rgba(28, 36, 75, .06);
  --hx-shadow-btn: 0 6px 20px rgba(0, 0, 0, .08);

  /* Tipografía y medidas */
  --hx-font: "HX Text", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --hx-font-display: "HX Display", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --hx-font-section: var(--hx-font-display);

  /* Escala tipográfica (tamaños en "HX Text": 15px se ve como 15px de Gilroy).
     Móvil 375 px → escritorio 1280 px, sin saltos. Mínimo absoluto: 12 px. */
  --hx-fs-h1:   clamp(26px, 21.86px + 1.105vw, 36px);  /* título de página */
  --hx-fs-h2:   clamp(23px, 19.27px + 0.994vw, 32px);  /* título de sección */
  --hx-fs-h3:   clamp(18px, 16.76px + 0.331vw, 21px);  /* título de tarjeta o paso */
  --hx-fs-h4:   clamp(16px, 15.17px + 0.221vw, 18px);  /* subtítulo pequeño */
  --hx-fs-lead: clamp(16px, 15.17px + 0.221vw, 18px);  /* entradilla bajo un título */
  --hx-fs-body: clamp(15px, 14.59px + 0.110vw, 16px);  /* texto de lectura */
  --hx-fs-ui:   clamp(14px, 13.59px + 0.110vw, 15px);  /* texto de tarjetas, listas, tablas */
  --hx-fs-sm:   clamp(13px, 12.59px + 0.110vw, 14px);  /* notas, precios secundarios */
  --hx-fs-xs:   12px;                                    /* etiquetas en mayúsculas, legal */
  --hx-lh-title: 1.15; --hx-lh-card: 1.25; --hx-lh-body: 1.6; --hx-lh-ui: 1.5; --hx-lh-small: 1.45;
  --hx-fw-regular: 400; --hx-fw-medium: 500; --hx-fw-semibold: 600; --hx-fw-bold: 700; --hx-fw-black: 800;
  --hx-ls-title: -0.01em; --hx-ls-display: -0.02em; --hx-ls-caps: 0.06em;
  --hx-maxw: 1240px;
  --hx-maxw-wide: 1600px;
  --hx-anchor-offset: 90px;   /* alto de la cabecera fija */
}

/* ---------- 2. Utilidades ---------- */
.hx-accent { color: var(--hx-brand-strong); }
.hx-anchor,
#elige-prenda, #como-funciona, #preguntas-frecuentes { scroll-margin-top: var(--hx-anchor-offset); }

/* ---------- 3. Bloque de contenido (hx) ----------
   Título + entradilla + rejilla de tarjetas + botones.
   Es el bloque que ya usan 33 páginas: mismas reglas, ahora con tokens. */
.hx { font-family: inherit; color: var(--hx-ink); max-width: var(--hx-maxw); margin: 0 auto; }
.hx h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; margin: 0 0 14px; font-weight: 600; color: var(--hx-ink); }
.hx h3.hx-sub { font-size: 20px; line-height: 1.3; margin: 24px 0 8px; color: var(--hx-ink); font-weight: 600; }
.hx p { color: var(--hx-text); line-height: 1.6; font-size: 16px; }
.hx-c { text-align: center; }
.hx-lead { max-width: 760px; margin: 0 auto 24px; }
.hx-grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.hx-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-card { background: var(--hx-surface); border: 1px solid var(--hx-border); border-radius: var(--hx-radius); padding: 22px; box-shadow: var(--hx-shadow); }
.hx-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: var(--hx-ink); }
.hx-card p { margin: 0; font-size: 15px; }
.hx-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--hx-brand-strong); color: #fff; font-weight: 700; margin-bottom: 12px; }
.hx-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.hx-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 24px; border-radius: var(--hx-radius-pill); background: var(--hx-brand-strong); color: #fff !important; font-weight: 700; text-decoration: none; }
.hx-btn--ghost { background: var(--hx-surface); color: var(--hx-ink) !important; border: 1px solid var(--hx-border); }
/* Texto blanco sobre azul: #195FF5 para pasar el contraste AA (5,3:1).
   Selector más fuerte a propósito: gana a las copias antiguas de .hx-btn / .hx-num
   que aún llevan las páginas dentro de su <style> (#467FF7, 3,7:1). */
.hx .hx-btn:not(.hx-btn--ghost),
.hx .hx-num { background: var(--hx-brand-strong); }
.hx-dark { background: linear-gradient(135deg, var(--hx-ink), var(--hx-ink-2)); border-radius: var(--hx-radius-lg); padding: 48px 32px; }
.hx-dark h2, .hx-dark p, .hx-dark li { color: #fff; }
.hx-dark p { color: var(--hx-on-dark); }
.hx-checks { list-style: none; padding: 0; margin: 18px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 760px; text-align: left; }
.hx-checks li { position: relative; padding-left: 26px; }
.hx-checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--hx-brand-soft); }
@media (max-width: 900px) {
  .hx-g3, .hx-g4 { grid-template-columns: 1fr; }
  .hx-checks { grid-template-columns: 1fr; }
  .hx-dark { padding: 36px 20px; }
  .hx-btn { width: 100%; }
}

/* ---------- 4. Botón negro (hx-cta) ----------
   El botón principal de la home y del hero. hx-btn es el azul de los bloques. */
.hx-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 14px 20px; border-radius: var(--hx-radius-sm);
  font-size: .95rem; font-weight: 600; line-height: 1; text-decoration: none;
  box-shadow: var(--hx-shadow-btn);
  background: var(--hx-black); color: #fff; border: 2px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .1s;
}
.hx-cta:active { transform: translateY(1px); }
.hx-cta--ghost { background: transparent; color: var(--hx-black); border-color: var(--hx-black); box-shadow: none; }
.hx-cta:hover:not(.hx-cta--ghost) { background: transparent; color: var(--hx-black); border-color: var(--hx-black); }
.hx-cta--ghost:hover { background: var(--hx-black); color: #fff; border-color: transparent; }
@media (max-width: 959px) { .hx-cta { width: 100%; } }

/* ---------- 5. Hero (hx-hero) ----------
   Imagen a la izquierda y texto a la derecha en escritorio; apilado en móvil.
   Copia fiel del hero de la home, sin reglas globales. */
.hx-hero {
  --hx-hero-img-w: 732px;
  --hx-hero-img-h: 540px;
  width: 100vw; position: relative; left: 50%; transform: translateX(-50%);
  background: var(--hx-hero-bg); overflow: hidden;
}
.hx-hero, .hx-hero *, .hx-hero *::before, .hx-hero *::after { box-sizing: border-box; }
/* :where() deja estas dos reglas con la fuerza mínima, como las tenía la página */
:where(.hx-hero) img { display: block; max-width: 100%; height: auto; }
:where(.hx-hero) a { text-decoration: none; color: inherit; }
.hx-hero__inner {
  max-width: var(--hx-maxw-wide); margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr; gap: clamp(16px, 4vw, 40px); align-items: stretch;
}
.hx-hero__media { margin: 0; padding: 0; align-self: stretch; display: grid; position: relative; min-width: 0; }
.hx-hero__media picture { display: block; width: 100%; }
.hx-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hx-hero__content {
  display: grid; align-content: center; gap: clamp(12px, 2.8vw, 20px);
  padding-block: clamp(16px, 3vw, 32px); color: var(--hx-text-hero); min-width: 0;
}
.hx-hero__kicker { margin: 0; text-transform: uppercase; letter-spacing: .08em; opacity: .75; font-size: clamp(18px, 1.7vw, 14px); }
.hx-hero__title {
  margin: 0; font-family: var(--hx-font-display); font-weight: 800; line-height: 1.02;
  font-size: clamp(28px, 5.5vw, 64px); letter-spacing: -.5px; color: var(--hx-text-hero);
}
.hx-hero__lead { line-height: 1.5; font-size: clamp(14px, 1vw, 19px); max-width: 52ch; color: var(--hx-text-hero); }
.hx-hero__lead .hx-accent { font-weight: 400; }
.hx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-hero__urgent { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hx-text-hero); }
.hx-hero__urgent a { color: var(--hx-brand-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hx-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.hx-hero__video.is-ready { opacity: 1; }
@media (min-width: 960px) {
  .hx-hero__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: var(--hx-hero-img-h); }
  .hx-hero__media { order: 1; display: block; min-height: var(--hx-hero-img-h); overflow: hidden; }
  .hx-hero__content { order: 2; }
  .hx-hero__media picture { position: absolute; inset: 0; height: 100%; }
  .hx-hero__media img {
    position: absolute; top: 50%; left: 50%; display: block;
    width: var(--hx-hero-img-w); height: var(--hx-hero-img-h); max-width: none; max-height: none; margin: 0;
    transform: translate(-50%, -50%); object-fit: cover; object-position: center;
  }
  .hx-hero__media .hx-hero__video {
    inset: auto; top: 50%; left: 50%; width: var(--hx-hero-img-w); height: var(--hx-hero-img-h);
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 959px) {
  .hx-hero__media img { width: 100%; max-width: 100%; height: auto; max-height: 90vh; margin: 0 auto; object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) { .hx-hero__video { display: none; } }

/* ---------- 6. Ventajas en línea (hx-benefits) ----------
   Tres ventajas con icono bajo el hero. En móvil: 3 columnas, solo título. */
.hx-benefits { padding-block: clamp(18px, 4vw, 28px); background: transparent; border-top: 1px solid rgba(0, 0, 0, .06); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.hx-benefits__inner { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); display: grid; grid-template-columns: 1fr; gap: clamp(16px, 3vw, 24px); }
.hx-benefit { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; align-items: center; position: relative; padding-block: 4px; }
.hx-benefit__icon { width: 48px; height: 48px; color: var(--hx-brand); display: grid; place-items: center; grid-row: span 2; }
.hx-benefit__title { margin: 0; font: 700 18px/1.2 var(--hx-font-display); color: var(--hx-text-hero); }
.hx-benefit__text { grid-column: 2; margin: 0; color: var(--hx-muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 900px) {
  .hx-benefits__inner { grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); }
  .hx-benefit:not(:last-child)::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: -6px; width: 1px; background: var(--hx-line); }
}
@media (max-width: 767px) {
  .hx-benefits { padding-block: 14px; }
  .hx-benefits__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-inline: 6px; }
  .hx-benefit { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 2px 6px; }
  .hx-benefit:not(:last-child)::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: 0; width: 1px; background: var(--hx-line); }
  .hx-benefit__icon { width: 28px; height: 28px; grid-row: auto; flex: none; }
  .hx-benefit__icon svg { width: 26px; height: 26px; }
  .hx-benefit__title { font-size: 13px; line-height: 1.25; }
  .hx-benefit__text { display: none; }
}

/* ---------- 7. Llamada a la acción centrada (hx-cta-block) ---------- */
.hx-cta-block { text-align: center; display: grid; justify-items: center; gap: 12px; }
.hx-cta-block .hx-cta { min-width: 260px; }
.hx-cta-block__title { margin: 0; font-family: var(--hx-font-section); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: var(--hx-ink); }
.hx-cta-block__text { margin: 0; color: var(--hx-text); font-size: 16px; line-height: 1.5; max-width: 46ch; }
@media (max-width: 959px) { .hx-cta-block .hx-cta { width: 100%; max-width: 420px; min-width: 0; } }

/* ---------- 8. Enlaces de texto en fila (hx-links) ---------- */
.hx-links { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.hx-links a { color: var(--hx-brand-strong) !important; background: none !important; padding: 0 !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hx-links a:hover { color: var(--hx-ink) !important; }

/* =====================================================================
   9. Una sola familia en toda la web
   Todo el texto pasa a "HX Text" (Montserrat ajustada), salvo los iconos.
   Va con !important porque hoy Gilroy, Roboto y Poppins vienen puestos a
   mano desde el tema, Elementor y algunos plugins. Para usar la Montserrat
   de títulos grandes en un elemento: --hx-ff: var(--hx-font-display).
   ===================================================================== */
html body,
html body *:not(#hx-a):not(#hx-b):not(i):not(svg):not(svg *):not(.dashicons):not([class^="dashicons"]):not([class*=" dashicons"]):not([class^="ekommart-icon"]):not([class*=" ekommart-icon"]):not([class^="eicon"]):not([class*=" eicon"]):not(.star-rating):not(.star-rating *):not(.slick-arrow) {
  font-family: var(--hx-ff, var(--hx-font)) !important;
}
:is(.hero .title, .hx-hero__title, .bline__title, .hx-benefit__title, .cp-home-cta__title, .hx-cta-block__title) {
  --hx-ff: var(--hx-font-display);
}
/* Títulos repartidos en líneas equilibradas: evita una palabra sola en la última línea. */
html body :is(h1, h2, h3, h4) { text-wrap: balance; }

/* =====================================================================
   10. Jerarquía de los bloques CP (home y páginas que los usan)
   Antes: 7 tamaños de H2 en la home (22–30 px) y títulos de tarjeta de
   17 a 23 px. Ahora: un tamaño de sección y uno de tarjeta.
   ===================================================================== */
html body :is(.cpcompare__heading, .cp-hiw__header, .cp-di__head, .cp-sbo__heading, .cp-fd__header, .cpo-head) h2,
html body h2:is(.cpcompare__heading, .cp-hiw__header, .cp-di__head, .cp-sbo__heading, .cp-fd__header, .cpo-head, .faq2__title),
html body .faq2 .faq2__title {
  font-size: var(--hx-fs-h2); font-weight: var(--hx-fw-bold); line-height: var(--hx-lh-title); letter-spacing: var(--hx-ls-title);
}
html body :is(.cpcompare__content, .cp-hiw__copy, .cp-di__content, .cp-sbo__body, .cp-fd__content-top) h3 {
  font-size: var(--hx-fs-h3); font-weight: var(--hx-fw-bold); line-height: var(--hx-lh-card); letter-spacing: var(--hx-ls-title);
}
html body .cp-home-cta__title { font-size: var(--hx-fs-h2); line-height: var(--hx-lh-title); letter-spacing: var(--hx-ls-title); }

/* Hero de la home (widget HTML 19af0fa9): la línea «4,9 en Google · Envío…»
   tenía font-size: clamp(18px, 1.7vw, 14px). El mínimo es mayor que el máximo,
   así que siempre medía 18 px y en móvil ocupaba dos líneas, casi como el H1. */
html body .hero .kicker { font-size: var(--hx-fs-sm); letter-spacing: var(--hx-ls-caps); line-height: var(--hx-lh-small); }

/* =====================================================================
   11. Plantillas de WooCommerce (no son de Elementor)
   Ficha: el título era 22 px. Categoría: el H1 era 19 px y el H2 de la
   descripción, 28 px (el H2 se veía más importante que el H1).
   ===================================================================== */
html body.single-product div.product .product_title {
  font-size: var(--hx-fs-h1); font-weight: var(--hx-fw-bold); line-height: var(--hx-lh-title); letter-spacing: var(--hx-ls-title);
}
/* El H1 de categoría vive dentro de la tarjeta-banner (texto + foto a la derecha):
   usa la escala de H2 (23 px en móvil, 32 en escritorio) para no pasar de 3 líneas.
   El CSS adicional lo fija a 19 px con body.term-XXXX: :not(#hx-a) le gana. */
html body.tax-product_cat .woocommerce-products-header .page-title:not(#hx-a),
html body.post-type-archive-product .woocommerce-products-header .page-title:not(#hx-a) {
  font-size: var(--hx-fs-h2); font-weight: var(--hx-fw-bold); line-height: var(--hx-lh-title); letter-spacing: var(--hx-ls-title);
}
html body.tax-product_cat :is(.term-description, .cp-cat-bottom, .woocommerce-products-header) h2 {
  font-size: var(--hx-fs-h2); line-height: var(--hx-lh-title); letter-spacing: var(--hx-ls-title);
}
/* La entradilla del banner estaba a 11 px. */
html body.tax-product_cat .woocommerce-products-header .term-description p:not(#hx-a) { font-size: var(--hx-fs-sm); line-height: var(--hx-lh-small); }

/* =====================================================================
   12. Mínimo de legibilidad: nada por debajo de 12 px
   Medido el 28/11/2026: había textos a 9, 10 y 11 px.
   ===================================================================== */
html body :is(.cpcompare__label, .cp-di__tag, .cp-sbo__eyebrow, .cp-pob-badge, .cp-fd__new-badge, .cpo-eyebrow, .cpmm-promo__k) {
  font-size: var(--hx-fs-xs); letter-spacing: var(--hx-ls-caps);
}
/* El menú móvil repite la etiqueta del promo a 11 px con un selector más largo. */
html body .cpmm-m .cpmm-promo__k { font-size: var(--hx-fs-xs); }
/* :not(#hx-a): el plugin de Klarna pone 10 px con .cp-klarna .cp-pay-trust--product … */
html body :is(.cpcompare__mobile-hint, .cp-sbo__hint, .cp-fd__price, .cp-fd__price *, .cp-klarna__disclaimer, .cp-pay-trust__secure):not(#hx-a) { font-size: var(--hx-fs-xs); }
/* Texto legal del boletín (Brevo pone 11 px; según la plantilla lleva o no #sib-container). */
html body .sib-form__declaration :is(p, a, div, span):not(#hx-a) { font-size: var(--hx-fs-xs) !important; line-height: var(--hx-lh-small); }

/* Ficha: los tres accesos rápidos (Guía tallas, Precio cantidades, Guía paso a paso).
   Dos son <a> a 11,5 px/700 y el tercero es un <button> a 13 px/400: se veían distintos. */
html body .cp-pdp-quicklinks .cp-pdp-quicklink {
  font-size: var(--hx-fs-xs); font-weight: var(--hx-fw-bold); letter-spacing: .02em; line-height: 1.2;
}

/* =====================================================================
   13. Accesibilidad (sustituye al plugin Ally desde 4.4.2)
   Medido el 28/11/2026 en la home sin Ally. Contraste mínimo AA:
   4,5:1 texto normal · 3:1 texto grande y contornos.
   ===================================================================== */

/* Enlace «Ir al contenido»: invisible hasta que se llega con el tabulador. */
.hx-skip {
  position: absolute; left: 8px; top: -200px; z-index: 100000;
  padding: 12px 18px; border-radius: var(--hx-radius-sm);
  background: var(--hx-black); color: #fff !important;
  font-size: var(--hx-fs-ui); font-weight: var(--hx-fw-bold); text-decoration: none;
}
.hx-skip:focus { top: 8px; outline: 3px solid #fff; outline-offset: 2px; }

/* Foco visible al navegar con teclado (con ratón no aparece). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--hx-brand-strong); outline-offset: 2px;
}
:where(footer.site-footer, .hx-dark, .cp-bcb) :focus-visible { outline-color: #fff; }

/* Azul flojo (#467FF7, 3,2–3,7:1) en textos → azul de texto (#195FF5, 4,6–5,3:1).
   :not(#hx-a) porque varios llevan el color en un <style> del propio widget. */
html body :is(.hero .lead .accent, .hero__urgent a, .bline__title .accent, #elige-prenda p):not(#hx-a) {
  color: var(--hx-brand-strong);
}
/* «Ver todas las camisetas →»: el widget lo fija con !important. */
html body .cp-cat-links a:not(#hx-a) { color: var(--hx-brand-strong) !important; }
/* Comparador (plugin CP Compare): sus colores salen de variables. */
html body .cpcompare {
  --cpc-accent: var(--hx-brand-strong);   /* botón destacado: blanco sobre azul 5,3:1 (antes 3,7) */
  --cpc-message: #C81E1E;                 /* frase en rojo: 5,4:1 (antes 4,4) */
}
html body .cpcompare__mobile-hint:not(#hx-a) { color: #5B6472; }   /* 6,0:1 */

/* Barra roja superior: blanco sobre #FF5151 daba 3,2:1. #D92D2D da 4,8:1. */
html body .cp-bcb { background-color: #D92D2D; }

/* Pie (provisional hasta el pie HX; el pie 105813 fija colores con selectores largos):
   - etiqueta «Nombre» del boletín: 1,8:1 → 11,6:1
   - frase «Tu tienda de camisetas…»: 2,5:1 → 6,1:1
   - enlaces legales (Aviso legal, Cookies…): #535252, 2,0:1 → 6,1:1 */
html body .sib-form .entry__label:not(#hx-a) { color: #D1D5DB !important; }
html body footer.site-footer [data-id="d3c50d6"] .elementor-icon-box-title :is(span, a):not(#hx-a) { color: #A3A3A3; }
html body footer.site-footer [data-id="d9ceb41"] a:not(#hx-a) { color: #A3A3A3; }

/* Ficha de producto (medido sin Ally: Ally no corregía nada aquí). */
html body .inventory_status:not(#hx-a) { background-color: #2E7D32; }        /* «En stock»: 2,3:1 → 5,1:1 */
html body :is(.cp-pdp-price-separator, .cp-pdp-price-range-note, .cp-pdp-quicklinks-label, .cp-pay-trust__secure):not(#hx-a) {
  color: var(--hx-muted);                                                     /* #A1A1AA 2,6:1 → 4,8:1 */
}
html body .reset_variations:not(#hx-a) { color: var(--hx-brand-strong); }     /* «Limpiar»: 3,8:1 → 5,0:1 */
html body .woocommerce-tabs .tabs li:not(.active) a:not(#hx-a) { color: var(--hx-muted); }  /* pestañas: 3,5:1 → 4,8:1 */
html body .cpmm-promo--red .cpmm-promo__c:not(#hx-a) { color: #1550D6; }                       /* «Ver urgentes» en el menú: 3,5:1 → 5,8:1 */

/* Categoría: enlaces dentro del texto (#007BFF, 4,0:1 → #195FF5, 5,3:1). */
html body.tax-product_cat :is(.term-description, .cp-cat-bottom) a:not(.button):not(#hx-a) { color: var(--hx-brand-strong); }
