/* R4.2 · ACTIVE WOMAN — un mundo propio dentro de la misma tienda.
   La paleta sale del material real (vídeos de YoungLA for Her): yeso cálido, cacao, rosa del short y vino del set.
   Tipografía: Newsreader itálica para los titulares (ya alojada en shared/fonts) frente al Archivo expandido de la portada. */
@font-face { font-family: "Newsreader"; src: url("../shared/fonts/newsreader-italic-300-600.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../shared/fonts/newsreader-normal-300-600.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

html[data-aw] {
  --aw-plaster: #F2EBE2; --aw-sand: #E6DBCD; --aw-cocoa: #241915; --aw-mute: #6E5A4F;
  --aw-rose: #F0A9C6; --aw-wine: #5A1626; --aw-wine-deep: #3C0D19; --aw-cream: #FBF6EF;
  --bg: var(--aw-plaster); --ink: var(--aw-cocoa); --muted: var(--aw-mute); --line: rgba(36, 25, 21, .14);
  --am-blue: var(--aw-wine); --am-blue-mid: #4B1120; --am-blue-deep: var(--aw-wine-deep); --accent-text: var(--aw-wine);
  --aw-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  background: var(--aw-plaster); color: var(--aw-cocoa);
}
html[data-aw] body { background: var(--aw-plaster); color: var(--aw-cocoa); }
html[data-aw] .head { background: rgba(242, 235, 226, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); color: var(--aw-cocoa); }
/* logotipo oficial de Active Motion Women: el avatar de @activewoman__, sin modificar */
html[data-aw] .head .logo-light, html[data-aw] .head .logo-dark { display: none !important; }
html[data-aw] .head .aw-logo { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(90, 22, 38, .18); transition: transform var(--t-base) var(--e-out); }
html[data-aw] .head__logo:hover .aw-logo { transform: scale(1.06); }
.awc__logo { width: 56px; height: 56px; border-radius: 50%; margin-right: 14px; vertical-align: middle; }
html[data-aw] .uni a[aria-current] { color: var(--aw-wine); }
html[data-aw] h2 { font-family: var(--aw-serif); font-style: italic; font-weight: 300; font-stretch: 100%; letter-spacing: -.02em; text-transform: none; line-height: 1; font-size: clamp(2.2rem, 5vw, 4.25rem); }
html[data-aw] .sec:not(.camp) { background: var(--aw-plaster); }
.aw-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aw-wine); margin: 0 0 14px; }
.aw-lede { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.5; color: var(--aw-mute); max-width: 46ch; margin: 16px 0 0; }

/* botones */
.aw-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--aw-rose); color: var(--aw-cocoa); font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform var(--t-fast) var(--e-out), background var(--t-base) var(--e-standard); }
.aw-btn svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--e-out); }
.aw-btn:hover { background: #F7BDD4; } .aw-btn:hover svg { transform: translateX(4px); } .aw-btn:active { transform: scale(.97); }
.aw-btn--wine { background: var(--aw-wine); color: var(--aw-cream); } .aw-btn--wine:hover { background: #6E1D31; }
.aw-link { display: inline-flex; align-items: center; min-height: 52px; color: inherit; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 14px) / 100% 1px no-repeat; transition: background-size var(--t-base) var(--e-out); }
.aw-link:hover { background-size: 0 1px; background-position: 100% calc(100% - 14px); }
.aw-btn:focus-visible, .aw-link:focus-visible, .awt__tile:focus-visible, .aw-chip:focus-visible, .awc__card:focus-visible { outline: 2px solid var(--aw-wine); outline-offset: 3px; }

/* ---------- hero: muro de vídeo ---------- */
.awh { position: relative; height: calc(100svh - var(--head-h) - 36px); min-height: 560px; max-height: 1000px; background: var(--aw-wine-deep); color: var(--aw-cream); overflow: hidden; isolation: isolate; }
.awh__wall { position: absolute; inset: 0; display: flex; gap: 2px; }
.awh__col { position: relative; flex: 1 1 0; min-width: 0; margin: 0; overflow: hidden; background: #cfc3b6; transition: flex-grow var(--t-cine) var(--e-emph); }
.awh__col video, .awh__col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.awh__col video { opacity: 0; transition: opacity var(--t-slow) var(--e-standard); } .awh__col video.is-on { opacity: 1; }
@media (hover: hover) and (min-width: 900px) { .awh__wall:hover .awh__col { flex-grow: .86; } .awh__wall .awh__col:hover { flex-grow: 1.5; } }
.awh::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(36, 14, 18, .88), rgba(36, 14, 18, .5) 45%, rgba(36, 14, 18, 0)); pointer-events: none; z-index: 1; }
.awh__copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(64px, 9vh, 104px); pointer-events: none; }
.awh__copy > * { pointer-events: auto; }
.awh__title { font-family: var(--aw-serif); font-style: italic; font-weight: 300; font-size: clamp(4rem, 13.5vw, 13rem); line-height: .82; letter-spacing: -.045em; margin: 0; color: var(--aw-cream); }
.awh__title span { display: inline-block; } .awh__title span + span { margin-left: .18em; color: var(--aw-rose); }
.awh__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-top: clamp(18px, 2.4vw, 30px); }
.awh__lede { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.45; max-width: 40ch; margin: 0; color: rgba(251, 246, 239, .92); }
.awh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.awh__actions .aw-link { color: var(--aw-cream); }
.awh__meta { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 var(--pad); border-top: 1px solid rgba(251, 246, 239, .22); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 246, 239, .86); }
.awh__credit { display: inline-flex; align-items: center; gap: 12px; }
.awh__credit i { display: block; height: 13px; aspect-ratio: 9.946; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.awh__ctl { display: inline-flex; align-items: center; gap: 14px; }
.awh__segs { display: none; gap: 5px; } .awh__segs i { width: 22px; height: 2px; background: rgba(251, 246, 239, .35); } .awh__segs i.on { background: var(--aw-rose); }
.awh__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.awh__pause svg { width: 16px; height: 16px; }
/* entrada */
@media (prefers-reduced-motion: no-preference) {
  .awh__col { clip-path: inset(100% 0 0 0); animation: aw-rise var(--t-cine) var(--e-emph) calc(var(--n) * 90ms + 80ms) forwards; }
  .awh__title span, .awh__row { opacity: 0; transform: translateY(26px); animation: aw-in 900ms var(--e-out) forwards; }
  .awh__title span { animation-delay: 420ms; } .awh__title span + span { animation-delay: 520ms; } .awh__row { animation-delay: 680ms; }
}
@keyframes aw-rise { to { clip-path: inset(0); } }
@keyframes aw-in { to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .awh { height: calc(100svh - var(--head-h) - 36px - 44px); min-height: 520px; }
  .awh__wall { display: block; } .awh__col { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-cine) var(--e-standard); animation: none; clip-path: none; }
  .awh__col.is-cur { opacity: 1; }
  .awh__segs { display: inline-flex; }
  .awh__title { font-size: clamp(3.6rem, 21vw, 7rem); } .awh__title span { display: block; } .awh__title span + span { margin-left: 0; }
  .awh__row { flex-direction: column; align-items: flex-start; }
  .awh__copy { padding-bottom: 72px; }
  .awh__credit > span { display: none; } .awh__meta { gap: 10px; } .awh__ctl { gap: 10px; }
}

/* ---------- marcas para ella ---------- */
.awb { background: var(--aw-plaster); border-bottom: 1px solid var(--line); }
.awb__in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 26px; text-align: center; }   /* ronda 4: marcas centradas */
.awb__in > p { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aw-mute); }
.awb__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 64px; margin: 0; padding: 0; list-style: none; }
.awb__list a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--aw-cocoa); text-decoration: none; font-size: .8rem; font-weight: 600; transition: color var(--t-base) var(--e-standard); }
.awb__list a:hover { color: var(--aw-wine); }
.awb__list i { display: block; height: var(--h, 16px); aspect-ratio: var(--r); background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
@media (max-width: 760px) { .awb__list { gap: 4px 28px; } }

/* ---------- compra por prenda ---------- */
.awt { padding-block: clamp(64px, 9vw, 128px); }
.awt__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.awt__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: min(78vh, 760px); min-height: 520px; }
.awt__tile { position: relative; display: block; overflow: hidden; border: 0; padding: 0; background: var(--aw-sand); color: var(--aw-cocoa); text-align: left; font: inherit; cursor: pointer; border-radius: 4px; }
.awt__tile:nth-child(1) { grid-row: 1 / 3; } .awt__tile:nth-child(2) { grid-row: 1 / 3; }
.awt__grid[data-n="3"] .awt__tile, .awt__grid[data-n="2"] .awt__tile { grid-row: 1 / 3; } .awt__grid[data-n="2"] { grid-template-columns: 1fr 1fr; }
.awt__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 900ms var(--e-out); }
.awt__tile:hover img { transform: scale(1.035); }
.awt__cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--aw-plaster); }
.awt__cap b { font-family: var(--aw-serif); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: -.02em; }
.awt__cap span { font-size: .8rem; font-weight: 600; color: var(--aw-mute); white-space: nowrap; }
@media (max-width: 899px) { .awt__grid[data-n] .awt__tile { grid-row: auto; } .awt__grid[data-n="3"] .awt__tile:first-child { grid-column: 1 / 3; } .awt__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 62vw; height: auto; min-height: 0; } .awt__tile:nth-child(1), .awt__tile:nth-child(2) { grid-row: auto; } .awt__cap { padding: 12px 14px; flex-direction: column; gap: 2px; } }

/* ---------- catálogo ---------- */
.awg { padding-block: clamp(56px, 8vw, 112px); background: var(--aw-cream) !important; }
.awg__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.awg__filters { display: grid; gap: 10px; justify-items: end; }
.aw-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.aw-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(36, 25, 21, .24); background: transparent; color: var(--aw-cocoa); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background var(--t-fast) var(--e-standard), color var(--t-fast) var(--e-standard), border-color var(--t-fast) var(--e-standard), transform var(--t-fast) var(--e-out); }
.aw-chip:hover { border-color: var(--aw-cocoa); } .aw-chip:active { transform: scale(.96); }
.aw-chip[aria-pressed="true"] { background: var(--aw-cocoa); border-color: var(--aw-cocoa); color: var(--aw-cream); }
.aw-chip .num { opacity: .6; margin-left: 6px; font-weight: 500; }
.awg__count { margin: 0 0 18px; font-size: .85rem; color: var(--aw-mute); }
.awg__empty { padding: 56px 0; font-size: 1rem; color: var(--aw-mute); }
.awg__empty button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--aw-wine); text-decoration: underline; cursor: pointer; min-height: 44px; }
html[data-aw] .card__brand { color: var(--aw-wine); }
@media (max-width: 899px) { .awg__head { grid-template-columns: 1fr; } .awg__filters { justify-items: start; } .aw-chips { justify-content: flex-start; } }

/* ---------- capítulo Gymshark ---------- */
.aws { background: var(--aw-wine) !important; color: var(--aw-cream); padding-block: 0 clamp(64px, 9vw, 128px); }
/* ronda 4: Gymshark tiene su propio muro de vídeo (4 tomas de la campaña Vital Seamless) */
.aws__wall { position: relative; display: flex; gap: 2px; height: min(78svh, 760px); overflow: hidden; background: #3C0D19; }
.aws__wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--aw-wine) 0, rgba(90, 22, 38, 0) 26%); }
.aws__col { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #46101d; }
.aws__col img, .aws__col video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.aws__col video { opacity: 0; transition: opacity var(--t-slow) var(--e-standard); } .aws__col video.is-on { opacity: 1; }
.aws__pause { position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(251, 246, 239, .45); background: rgba(60, 13, 25, .55); color: var(--aw-cream); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background var(--t-base) var(--e-standard); }
.aws__pause:hover { background: rgba(60, 13, 25, .8); } .aws__pause svg { width: 14px; height: 14px; }
.aws__pause:focus-visible { outline: 2px solid var(--aw-cream); outline-offset: 3px; }
.aws__pause { display: none; }   /* Ricardo pidió los vídeos sin botón de pausa (igual que en los heros) */
.aws__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding-top: clamp(28px, 4vw, 56px); }
.aws .aw-btn { margin-top: 8px; }
.aws__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #46101d; }
.aws__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.aws__logo { display: block; height: 22px; aspect-ratio: 5.987; background: var(--aw-rose); -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat; margin-bottom: 22px; }
html[data-aw] .aws h2 { color: var(--aw-cream); }
.aws .aw-lede { color: rgba(251, 246, 239, .82); }
.aws__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(251, 246, 239, .22); }
.aws__list a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(251, 246, 239, .22); color: inherit; text-decoration: none; transition: padding var(--t-base) var(--e-out); }
.aws__list a:hover { padding-left: 10px; }
.aws__list img { width: 64px; height: 80px; object-fit: cover; border-radius: 2px; background: #46101d; }
.aws__list b { display: block; font-weight: 600; } .aws__list small { display: block; margin-top: 2px; font-size: .8rem; color: rgba(251, 246, 239, .7); }
.aws__list .num { font-weight: 600; }
@media (max-width: 899px) { .aws__in { grid-template-columns: 1fr; } .aws__wall { height: auto; aspect-ratio: 4 / 5; } .aws__col { display: none; flex: 1 0 100%; } .aws__col.is-cur { display: block; } }

/* ---------- comunidad ---------- */
.awc { padding-block: clamp(64px, 9vw, 128px); }
.awc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.awc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.awc__card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--aw-sand); color: var(--aw-cream); text-decoration: none; }
.awc__card img, .awc__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--e-out); }
.awc__card video { opacity: 0; transition: opacity var(--t-slow) var(--e-standard); } .awc__card video.is-on { opacity: 1; }
.awc__card:hover img { transform: scale(1.03); }
.awc__cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(36, 14, 18, .78), rgba(36, 14, 18, 0)); font-size: .85rem; }
.awc__cap b { display: block; font-weight: 600; } .awc__cap span { display: block; margin-top: 2px; font-size: .75rem; opacity: .82; }
@media (max-width: 899px) { .awc__grid { grid-template-columns: 1fr 1fr; } }

/* piezas heredadas de la tienda: toman el vino y el rosa en lugar del azul */
html[data-aw] { --camp-bg: var(--aw-wine-deep); --camp-2: #4B1120; --camp-ink: var(--aw-cream); --camp-muted: rgba(251, 246, 239, .76); --camp-line: rgba(251, 246, 239, .2); --camp-accent-text: var(--aw-rose); }
html[data-aw] .ann { background: var(--aw-wine-deep); box-shadow: inset 0 -1px 0 rgba(240, 169, 198, .26); --ann-sep: var(--aw-rose); }
html[data-aw] .ft { background: #1C1311; --bg: #1C1311; --accent-text: var(--aw-rose); --muted: #BFAEA3; }
html[data-aw] .rib__a { background: var(--aw-rose); color: var(--aw-cocoa); box-shadow: 0 22px 60px rgba(90, 22, 38, .2); }
html[data-aw] .rib__a .mq__item { color: var(--aw-cocoa); }
html[data-aw] .rib__b { background: var(--aw-wine-deep); color: var(--aw-cream); }
