/* BeatMembers — colores de Beat System: rosa #f91e53, negro #161922, morado #1e0529, azul #0089f7 */
.bm-catalog, .bm-account, .bm-course, .bm-page { max-width: 1100px; margin: 0 auto; padding: 36px 20px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #161922; }
.bm-title { font-size: 2rem; font-weight: 800; color: #161922; margin: 0 0 12px; }
.bm-subtitle { color: #555; margin: 0 0 32px; line-height: 1.6; }
/* Catálogo compacto como la referencia: 3 columnas en escritorio,
   tarjetas chicas con menos padding e imagen más baja. Fondo oscuro
   #161922 (1.6.21, como el mockup aprobado y RiperCool), con las
   tarjetas blancas encima. */
.bm-catalog { background: #161922; border-radius: 24px; }
.bm-catalog .bm-title { color: #fff; }
.bm-catalog .bm-subtitle { color: #c6c6e2; }
/* 1.6.34: notita de la cuenta bajo el subtítulo del catálogo, chiquita y clara sobre el fondo oscuro. */
.bm-note-catalog { font-size: .85rem; color: #c6c6e2; margin: -20px 0 24px; line-height: 1.5; }
.bm-catalog .bm-filter-empty { color: #c6c6e2; }
.bm-catalog > p { color: #c6c6e2; }
/* La causa del hueco blanco era el estirado de la fila: align-items:
   stretch + grid-auto-rows: 1fr + height:100% en la tarjeta + flex:1
   en el cuerpo hacían que todas las tarjetas de una fila midieran lo
   mismo que la más alta (la de Rekordbox, con foto más grande) y el
   cuerpo absorbía la diferencia como espacio vacío abajo. Ahora la
   fila NO estira (align-items: start), cada tarjeta mide lo que su
   contenido ocupa y termina justo después de "Comprar acceso". Las
   tarjetas se ven parejas por el recorte fijo de título (2 líneas),
   descripción (3 líneas) e "Incluye" (2 líneas), no por estirar. */
.bm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; max-width: 1120px; margin: 0 auto; }
/* Filtro por área (idea 1): menú desplegable discreto arriba a la derecha
   del catálogo. Blanco, con la opción activa en rosa. */
.bm-catalog-tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; }
.bm-filter { position: relative; }
.bm-filter-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.6px solid #c6c9d4; border-radius: 6px; padding: 11px 20px; font-size: .98rem; font-weight: 700; color: #161922; cursor: pointer; line-height: 1.2; } /* 1.6.23: mismo radio 6px que los botones, estilo Claude. */
.bm-filter-btn:hover, .bm-filter-btn[aria-expanded="true"] { border-color: #f91e53; }
.bm-filter-chevron { color: #f91e53; font-size: .85rem; }
.bm-filter-menu[hidden] { display: none; }
.bm-filter-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(22,25,34,.25); text-align: left; }
.bm-filter-menu button { display: block; width: 100%; box-sizing: border-box; background: none; border: none; cursor: pointer; padding: 11px 14px; border-radius: 9px; font-size: .98rem; font-weight: 600; color: #161922; text-align: left; }
.bm-filter-menu button:hover { background: #f4f4f8; }
.bm-filter-menu button[aria-current="true"] { color: #f91e53; background: #fff0f4; }
.bm-filter-empty { text-align: center; color: #565a68; padding: 32px 0; }
/* Tarjeta combinada (yoga + Claude): blanca, centrada y simétrica, sobre fondo oscuro. Compacta: imagen baja y poco padding.
   Todas las tarjetas miden exactamente lo mismo: título a 2 líneas,
   descripción a 3 líneas e "Incluye" a 2 líneas, con altura fija, y
   las acciones pegadas al contenido (sin margin-top:auto, que dejaba
   un hueco grande en las tarjetas con poco texto). */
.bm-card { background: #fff; border: 2px solid #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.55); color: #161922; display: flex; flex-direction: column; text-align: center; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.bm-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0,0,0,.65); }
/* Imagen superior de tamaño fijo e igual en todas las tarjetas: el
   contenedor mide 160 px y recorta (la foto nunca estira la tarjeta).
   La altura va con !important y también en línea en la etiqueta <img>,
   para que ninguna regla del tema (p. ej. img { height: auto }) pueda
   estirar la foto subida: cualquier imagen se acopla al cuadro de
   Beat System, curso en línea, recortada con object-fit: cover. */
.bm-card-img { width: 100% !important; height: 160px !important; max-height: 160px !important; object-fit: cover !important; display: block; transition: transform .45s ease; }
.bm-card-body { padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 5px; align-items: center; line-height: 1.55; }
.bm-card-body h3 { margin: 0; font-size: 1.15rem; color: #161922; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-card-body p { margin: 0; color: #565a68; font-size: .92rem; line-height: 1.55; }
/* Descripción recortada a 2 líneas con altura fija: las tarjetas con
   descripciones cortas ya no quedan con aire y las largas no crecen. */
.bm-card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: calc(2 * 1.45 * .9rem); font-size: .9rem !important; line-height: 1.45 !important; }
/* Precio grande y centrado (Claude) + insignia lila con el plazo fijo.
   1.6.21: la pastilla es la del mockup aprobado: texto #7c3aed sobre
   fondo #f5f3ff. */
.bm-price { font-size: 1.5rem !important; font-weight: 800; color: #161922 !important; margin: 2px 0 0 !important; text-align: center; }
.bm-term-badge { display: inline-block; background: #f5f3ff; color: #7c3aed; font-weight: 800; font-size: .82rem; padding: 5px 14px; border-radius: 999px; margin: 0 auto; }
/* Línea de info (idea 4): íconos en línea, sin cajitas ni bordes.
   Solo ícono + texto, con aire entre los dos datos. Altura fija de
   una línea para que todas las tarjetas queden iguales. */
.bm-info-line { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 0; width: 100%; }
.bm-info-item { display: inline-flex; align-items: center; gap: 6px; color: #565a68; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.bm-info-item .bm-icon { width: 16px; height: 16px; flex: none; color: #f91e53; }
/* Mi Cuenta discreta: cursos comprados en filas compactas, no en tarjetas
   grandes. Imagen chica, nombre clicable, una línea con duración y
   vencimiento, y un solo botón discreto. Sin precio ni cajitas. */
.bm-owned-list { display: flex; flex-direction: column; gap: 12px; max-width: 980px; margin: 0 auto 40px; }
.bm-owned-row { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #e8e8ee; border-radius: 16px; padding: 14px 18px; text-align: left; }
.bm-owned-thumb { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.bm-owned-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-owned-body { flex: 1; min-width: 0; }
.bm-owned-body h3 { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.3; }
.bm-owned-body h3 a { color: #161922; text-decoration: none; }
.bm-owned-body h3 a:hover { color: #f91e53; text-decoration: underline; }
.bm-owned-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.bm-owned-meta .bm-info-item { font-size: .92rem; }
.bm-owned-meta .bm-info-item .bm-icon { width: 16px; height: 16px; }
.bm-owned-status { color: #e9232e; font-weight: 700; font-size: .9rem; }
.bm-owned-btn { width: auto !important; flex: none; min-height: 44px !important; padding: 10px 22px !important; font-size: .95rem; }
/* Compartir: botón discreto, redondo y blanco, en la esquina superior
   derecha de la imagen. No agrega nada al cuerpo de la tarjeta. */
.bm-card-media { position: relative; height: 160px !important; max-height: 160px !important; overflow: hidden; flex: none; }
/* Efecto al pasar el mouse: zoom suave de la foto + reflejo que barre
   la imagen, y la tarjeta se levanta un poco (ver .bm-card:hover). */
.bm-card:hover .bm-card-media .bm-card-img { transform: scale(1.07); }
.bm-card-media::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; z-index: 1; }
.bm-card:hover .bm-card-media::after { left: 135%; }
.bm-card-media .bm-card-img { border-radius: 0; }
.bm-share { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.94); color: #161922; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(22,25,34,.25); }
.bm-share:hover { transform: translateY(-1px); }
.bm-share .bm-icon-share { width: 19px; height: 19px; }
.bm-share-done { position: absolute; top: 46px; right: 0; white-space: nowrap; background: #161922; color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.bm-share-menu[hidden] { display: none; }
.bm-share-menu { position: absolute; top: 60px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(22,25,34,.25); padding: 6px; min-width: 170px; text-align: left; }
.bm-share-menu button, .bm-share-menu a { display: block; width: 100%; box-sizing: border-box; background: none; border: none; cursor: pointer; padding: 10px 12px; border-radius: 9px; font-size: .95rem; font-weight: 600; color: #161922; text-decoration: none; text-align: left; }
.bm-share-menu button:hover, .bm-share-menu a:hover { background: #f4f4f8; }
/* En la página del curso, la imagen también lleva el botón de compartir. */
/* 1.6.36: fondo difuminado detrás del banner. La misma imagen va de
   fondo (background-image en línea en el div, heredada por ::before),
   difuminada y oscurecida, llenando todo el ancho; la imagen completa
   va encima, centrada, sin cortarse. Así ya no quedan bandas oscuras
   a los lados. Solo el banner de la página del curso/paquete. */
.bm-course-media { position: relative; overflow: hidden; border-radius: 20px; background: #161922; }
.bm-course-media::before { content: ""; position: absolute; inset: 0; background-image: inherit; background-size: cover; background-position: center; filter: blur(32px) brightness(.45); transform: scale(1.2); }
/* 1.6.37: velo oscuro sobre el fondo difuminado para que no se lean las letras fantasma de los lados. */
.bm-course-media::after { content: ""; position: absolute; inset: 0; background: rgba(22,25,34,.45); pointer-events: none; }
.bm-course-media .bm-share { top: 16px; right: 16px; z-index: 3; }
.bm-course-media .bm-share-menu { top: 62px; right: 16px; }
/* Botones estilo Claude (1.6.23): esquinas de 6px (ni pastilla ni
   rectángulo afilado), un poco más bajos (44px) y con sombra suave
   en el de comprar. Ancho completo, una sobre otra, como antes. */
.bm-card-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 0; padding-top: 0; width: 100%; }
.bm-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 44px; border: none; cursor: pointer; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .15s; box-shadow: none; }
.bm-btn:hover { transform: translateY(-1px); }
/* Botón primario: rojo #dc2626 estilo Claude, con su sombra suave. */
.bm-btn-primary { background: #dc2626; color: #fff !important; box-shadow: 0 2px 8px rgba(220,38,38,.35); }
/* v1.6.14: al pasar el mouse el tema de WordPress ponía el botón en
   negro. Ahora el hover es un rojo más oscuro, nunca negro, con
   !important para que el tema no lo pueda sobreescribir. Aplica al
   botón de "Comprar acceso" de las tarjetas y de la página del curso.
   1.6.21: el rojo es el del mockup aprobado (#dc2626, hover #b91c1c). */
.bm-btn-primary:hover { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; box-shadow: 0 4px 12px rgba(220,38,38,.45) !important; }
/* Botón secundario: pastilla con borde claro y texto oscuro, como la referencia de Claude. */
.bm-btn-ghost { background: #fff; color: #23252f !important; border: 1.6px solid #c6c9d4; }
.bm-btn-ghost:hover { background: #f4f4f8; }
/* "Más información" MUCHO más chico que el botón de comprar: 32 px de
   alto, letra chica y ancho contenido centrado (no a todo lo ancho).
   Antes era de 40 px a todo lo ancho y Angel lo seguía viendo grande.
   1.6.21: estilo fantasma del mockup aprobado: SIN relleno, borde
   gris de 1 px (#d1d5db) y texto gris (#4b5563). */
.bm-card-actions .bm-btn-info { min-height: 32px; height: 32px; padding: 5px 14px; font-size: .8rem; width: auto; min-width: 150px; max-width: 210px; margin: 0 auto; background: transparent; border: 1px solid #d1d5db; color: #4b5563 !important; }
/* Al hacer clic o al enfocarlo con teclado, NUNCA negro (el tema de
   WordPress pone los botones en negro y se ve agresivo): gris claro
   para el secundario y un rojo más oscuro para el primario. */
.bm-btn-ghost:active, .bm-btn-ghost:focus-visible { background: #efe9ff; border-color: #c9b8f5; color: #5b21b6 !important; outline: none; transform: none; }
.bm-btn-primary:active, .bm-btn-primary:focus-visible { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; outline: none; transform: none; }
/* 1.6.21: "Ya tienes acceso" en las tarjetas: botón gris deshabilitado
   (#9ca3af, del mockup aprobado). No reacciona al hover: ya está comprado. */
.bm-btn-owned { background: #9ca3af !important; color: #fff !important; cursor: default; }
.bm-btn-owned:hover { background: #9ca3af !important; border-color: #9ca3af !important; transform: none; }
/* Botón de ancho completo (formularios y modal). */
.bm-btn-block { width: 100%; margin-top: 16px; }
/* Acciones de la página del curso: mismas dos píldoras apiladas, ancho completo, centradas. */
.bm-detail-actions { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 560px; margin: 24px auto 0; }
/* Nota pequeña y centrada bajo el botón de compra (referencia de Claude). */
.bm-note { font-size: .85rem !important; color: #7a7e8c !important; text-align: center; margin: 4px auto 0 !important; max-width: 92%; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: calc(2 * 1.5 * .85rem); }
/* Casilla de Términos en la zona de pago de la página del curso/paquete. */
.bm-terms { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .92rem; line-height: 1.4; cursor: pointer; }
.bm-terms input { width: 18px; height: 18px; accent-color: #f91e53; cursor: pointer; }
.bm-terms-msg { color: #f91e53 !important; font-size: .88rem !important; text-align: center; margin: 0 !important; }
/* Página del curso: centrada como la referencia (imagen grande, título, descripción). */
.bm-course { text-align: center; }
.bm-course .bm-course-desc { text-align: center; }
.bm-course h2 { text-align: center; }
.bm-course .bm-video-list { text-align: left; }
.bm-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.bm-form label { font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
/* 1.6.38: el texto que se escribe en los campos se veía oscuro sobre
   fondo oscuro (casi invisible en la contraseña nueva y en el código
   de 6 dígitos). Letra blanca sobre burbuja oscura, nunca negra: la
   burbuja es oscura y la letra negra se perdería más. */
.bm-form input[type=text], .bm-form input[type=email], .bm-form input[type=password], .bm-form input[type=number], .bm-form input[type=tel], .bm-form input[type=search] { padding: 12px; border: 2px solid #ddd; border-radius: 12px; font-size: 1rem; width: 100%; box-sizing: border-box; color: #fff !important; background: #1d0125 !important; }
.bm-form input::placeholder { color: #9a93a8 !important; }
/* 1.6.38: "Cerrar sesión" en Mi Cuenta ya no es un enlace de texto:
   es un botón rojo como los demás, pero no de ancho completo. */
.bm-logout { width: auto !important; min-width: 180px; }
.bm-form input:focus { border-color: #f91e53; outline: none; }
.bm-modal { display: none; position: fixed; inset: 0; background: rgba(10,10,20,.75); z-index: 9999; align-items: center; justify-content: center; padding: 16px; }
.bm-modal.bm-modal-open { display: flex; }
/* Ventanita "Más información": solo información, chica y limpia como
   la referencia (título, contenido y qué incluye). Sin foto, sin
   cupón, sin Términos y sin botón de comprar. */
.bm-modal-box { background: #fff; color: #161922; border-radius: 20px; max-width: 460px; width: 100%; max-height: 88vh; overflow: auto; padding: 28px 26px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.5); text-align: left; line-height: 1.45; }
/* 1.6.21: contenido de la ventanita "Más información" impreso en la
   tarjeta (oculto). El JS solo lo muestra: sin AJAX ni nonce. */
.bm-modal-data[hidden] { display: none; }
.bm-modal-box .bm-info-line { margin: 18px 0 0; justify-content: flex-start; }
.bm-modal-box h3 { font-size: 1.25rem; margin: 0 0 8px; line-height: 1.35; }
.bm-modal-box h4 { font-size: 1rem; margin: 12px 0 4px; }
.bm-modal-list { margin: 0; padding-left: 20px; }
.bm-modal-list li { margin: 2px 0; }
.bm-modal-text { margin: 6px 0; color: #475569; }
.bm-modal-close { position: absolute; top: 12px; right: 16px; background: #161922; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.bm-term { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid #eee; border-radius: 12px; margin: 6px 0; cursor: pointer; }
.bm-term input { accent-color: #f91e53; }
.bm-term b { color: #f91e53; }
.bm-toast { background: #161922; color: #fff; border-left: 6px solid #f91e53; padding: 14px 18px; border-radius: 12px; margin: 0 0 20px; display: none; }
.bm-toast-ok { border-left-color: #22c55e; }
.bm-toast-show { display: block; }
/* 1.6.35: imagen de la página del curso/paquete: ya no se recorta.
   Antes era un banner de 180 px con object-fit: cover y las letras se
   cortaban arriba y abajo. Ahora va completa (object-fit: contain,
   máx. 320 px de alto) sobre fondo oscuro, para que quepa sin cortarse
   en escritorio y en celular. Solo aplica al banner de la página del
   curso/paquete, NO a las tarjetas (esas siguen en 160 px, cover). */
.bm-course-img { width: 100%; max-height: 320px; object-fit: contain; background: transparent; border-radius: 0; display: block; margin: 0 auto; position: relative; z-index: 1; }
.bm-course-desc { font-size: 1.05rem; color: #333; margin: 18px 0 32px; line-height: 1.7; }
.bm-locked { background: #1e0529; color: #fff; padding: 28px; border-radius: 16px; margin: 24px 0; }
.bm-video-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.bm-video-locked { background: #f2f2f2; color: #111827 !important; padding: 14px 16px; border-radius: 12px; }
.bm-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
.bm-muted { color: #888; }
.bm-badge { display: block; width: max-content; background: linear-gradient(135deg, #f91e53, #0089f7); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin: 12px auto 0; }
/* En la tarjeta, la insignia "Paquete" va flotando sobre la foto (no
   encima de ella como bloque): antes sumaba ~30 px solo a los paquetes
   y eso también hacía las tarjetas desparejas. */
.bm-card .bm-badge { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; }
.bm-card-bundle { outline: 2px solid #f91e53; }
/* 1.6.9, marco opción 3 del PDF: borde blanco de 2 px + sombra fuerte
   (ya en .bm-card) para que la tarjeta se despegue del fondo azul
   oscuro del catálogo. Tarjeta sin imagen: empieza directo con el
   título, sin reservar espacio para foto; la insignia "Paquete" ya no
   flota sobre la foto y pasa a ir en flujo, arriba a la izquierda. */
.bm-card-no-img .bm-card-body { padding-top: 18px; }
.bm-card-no-img .bm-badge { position: static; align-self: flex-start; margin: 12px 0 0 12px; }
.bm-includes { color: #565a68 !important; font-size: .9rem !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 1.6.7: se quitó el espaciador invisible (.bm-includes-empty) que
   reservaba 2 líneas en blanco en los cursos sin "Incluye": ese hueco
   era parte del aire que se veía abajo en las tarjetas. */
.bm-includes-list { margin: 8px 0 16px; padding-left: 20px; }
.bm-includes-list li { margin: 4px 0; }
@media (max-width: 1000px) {
    .bm-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
    .bm-grid { grid-template-columns: 1fr; gap: 20px; }
    .bm-card-body { padding: 16px 14px 18px; gap: 8px; }
    .bm-catalog-tools { margin-bottom: 16px; }
    .bm-filter-btn { padding: 10px 16px; }
}
@media (max-width: 600px) {
    .bm-title { font-size: 1.6rem; }
    /* En móvil los botones siguen apilados a ancho completo, uno sobre otro. */
    .bm-card-actions { gap: 10px; }
    .bm-btn { font-size: .95rem; min-height: 50px; }
    /* En móvil el botón "Más información" sigue chico (32 px). */
    .bm-card-actions .bm-btn-info { min-height: 32px; height: 32px; font-size: .8rem; }
    .bm-modal-box { padding: 22px 18px; }
    /* Fila discreta en móvil: imagen más chica y botón a lo ancho. */
    .bm-owned-row { flex-wrap: wrap; gap: 12px; }
    .bm-owned-thumb { width: 56px; height: 56px; }
    .bm-owned-btn { width: 100% !important; }
}

/* ---------- 1.6.13: esconder el encabezado/migajero del tema en páginas BeatMembers ----------
   El "Home > Mi Cuenta" / "Home > Online" y el título grande de la página
   los pone el tema de WordPress, no el plugin. Se esconde solo en páginas
   BeatMembers (body.bm-page, que pone el plugin): catálogo, Mi Cuenta
   (login, código 2FA, restaurar contraseña), cada curso y cada paquete,
   incluidos los cursos que se agreguen después. El título propio del
   plugin (.bm-title, "Cursos online") NO se toca: no usa estas clases. */
body.bm-page .breadcrumb,
body.bm-page .breadcrumbs,
body.bm-page .breadcrumb-trail,
body.bm-page .yoast-breadcrumbs,
body.bm-page .rank-math-breadcrumb,
body.bm-page .seopress-breadcrumbs,
body.bm-page .ast-breadcrumbs,
body.bm-page .ast-page-title,
body.bm-page .ast-archive-header,
body.bm-page .page-header,
body.bm-page .entry-header,
body.bm-page .page-title,
body.bm-page .entry-title,
body.bm-page .elementor-page-title,
body.bm-page .et_pb_title_container,
body.bm-page .fl-page-header,
body.bm-page .site-content > .page-header,
body.bm-page .title-bar,
body.bm-page .page-banner { display: none !important; }

/* ---------- 1.6.15: la barra gris con el título grande del tema ----------
   La 1.6.13 quitó el migajero ("Home > Mi Cuenta"), pero la barra gris de
   arriba con el título grande ("Mi Cuenta" / "Online") seguía: usa una
   clase que no estaba en la lista. Se agregan más selectores y selectores
   genéricos [class*="..."] para cubrir la barra de casi cualquier tema.
   Los títulos propios del plugin (.bm-title) NO se tocan: no usan estas
   clases y están dentro de .bm-catalog/.bm-account/.bm-course. */
body.bm-page .page-title-bar,
body.bm-page .ast-title-bar-wrap,
body.bm-page .ast-title-bar,
body.bm-page .page-hero,
body.bm-page .hero-section,
body.bm-page .inner-banner,
body.bm-page .page-title-area,
body.bm-page .title-area,
body.bm-page #page-title,
body.bm-page #page-header,
body.bm-page [class*="title-bar"],
body.bm-page [class*="page-title"],
body.bm-page [class*="page-header"],
body.bm-page [class*="page-banner"],
body.bm-page [class*="breadcrumb"] { display: none !important; }

/* ---------- 1.6.18: margen superior grande en páginas BeatMembers ----------
   Al quitar la barra del título en la 1.6.15 quedó un hueco grande vacío
   (gris/blanco) entre el encabezado del sitio y el contenido del plugin:
   el tema deja su padding superior y el propio contenedor del plugin
   tenía 36px arriba. Se deja solo un cuartito de ese margen, en TODAS
   las páginas BeatMembers (catálogo, Mi Cuenta, cursos, paquetes y los
   que se agreguen). Abajo no se toca nada: solo el margen de arriba. */
/* ---------- 1.6.20: la 1.6.19 escondió el encabezado en celular ----------
   REGRESIÓN de la 1.6.19: en celular desaparecieron el logo y el menú.
   Causa: sus reglas tocaban #page/.site (que envuelven también el
   encabezado) y su JS colapsaba "hermanos vacíos" antes del contenido:
   en celular el menú está colapsado, así que innerText del encabezado
   sale vacío y el JS lo escondía. AHORA: el encabezado NUNCA se toca.
   Solo se ajusta el padding/margen superior de los envoltorios de
   CONTENIDO que están DEBAJO del encabezado (main, .site-content...),
   y el contenedor del plugin queda con solo 10px arriba. */
body.bm-page .site-header,
body.bm-page #masthead,
body.bm-page header.site-header,
body.bm-page .site-branding,
body.bm-page .ast-header { visibility: visible !important; opacity: 1 !important; height: auto !important; overflow: visible !important; }
body.bm-page main,
body.bm-page #main,
body.bm-page .site-content,
body.bm-page #content,
body.bm-page #primary,
body.bm-page .content-area,
body.bm-page .site-main,
body.bm-page .ast-container,
body.bm-page .entry-content,
body.bm-page article { margin-top: 0 !important; padding-top: 0 !important; }
body.bm-page .site-content > *:first-child,
body.bm-page #content > *:first-child,
body.bm-page main > *:first-child,
body.bm-page #main > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.bm-page .bm-catalog,
body.bm-page .bm-account,
body.bm-page .bm-course { margin-top: 0 !important; padding-top: 10px !important; }

/* ---------- 1.6.30: fondo oscuro en páginas BeatMembers (BeTheme) ----------
   El blanco alrededor del panel del catálogo es el fondo de página del
   tema (BeTheme). En páginas BeatMembers (body.bm-page, que ya pone el
   plugin: catálogo, Mi Cuenta, cursos y paquetes) se pinta todo oscuro
   como el panel del catálogo (#161922): body, #Wrapper y #Content del
   tema, y los contenedores internos se dejan transparentes para que no
   quede ninguna franja blanca. El resto del sitio no se toca. Como el
   fondo ya no es blanco, los textos propios del plugin en Mi Cuenta y
   en la página del curso pasan a claros para que se lean. Las tarjetas
   blancas del catálogo y las filas de "Mis cursos" no se tocan. */
body.bm-page,
body.bm-page #Wrapper,
body.bm-page #Content { background-color: #161922 !important; }
/* 1.6.31: las franjas laterales seguían blancas porque el fondo del
   tema vive también en <html>, no solo en body: se pinta igual. */
html:has(body.bm-page) { background-color: #161922 !important; }
/* 1.6.31: en Mi Cuenta quedaba una franja blanca entre el encabezado
   y el contenido: es el subheader vacío del tema (su título ya lo
   escondía el plugin). Se quita entero en páginas BeatMembers. */
body.bm-page #Subheader { display: none !important; }
body.bm-page .content_wrapper,
body.bm-page .sections_group,
body.bm-page .section,
body.bm-page .section_wrapper { background-color: transparent !important; }
body.bm-page .bm-account,
body.bm-page .bm-course { color: #e2e8f0; }
body.bm-page .bm-account .bm-title,
body.bm-page .bm-course .bm-title { color: #fff; }
body.bm-page .bm-account .bm-subtitle { color: #c6c6e2; }
body.bm-page .bm-course .bm-course-desc { color: #cbd5e1; }
body.bm-page .bm-course h2 { color: #fff !important; }
body.bm-page .bm-course .bm-price { color: #fff !important; }
body.bm-page .bm-course .bm-muted { color: #94a3b8; }
/* 1.6.38: el pie del tema (logo, redes, VISÍTANOS, copyright) se esconde
   SOLO en Mi Cuenta (body.bm-account-page): ahí no aporta nada. En el
   catálogo, las páginas de curso/paquete y el resto del sitio se queda. */
body.bm-account-page #Footer,
body.bm-account-page #Footer .widgets_wrapper,
body.bm-account-page #Footer .footer_copy { display: none !important; }
