/* Tutorial «Cómo se compra» (2026-11-11, elegido por Dario): un método a la vez (Gamepass · Grupo · Pases).
   Arriba el video con lo importante y el botón; debajo los pasos en dos columnas (sin columna fija: dejaba un hueco).
   Se apoya en tienda.css del inicio (.qm, .qm-top, .qm-btn, .qm-pie). Solo actúa con html[data-qpt="tutorial"]. */
.qp { max-width: 1180px; margin: 0 auto; padding: 142px 22px 64px; }
.qp.qm h1 { font-family: 'Archivo', 'Inter', sans-serif; margin: 0; color: #fff; letter-spacing: -.025em; font-size: clamp(30px, 3.7vw, 46px); font-weight: 800; line-height: 1.04; }
.qp-ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.qp a.qm-btn { color: #120e1b; }   /* tienda.css hereda el color en los enlaces de .qm */
.qp .qm-pie { margin-top: 22px; }
html[data-qpt="tutorial"] .qt-top p { max-width: 60ch; }

/* ---------- qué vas a comprar ---------- */
.qt-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qt-tab { --c: var(--vi); position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--ln); background: var(--s1); text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.qt-tab.gp { --c: #f87171; } .qt-tab.gr { --c: var(--gr); } .qt-tab.pa { --c: var(--vi); }
.qt-tab:hover { border-color: var(--ln2); }
.qt-tab > span { flex: none; width: 52px; height: 52px; border-radius: 14px; background-size: cover; background-position: center 30%; background-color: #1d1830; opacity: .7; transition: opacity .18s; }
.qt-tab b { display: block; font-family: 'Archivo', sans-serif; font-size: 17.5px; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.qt-tab small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--mu); }
.qt-tab[aria-selected="true"] { border-color: var(--c); background: rgba(27, 22, 40, .96); box-shadow: inset 0 -3px 0 var(--c); }
.qt-tab[aria-selected="true"] > span, .qt-tab:hover > span { opacity: 1; }
.qt-tab[aria-selected="true"] small { color: #cdc4e2; }

/* ---------- el método elegido ---------- */
.qt-panel { --c: var(--vi); margin-top: 18px; padding: 30px !important; border-radius: 24px; border: 1px solid var(--ln); background: var(--s1); }   /* !important: el sitio le pone 5rem a toda <section> */
.qt-panel.gp { --c: #f87171; } .qt-panel.gr { --c: var(--gr); } .qt-panel.pa { --c: var(--vi); }
.qt-panel[hidden] { display: none; }
.qt-lado-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 40px; align-items: center; }
.qt-vid { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #1d1830 center / cover no-repeat; cursor: pointer; outline: 1px solid var(--ln); outline-offset: -1px; }
.qt-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 11, 23, 0) 45%, rgba(15, 11, 23, .7) 100%); }
.qt-vid span { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: #fff; }
.qt-vid svg { width: 44px; height: 44px; padding: 13px; border-radius: 50%; background: #fff; fill: #120e1b; transition: transform .18s; }
.qt-vid:hover svg { transform: scale(1.08); }
.qt-vid small { font-weight: 600; color: #d9d2ea; }
.qt-lado h2 { font-size: 26px; font-weight: 800; line-height: 1.14; text-wrap: balance; }
.qt-lado p { margin: 10px 0 0; max-width: 52ch; font-size: 14.5px; line-height: 1.55; color: #cdc4e2; }
.qt-datos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.qt-datos li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.42; color: #e7e1f6; }
.qt-datos .qp-ic { color: var(--c); }
.qt-lado .qm-btn { margin-top: 22px; min-height: 48px; padding: 0 22px; font-size: 15.5px; gap: 8px; }
.qt-lado .qm-btn i { font-style: normal; transition: transform .18s; }
.qt-lado .qm-btn:hover i { transform: translateX(3px); }

/* ---------- los pasos: dos columnas que se leen hacia abajo ---------- */
.qt-pasos-t { margin: 32px 0 18px; padding-top: 26px; border-top: 1px solid var(--ln); font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.qt-pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; column-gap: 46px; }
.qt-pasos.f4 { grid-template-rows: repeat(4, auto); } .qt-pasos.f3 { grid-template-rows: repeat(3, auto); }
.qt-pasos li { position: relative; counter-increment: paso; padding: 0 0 24px 52px; }
.qt-pasos li::before { content: counter(paso); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 800; color: #120e1b; background: var(--c); }
.qt-pasos li::after { content: ""; position: absolute; left: 16px; top: 37px; bottom: 3px; width: 2px; border-radius: 2px; background: var(--ln2); }
.qt-pasos li:nth-last-child(2)::after, .qt-pasos.f4 li:nth-child(4)::after, .qt-pasos.f3 li:nth-child(3)::after { display: none; }   /* el último de cada columna no sigue */
.qt-pasos.f4 li:nth-child(4), .qt-pasos.f4 li:nth-child(8), .qt-pasos.f3 li:nth-child(3), .qt-pasos.f3 li:nth-child(6) { padding-bottom: 0; }
.qt-pasos b { display: block; font-family: 'Archivo', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #fff; line-height: 1.3; }
.qt-pasos p { margin: 4px 0 0; max-width: 58ch; font-size: 14.5px; line-height: 1.55; color: #cdc4e2; }
.qt-pasos a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
/* el consejo cierra la lista: con 7 pasos ocupa el lugar libre junto al paso 4; con 6, va debajo a lo ancho */
.qt-pasos li.qt-tip { counter-increment: none; font-size: 14.5px; line-height: 1.55; color: #e7e1f6; }
.qt-pasos li.qt-tip::before { content: "!"; background: none; color: var(--c); box-shadow: inset 0 0 0 2px var(--c); }
.qt-pasos li.qt-tip::after { display: none; }
.qt-pasos li.qt-tip b { display: inline; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; color: var(--c); }
.qt-pasos.f4 li.qt-tip { padding-top: 3px; }
.qt-pasos.f3 li.qt-tip { grid-column: 1 / -1; grid-row: 4; margin-top: 24px; padding-top: 3px; }

.qt-seguro { margin: 26px 0 0; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: #cdc4e2; }
.qt-seguro svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #6ee7b7; }
.qt-seguro b { color: #fff; }

@media (max-width: 980px) {
  .qt-panel { padding: 24px !important; }
  .qt-lado-in { gap: 0 28px; }
  .qt-lado h2 { font-size: 23px; }
  /* una sola columna de pasos, con el consejo al final */
  .qt-pasos, .qt-pasos.f4, .qt-pasos.f3 { display: block; }
  .qt-pasos.f4 li:nth-child(4), .qt-pasos.f3 li:nth-child(3) { padding-bottom: 24px; }
  .qt-pasos.f4 li:nth-child(4)::after, .qt-pasos.f3 li:nth-child(3)::after { display: block; }
  .qt-pasos li:nth-last-child(2) { padding-bottom: 0 !important; }
  .qt-pasos li.qt-tip, .qt-pasos.f4 li.qt-tip, .qt-pasos.f3 li.qt-tip { margin-top: 24px; padding-bottom: 0 !important; }
}
@media (max-width: 720px) {
  .qp { padding: 112px 16px 52px; }
  .qt-tabs { gap: 8px; }
  .qt-tab { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 10px 10px 12px; border-radius: 14px; }
  .qt-tab > span { width: 100%; height: 44px; border-radius: 9px; }
  .qt-tab b { font-size: 14.5px; }
  .qt-tab small { display: none; }
  .qt-panel { margin-top: 12px; padding: 16px 16px 22px !important; border-radius: 20px; }
  .qt-lado-in { display: block; }
  .qt-lado h2 { margin-top: 18px; font-size: 22px; }
  .qt-lado .qm-btn { width: 100%; justify-content: center; }
  .qt-pasos-t { margin-top: 26px; padding-top: 22px; }
  .qt-pasos li { padding-left: 46px; }
  .qt-pasos b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .qp *, .qp *::before { transition: none !important; } }
