
/* Fix ancho completo: una regla global del tema (.woocommerce-products-header + *,
   .hn-shop-toolbar { display:flex }) atrapa por accidente este wrapper porque queda
   justo despues de .woocommerce-products-header en el DOM, encogiendolo a su
   contenido en vez de ocupar el ancho completo. Se resetea aqui explicitamente. */
.hn-cat-template {
  display: block !important;
}

/* fix: el critical CSS cacheado de LiteSpeed para esta URL trae una regla huérfana
   ".hn-cat-template{width:100vw!important}" en @680px que ya no existe en este
   archivo fuente (quedó de una versión vieja) — fuerza el ancho a 100vw sin
   compensar con margin, así que el bloque queda inset a la izquierda (por el
   padding de #primary) y desborda oculto a la derecha. Se neutraliza aquí con
   el mismo par width+margin que ya usa .hn-cat-hero más abajo. */
@media (max-width: 680px) {
  .hn-cat-template {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

/* Full-bleed: iguala el ancho al hub /productos/ y a las landings tipo NRG
   (que usan Kadence "unboxed"/"full width"). Los taxonomy archives no tienen
   ese meta por página, así que se fuerza aquí, scoped a esta categoría. */
body.tax-product_cat.term-proteinas .site-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Oculta el loop nativo de WooCommerce: las cards hand-authored de
   .hn-cat-product-grid ya muestran estos mismos productos con mejor copy. */
body.tax-product_cat.term-proteinas ul.products { display: none !important; }

/* =====================================================================
   /productos/proteinas/ — plantilla premium de categoria
   Scope: solo se carga en is_tax('product_cat','proteinas')
   Base reutilizable: .hn-cat-template (compartida con batidos)
   ===================================================================== */

body.tax-product_cat.term-proteinas {
  overflow-x: hidden;
  background: #fff;
}

body.tax-product_cat.term-proteinas #primary {
  padding-left: clamp(16px, 5vw, 48px) !important;
  padding-right: clamp(16px, 5vw, 48px) !important;
}

body.tax-product_cat.term-proteinas .woocommerce {
  max-width: none !important;
  padding: 0 !important;
}

body.tax-product_cat.term-proteinas .woocommerce-result-count,
body.tax-product_cat.term-proteinas .woocommerce-ordering,
body.tax-product_cat.term-proteinas .hn-cat-pills-wrap,
body.tax-product_cat.term-proteinas .kadence-shop-top-row,
body.tax-product_cat.term-proteinas .products,
body.tax-product_cat.term-proteinas .woocommerce-pagination {
  display: none !important;
}

.hn-cat-template {
  --hn-green: #78BE20;
  --hn-green-dark: #103b11;
  --hn-green-deep: #071f07;
  --hn-green-mid: #266431;
  --hn-whatsapp: #25D366;
  --hn-text: #232820;
  --hn-muted: #687064;
  --hn-line: #E3E8DC;
  --hn-cream: #F5EDE4;
  --hn-sage: #F3F8EF;
  --hn-paper: #FFFDF8;
  --hn-radius: 8px;
  color: var(--hn-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

.hn-cat-template *,
.hn-cat-template *::before,
.hn-cat-template *::after {
  box-sizing: border-box;
}

.hn-cat-template a {
  color: var(--hn-green-mid);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* fix: .hn-cat-template a (arriba) gana por especificidad a .btn-wa y pinta
   el texto verde en vez de blanco en el botón WA de las product cards */
.hn-cat-template a.prod-card-hub__wa {
  color: #fff;
}

/* fix: la marquesina heredaba el padding del wrapper de WordPress (#primary)
   y quedaba inset ~48px por lado. Mismo escape de .hn-cat-band pero sin su
   padding vertical, que la marquesina no necesita. */
.hn-cat-template .hn-marquee {
  margin-left: calc(-1 * clamp(16px, 5vw, 48px));
  margin-right: calc(-1 * clamp(16px, 5vw, 48px));
}

/* fix: table.hn-cat-table th en hn-cl-tienda.css (specificity 0,1,2) le gana
   a .hn-cat-table th de este archivo (0,1,1) y deja texto #2B2B2B sobre el
   fondo verde oscuro del header — ilegible. */
.hn-cat-template table.hn-cat-table th {
  color: rgba(255, 255, 255, .88);
}

.hn-cat-template .hn-cat-container {
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
}

.hn-cat-band {
  margin-left: calc(-1 * clamp(16px, 5vw, 48px));
  margin-right: calc(-1 * clamp(16px, 5vw, 48px));
  padding: clamp(64px, 8vw, 104px) clamp(16px, 5vw, 48px);
}

.hn-cat-band--cream { background: var(--hn-cream); }
.hn-cat-band--sage { background: var(--hn-sage); }
.hn-cat-band--white { background: #fff; }

.hn-cat-band:not(.hn-cat-hero) {
  position: relative;
  z-index: 2;
}

.hn-cat-band:not(.hn-cat-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -80px;
  right: -80px;
  background: inherit;
  z-index: -1;
}

.hn-cat-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--hn-green-mid);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hn-cat-section-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.hn-cat-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.hn-cat-section-head h2 {
  margin: 0 0 12px;
  color: var(--hn-text);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.hn-cat-section-head p {
  margin: 0;
  color: var(--hn-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hn-cat-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hn-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.hn-cat-btn:hover {
  transform: translateY(-2px);
}

.hn-cat-btn--wa {
  background: var(--hn-whatsapp);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .28);
}

.hn-cat-btn--wa:hover, .hn-cat-btn--wa:focus, .hn-cat-btn--wa:active { background: #1EB85A; color: #fff !important; }

.hn-cat-btn--dark {
  background: var(--hn-green-mid);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(16, 59, 17, .18);
}

.hn-cat-btn--dark:hover {
  background: #1f5529;
}

.hn-cat-btn--outline {
  background: transparent;
  color: #266431 !important;
  border: 2px solid #78BE20;
}

.hn-cat-btn--outline:hover { background: #eaf3de; }

/* Hero */
/* Byline autor + fecha, debajo de los botones del hero */
.hn-cat-hero__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.hn-cat-hero__byline img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .25);
  flex-shrink: 0;
}

.hn-cat-hero__byline p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  line-height: 1.4;
}

.hn-cat-hero__byline a {
  color: var(--hn-green) !important;
  font-weight: 700;
  text-decoration: underline;
}

.hn-cat-hero__byline a:hover {
  color: var(--hn-green);
}

.hn-cat-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--hn-green-deep);
  color: #fff;
  text-align: left;
}

/* fix: .hn-cat-band:not(.hn-cat-hero) es el único selector con el truco de
   sangrado completo (::before con left/right:-80px) — el hero queda excluido
   a propósito y solo hereda el margen -clamp(16-48px) de .hn-cat-band, que no
   alcanza a cubrir el viewport completo. La imagen (absolute, inset:0 dentro
   del hero) queda recortada al mismo ancho insuficiente. */
.hn-cat-template .hn-cat-hero {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.hn-cat-hero__media,
.hn-cat-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hn-cat-hero__media img {
  height: 100% !important; /* fix: img{height:auto} generico del tema gana la cascada sin esto */
  object-fit: cover;
}

.hn-cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 7, .74) 0%, rgba(7, 31, 7, .62) 43%, rgba(7, 31, 7, .32) 72%, rgba(7, 31, 7, .12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .06));
  pointer-events: none;
  z-index: 1;
}

.hn-cat-hero .hn-cat-container {
  position: relative;
  z-index: 2;
}

.hn-cat-hero__content {
  max-width: 690px;
  padding-block: 40px;
}

.hn-cat-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(120, 190, 32, .14);
  color: #9ee044;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hn-cat-hero h1 {
  max-width: 690px;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(2.25rem, 5.4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
}

.hn-cat-hero h1 em {
  color: var(--hn-green);
  font-style: normal;
}

.hn-cat-hero__sub {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.hn-cat-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hn-cat-proof {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .9);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.25;
}

/* Quick answer */
.hn-cat-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .48fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.hn-cat-answer h2 {
  margin: 0 0 16px;
  color: var(--hn-text);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.hn-cat-answer p {
  margin: 0 0 16px;
  color: #3f463c;
  font-size: 1rem;
  line-height: 1.75;
}

.hn-cat-summary {
  position: sticky;
  top: 110px;
  border: 1px solid var(--hn-line);
  border-top: 5px solid var(--hn-green);
  border-radius: var(--hn-radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 59, 17, .09);
  padding: 22px;
}

.hn-cat-summary h3 {
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 850;
  color: var(--hn-text);
}

.hn-cat-summary ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hn-cat-summary li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--hn-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.hn-cat-summary li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hn-green);
  color: #103b11;
  font-size: .78rem;
  font-weight: 900;
}

/* Product cards */
.hn-cat-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hn-cat-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 59, 17, .12);
  border-radius: var(--hn-radius);
  background: var(--hn-paper);
  box-shadow: 0 14px 40px rgba(16, 59, 17, .08);
}

.hn-cat-product-card--featured {
  border-color: rgba(120, 190, 32, .6);
  box-shadow: 0 18px 52px rgba(120, 190, 32, .17);
}

.hn-cat-product-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .82;
  padding: 28px;
  background: linear-gradient(145deg, #f8f2e8, #eef7e8);
}

.hn-cat-product-card__media img {
  width: min(100%, 260px);
  height: 100%;
  object-fit: contain;
  transition: transform .28s ease;
}

.hn-cat-product-card:hover .hn-cat-product-card__media img {
  transform: scale(1.04);
}

/* ponytail: gradient placeholders para productos sin foto de producto real aún */
.hn-cpv-pdm { background: linear-gradient(145deg, #dff0c4, #b5e07a); }
.hn-cpv-ppp { background: linear-gradient(145deg, #e8f4ff, #c8dfff); }
.hn-cpv-bev { background: linear-gradient(145deg, #fff3d4, #ffe09a); }
.hn-cpv-crunch { background: linear-gradient(145deg, #f2e8d4, #e8d4b0); }
.hn-cpv-iced { background: linear-gradient(145deg, #d4eaf8, #9eceed); }

.hn-cat-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hn-green);
  color: #103b11;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hn-cat-product-card__badge--soft {
  background: #E8ECE4;
  color: #596255;
}

.hn-cat-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.hn-cat-product-card__type {
  margin: 0 0 7px;
  color: var(--hn-green-mid);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hn-cat-product-card h3 {
  margin: 0 0 10px;
  color: var(--hn-text);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.hn-cat-product-card__body p {
  margin: 0 0 18px;
  color: var(--hn-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.hn-cat-price {
  margin-top: auto;
  margin-bottom: 18px;
}

.hn-cat-price strong {
  display: block;
  color: var(--hn-green-mid);
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hn-cat-price span {
  display: block;
  margin-top: 5px;
  color: #7a6249;
  font-size: .76rem;
  line-height: 1.45;
}

.hn-cat-product-card .hn-cat-btn {
  width: 100%;
}

/* Recommender */
.hn-cat-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hn-cat-choice {
  background: var(--hn-sage);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(20, 33, 12, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hn-cat-choice:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 33, 12, .09);
}

.hn-cat-choice span {
  display: block;
  margin-bottom: 10px;
  color: var(--hn-green-mid);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hn-cat-choice h3 {
  margin: 0 0 8px;
  color: var(--hn-text);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.22;
}

.hn-cat-choice p {
  margin: 0;
  color: var(--hn-muted);
  font-size: .88rem;
  line-height: 1.55;
}

/* Tables */
.hn-cat-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hn-line);
  border-radius: var(--hn-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 59, 17, .08);
}

.hn-cat-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .9rem;
}

.hn-cat-table th {
  padding: 15px 16px;
  background: var(--hn-green-mid);
  color: rgba(255, 255, 255, .88);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.hn-cat-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #eef1ea;
  color: var(--hn-text);
  line-height: 1.55;
  vertical-align: top;
}

.hn-cat-table tbody tr:last-child td {
  border-bottom: 0;
}

.hn-cat-table tbody tr:hover td {
  background: #f8fbf5;
}

.hn-cat-table td:last-child {
  color: var(--hn-green-mid);
  font-weight: 850;
  white-space: nowrap;
}

.hn-cat-note {
  margin: 18px 0 0;
  color: var(--hn-muted);
  font-size: .9rem;
  line-height: 1.65;
  text-align: center;
}

/* Benefits and preparation */
.hn-cat-benefit-grid,
.hn-cat-prep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hn-cat-prep-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hn-cat-benefit,
.hn-cat-prep-card {
  border: 1px solid var(--hn-line);
  border-radius: var(--hn-radius);
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(16, 59, 17, .06);
}

.hn-cat-benefit__icon,
.hn-cat-prep-card__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #E7F6D5;
  color: var(--hn-green-mid);
  font-weight: 900;
}

.hn-cat-benefit__icon svg { width: 24px; height: 24px; }
.hn-cat-prep-card__mark svg { width: 22px; height: 22px; }

.hn-cat-benefit h3,
.hn-cat-prep-card h3 {
  margin: 0 0 9px;
  color: var(--hn-text);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.25;
}

.hn-cat-benefit p,
.hn-cat-prep-card p,
.hn-cat-prep-card li {
  color: var(--hn-muted);
  font-size: .88rem;
  line-height: 1.62;
}

.hn-cat-prep-card ol {
  padding-left: 18px;
  margin: 0 0 14px;
}

.hn-cat-prep-card li + li {
  margin-top: 9px;
}

.hn-cat-prep-card p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #edf1e9;
}

/* CTA and expert */
.hn-cat-cta {
  background:
    linear-gradient(135deg, rgba(7, 31, 7, .98), rgba(16, 59, 17, .95)),
    var(--hn-green-deep);
  color: #fff;
}

.hn-cat-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.hn-cat-cta h2 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.hn-cat-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.65;
}

.hn-cat-expert {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(16, 59, 17, .12);
  border-radius: var(--hn-radius);
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 48px rgba(16, 59, 17, .08);
}

.hn-cat-expert img {
  width: 118px;
  height: 118px;
  border: 4px solid var(--hn-green);
  border-radius: 50%;
  object-fit: cover;
}

.hn-cat-expert h3 {
  margin: 0 0 4px;
  color: var(--hn-text);
  font-size: 1.34rem;
  font-weight: 900;
}

.hn-cat-expert__role {
  margin: 0 0 12px;
  color: var(--hn-green-mid);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hn-cat-expert p {
  margin: 0 0 18px;
  color: var(--hn-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.hn-cat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hn-cat-stat strong {
  display: block;
  color: var(--hn-green-mid);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
}

.hn-cat-stat span {
  display: block;
  margin-top: 3px;
  color: var(--hn-muted);
  font-size: .72rem;
  line-height: 1.35;
}

/* FAQ and disclaimer */
.hn-cat-faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}

.hn-cat-faq-list details {
  border: 1px solid var(--hn-line);
  border-radius: var(--hn-radius);
  background: #fff;
}

.hn-cat-faq-list summary {
  cursor: pointer;
  padding: 17px 44px 17px 18px;
  color: var(--hn-text);
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
  position: relative;
}

.hn-cat-faq-list summary::-webkit-details-marker { display: none; }

.hn-cat-faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--hn-green-mid);
  border-bottom: 2px solid var(--hn-green-mid);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}

.hn-cat-faq-list details[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.hn-cat-faq-list details[open] summary {
  border-bottom: 1px solid #edf1e9;
}

.hn-cat-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--hn-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.hn-cat-disclaimer {
  padding-block: 30px;
  background: #F7FAF3;
}

.hn-cat-disclaimer p {
  max-width: 960px;
  margin: 0 auto 8px;
  color: #6f786b;
  font-size: .76rem;
  line-height: 1.65;
  text-align: center;
}

.hn-cat-disclaimer p:last-child {
  margin-bottom: 0;
}

/* ponytail: oculta mensaje WC "no hay productos" cuando se muestra el template editorial */
body.tax-product_cat.term-proteinas .woocommerce-info,
body.tax-product_cat.term-proteinas .woocommerce-no-products-found {
  display: none !important;
}

@media (max-width: 980px) {
  .hn-cat-answer,
  .hn-cat-cta__inner {
    grid-template-columns: 1fr;
  }

  .hn-cat-summary {
    position: static;
  }

  .hn-cat-product-grid,
  .hn-cat-prep-grid {
    grid-template-columns: 1fr;
  }

  .hn-cat-benefit-grid,
  .hn-cat-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  /* fix 2026-08-01: el bloque anterior forzaba .hn-cat-template a -49px de
     margen fijo (calibrado a un padding de tema que ya no es real — quedaba
     el contenido pegado al borde izquierdo sin margen y el hero recortado)
     y dejaba .hn-cat-container en padding:0, rompiendo el centrado normal
     de todo el texto. Reemplazado por el mismo truco sin calibrar a mano
     que ya usa .hn-cat-hero: escapar con vw, no con píxeles fijos del tema. */
  body.tax-product_cat.term-proteinas,
  body.tax-product_cat.term-proteinas #primary,
  body.tax-product_cat.term-proteinas .site,
  body.tax-product_cat.term-proteinas .site-content {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hn-cat-band {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hn-cat-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .hn-cat-hero::after {
    background: linear-gradient(180deg, rgba(7, 31, 7, .78) 0%, rgba(7, 31, 7, .68) 64%, rgba(7, 31, 7, .5) 100%);
  }

  .hn-cat-hero__media img {
    object-position: 62% center;
  }

  .hn-cat-hero__content {
    padding-block: 0;
  }

  .hn-cat-hero h1,
  .hn-cat-hero__sub,
  .hn-cat-hero__proof,
  .hn-cat-summary,
  .hn-cat-answer,
  .hn-cat-product-grid,
  .hn-cat-choice-grid,
  .hn-cat-table-wrap,
  .hn-cat-benefit-grid,
  .hn-cat-prep-grid,
  .hn-cat-expert,
  .hn-cat-faq-list,
  .hn-cat-section-head h2,
  .hn-cat-answer h2,
  .hn-cat-cta h2 {
    overflow-wrap: anywhere;
  }

  .hn-cat-hero h1 {
    font-size: 2rem;
    line-height: 1.06;
  }

  .hn-cat-answer h2,
  .hn-cat-section-head h2 {
    font-size: 1.72rem;
    line-height: 1.12;
  }

  .hn-cat-hero__eyebrow {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .hn-cat-btns {
    align-items: stretch;
    flex-direction: column;
  }

  .hn-cat-btn {
    width: 100%;
  }

  .hn-cat-hero__proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hn-cat-benefit-grid,
  .hn-cat-choice-grid,
  .hn-cat-expert {
    grid-template-columns: 1fr;
  }

  .hn-cat-expert {
    text-align: left;
  }

  .hn-cat-expert img {
    width: 96px;
    height: 96px;
  }

  .hn-cat-table {
    min-width: 620px;
  }
}

/* Ocultar grid nativo WooCommerce duplicado (las cards custom .hn-cat-product-card ya cubren esto) */
.woocommerce-products-header,
.kadence-shop-top-row,
ul.products.product-archive {
  display: none !important;
}

/* autor-card-v2 .autor-stats: falta el tamaño del svg (se renderiza al
   tamaño intrínseco, ~635px, e infla toda la sección). Mismo fix aplicado
   en hn-cl-objetivos.css y hn-cl-product.css. */
.autor-stat { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.autor-stat svg { width: 18px; height: 18px; color: #78BE20; flex-shrink: 0; }
.autor-stat strong { font-weight: 700; }

/* ---------- Breadcrumb (mismo patron que hn-cat-batidos.css / objetivos/bajar-de-peso) ---------- */
.hn-cat-breadcrumb { background: #F7F9F4; border-bottom: 1px solid #E5E7EB; padding: 12px 0; font-size: .82rem; }
.hn-cat-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0; margin: 0; }
.hn-cat-breadcrumb li { display: flex; align-items: center; gap: 6px; color: #6b7280; }
.hn-cat-breadcrumb li:not(:last-child)::after { content: '\203A'; color: #d7dbd3; }
.hn-cat-breadcrumb a { color: #67A81C; font-weight: 600; text-decoration: none; }
.hn-cat-breadcrumb a:hover { text-decoration: underline; }

/* Kadence agrega 80px de margin-top a .content-area para dar aire bajo el
   page-title (oculto) -- sin esto queda un bloque de espacio en blanco
   vacio antes de las migas de pan. Mismo fix que hn-cat-batidos.css. */
body.tax-product_cat.term-proteinas .content-area { margin-top: 0 !important; }

/* ---------- EEAT (autor-card-v2): mismos bugs que batidos, mismo fix ---------- */
.autor-stats {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 20px 28px; background: #F7F9F4; border-bottom: 1px solid #E5E7EB;
}
.autor-stat { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #1c2b16; }
.autor-stat svg { width: 18px; height: 18px; color: #78BE20; flex-shrink: 0; }
.autor-stat strong { font-weight: 700; }

/* autor-av: hn-home.css espera la clase .autor-av__foto y le da al
   fallback "MP" un z-index propio -- el fallback pintaba encima de la
   foto real. Como siempre hay foto, se oculta el fallback. */
.autor-av { position: relative; overflow: hidden; }
.autor-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; z-index: 2; }
.autor-av__fallback { display: none !important; }
.autor-card-v2__top-info p { color: rgba(255,255,255,.78) !important; }

/* .anim llega a opacity:0 via hn-home.css (pensado para el IntersectionObserver
   del home, que esta pagina no carga) -- el autor-card-v2 quedaba invisible. */
.anim { opacity: 1 !important; transform: none !important; }

/* .autor-card-v2__bottom es un grid de 2 columnas en hn-home.css -- con
   nuestros 3 <p> el link quedaba al lado del parrafo en vez de debajo. */
.autor-card-v2__bottom {
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  padding: 24px 28px !important;
}
.autor-card-v2__bottom p { margin-bottom: 8px !important; }
.autor-card-v2__bottom p:last-child { margin-bottom: 0 !important; }

/* "Ver [producto] →" era un link suelto sin estilo; se convierte en botón
   outline (mismo look que "Ver plan completo" de /productos/packs/), a ancho
   completo para alinear con Agregar al carrito / Pedir por WhatsApp. */
.hn-cat-template a.prod-card-hub__cta-ver {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid #78BE20;
  font-weight: 700;
  font-size: 15px;
  color: #266431;
  background: transparent;
  transition: background .15s ease, transform .15s ease;
  box-sizing: border-box;
}
.hn-cat-template a.prod-card-hub__cta-ver:hover {
  background: #eaf3de;
  transform: translateY(-2px);
}

/* Fix propio de /co/: el theme kadence-child-co usa "Entry Hero" para el
   título de archivo de categoría, distinto del wrapper .woocommerce-products-header
   que usa .cl. Se oculta aquí, scoped a esta categoría. 2026-09-06. */
body.tax-product_cat.term-proteinas .entry-hero.product-archive-hero-section {
  display: none !important;
}

/* ===== MARQUESINA CON ICONOS (componente hn-marquee/mq-item real del sitio,
   portado de hn-home.css de .cl). 2026-09-06. ===== */
.hn-marquee {
  background: linear-gradient(180deg, #0e2705 0%, #163a09 100%);
  border-bottom: 1px solid rgba(120,190,32,.2);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  list-style: none;
}
.hn-marquee::before,
.hn-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hn-marquee::before { left: 0; background: linear-gradient(to right, #0e2705, transparent); }
.hn-marquee::after { right: 0; background: linear-gradient(to left, #163a09, transparent); }
.hn-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0; padding: 0;
  list-style: none;
  animation: hn-marquee-scroll 40s linear infinite;
}
.hn-marquee:hover .hn-marquee__track { animation-play-state: paused; }
@keyframes hn-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hn-marquee__track { animation: none; }
}
.mq-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid rgba(120,190,32,.18);
}
.mq-item:last-child { border-right: none; }
.mq-item__icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: #78BE20;
  display: flex; align-items: center; justify-content: center;
}
.mq-item__icon svg { width: 18px; height: 18px; }
.mq-item__text {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: .01em;
}
.mq-item__text strong { color: #fff; font-weight: 700; }

/* ===== Sección Cliente Preferente — mismo componente portado en Batidos.
   2026-09-06. ===== */
.hn-cp-sec { padding: 64px 0; background: #F7F9F4; }
.cp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 32px 0; }
.hn-cp-sec .cp-benefit { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid #E5E7EB; border-radius: 18px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: transform .22s ease, box-shadow .22s ease; }
.hn-cp-sec .cp-benefit:hover { transform: translateY(-4px); box-shadow: 0 6px 30px rgba(0,0,0,.11); }
.cp-benefit__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #EBF7D4; color: #67A81C; display: flex; align-items: center; justify-content: center; }
.cp-benefit__icon svg { width: 22px; height: 22px; }
.cp-benefit h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.cp-benefit p { font-size: .9rem; color: #6B7280; line-height: 1.5; margin: 0; }
.hn-cp-sec .cp-cta-wrap { text-align: center; margin-top: 32px; background: #fff; border-radius: 18px; padding: 32px 24px; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.cp-cta-wrap p { font-size: .9rem; color: #6B7280; margin-top: 10px; }

/* ===== Fixes de UI reportados por Hector — 2026-09-06 =====
   1) FAQ: doble símbolo al abrir (marcador nativo del navegador + nuestro
      +/-). list-style:none no basta en Chrome moderno, hay que anular
      tambien ::marker explicitamente.
   2) Boton "Ver X" (ghost) sin contraste sobre la foto del hero: algo mas
      en la cascada le gana al color:#fff sin !important.
   3) Doble check en "Antes de decidir": el icono propio duplicado por
      algo mas en la cascada (probable estilo generico compartido). */
.hn-cat-faq-list summary::marker { content: ''; display: none; }
.hn-cat-faq-list summary { list-style: none !important; }
.hn-cat-btn--ghost { color: #fff !important; }
.hn-cat-summary li::marker { content: ''; }
.hn-cat-summary li::before { content: none !important; }

/* Fix propio de /co/: hn-cat-proteinas.css de .cl nunca definio la variante
   "ghost" del boton (solo wa/dark/outline), pese a que el HTML del hero la
   usa para "Ver PDM" -- bug preexistente en el archivo original de Chile,
   no una colision de cascada. Se agrega la regla completa (portada de
   hn-cat-batidos.css, que si la tiene). 2026-09-06. */
.hn-cat-btn--ghost {
  background: transparent; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.6); padding: 12.5px 24.5px;
}
.hn-cat-btn--ghost:hover { border-color: rgba(255,255,255,1); }

/* Fix definitivo boton "Ver X" (ghost): color base y estados (hover/focus/
   visited) pisados por una regla global de enlaces del theme con mayor
   especificidad/orden. Se sube especificidad + se cubren todos los
   pseudo-estados. 2026-09-06. */
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost,
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost:link,
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost:visited,
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost:hover,
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost:focus,
.hn-cat-hero .hn-cat-btns a.hn-cat-btn--ghost:active {
  color: #fff !important;
}

/* Fix: esta categoria ya trae su propio chevron dibujado con bordes
   (arriba, ::after content:""). Una regla "+/-" de otro origen (posible
   fuga de CSS critico entre paginas que comparten la clase .hn-cat-faq-list)
   pisaba el content y quedaban las dos formas superpuestas. Se fuerza el
   content vacio para que solo se vea el chevron. 2026-09-06. */
.hn-cat-faq-list summary::after { content: "" !important; }
