/* Ritmo — ropa deportiva. Grafito + coral intenso. */
:root {
  --fondo: #f3f3f1; --superficie: #ffffff; --superficie-2: #e8e8e4; --texto: #16171a; --texto-2: #555860; --linea: #dcdcd7;
  --acento: #ff5533; --acento-texto: #16171a; --acento-tinta: #c2321a; --acento-suave: #ffe3dc;
  --hero: #1b1c21; --hero-texto: #f4f4f1; --hero-2: #b5b8c0; --hero-linea: #34363e;
  --seg: #d6d6d1; --cuerpo: #6b6f78; --cuerpo-atras: #4c4f57; --ilu-linea: rgba(0, 0, 0, .28);
  --cab-h: 60px; --sombra: 0 1px 2px rgba(20, 20, 25, .06), 0 8px 22px rgba(20, 20, 25, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #111215; --superficie: #1a1b20; --superficie-2: #24262c; --texto: #f2f2ef; --texto-2: #a5a8b0; --linea: #2e3037;
    --acento: #ff6646; --acento-texto: #111215; --acento-tinta: #ff8c72; --acento-suave: #3a201b;
    --hero: #18191e; --hero-texto: #f4f4f1; --hero-2: #a5a8b0; --hero-linea: #30323a;
    --seg: #34363d; --cuerpo: #7b7f89; --cuerpo-atras: #565962; --ilu-linea: rgba(0, 0, 0, .35);
    --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .3);
  }
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--cab-h) + 12px); }
body { background: var(--fondo); }
#catalogo { scroll-margin-top: calc(var(--demo-h) + var(--cab-h)); }
.tit-sec { font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.enlace { border: 0; background: none; padding: 6px 4px; font-weight: 700; font-size: 13px; color: var(--acento-tinta); text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.cab { position: sticky; top: var(--demo-h); z-index: 60; background: color-mix(in srgb, var(--fondo) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.cab-in { height: var(--cab-h); display: flex; align-items: center; gap: 16px; position: relative; }
.marca { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: .2em; font-style: italic; }
.marca-pulso { width: 34px; height: 14px; fill: none; stroke: var(--acento); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cab-nav { display: none; }
.cab-nav.abierto { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--fondo); border-bottom: 1px solid var(--linea); padding: 6px 16px 14px; box-shadow: var(--sombra); }
.cab-nav a { text-decoration: none; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.cab-nav a:last-child { border-bottom: 0; }
.cab-acc { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.b-pedido { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--texto); color: var(--fondo); font-weight: 700; font-size: 14px; }
.cuenta { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--acento); color: #16171a; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cuenta[hidden] { display: none; }
.cuenta.late { animation: late .45s ease-out; }
@keyframes late { 40% { transform: scale(1.35); } }
.b-menu { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; display: grid; place-items: center; }
@media (max-width: 380px) { .b-pedido-txt { display: none; } .b-pedido { padding: 0 12px; } }
@media (min-width: 960px) {
  .cab-nav { display: flex; gap: 28px; margin-left: 36px; }
  .cab-nav a { border: 0; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--texto-2); }
  .cab-nav a:hover { color: var(--texto); }
  .b-menu { display: none; }
}

/* Hero + actividad */
.hero { background: var(--hero); color: var(--hero-texto); }
.hero-in { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 28px; }
.rotulo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acento); }
.hero h1 { margin-top: 10px; font-size: clamp(38px, 11vw, 74px); font-weight: 900; letter-spacing: -.035em; line-height: .98; font-style: italic; }
.hero h1 span { color: var(--acento); }
.hero-bajada { margin-top: 14px; color: var(--hero-2); max-width: 40ch; }
.hero-btns { margin-top: 20px; max-width: 420px; }
.btn-claro { color: var(--hero-texto); border-color: var(--hero-linea); background: rgba(255, 255, 255, .04); }
.ico-wa { fill: currentColor; stroke: none; }
.confianza { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--hero-2); }
.confianza li { display: flex; align-items: center; gap: 8px; }
.confianza .ico { color: var(--acento); width: 18px; height: 18px; }

.act { display: grid; grid-template-columns: 116px 1fr; gap: 6px 14px; align-items: start; background: #24252b; border: 1px solid var(--hero-linea); border-radius: 22px; padding: 14px; }
.act-escena { grid-row: span 1; aspect-ratio: 200 / 260; background: radial-gradient(circle at 50% 42%, rgba(255, 85, 51, .16), transparent 66%); border-radius: 14px; }
.act-fig { width: 100%; height: 100%; overflow: visible; }
.act-pulso { fill: none; stroke: var(--acento); stroke-width: 2; stroke-linejoin: round; opacity: .55; }
.act-tit { font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.01em; }
.act-panel { display: grid; gap: 10px; align-content: start; min-width: 0; }
.act-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.act-b { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--hero-linea); background: #1b1c21; color: var(--hero-texto); font-size: 13px; font-weight: 700; text-align: left; line-height: 1.15; transition: background .15s, border-color .15s, transform .15s; }
.act-b .ico { width: 22px; height: 22px; color: var(--acento); }
.act-b:hover { border-color: #55575f; }
.act-b[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: #16171a; }
.act-b[aria-pressed="true"] .ico { color: #16171a; }
.act-b:active { transform: scale(.97); }
.act-b:focus-visible { outline-color: #fff; }
.act-porque { grid-column: 1 / -1; font-size: 14px; color: var(--hero-2); min-height: 2.6em; }
.act-porque.activo { color: var(--hero-texto); font-weight: 600; }
.act-ir { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 999px; background: var(--hero-texto); color: #16171a; font-weight: 800; font-size: 14px; text-decoration: none; }
.act-ir[hidden] { display: none; }
.act-ir .ico { width: 18px; height: 18px; }
.act > .act-porque, .act > .act-ir { margin-top: 2px; }
@media (min-width: 560px) { .act { grid-template-columns: 170px 1fr; } .act-grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1fr 560px; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .act { grid-template-columns: 190px 1fr; padding: 20px; gap: 10px 20px; }
  .act-tit { font-size: 26px; }
  .act-b { flex-direction: column; align-items: flex-start; min-height: 70px; padding: 10px; font-size: 14px; }
  .act-b .ico { width: 24px; height: 24px; }
}
@media (min-width: 1200px) { .hero-in { grid-template-columns: 1fr 600px; } }

/* Figura articulada (compartida: hero y ficha) */
.fg-c { fill: none; stroke: var(--cuerpo); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.fg-atras { stroke: var(--cuerpo-atras); }
.fg-torso { stroke-width: 22; }
.fg-cabeza { fill: var(--cuerpo); }
.fg-prenda { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fg-fibra { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.fg-fibra-osc { stroke: #000; }
.fg-prop { fill: none; stroke: var(--cuerpo-atras); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fg-pelota { fill: #d9f0ff; stroke: none; }
.hero .fg-c { stroke: #8b8f99; }
.hero .fg-atras { stroke: #5e626b; }
.hero .fg-cabeza { fill: #8b8f99; }
.hero .fg-prop { stroke: #5e626b; }
.hero .fg-prenda:first-child { filter: none; }

/* Catálogo */
.catalogo { padding-top: 36px; padding-bottom: 32px; }
.cat-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 16px; }
.cat-nota { font-size: 13px; color: var(--texto-2); }
.filtros { position: sticky; top: calc(var(--demo-h) + var(--cab-h)); z-index: 40; background: var(--fondo); border-bottom: 1px solid var(--linea); margin-top: 14px; }
.filtros-in { display: grid; gap: 8px; padding-top: 10px; padding-bottom: 10px; min-width: 0; }
.buscar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea); background: var(--superficie); }
.buscar .ico { color: var(--texto-2); }
.buscar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; }
.buscar:focus-within { outline: 2px solid var(--acento); outline-offset: 1px; }
.chips-fila { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; align-items: center; }
.chips-fila::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea); background: var(--superficie); font-size: 14px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.chips-sep { flex: none; width: 1px; height: 22px; background: var(--linea); margin: 0 4px; }
.chips-rot { flex: none; font-size: 12px; font-weight: 700; color: var(--texto-2); letter-spacing: .04em; margin-right: 2px; }
.sosten-fila.oculta { display: none; }
.sos-ic { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sos-ic::before, .sos-ic::after { content: ""; }
.sos-ic { width: 14px; background: linear-gradient(currentColor, currentColor) 0 100% / 3px 5px no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 3px 8px no-repeat, linear-gradient(currentColor, currentColor) 10px 100% / 3px 12px no-repeat; opacity: .3; }
.sos-ic[data-n="1"] { background: linear-gradient(var(--acento-tinta), var(--acento-tinta)) 0 100% / 3px 5px no-repeat, linear-gradient(var(--seg), var(--seg)) 5px 100% / 3px 8px no-repeat, linear-gradient(var(--seg), var(--seg)) 10px 100% / 3px 12px no-repeat; opacity: 1; }
.sos-ic[data-n="2"] { background: linear-gradient(var(--acento-tinta), var(--acento-tinta)) 0 100% / 3px 5px no-repeat, linear-gradient(var(--acento-tinta), var(--acento-tinta)) 5px 100% / 3px 8px no-repeat, linear-gradient(var(--seg), var(--seg)) 10px 100% / 3px 12px no-repeat; opacity: 1; }
.sos-ic[data-n="3"] { background: linear-gradient(var(--acento-tinta), var(--acento-tinta)) 0 100% / 3px 5px no-repeat, linear-gradient(var(--acento-tinta), var(--acento-tinta)) 5px 100% / 3px 8px no-repeat, linear-gradient(var(--acento-tinta), var(--acento-tinta)) 10px 100% / 3px 12px no-repeat; opacity: 1; }
.chip[aria-pressed="true"] .sos-ic { filter: brightness(1.6); }
@media (min-width: 960px) {
  .filtros-in { grid-template-columns: 280px 1fr; align-items: center; column-gap: 16px; }
  .sosten-fila { grid-column: 2; }
  .chips-fila { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
}

.cat-estado { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 14px 0 10px; }
.resultados { font-size: 13px; color: var(--texto-2); }
.comp-estado { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; background: var(--superficie); border: 1px solid var(--linea); border-radius: 999px; padding: 2px 6px 2px 14px; max-width: 100%; }
.comp-estado[hidden] { display: none; }
.comp-estado span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.porque-cat { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; margin-bottom: 14px; border-radius: 16px; background: var(--acento-suave); color: var(--texto); }
.porque-cat[hidden] { display: none; }
.porque-cat p { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.35; }
.porque-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--acento); color: #16171a; display: grid; place-items: center; }
.porque-ic svg { width: 22px; height: 22px; }

.grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1200px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sin-js { grid-column: 1 / -1; padding: 24px; background: var(--superficie); border-radius: 16px; }

.tarj { display: flex; flex-direction: column; background: var(--superficie); border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; min-width: 0; transition: opacity .25s, border-color .2s, box-shadow .2s; }
.tarj[hidden] { display: none; }
.tarj.reco { border-color: var(--acento); box-shadow: 0 0 0 1px var(--acento), var(--sombra); }
.tarj.tenue { opacity: .6; }
.tarj.en-comp { border-color: var(--texto); }
.tarj-img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; background: var(--superficie-2); }
.tarj-ilu { position: absolute; inset: 14% 14% 8%; display: grid; place-items: center; transition: transform .3s ease; }
.tarj-ilu svg { width: 100%; height: 100%; }
.tarj-img:hover .tarj-ilu { transform: translateY(-3px) scale(1.03); }
.tarj-tags { position: absolute; z-index: 1; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.sello { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--texto); color: var(--fondo); }
.sello[hidden] { display: none; }
.sello-ago { background: var(--fondo); color: var(--texto-2); border: 1px solid var(--linea); }
.sello-reco { background: var(--acento); color: #16171a; }
.tarj-mov { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; background: var(--superficie); color: var(--texto); font-size: 11px; font-weight: 700; box-shadow: var(--sombra); }
.tarj-mov .ico { width: 14px; height: 14px; fill: var(--acento); stroke: none; }
@media (max-width: 420px) { .tarj-mov span { display: none; } .tarj-mov { padding: 0 7px; } }

.tarj-cu { padding: 12px 12px 0; display: grid; gap: 6px; }
.tarj-dato { font-size: 11px; font-weight: 700; color: var(--acento-tinta); letter-spacing: .02em; }
.tarj h3 { font-size: 16px; font-weight: 800; }
.tarj-desc { font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.tarj-sos { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.tarj-var { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.sel-talle { height: 36px; min-width: 0; max-width: 84px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--linea); background: var(--superficie); font-size: 14px; font-weight: 600; }
.muestras { display: flex; flex-wrap: wrap; gap: 4px; }
.muestra { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: transparent; display: grid; place-items: center; }
.muestra::after { content: ""; width: 100%; height: 100%; border-radius: 50%; background: var(--m); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.muestra[aria-pressed="true"] { border-color: var(--texto); }

.barras { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.barras li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.b-nom { font-size: 11px; color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-seg { display: flex; gap: 2px; }
.b-seg i { width: 9px; height: 6px; border-radius: 2px; background: var(--seg); }
.b-seg i.on { background: var(--texto); }
.barras-mini { padding: 8px 0 2px; border-top: 1px solid var(--linea); margin-top: 2px; }
.tarj.reco .b-seg i.on { background: var(--acento-tinta); }
@media (min-width: 960px) { .b-seg i { width: 12px; } .b-nom { font-size: 12px; } }

.tarj-pie { margin-top: auto; padding: 10px 12px 12px; display: grid; gap: 8px; }
.precio { display: grid; gap: 1px; }
.precio b { font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.precio span { font-size: 12px; color: var(--texto-2); }
.tarj-acc { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cant { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: 999px; height: 40px; }
.cant button { width: 36px; height: 38px; border: 0; background: transparent; font-size: 18px; font-weight: 700; }
.cant span { min-width: 16px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.b-comp { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; display: grid; place-items: center; flex: none; }
.b-comp[aria-pressed="true"] { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.b-agregar { width: 100%; min-height: 44px; }
.b-agregar.ok { background: var(--texto); border-color: var(--texto); color: var(--fondo); }
.b-agregar:disabled { background: var(--superficie-2); border-color: var(--linea); color: var(--texto-2); cursor: not-allowed; }
@media (max-width: 380px) { .cant button { width: 30px; } .tarj-cu, .tarj-pie { padding-left: 10px; padding-right: 10px; } }

/* Ilustraciones */
.ilu-cuerpo { stroke: rgba(0, 0, 0, .35); stroke-width: 1.4; stroke-linejoin: round; }
.ilu-linea { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ilu-clara .ilu-linea { stroke: rgba(0, 0, 0, .3); }
.ilu-acento { fill: var(--acento); opacity: .9; }
.ilu-sombra { fill: rgba(0, 0, 0, .1); }

.relleno { display: none; }
@media (min-width: 960px) and (max-width: 1199px) {
  .relleno:not([hidden]) { display: grid; grid-column: span 2; align-content: center; gap: 10px; padding: 28px; border-radius: 18px; background: var(--hero); color: var(--hero-texto); }
  .relleno p { color: var(--hero-2); max-width: 40ch; }
  .relleno .relleno-tit { font-size: 26px; font-weight: 900; font-style: italic; color: var(--hero-texto); }
  .relleno .btn { justify-self: start; margin-top: 6px; }
}

.vacio { text-align: center; padding: 28px 16px; display: grid; justify-items: center; gap: 12px; }
.vacio[hidden] { display: none; }
.vacio svg { width: 56px; height: 56px; fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; }
.vacio p { max-width: 40ch; color: var(--texto-2); }

/* Cómo pedir, local, preguntas */
.como { padding: 40px 0; background: var(--superficie); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.pasos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.paso { display: flex; gap: 14px; align-items: flex-start; }
.paso-ico { width: 48px; height: 48px; flex: none; padding: 9px; border-radius: 14px; background: var(--acento-suave); fill: none; stroke: var(--acento-tinta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.paso h3 { font-size: 18px; font-weight: 800; }
.paso p { color: var(--texto-2); font-size: 15px; margin-top: 2px; }
@media (min-width: 960px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.local { padding: 40px 0; }
.local-in { display: grid; gap: 20px; }
.local-txt { margin-top: 12px; color: var(--texto-2); max-width: 46ch; font-size: 17px; }
.local-datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.local-datos li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linea); }
.local-datos .ico { color: var(--acento-tinta); margin-top: 2px; }
.local-datos b { display: block; font-size: 14px; }
.local-datos span { font-size: 14px; color: var(--texto-2); }
@media (min-width: 960px) { .local-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.preguntas { padding: 8px 0 48px; }
.preg-lista { margin-top: 16px; display: grid; gap: 8px; max-width: 760px; }
.preg-lista details { background: var(--superficie); border: 1px solid var(--linea); border-radius: 14px; }
.preg-lista summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.preg-lista summary::-webkit-details-marker { display: none; }
.preg-lista summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--acento-tinta); font-weight: 400; }
.preg-lista details[open] summary::after { content: "−"; }
.preg-lista details p { padding: 0 16px 16px; color: var(--texto-2); }
.marca-pie { font-size: 18px; color: var(--texto); }

/* Ficha */
.fi-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acento-tinta); }
.mov { display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: var(--hero); color: var(--hero-texto); }
.mov-tit { font-size: 15px; font-weight: 900; font-style: italic; }
.mov-escena { display: grid; place-items: center; height: 220px; }
.mov-fig { height: 100%; width: auto; overflow: visible; }
.mov .fg-c { stroke: #8b8f99; }
.mov .fg-atras { stroke: #5e626b; }
.mov .fg-cabeza { fill: #8b8f99; }
.mov-piso { stroke: #3a3c44; stroke-width: 2; stroke-linecap: round; }
.mov-ctrl { display: flex; align-items: center; gap: 10px; }
.mov-play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--acento); color: #16171a; display: grid; place-items: center; }
.mov-play .ico { fill: currentColor; stroke: currentColor; }
.mov-play .ico-pausa { display: none; stroke-width: 3; fill: none; }
.mov-play[aria-pressed="true"] .ico-play { display: none; }
.mov-play[aria-pressed="true"] .ico-pausa { display: block; }
.mov-play:focus-visible { outline-color: #fff; }
.mov-rango { flex: 1; display: flex; }
.mov-rango input { width: 100%; accent-color: var(--acento); height: 32px; }
.mov-poses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mov-poses button { min-height: 36px; border-radius: 10px; border: 1px solid #3a3c44; background: transparent; color: var(--hero-2); font-size: 12px; font-weight: 700; padding: 0 2px; }
.mov-poses button[aria-pressed="true"] { background: var(--hero-texto); color: #16171a; border-color: var(--hero-texto); }
.mov-poses button:focus-visible { outline-color: #fff; }
.mov-medidor { display: grid; gap: 6px; }
.mov-medidor p { font-size: 13px; color: var(--hero-2); }
.mov-barra { display: block; height: 6px; border-radius: 3px; background: #33353c; overflow: hidden; }
.mov-barra i { display: block; height: 100%; background: var(--hero-texto); transform-origin: 0 50%; transform: scaleX(0); }
.mov-barra i.alto { background: var(--acento); }
.fi-datos { display: grid; gap: 14px; }
.fi-desc { color: var(--texto-2); font-size: 15px; }
.barras-grandes { gap: 10px; }
.barras-grandes li { grid-template-columns: 1fr auto; row-gap: 0; }
.barras-grandes .b-nom { font-size: 14px; font-weight: 700; color: var(--texto); }
.barras-grandes .b-seg i { width: 26px; height: 9px; }
.barras-grandes .b-ayuda { grid-column: 1; font-size: 12px; color: var(--texto-2); }
.barras-grandes .b-seg { grid-row: span 2; }
.sos-niv { display: flex; gap: 3px; }
.sos-niv i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--superficie-2); color: var(--texto-2); }
.sos-niv i.on { background: var(--acento); color: #16171a; }
.fi-var { display: grid; gap: 8px; }
.fi-rot { font-size: 13px; color: var(--texto-2); }
.fi-rot b { color: var(--texto); }
.talles { display: flex; flex-wrap: wrap; gap: 6px; }
.talle { min-width: 48px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--linea); background: var(--superficie); font-weight: 700; }
.talle[aria-pressed="true"] { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.fi-precio .precio b { font-size: 24px; }
.fi-pie #fi-comp[aria-pressed="true"] { background: var(--texto); color: var(--fondo); }
@media (min-width: 960px) {
  dialog.hoja.hoja-ficha, dialog.hoja.hoja-comp { width: 520px; }
  .mov-escena { height: 260px; }
}

/* Comparar */
.cmp-cab { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-prod { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 10px; border-radius: 14px; background: var(--superficie-2); }
.cmp-img { width: 96px; height: 96px; }
.cmp-img svg { width: 100%; height: 100%; }
.cmp-prod b { font-size: 15px; }
.cmp-prod span { font-size: 13px; color: var(--texto-2); }
.cmp-tabla { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp-tabla li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.cmp-nom { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); text-align: center; width: 92px; }
.cmp-lado { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.cmp-lado.der { justify-content: flex-start; }
.cmp-lado b { font-size: 13px; min-width: 14px; text-align: center; text-transform: capitalize; font-variant-numeric: tabular-nums; }
.cmp-bar { display: flex; flex-direction: row-reverse; gap: 2px; }
.cmp-lado.der .cmp-bar { flex-direction: row; }
.cmp-bar i { width: 11px; height: 10px; border-radius: 2px; background: var(--seg); }
.cmp-bar i.on { background: var(--texto-2); }
.cmp-lado.gana .cmp-bar i.on { background: var(--acento); }
.cmp-lado.gana b { color: var(--acento-tinta); }
.cmp-mejor { display: grid; gap: 6px; font-size: 14px; color: var(--texto-2); padding-top: 4px; border-top: 1px solid var(--linea); }
.cmp-mejor b { color: var(--texto); }
@media (max-width: 380px) { .cmp-bar i { width: 8px; } .cmp-nom { width: 78px; font-size: 10px; } }

/* Barra de pedido (celular) */
.barra-ped { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--fondo) 30%); }
.barra-ped[hidden] { display: none; }
.barra-ped-in { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 18px; border-radius: 999px; border: 0; background: var(--texto); color: var(--fondo); font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.barra-ver { background: var(--acento); color: #16171a; font-weight: 800; padding: 9px 16px; border-radius: 999px; }
body.con-barra .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .barra-ped { display: none !important; } }

@media (prefers-reduced-motion: reduce) { .tarj-img:hover .tarj-ilu { transform: none; } }

/* Módulo actividad: áreas (celular primero) */
.act { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "fig tit" "fig por" "g g" "ir ir"; gap: 10px 14px; }
.act-panel { display: contents; }
.act-escena { grid-area: fig; }
.act-tit { grid-area: tit; align-self: end; }
.act-porque { grid-area: por; margin: 0; }
.act-grilla { grid-area: g; }
.act-ir { grid-area: ir; }
@media (min-width: 560px) { .act { grid-template-columns: 170px minmax(0, 1fr); grid-template-areas: "fig tit" "fig g" "fig por" "fig ir"; } }
@media (min-width: 960px) { .act { grid-template-columns: 190px minmax(0, 1fr); } }
.mov-escena { overflow: hidden; }
.mov-fig { width: 170px; height: 220px; }
.cmp-nom { width: 124px; font-size: 10px; letter-spacing: .03em; }
@media (min-width: 960px) { .mov-fig { width: 200px; height: 260px; } }
@media (max-width: 380px) { .cmp-nom { width: 104px; font-size: 9px; } }
.mov .fg-prenda, .hero .fg-prenda { filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, .75)); }
