/* ===== HERO sin carrusel ===== */
.cj-hero{
    /* min-height: clamp(220px, 45vh, 420px); */
    background: #f5f5f5;
    border-radius: 14px;
    margin: 0 auto;
    margin-top: 1rem;
    max-width: min(1200px, 92vw);
    padding: 0rem 2rem 2rem 2rem;
    display: flex;
    align-items: baseline;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #e1e1e1 21px ), repeating-linear-gradient( #ffffff55, #ffffff );
}

/* contenedor interno */
.cj-hero-inner{
  width: 100%;
  display: grid;
  gap: 4px;                 
}

/* línea "50% OFF en" como <p> más grande */
.cj-hero-pre{
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 4rem;
    color: #001e44;
    margin-top: -30px;
}

/* H1 un poco más pequeño que el <p>, en mayúsculas */
.cj-hero-title{
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 25px !important;
    line-height: 1.1;
    color: #002041;
    margin-top: -25px;
    
}

/* móvil: ocupar 100% del ancho (ya lo hace por max-width) */
@media (max-width: 768px){
  .cj-hero{
    max-width: 100%;
    border-radius: 0;              /* opción: a ras en móvil, quita si no te gusta */
    padding: 18px 16px 22px;
  }
}


/* ===== HERO sin carrusel ===== */
.cj-hero{
    background: #f5f5f5;
    border-radius: 14px;
    margin: 0 auto;
    margin-top: 1rem;
    max-width: min(1200px, 92vw);
    padding: .5rem 2rem;
    display: block;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #e1e1e1 21px), repeating-linear-gradient(#ffffff55, #ffffff);
    overflow: hidden;
}

/* contenedor interno: 1 col en móvil, 2 cols en desktop */
.cj-hero-inner{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}
.cj-hero-copy{ min-width: 0; }
.cj-hero-visual{ display: none; margin: 0; }

/* Imagen derecha solo en desktop */
@media (min-width: 992px){
  .cj-hero-inner{
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 28px;
  }
  .cj-hero-visual{
        justify-content: center;
        display: flex;
    }
  .cj-hero-visual img{
        display: block;
        display: flex;
        justify-content: center;
        height: 200px;
    }
}

/* línea "50% OFF" */
.cj-hero-pre{
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 5rem;
    color: #001e44;
    margin-top: -30px;
}

/* H1 */
.cj-hero-title{
    margin: 0;
    margin-top: -25px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 1.1;
    color: #002041;
}

/* móvil: ancho completo */
@media (max-width: 768px){
  .cj-hero{
    max-width: 100%;
    border-radius: 12px;
    padding: 18px 16px 22px;
  }
  /* H1 */
.cj-hero-title{
    margin: 0;
    margin-top: -25px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.1;
    color: #002041;
}
.cj-hero-pre{
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 4rem;
    color: #001e44;
    margin-top: -30px;
}
}
