
/* ---------- Base ---------- */
body{
    background:#0b0b0b;
    color:#eaeaea
}
.navbar{
    background:#000
}
.step{
    display:none
}
.step.active{
    display:block
}

/* Títulos de cada colección (pasos 3-6) */
.step h2 {
    font-size: 1.5rem;   /* antes era .h5 (1.25rem) */
    font-weight: 600;
}

/* Texto descriptivo debajo del título */
.step p.small.text-muted {
    font-size: 1rem;     /* antes era más pequeño */
    line-height: 1.5;
    color: #ccc !important; /* un gris claro para contraste */
}
.card-select{
    cursor:pointer;
    border:2px solid transparent;
    transition:.2s
}
.card-select input:checked + .card{
    border-color:#ffc107;
    box-shadow:0 0 0 .25rem rgba(255,193,7,.25)
}
.card-select input{
    display:none
}
.card img{
    width:100%;
    height:auto;
    display:block
}
figcaption{
    font-size:.9rem;
    opacity:.85
}
.required::after{
    content:" *";
    color:#ffc107
}
hr.thin{
    border:0;
    border-top:1px solid #444;
    margin-top:.2rem;
    margin-bottom:1.5rem
}
.list-group-item{
    border-color:#333
}

/* ---------- Intro compacto ---------- */
#introBlock .card-body{
    padding:.8rem 1rem;
    background-color:transparent!important
}
#introBlock .card{
    background:transparent!important;
    border:none!important;
    box-shadow:none!important
}
#introBlock .intro-copy{
    max-width:62ch
}
#introBlock h2{
    margin-bottom:.25rem;
    line-height:1.2
}
#introBlock p{
    margin-bottom:.5rem;
    line-height:1.45
}
.intro-photo{
    max-width:160px
}
@media (min-width:992px){
    .intro-photo{
        max-width:200px
    }
}

/* ---------- Header separador ---------- */
.header-sep{
    width:220px;
    height:2px;
    border:0;
    background:#fff;
    opacity:1
}

/* ---------- Botón unmute del vídeo ---------- */
#unmuteBtn{
    position:absolute;
    right:12px;
    bottom:12px;
    z-index:10;
    display:none;
}

/* Corrige el color de los textos descriptivos en cada paso */
.step p.small.text-muted {
    color: #ccc !important;   /* un gris más claro y legible */
    font-size: 0.95rem;
    font-style: italic;
}


/* Ajuste de altura del video según pantalla */
#introVideo {
    width: 100%;
    object-fit: contain;   /* muestra todo el video sin recortar */
    max-height: 240px;     /* altura base (móviles) */
}

@media (min-width: 768px) {
    #introVideo {
        max-height: 360px;   /* tablets */
    }
}

@media (min-width: 1200px) {
    #introVideo {
        max-height: 480px;   /* escritorio grande */
    }
}


/* Paso 7: miniatura responsive y mejor alineación */
.purchase-thumb{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:8px;
}
@media (min-width: 768px){
    .purchase-thumb{
        width:96px;
        height:96px;
    }
}
.list-group-item.option-row{
    transition: background .15s, border-color .15s;
    border-color:#2b2f33;
}
.list-group-item.option-row:hover{
    background:#2a2f34;
}
.list-group-item.option-row input[type="radio"]{
    transform:scale(1.1);
}
.option-title{
    font-weight:600;
}
.option-sub{
    font-size:.9rem;
    opacity:.8;
}
/* --- Ajustar las cards de modelos para que queden iguales --- */
.step .card figure {
    margin: 0;
}

/* Contenedor de la imagen: tamaño fijo */
.step .card figure img {
    display: block;
    width: 100%;
    height: 260px;           /* altura uniforme */
    object-fit: contain;     /* muestra el guante completo */
    background: #111;        /* fondo de relleno */
    padding: .5rem;
    border-bottom: 1px solid #222;
}

/* Caption debajo de la imagen */
.step .card figcaption {
    text-align: center;
    font-size: .9rem;
    line-height: 1.3;
    min-height: 48px;        /* evita saltos entre cards */
    padding: .5rem;
}
@media (min-width: 1200px) {
    .step .card figure img {
        height: 300px;
    }
}
@media (max-width: 575.98px) {
    .step .card figure img {
        height: 200px;
    }
    .step .card figcaption {
        min-height: 40px;
    }
}


.firma-final {
    max-height: 90px;     /* ajusta la altura de la firma */
    height: auto;
    width: auto;
    display: inline-block;
    margin: 0 auto;
}

/* --- Botón negro estilo "Siguiente" (píldora) --- */
/* Ribbon (enlace fijo inferior) */
.sp-legal-link{
  pointer-events:auto;
  appearance:none;
  border:1px solid #fbbf24;           /* acento marca */
  border-radius:999px;
  background:#0b0b0b;                 /* NEGRO */
  color:#fbbf24;                      /* texto amarillo */
  font-weight:600; font-size:.9rem; line-height:1;
  padding:8px 14px; white-space:nowrap;
  box-shadow:0 8px 20px rgba(0,0,0,.35);
  text-decoration:none; cursor:pointer;
}
.sp-legal-link:hover{
  background:#fbbf24;                 /* invertimos en hover */
  color:#0b1220;
  filter:none;
}

/* ——— Barra legal + botón (versión compacta, sin redundancias) ——— */
:root{
  --sp-legal-h: 44px;       /* altura útil (antes 56px) */
  --sp-brand: #fbbf24;      /* amarillo sitio */
  --sp-fg: #e5e7eb;
}

/* deja hueco para que la barra no tape el botón “Siguiente” */
body{
  padding-bottom: calc(var(--sp-legal-h) + env(safe-area-inset-bottom, 0px));
}

/* banda fija, centrada, translúcida; no intercepta clics */
.sp-legal-ribbon{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 6px 8px;
  background: rgba(0,0,0,.28);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  pointer-events: none; /* la banda NO bloquea */
}

/* botón tipo píldora negro con borde amarillo + subrayado */
.sp-legal-btn{
  pointer-events: auto;                 /* el botón SÍ recibe clics */
  position: relative;
  appearance: none; cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(251,191,36,.65);
  background: #0b0b0b;                  /* negro */
  color: var(--sp-brand);
  font-weight: 600; line-height: 1;
  min-height: var(--sp-legal-h);
  padding: 7px 12px;
  font-size: .86rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: filter .15s ease, background .15s ease, color .15s ease;
}
.sp-legal-btn::after{
  content:'';
  position: absolute; left: 22px; right: 22px; bottom: -4px;
  height: 1px; border-radius: 2px;
  background: rgba(251,191,36,.7);
}
.sp-legal-btn:hover{
  background: var(--sp-brand);
  color: #0b1220;
  filter: brightness(1.03);
}

/* Botón principal dentro del modal (mismo look que .sp-legal-btn) */
.sp-legal .btn-legal,
.sp-legal .btn-primary{
  border:1px solid #fbbf24;
  border-radius:999px;
  background:#0b0b0b;
  color:#fbbf24;
  font-weight:600;
  box-shadow:0 8px 20px rgba(0,0,0,.35);
}
.sp-legal .btn-legal:hover,
.sp-legal .btn-primary:hover{
  background:#fbbf24;
  color:#0b1220;
}

/* Secundario/outline dentro del modal */
.sp-legal .btn-outline-light{
  border-radius:999px;
  border-color:#3b3b3b;
  color:#e5e7eb;
}
.sp-legal .btn-outline-light:hover{
  background:#1f2937;
  color:#fff;
}

/* Ajuste extra en pantallas muy estrechas */
@media (max-width: 420px){
  :root{ --sp-legal-h: 40px; }
  .sp-legal-btn{ font-size:.82rem; padding:6px 10px; }
  .sp-legal-btn::after{ left:18px; right:18px; }
}
/* ——— Barra legal + botón (versión compacta, sin redundancias) ——— */
:root{
  --sp-legal-h: 44px;       /* altura útil (antes 56px) */
  --sp-brand: #fbbf24;      /* amarillo sitio */
  --sp-fg: #e5e7eb;
}

/* deja hueco para que la barra no tape el botón “Siguiente” */
body{
  padding-bottom: calc(var(--sp-legal-h) + env(safe-area-inset-bottom, 0px));
}

/* banda fija, centrada, translúcida; no intercepta clics */
.sp-legal-ribbon{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 6px 8px;
  background: rgba(0,0,0,.28);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  pointer-events: none; /* la banda NO bloquea */
}

/* botón tipo píldora negro con borde amarillo + subrayado */
.sp-legal-btn{
  pointer-events: auto;                 /* el botón SÍ recibe clics */
  position: relative;
  appearance: none; cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(251,191,36,.65);
  background: #0b0b0b;                  /* negro */
  color: var(--sp-brand);
  font-weight: 600; line-height: 1;
  min-height: var(--sp-legal-h);
  padding: 7px 12px;
  font-size: .86rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: filter .15s ease, background .15s ease, color .15s ease;
}
.sp-legal-btn::after{
  content:'';
  position: absolute; left: 22px; right: 22px; bottom: -4px;
  height: 1px; border-radius: 2px;
  background: rgba(251,191,36,.7);
}
.sp-legal-btn:hover{
  background: var(--sp-brand);
  color: #0b1220;
  filter: brightness(1.03);
}

/* Botón principal dentro del modal (mismo look que .sp-legal-btn) */
.sp-legal .btn-legal,
.sp-legal .btn-primary{
  border:1px solid #fbbf24;
  border-radius:999px;
  background:#0b0b0b;
  color:#fbbf24;
  font-weight:600;
  box-shadow:0 8px 20px rgba(0,0,0,.35);
}
.sp-legal .btn-legal:hover,
.sp-legal .btn-primary:hover{
  background:#fbbf24;
  color:#0b1220;
}

/* Secundario/outline dentro del modal */
.sp-legal .btn-outline-light{
  border-radius:999px;
  border-color:#3b3b3b;
  color:#e5e7eb;
}
.sp-legal .btn-outline-light:hover{
  background:#1f2937;
  color:#fff;
}

/* Ajuste extra en pantallas muy estrechas */
@media (max-width: 420px){
  :root{ --sp-legal-h: 40px; }
  .sp-legal-btn{ font-size:.82rem; padding:6px 10px; }
  .sp-legal-btn::after{ left:18px; right:18px; }
}
