/* ==========================================================================
   Tela yute — componentes propios de /telas/yute/tela-yute
   Arletex Design System v3.5 · prefijo `yt-`
   Clon por prefijo de tafeta forro de colores (tfc-). Depende de
   landing-producto.css (tokens --ax-*, hero, sticky, color-sheet,
   ax-scroller, ax-cross) y de tergal-catalan.css (.tc-specs-grid).
   --------------------------------------------------------------------------
   Mapa de registros (variación §11.6):
     Hero ............ @dossier   · Dossier-stack     · Top-rule    (global)
     .yt-top ......... @showcase  · NumberProtagonist · Index-tab   · press-chunky
     .yt-carta ....... @gallery   · SwatchHead        · Brick-stack · lift-orange
     .yt-shorts ...... @manifest  · ManifestoClaim    · Bleed-edge  · rule-draw
     .ax-cross ....... @showcase  · LabelLateral      · Full-frame  (global)
     Tab Descripción . @technical · LabelLateral      · Side-rule   (tarjeta-beneficio)
     .yt-eco ......... @almanac   · IndexRow          · Double-rule
     .yt-usos ........ @gallery   · IndexRow          · ax-scroller · lift-orange
     .yt-faq ......... @dossier   · RunInHeadline     · Top-rule    · side-shift

   Reglas duras: radius 0, sombras sólidas sin blur, nada visible <14px,
   tap-size >=44px, prefers-reduced-motion.
   ========================================================================== */

/* Anclas por debajo del header fixed (113/104/158px según breakpoint). */
.ax-section[id],
.yt-top[id],
.yt-carta[id] { scroll-margin-top: 116px; }


/* ==========================================================================
   Hero — subtítulos H2/H3 de la ficha (conservan los H2 SEO del legacy)
   ========================================================================== */

.yt-hero-sub {
    margin: var(--ax-space-6, 24px) 0 var(--ax-space-2, 8px);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.86rem, 1.1vw, 1rem) !important;  /* style.css fuerza h2 a 30px !important */
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

/* Variante naranja (sin uso fijo; se conserva para subtítulos de acento). */
.yt-hero-sub--lead {
    margin-top: var(--ax-space-3, 12px);
    color: var(--ax-orange-deep, #B0401A);
}

/* Muestrario del hero: 27 colores. El hint dice qué hacen los dots. */
.yt-swatch-hint {
    display: block;
    margin: 0 0 8px;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--ax-muted, #6E6A60);
}

.yt-swatch-hint strong { color: var(--ax-ink, #1F2530); }

/* Enlace de composición en el hero: ink + subrayado naranja (no azul Bootstrap). */
.ax-spec-list__value a {
    color: var(--ax-ink, #1F2530);
    text-decoration: underline;
    text-decoration-color: var(--ax-orange, #F15A29);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* ==========================================================================
   .yt-carta — «Yute de colores»: 11 fotos de color del legacy
   Registro @gallery · Apertura SwatchHead · Marco Brick-stack · Hover lift-orange
   Sustituye el carrusel `catalogo-slick` del legacy (sus <h4> pasan a <h3>).
   ========================================================================== */

.yt-carta {
    background: var(--ax-paper, #FAF6EE);
    padding: clamp(56px, 8vw, 96px) 0;
}

.yt-carta__head {
    max-width: 62ch;
    margin: 0 0 clamp(24px, 3.4vw, 36px);
}

/* SwatchHead: tres tejas de color a modo de firma sobre el titular. */
.yt-carta__swatches {
    display: flex;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.yt-carta__swatches li {
    width: 34px;
    height: 20px;
    border: 1.5px solid var(--ax-ink, #1F2530);
}

.yt-carta__title {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1.7rem, 4vw, 2.7rem) !important;  /* style.css fuerza h2 a 30px !important */
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

.yt-carta__title em {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--ax-orange, #F15A29);
}

.yt-carta__sub {
    margin: 12px 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.92rem, 1.2vw, 1.05rem) !important;  /* style.css fuerza h3 a 25px en móvil */
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ax-orange-deep, #B0401A);
}

.yt-carta__note {
    margin: clamp(14px, 2vw, 18px) 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.65;
    color: var(--ax-muted, #6E6A60);
}

.yt-carta__note strong { color: var(--ax-ink, #1F2530); }

.yt-carta__note a {
    color: var(--ax-ink, #1F2530);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--ax-orange, #F15A29);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* Riel de una fila (.ax-scroller, landing-producto.css §26): 11 fichas,
   así que van más grandes que en una carta de 28 colores. */
.yt-carta__scroller {
    --ax-scroller-per: 1.6;
    --ax-scroller-gap: 12px;
    margin-top: clamp(24px, 3.4vw, 32px);
}

@media (min-width: 576px) { .yt-carta__scroller { --ax-scroller-per: 2.4; } }
@media (min-width: 768px) { .yt-carta__scroller { --ax-scroller-per: 3.4; --ax-scroller-gap: 14px; } }
@media (min-width: 992px) { .yt-carta__scroller { --ax-scroller-per: 4.4; } }
@media (min-width: 1200px) { .yt-carta__scroller { --ax-scroller-per: 5.4; --ax-scroller-gap: 16px; } }

.yt-carta__card {
    display: flex;
    flex-direction: column;
    background: var(--ax-white, #FFFFFF);
    border: 1.5px solid var(--ax-ink, #1F2530);
    box-shadow: 4px 4px 0 var(--ax-ink, #1F2530);
    transition:
        transform var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
        box-shadow var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

/* lift-orange, el gesto canónico del catálogo. */
@media (hover: hover) {
    .yt-carta__card:hover,
    .yt-carta__card:focus-within {
        transform: translate(-3px, -3px);
        box-shadow: 7px 7px 0 var(--ax-orange, #F15A29);
    }
}

.yt-carta__media {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1.5px solid var(--ax-ink, #1F2530);
}

.yt-carta__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-carta__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 14px;
    flex: 1;
}

.yt-carta__name {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 16px !important;  /* style.css fuerza h3 a 25px en móvil */
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

/* ink-flood en el CTA de cada color. */
.yt-carta__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin-top: auto;
    padding: 8px 10px;
    background: var(--ax-cream, #F2EDE4);
    border: 1.5px solid var(--ax-ink, #1F2530);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
    transition: background var(--ax-motion-fast, 160ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                color var(--ax-motion-fast, 160ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

.yt-carta__cta:hover,
.yt-carta__cta:focus {
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    text-decoration: none;
}

.yt-carta__cta:focus-visible {
    outline: 3px solid var(--ax-purple, #6A52A2);
    outline-offset: 2px;
}

.yt-carta__cta i { color: var(--ax-whatsapp, #25D366); }
.yt-carta__cta:hover i,
.yt-carta__cta:focus i { color: var(--ax-whatsapp, #25D366); }

.yt-carta__foot {
    margin: clamp(24px, 3.4vw, 34px) 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ax-muted, #6E6A60);
}

.yt-carta__foot a {
    color: var(--ax-ink, #1F2530);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--ax-orange, #F15A29);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}


/* Etiqueta «En stock» de la fila Más vendidos del hero. */
.yt-stock {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    vertical-align: 1px;
}


/* ==========================================================================
   .yt-top — los 6 colores más vendidos (fotos yute-colorido-*)
   Registro @showcase · Apertura NumberProtagonist · Marco Index-tab
   Hover press-chunky. Sustituye .color-card + el carrusel móvil del legacy.
   ========================================================================== */

.yt-top {
    background: var(--ax-white, #FFFFFF);
    padding: clamp(56px, 8vw, 96px) 0;
}

.yt-top__head {
    max-width: 60ch;
    margin: 0 0 clamp(28px, 4vw, 44px);
}

.yt-top__eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    background: var(--ax-yellow, #FFEB3B);
    color: var(--ax-ink, #1F2530);
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.yt-top__title {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1.7rem, 4vw, 2.7rem) !important;  /* style.css fuerza h2 a 30px !important */
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

.yt-top__title em {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--ax-orange, #F15A29);
}

.yt-top__lead {
    margin: 14px 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.6;
    color: var(--ax-muted, #6E6A60);
}

.yt-top__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* 2 columnas ya en móvil: 6 fichas apiladas medían ~2700px */
    gap: clamp(28px, 3vw, 36px) clamp(12px, 2.4vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 992px) { .yt-top__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Index-tab: la ficha cuelga de una pestaña ink con el puesto de venta. */
.yt-top__card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 22px;
    background: var(--ax-white, #FFFFFF);
    border: 1.5px solid var(--ax-ink, #1F2530);
}

.yt-top__rank {
    position: absolute;
    top: -24px;
    left: -1.5px;
    min-width: 64px;
    padding: 4px 12px 2px;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.yt-top__card:first-child .yt-top__rank { background: var(--ax-orange-deep, #B0401A); }

.yt-top__media {
    margin: 0;
    aspect-ratio: 1 / 1;  /* fotos 500×500 con la marca Arletex abajo: no recortar */
    overflow: hidden;
    border-bottom: 1.5px solid var(--ax-ink, #1F2530);
}

.yt-top__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-top__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 12px 10px 14px;
}

@media (min-width: 576px) { .yt-top__body { padding: 16px 18px 18px; } }

.yt-top__name {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important;  /* style.css fuerza h3 a 25px en móvil */
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

.yt-top__note {
    margin: 0 0 10px;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ax-muted, #6E6A60);
}

/* press-chunky: botón físico que se hunde al pulsar. */
.yt-top__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 8px;
    background: var(--ax-whatsapp, #25D366);
    border: 1.5px solid var(--ax-ink, #1F2530);
    box-shadow: 0 5px 0 var(--ax-ink, #1F2530);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
    transition: transform var(--ax-motion-fast, 160ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                box-shadow var(--ax-motion-fast, 160ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

.yt-top__cta:hover,
.yt-top__cta:focus {
    color: var(--ax-ink, #1F2530);
    text-decoration: none;
    transform: translateY(2px);
    box-shadow: 0 3px 0 var(--ax-ink, #1F2530);
}

.yt-top__cta:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ax-ink, #1F2530); }

.yt-top__cta:focus-visible {
    outline: 3px solid var(--ax-purple, #6A52A2);
    outline-offset: 3px;
}


/* ==========================================================================
   .yt-shorts — 3 shorts de YouTube en banda ink
   Registro @manifest · Apertura ManifestoClaim · Marco Bleed-edge · Hover rule-draw
   Sustituye .carrusel-videos (carrusel-shorts-youtube.css/js, esquinas
   redondeadas) por el riel global ax-scroller.
   ========================================================================== */

.yt-shorts {
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    padding: clamp(56px, 8vw, 96px) 0;
}

.yt-shorts__head { margin: 0 0 clamp(24px, 3.4vw, 36px); }

.yt-shorts__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ax-muted-dark, #A8A39A);
}

.yt-shorts__eyebrow i { color: var(--ax-orange, #F15A29); font-size: 1.1rem; }

.yt-shorts__title {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(2rem, 5.4vw, 3.6rem) !important;  /* style.css fuerza h2 a 30px !important */
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ax-white, #FFFFFF);
}

.yt-shorts__title em {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--ax-orange, #F15A29);
}

.yt-shorts__scroller {
    --ax-scroller-per: 1.25;
    --ax-scroller-gap: 16px;
}

@media (min-width: 576px) { .yt-shorts__scroller { --ax-scroller-per: 2.2; } }
@media (min-width: 992px) { .yt-shorts__scroller { --ax-scroller-per: 3; --ax-scroller-gap: 24px; } }

.yt-shorts__frame {
    position: relative;
    aspect-ratio: 9 / 16;
    max-height: 640px;
    margin: 0 auto;
    background: #000;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

/* rule-draw: una regla naranja crece bajo el video al pasar el cursor. */
.yt-shorts__frame::after {
    content: '';
    position: absolute;
    left: -1.5px;
    bottom: -8px;
    width: 0;
    height: 4px;
    background: var(--ax-orange, #F15A29);
    transition: width 320ms cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) {
    .yt-shorts__frame:hover::after { width: calc(100% + 3px); }
}

.yt-shorts__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================================
   Tab Descripción — piezas propias sobre .tarjeta-beneficio (global)
   ========================================================================== */

/* Subtítulos H3 SEO dentro de las tarjetas. */
.yt-card-sub {
    margin: 0 0 12px;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.92rem, 1.2vw, 1.05rem) !important;  /* style.css fuerza h3 a 25px en móvil */
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ax-orange-deep, #B0401A);
}

.yt-card-sub strong { font-weight: 700; }

/* Filas largas de la ficha (colores, propiedades, usos): la rejilla de
   .tc-specs-grid es para datos cortos. */
.yt-ficha {
    margin: 24px 0 0;
    text-align: left;  /* .tarjeta-beneficio centra el texto */
    border-top: 1.5px solid var(--ax-ink, #1F2530);
}

.yt-ficha__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ax-rule, #E5E1D7);
}

@media (min-width: 768px) {
    .yt-ficha__row { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
}

.yt-ficha dt {
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: clamp(0.86rem, 1.1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}

.yt-ficha dd {
    margin: 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ax-muted, #6E6A60);
}

.yt-ficha dd strong { color: var(--ax-ink, #1F2530); }

/* .yt-eco — seis beneficios ambientales (íconos del legacy).
   Double-rule: doble filete ink arriba y abajo del bloque. */
.yt-eco {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
    border-top: 4px double var(--ax-ink, #1F2530);
    border-bottom: 4px double var(--ax-ink, #1F2530);
}

@media (min-width: 768px) { .yt-eco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.yt-eco__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 14px;
    text-align: center;
    border-bottom: 1px solid var(--ax-rule, #E5E1D7);
}

.yt-eco__item img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.yt-eco__item p {
    margin: 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.45;
    color: var(--ax-ink, #1F2530);
}

/* Mosaico 2×2 de manualidades (lightbox). */
.yt-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yt-mosaic__tile {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1.5px solid var(--ax-ink, #1F2530);
    transition: transform var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                box-shadow var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

.yt-mosaic__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (hover: hover) {
    .yt-mosaic__tile:hover,
    .yt-mosaic__tile:focus-visible {
        transform: translate(-3px, -3px);
        box-shadow: 5px 5px 0 var(--ax-orange, #F15A29);
    }
}

.yt-mosaic__tile:focus-visible {
    outline: 3px solid var(--ax-purple, #6A52A2);
    outline-offset: 2px;
}

/* Video horizontal «¿Qué es el yute?». */
.yt-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1.5px solid var(--ax-ink, #1F2530);
    box-shadow: 6px 6px 0 var(--ax-ink, #1F2530);
}

.yt-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-video__credit {
    margin: 18px 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    text-align: center;
    color: var(--ax-muted, #6E6A60);
}


/* ==========================================================================
   Tab Descripción — ficha técnica sobre .tarjeta-beneficio (global)
   ========================================================================== */

/* Enlace dentro de la ficha técnica: ink + subrayado naranja (no azul Bootstrap). */
.product-infor-tab-content .tc-spec-value a {
    color: var(--ax-ink, #1F2530);
    text-decoration: underline;
    text-decoration-color: var(--ax-orange, #F15A29);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* tergal-catalan.css deja .tc-spec-label en 11px; piso de legibilidad 14px. */
.product-infor-tab-content .tc-spec-label {
    font-size: 14px;
    color: var(--ax-ink, #1F2530);
}


/* ==========================================================================
   .yt-usos — carrusel de usos: riel scroll-snap global (.ax-scroller,
   landing-producto.css §26 + ax-scroller.js). Bastidor ink con sombra
   sólida, hover lift-orange y pie en Anton. Funciona dentro del tab
   oculto (no mide al iniciar, a diferencia de slick).
   ========================================================================== */

.yt-usos { --ax-scroller-nav-top: calc(50% - 22px); margin: 32px 0 8px; }

.yt-media { margin: 0; }

.yt-media__box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--yt-ratio, 4 / 3);
    background: var(--ax-white, #FFFFFF);
    border: 2px solid var(--ax-ink, #1F2530);
    box-shadow: 8px 8px 0 var(--ax-ink, #1F2530);
    overflow: hidden;
    max-width: 100%;
}

.yt-media--1-1 { --yt-ratio: 1 / 1; }

.yt-media__box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-usos__media { margin: 0; }

.yt-usos__media .yt-media__box {
    box-shadow: 4px 4px 0 var(--ax-ink, #1F2530);
    transition:
        transform var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
        box-shadow var(--ax-motion-base, 240ms) var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

.yt-usos__media .yt-media__box:hover,
.yt-usos__media .yt-media__box:focus-within {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--ax-orange, #F15A29);
}

.yt-usos__label {
    margin: 14px 0 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem) !important;  /* style.css: h4 global */
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    color: var(--ax-ink, #1F2530);
}


/* ==========================================================================
   .yt-faq — acordeón ax-faq.js (data-ax-faq), exclusivo por grupo.
   Sin JS, <details> nativo sigue funcionando (SEO intacto).
   ========================================================================== */

.yt-faqsec__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}

@media (min-width: 940px) {
    .yt-faqsec__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .yt-faqsec__aside { position: sticky; top: 130px; }
}

.yt-faqsec__title { margin: 0.6rem 0 0; }

.yt-faqsec__note {
    margin: clamp(1rem, 2.4vw, 1.4rem) 0;
    max-width: 42ch;
    font-family: var(--ax-font-accent);
    font-style: italic;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.5;
    color: var(--ax-muted);
}

.yt-faq { display: flex; flex-direction: column; gap: 12px; }

.yt-faq__item {
    background: var(--ax-white);
    border: 1.5px solid var(--ax-rule);
    transition: border-color var(--ax-motion-fast) var(--ax-ease-out),
                box-shadow var(--ax-motion-fast) var(--ax-ease-out);
}

.yt-faq__item:hover { border-color: var(--ax-ink); }

.yt-faq__item[open] {
    border-color: var(--ax-ink);
    border-left: 4px solid var(--ax-orange);
    box-shadow: 5px 5px 0 var(--ax-ink);
}

.yt-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 44px;
    padding: clamp(13px, 1.8vw, 17px) clamp(16px, 2.2vw, 22px);
    /* side-shift */
    transition: padding-left var(--ax-motion-fast) var(--ax-ease-out);
}

.yt-faq__q::-webkit-details-marker { display: none; }
.yt-faq__q::marker { content: ""; }
.yt-faq__item:hover .yt-faq__q { padding-left: calc(clamp(16px, 2.2vw, 22px) + 5px); }

.yt-faq__q:focus-visible {
    outline: 3px solid var(--ax-purple, #6A52A2);
    outline-offset: 2px;
}

.yt-faq__q-text {
    flex: 1;
    margin: 0;
    font-family: var(--ax-font-body);
    font-weight: 700;
    font-size: clamp(0.98rem, 1.4vw, 1.12rem) !important;  /* style.css fuerza h3 a 25px en móvil */
    line-height: 1.35;
    color: var(--ax-ink);
    transition: color var(--ax-motion-fast) var(--ax-ease-out);
}

.yt-faq__q::after {
    content: '+';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-family: var(--ax-font-display);
    font-size: 1.35rem;
    line-height: 1;
    background: var(--ax-cream);
    color: var(--ax-orange-deep, #B0401A);
    border: 1.5px solid var(--ax-ink);
    transition: transform var(--ax-motion-fast) var(--ax-ease-out),
                background var(--ax-motion-fast) var(--ax-ease-out),
                color var(--ax-motion-fast) var(--ax-ease-out);
}

.yt-faq__item[open] .yt-faq__q-text { color: var(--ax-orange-deep, #B0401A); }

.yt-faq__item[open] .yt-faq__q::after {
    transform: rotate(45deg);
    background: var(--ax-orange);
    color: var(--ax-paper);
    border-color: var(--ax-orange);
}

.yt-faq__a {
    margin: 0;
    max-width: 72ch;
    padding: 0 clamp(16px, 2.2vw, 22px) clamp(16px, 2.2vw, 20px);
    font-family: var(--ax-font-body);
    font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
    line-height: 1.65;
    color: var(--ax-muted);
}

.yt-faq__a strong { color: var(--ax-ink); }

.yt-faq__a a {
    color: var(--ax-ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--ax-orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}


/* ==========================================================================
   Motion — prefers-reduced-motion (regla dura)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .yt-usos__media .yt-media__box,
    .yt-carta__card,
    .yt-carta__cta,
    .yt-top__cta,
    .yt-mosaic__tile,
    .yt-shorts__frame::after,
    .yt-faq__item,
    .yt-faq__q,
    .yt-faq__q-text,
    .yt-faq__q::after {
        transition: none !important;
    }
    .yt-usos__media .yt-media__box:hover,
    .yt-usos__media .yt-media__box:focus-within,
    .yt-carta__card:hover,
    .yt-carta__card:focus-within,
    .yt-mosaic__tile:hover {
        transform: none;
    }
    .yt-top__cta:hover,
    .yt-top__cta:focus,
    .yt-top__cta:active { transform: none; }
}
