/* Recopilatorios de tienda (recopilatorio-nintendo-store.php): entrada con fichas y tarjeta cuadrada en portada. */

/* Entrada: índice de secciones en una fila con scroll horizontal (móvil compacto, como el resto de recopilatorios) */
.ojr-indice { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.ojr-indice::-webkit-scrollbar { display: none; }
.ojr-indice .pill { white-space: nowrap; flex: none; }
.ojr-indice small { color: #6a7581; font-weight: 600; }
.ojr-seccion { margin: 1.8rem 0 2.2rem; scroll-margin-top: 5rem; }
.ojr-seccion h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 0 0 .9rem; padding-left: .7rem; border-left: 5px solid var(--tone, #e60012); }
.ojr-seccion .ojd-card { --tone: #e60012; }
.ojr-seccion .ojd-img img { object-fit: contain; background: #fff; }
.ojr-todas { text-align: center; margin: 1.5rem 0; }
.ojr-todas .ojd-btn { display: inline-block; padding: .75rem 1.2rem; }

/* Portada: tarjeta cuadrada */
.ojr-portada { margin-block: 2.5rem; }
.ojr-cuadro { display: flex; flex-direction: column; width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid #d5dfeb; border-top: 5px solid #e60012; border-radius: 1rem; overflow: hidden; color: #17212d; text-decoration: none; box-shadow: 0 6px 22px #17212d14; transition: transform .15s, box-shadow .15s; }
.ojr-cuadro:hover { transform: translateY(-3px); box-shadow: 0 10px 28px #17212d24; }
.ojr-cuadro img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 850; object-fit: cover; flex: none; }
.ojr-cuadro-txt { display: flex; flex-direction: column; gap: .25rem; padding: .55rem .95rem .7rem; flex: 1; min-height: 0; }
.ojr-kicker { font-family: var(--mono, monospace); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e60012; }
.ojr-cuadro strong { font-family: Arial, system-ui, sans-serif; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.03em; }
.ojr-lista { display: grid; grid-template-columns: 1fr 1fr; gap: .05rem .5rem; font-size: .72rem; color: #4a5664; }
.ojr-lista span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ojr-lista b { color: #17212d; }
.ojr-ver { margin-top: auto; font-weight: 700; font-size: .85rem; color: #005cae; }
/* Fila de cuadrados: Nintendo Store, PS Plus y PS Store */
.ojr-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.ojr-ps { --ps: #0070d1; border-top-color: var(--ps); }
.ojr-psplus { --ps: #f6b400; }
.ojr-cabeza { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 1rem .65rem; color: #fff; background: linear-gradient(135deg, #00439c, #0070d1); }
.ojr-psplus .ojr-cabeza { background: linear-gradient(135deg, #1f1f1f, #3a3000 60%, #8a6a00); }
.ojr-cabeza .ojr-kicker { color: #ffd34d; }
.ojr-cabeza strong { font-size: 1.35rem; line-height: 1.1; }
.ojr-cabeza strong a { color: inherit; text-decoration: none; }
.ojr-cabeza-sub { font-size: .8rem; opacity: .9; }
.ojr-planes, .ojr-juegos { list-style: none; margin: 0; padding: .25rem .6rem; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ojr-planes li, .ojr-juegos li { border-bottom: 1px solid #e6edf5; }
.ojr-planes li:last-child, .ojr-juegos li:last-child { border-bottom: 0; }
.ojr-planes a, .ojr-juegos a { display: flex; align-items: center; gap: .55rem; padding: .26rem .35rem; color: inherit; text-decoration: none; border-radius: .5rem; }
.ojr-planes a:hover, .ojr-juegos a:hover { background: #f2f6fb; }
.ojr-planes a { padding-block: .7rem; }
.ojr-plan { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: .95rem; }
.ojr-plan small { color: #6a7581; font-size: .72rem; }
.ojr-plan .ojr-via { color: #8a6a00; font-weight: 600; }
.ojr-juegos img { width: 34px; height: 34px; border-radius: .4rem; object-fit: cover; flex: none; background: #eef2f7; }
.ojr-juego { flex: 1; min-width: 0; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ojr-precio { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.15; }
.ojr-precio strong { font-size: .98rem; color: #005cae; }
.ojr-precio small { font-size: .7rem; color: #6a7581; }
.ojr-saldo { margin: 0; padding: .1rem 1rem; font-size: .76rem; color: #4a5664; }
.ojr-saldo a { color: #005cae; font-weight: 700; }
.ojr-ps .ojr-ver { padding: .3rem 1rem .8rem; text-decoration: none; }
@media (max-width: 960px) { .ojr-fila { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 625px) {
  .ojr-fila { grid-template-columns: 1fr; }
  .ojr-cuadro { width: 100%; aspect-ratio: auto; }
  .ojr-lista { font-size: .78rem; }
  .ojr-lista span { white-space: normal; }
  .ojr-seccion .ojd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}

/* PS Plus: imagen oficial de la oferta de Black Friday de Sony detrás de la cabecera (propietario, 17/11/2026) */
.ojr-psplus .ojr-cabeza { min-height: 7.5rem; justify-content: flex-end; background: linear-gradient(180deg, rgba(8, 14, 44, .15) 0%, rgba(8, 14, 44, .78) 55%, rgba(8, 14, 44, .95) 100%), url('recopilatorios/psplus-black-friday.webp') center 30% / cover no-repeat, #0b1440; }
.ojr-psplus .ojr-cabeza strong, .ojr-psplus .ojr-cabeza-sub { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
