.sombreado {
    background-color: rgba(0, 0, 0, 0.6)
}
.fondohero {
    background-image: url(../assets/imagenes/Fondo.png);
    background-size: auto;
    height: 100%;
}
.verdeint {
    background-color: #2BFF52;
}
.negroint {
    background-color: #0B0800;
}
.blancoint {
    background-color: #FFFFFF;
}
.jost {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.bebas {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* ===== AJUSTES GENERALES ===== */
body {
    font-family: "Jost", sans-serif;
    color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
}
a {
    text-decoration: none;
}

/* ===== NAVBAR ===== */
.navbar.verdeint {
    padding: 10px 0;
}
.navbar-brand img {
    height: 40px;
}
.navbar-toggler {
    border: none;
    background: transparent;
}
.navbar-toggler-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0);
}

.navbar-collapse {
    background-color: #0B0800;
    margin-top: 12px;
    padding: 16px 20px;
    border-radius: 12px;
}
.navbar-collapse .nav-link {
    color: #fff !important;
    padding: 8px 0;
}
.navbar-collapse .nav-link:hover {
    color: #2BFF52 !important;
}
.navbar-search {
    background-color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    max-width: 220px;
}
.navbar-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-family: "Jost", sans-serif;
}
.navbar-search button {
    border: none;
    background: transparent;
    color: #0B0800;
}

/* ===== HERO ===== */
.fondohero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
}
.fondohero h1 {
    font-size: 2.6rem;
    text-transform: uppercase;
}
.promo-banner {
    color: #0B0800;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== COACHES ===== */
#coaches h1 {
    font-size: 2.2rem;
    margin: 20px 0;
    color: #fff;
}
.coach-card {
    width: 220px;
    text-align: center;
}
.coach-photo {
    overflow: hidden;
    border-radius: 12px;
}
.coach-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.coach-card h3 {
    margin-top: 12px;
    margin-bottom: 2px;
    font-size: 1.6rem;
}
.stars {
    color: #2BFF52;
    letter-spacing: 3px;
}
.coach-card p.jost-age {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 2px;
}

/* ===== MENSUALIDADES ===== */
#mensualidades h1 {
    font-size: 2.2rem;
    margin: 20px 0;
}
.plan-card {
    color: #0B0800;
    border-radius: 16px;
    padding: 20px;
    width: 260px;
    text-align: center;
    position: relative;
    transition: transform .2s ease;
    display: flex;
    flex-direction: column;
}
.plan-card.destacado {
    box-shadow: 0 10px 25px rgba(43,255,82,0.35);
}
.plan-card:hover {
    transform: translateY(-6px);
}
.plan-card.destacado:hover {
    transform: translateY(-10px);
}
.plan-badge {
    position: absolute;
    top: -12px;
    right: 14px;
    background-color: #0B0800;
    color: #2BFF52;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
}
.plan-card .precio {
    font-size: 2.4rem;
    margin-bottom: 0;
}
.plan-card ul {
    text-align: left;
    font-size: 0.9rem;
    flex: 1 1 auto;
}
.plan-card ul li {
    margin-bottom: 8px;
}
.plan-card .btn-suscribir {
    background-color: #0B0800;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    width: 100%;
}
.plan-card .btn-suscribir:hover {
    background-color: #1a1400;
    color: #2BFF52;
}
.plan-card.seleccionado {
    outline: 3px solid #fff;
}

/* ===== ENTRENAMIENTOS ===== */
#entrenamientos h1 {
    font-size: 2.2rem;
    margin: 20px 0;
}
.badge.dia {
    cursor: pointer;
    color: #0B0800 !important;
    background-color: #2BFF52;
    border: 2px solid transparent;
    transition: all .15s ease;
}
.badge.dia.activo {
    background-color: #0B0800;
    color: #2BFF52 !important;
    border: 2px solid #2BFF52;
}
.entreno-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    margin: 6px;
    padding: 0 !important;
}
.entreno-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.entreno-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.entreno-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 30px;
}
.carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: background-color .2s ease;
}
.carousel-dots span.activo {
    background-color: #2BFF52;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 40px;
}
footer .footer-brand {
    padding: 16px 24px;
    border-radius: 10px;
    color: #0B0800;
    font-size: 1.6rem;
    display: inline-block;
}
footer .footer-links h6 {
    color: #2BFF52;
    margin-bottom: 14px;
    font-size: 1rem;
}
footer .footer-links ul {
    list-style: none;
    padding: 0;
}
footer .footer-links ul li {
    margin-bottom: 8px;
}
footer .footer-links ul li a {
    color: #ccc;
}
footer .footer-links ul li a:hover {
    color: #2BFF52;
}
footer .footer-bottom {
    border-top: 1px solid #222;
    padding: 14px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}
footer .footer-social a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 14px;
}
footer .footer-social a:hover {
    color: #2BFF52;
}

/* Botón volver arriba */
#btnArriba {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #2BFF52;
    color: #0B0800;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    z-index: 999;
}

/* ===== CATALOGO / PRODUCTOS - HERO ===== */
.fondocatalogo {
    background-image: url(../assets/imagenes/FondoCatalogo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 30vh;
}
.fondocatalogoPesas{
    background-image: url(../assets/imagenes/FondoPesas.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 30vh;
}
.fondocatalogoSuplementos{
    background-image: url(../assets/imagenes/FondoProteina.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 30vh;
}
.fondocatalogoBarrasProteicas{
    background-image: url(../assets/imagenes/FondoBarras.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 30vh;
}
.fondocatalogo h1 {
    font-size: 2.4rem;
}
#categorias h2 {
    font-size: 1.6rem;
    margin: 24px 0;
    text-align: center;
}

/* ===== TARJETAS DE CATEGORIA ===== */
.categoria-card {
    background-color: #2b2a2a;
    color: #0B0800;
    border-radius: 14px;
    width: 240px;
    padding: 16px;
    text-align: center;
    margin: 14px;
}
.categoria-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.categoria-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}
.categoria-card .btn-ver {
    background-color: #2BFF52;
    color: #0B0800;
    border: none;
    border-radius: 50px;
    padding: 8px 30px;
    font-weight: 700;
    width: 100%;
}
.categoria-card .btn-ver:hover {
    background-color: #22cc42;
}

/* ===== BANNER DE CATEGORIA (Productos) ===== */
.banner-categoria {
    color: #0B0800;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 1px;
    margin: 10px auto 30px;
    max-width: 400px;
    border-radius: 8px;
    padding: 10px;
}

/* ===== TARJETAS DE PRODUCTO ===== */
#productosGrid {
    max-width: 900px;
    margin: 0 auto;
}
/* ===== TARJETAS DE PRODUCTO (estilo tipo captura) ===== */
.producto-card {
    background-color: #313131;
    color: #0B0800;
    border-radius: 16px;
    padding: 18px 16px 16px;
    text-align: center;
    margin: 14px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.producto-img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.producto-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.producto-info {
    width: 100%;
    margin-bottom: 14px;
}

#listaProductos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    gap: 28px 24px;                          
    justify-items: center;
    max-width: 620px;                       
    margin: 30px auto 50px;
    padding: 0 16px;
}


.producto-card {
    width: 100%;
    max-width: 280px;
    margin: 0;         
}

.producto-nombre {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 4px 0;
    color: #0B0800;
}

.producto-marca {
    font-family: "Jost", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2ecc71;          /* verde FitPower */
    margin: 0 0 6px 0;
}

.producto-precio {
    font-family: "Jost", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B0800;
    margin: 0;
}

.btn-comprar {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    background-color: #2ecc71;
    color: #ffffff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-comprar:hover {
    background-color: #27ae60;
    transform: scale(1.02);
}

.btn-comprar:active {
    transform: scale(0.98);
}
.producto-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    margin-bottom: 10px;
}
.producto-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.producto-card .precio-producto {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    color: #0B0800;
}

/* ===== LOGIN / REGISTRO ===== */
.auth-wrap {
    display: flex;
    min-height: 80vh;
    flex-wrap: wrap;
}
.auth-imagen {
    flex: 1 1 45%;
    min-height: 400px;
    background-position: center;
    background-size: cover;
    filter: grayscale(0.3);
}
.auth-panel {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}
.auth-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
}
.auth-panel h1 {
    font-size: 2rem;
    margin-bottom: 26px;
}
.auth-form {
    width: 100%;
    max-width: 320px;
}
.auth-input {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #555;
    padding: 10px 4px;
    margin-bottom: 24px;
}
.auth-input input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    font-family: "Jost", sans-serif;
}
.auth-input input::placeholder {
    color: #999;
}
.btn-auth {
    background-color: #2BFF52;
    color: #0B0800;
    border: none;
    border-radius: 50px;
    padding: 10px 0;
    width: 100%;
    font-weight: 700;
    margin-bottom: 20px;
}
.btn-auth:hover {
    background-color: #22cc42;
}
.fake-captcha {
    background-color: #fff;
    color: #0B0800;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}
.fake-captcha .check-box {
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fake-captcha.marcado .check-box {
    background-color: #2BFF52;
    border-color: #2BFF52;
}
.auth-link {
    font-size: 0.9rem;
    color: #ccc;
}
.auth-link a {
    color: #2BFF52;
    font-weight: 700;
}

.logo2 {
    height:40px;
    width: 40px;
}

.btn-comprar {
    background-color: #00ff55; /* Verde neón brillante */
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    width: 100%;
    padding: 8px 0;
    transition: background-color 0.2s ease;
}

.btn-comprar:hover {
    background-color: #00cc44;
    color: #000000;
}
/* ===== SELECTOR DE IDIOMA (ES / EN) ===== */
.selector-idioma {
    display: inline-flex;
    border: 2px solid #0B0800;
    border-radius: 50px;
    overflow: hidden;
}
.selector-idioma button {
    background: transparent;
    border: 0;
    padding: 2px 12px;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #0B0800;
    cursor: pointer;
}
.selector-idioma button:hover {
    background-color: rgba(11, 8, 0, 0.12);
}
.selector-idioma button.activo {
    background-color: #0B0800;
    color: #2BFF52;
}
.selector-idioma button:focus-visible {
    outline: 2px solid #0B0800;
    outline-offset: -4px;
}
/* ===== VISTA DEL SOCIO (VistaUsuario.html) ===== */

/* --- Tarjeta de perfil: saludo, iniciales y datos personales --- */
.perfil-card {
    background-color: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    padding: 22px;
}

.perfil-top {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

/* Círculo con las iniciales del socio (no hay foto en la base) */
.perfil-avatar {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #2BFF52;
    color: #0B0800;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil-identidad {
    flex: 1 1 200px;
    min-width: 0;
}

.perfil-saludo {
    color: #2BFF52;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.perfil-nombre {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.1;
    margin: 2px 0 8px;
    word-break: break-word;
}

.perfil-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-fp {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    color: #cfcfcf;
    font-size: 0.8rem;
    font-weight: 600;
}
.chip-fp.chip-ok {
    border-color: rgba(43, 255, 82, 0.5);
    color: #2BFF52;
}
.chip-fp.chip-aviso {
    border-color: rgba(255, 193, 7, 0.5);
    color: #ffc107;
}

.perfil-editar {
    flex: 0 0 auto;
    align-self: flex-start;
}

/* --- Los 6 datos (carné, peso, altura, edad, documento, sexo) --- */
.perfil-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dato-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 14px;
    min-width: 0;
}

.dato-label {
    color: #8d8d8d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
}

.dato-valor {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}
.dato-valor.dato-vacio {
    color: #6a6a6a;
    font-size: 1rem;
    font-weight: 400;
}
.dato-valor.estado-ok { color: #2BFF52; }
.dato-valor.estado-mal { color: #ff6b6b; }

.dato-extra {
    color: #8d8d8d;
    font-size: 0.78rem;
    margin: 4px 0 0;
}

/* --- Título de cada sección --- */
.seccion-titulo {
    color: #ffffff;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid #2BFF52;
}

/* --- Entrenador asignado --- */
.entrenador-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background-color: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    padding: 18px;
}
.entrenador-vacio {
    justify-content: center;
    text-align: center;
}

.entrenador-avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #2a2a2a;
    color: #2BFF52;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entrenador-info {
    flex: 1 1 180px;
    min-width: 0;
}
.entrenador-nombre {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0 4px;
}
.entrenador-dato {
    color: #cfcfcf;
    font-size: 0.9rem;
    margin: 0;
}
.entrenador-accion { flex: 0 0 auto; }

.aviso-pendiente {
    max-width: 220px;
    color: #ffc107;
    font-size: 0.85rem;
}

/* --- Rutinas del día --- */
.rutina-card {
    background-color: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
}

.rutina-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    background-color: #1e1e1e;
    color: #ffffff;
}

.rutina-ejercicios {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ejercicio-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid #262626;
    border-left: 3px solid transparent;
    color: #ffffff;
    transition: border-left-color 0.15s ease, background-color 0.15s ease;
}
.ejercicio-item:hover {
    border-left-color: #2BFF52;
    background-color: #1a1a1a;
}

.ejercicio-nombre { font-weight: 600; }

/* --- Celulares --- */
@media (max-width: 575.98px) {
    .perfil-card { padding: 16px; }
    .perfil-datos { grid-template-columns: repeat(2, 1fr); }
    .perfil-top { gap: 14px; }
    .perfil-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .perfil-nombre { font-size: 1.6rem; }
    .perfil-editar { width: 100%; }
    .entrenador-accion { width: 100%; }
    .entrenador-accion .btn { width: 100%; }
    .aviso-pendiente { max-width: none; }
}

/* ===== Selector de días (rutinas) ===== */
.dias-botones .dia-btn {
    min-width: 92px;
    transition: all 0.15s ease;
    border-width: 2px;
}

.dias-botones .dia-btn:hover {
    border-color: #2BFF52;
    color: #2BFF52;
}

.dias-botones .dia-btn.activo {
    background-color: #2BFF52 !important;
    color: #0B0800 !important;
    border-color: #2BFF52 !important;
    font-weight: 600;
    box-shadow: 0 0 0 1px #2BFF52;
}

.dias-botones .dia-btn.activo:hover {
    background-color: #24d946 !important;
    color: #0B0800 !important;
}

/* Chip de puntos en el perfil del usuario */
.chip-fp.chip-puntos {
    background-color: #2BFF52;
    color: #0B0800;
    font-weight: 700;
}
.dato-valor.dato-puntos {
    color: #2BFF52;
    font-weight: 700;
}

/* Logo + selector de idioma juntos (no bajan con el menú hamburguesa) */
.navbar-brand-idioma {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.navbar-brand-idioma .navbar-brand {
    margin-right: 0;
}
.navbar .container-fluid {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
/* El menú colapsado ocupa toda la fila de abajo; logo e idioma se quedan arriba */
.navbar-collapse {
    flex-basis: 100%;
}

/* ===== Hover de botones: blanco en vez de transparente ===== */
.btn:hover,
.btn:focus,
.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-sm:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #0B0800 !important;
    opacity: 1 !important;
}

/* Botones verdes de la marca */
.btn.verdeint:hover,
.verdeint.btn:hover,
.btn-success:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #0B0800 !important;
}

/* Comprar / canjear / suscribir */
.btn-comprar:hover,
.btn-suscribir:hover,
.btn-ver:hover,
.btn-auth:hover {
    background-color: #ffffff !important;
    color: #0B0800 !important;
    opacity: 1 !important;
}