/* ==========================================================================
   VisionDevatis — mobile-first. Solo @media (min-width); un bloque por breakpoint.
   Breakpoints: 500, 576, 768, 992, 1200, 1440
   ========================================================================== */

/* ---------- Colores ---------- */
.blackText { color: #31444c; }
.bondText { color: #ffffff; }
.blueLightText { color: #c5ebf1; }
.blueMedText { color: #0886b2; }
.blueDarkText { color: #035c85; }
.purpleLightText { color: #e3d8f1; }

.blueDarkBack { background-color: #035c85; }
.blueLightBack { background-color: #c5ebf1; }
.blueMedBack { background-color: #0886b2; }
.violetBack { background-color: #f7f0f5; }
.purpleLightBack { background-color: #e3d8f1; }
.greyBack { background-color: #f7f0f5; }

/* ---------- Filtros ---------- */
.filterToLightPurple {
    filter: brightness(0) saturate(100%) invert(92%) sepia(7%) saturate(1414%) hue-rotate(202deg) brightness(96%) contrast(96%);
}

/* ---------- Base (móvil) ---------- */
.cntntVisionDevatis {
    padding: 0 0 5rem;
}

.centerText { text-align: center; }

.imgFull {
    width: 100%;
    max-width: 100%;
}

.cntntBase { margin-bottom: 4.5rem; }
.cntntBaseDodPad { padding: 4.5rem 0; }

.textoBanner {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}
.textoBanner span { font-weight: 500; }

/* Producto card */
.prodCntnt {
    padding: .3rem;
    text-align: center;
    width: 15rem;
    height: 33rem;
}
.prodCntnt .imgProd {
    height: 45%;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
}
.prodCntnt .imgProd img { object-fit: contain; }
.prodCntnt .infoProd { height: 60%; }
.prodCntnt .infoProd > div {
    height: 100%;
    border-radius: 0 0 .7cm .7cm;
    padding: 1.5rem .5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Hover / select */
.prodCntnt:hover .imgProd,
.prodCntnt .targetOp .imgProd {
    box-shadow: 0rem 1rem 14px -5px #000000;
}
.prodCntnt:hover .infoProd > div,
.prodCntnt .targetOp .infoProd > div {
    box-shadow: 0 .2rem 14px -5px #000000;
}
.prodCntnt:hover,
.prodCntnt:has(.targetOp) {
    color: #FFFFFF;
    cursor: pointer;
}
.prodCntnt:hover .titleProd,
.prodCntnt:has(.targetOp) .titleProd { color: #FFFFFF; }
.prodCntnt:has(.targetOp) .cntntOpCompra { color: #035c85; }
.prodCntnt:hover .violetBack,
.prodCntnt:has(.targetOp) .violetBack { background-color: #0886b2; }
.prodCntnt:hover .filterToLightPurple,
.prodCntnt:has(.targetOp) .filterToLightPurple {
    filter: brightness(0) saturate(100%) invert(25%) sepia(54%) saturate(1588%) hue-rotate(169deg) brightness(94%) contrast(98%);
}
.prodCntnt:hover .purpleLightBack,
.prodCntnt:has(.targetOp) .purpleLightBack { background-color: #c5ebf1; }
.prodCntnt:hover .btnComprar,
.prodCntnt:has(.targetOp) .btnComprar {
    background-color: #FFFFFF;
    color: #0886b2;
    font-weight: 600;
}

/* Target seleccionado */
.prodCntnt .cntntOpCompra.targetOp { color: #FFFFFF; }
.prodCntnt .cntntOpCompra.targetOp .filterToLightPurple {
    filter: brightness(0) saturate(100%) invert(88%) sepia(65%) saturate(276%) hue-rotate(160deg) brightness(96%) contrast(97%);
}

.titleProd {
    text-transform: uppercase;
    color: #31444c;
    font-size: 1.4rem;
    font-weight: 800;
}

.cntntOpCompra {
    display: flex;
    width: 100%;
    padding: 0 .5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.textCompra { font-size: 1.1rem; margin-left: .5rem; text-align:left; }
.precioProd { font-size: 1.2rem; margin: 0; }

.btnComprar {
    margin: 0 auto;
    border-radius: .6cm;
    padding: .8rem 2rem;
    width: fit-content;
    font-size: 1.2rem;
    cursor: pointer;
}
.btnComprar:hover {
    color: #31444c !important;
    background-color: #c5ebf1 !important;
}

.cntntCuadriculaProd {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 5rem;
}
.cntntCuadriculaProd > div {
    margin-top: 2rem;
    width: calc(100% / 2);
}

.lineDiv { width: 100%; height: .15rem; }

/* Suscripción */
.textTitleSuscripcion {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.stepsSuscripcion {
    display: block;
    justify-content: space-between;
}
.stepsSuscripcion > div {
    width: fit-content;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.textSubSuscripcion {
    font-size: 1.9rem;
    font-weight: 800;
    padding: 0 0 1.6rem;
}
.textSubSuscripcion span { font-size: 1.65rem; }

.textDescMensajeria { font-size: 1.35rem; }

/* Mensajerías */
.cntntMensajeriasCobro { display: block; }
.cntntMensajeriasCobro > div:first-child { width: 100%; }
.cntntMensajeriasCobro > div:last-child {
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    justify-content: center;
    margin-top: 1.5rem;
}
.cntntMensajeriasCobro > div:last-child > div {
    width: 50%;
    padding: 0 .3rem;
}
.cntntMensajeriasCobro > div:last-child img {
    width: 100%;
    max-width: 100%;
}

/* Botón suscripción */
.btnSub {
    border-radius: 6rem;
    padding: 1rem 1.3rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    width: fit-content;
    margin: 3rem auto;
    font-weight: 600;
}

/* Flecha FAQ */
.arrowSub {
    width: 1.2rem;
    filter: brightness(0) saturate(100%) invert(85%) sepia(9%) saturate(1627%) hue-rotate(146deg) brightness(90%) contrast(94%);
    transform: rotate(90deg);
}

/* Preguntas frecuentes */
.cntntPreguntas { display: block; }
.cntntPreguntas > div { width: 100%; }
.cntntPreguntas > div > div { border-bottom: .15rem solid #7dd1e0; }
.cntntPreguntas > div > div > div:first-child {
    display: flex;
    padding: .8rem .4rem;
    justify-content: space-between;
    font-size: 1.2rem;
    cursor: pointer;
}
.cntntPreguntas > div > div > div:last-child {
    display: none;
    padding: 0 .4rem .8rem;
    font-size: 1.15rem;
}
.cntntPreguntas > div > div:has(.openQuest) > div:last-child { display: block; }
.cntntPreguntas > div > div:has(.openQuest) .arrowSub {
    transform: rotate(-90deg);
    transition-duration: .5s;
}
.cntntPreguntas > div:first-child { padding-right: 0; }
.cntntPreguntas > div:last-child { padding-left: 0; }

.preguntasTitle {
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

/* PopUp Devatis */
.popCntntDevatis {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #00000066;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    padding: 0 .25rem;
    z-index: 999;
}

.sectionPopUp {
    width: 38rem;
    max-width: 100%;
    background-color: #FFFFFF;
    border-radius: .5cm;
    box-shadow: 0 0 10px -1rem #000000;
    padding: .8rem 1rem 4rem 1.7rem;
}

.cntntCloseDevatis { display: flex; justify-content: end; }

.xCloseDevatis {
    border-radius: 50%;
    border: .15rem solid #000000;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    font-weight: 600;
    display: flex;
    cursor: pointer;
}

.infoPopDevatis {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.titlePop {
    text-align: center;
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    font-weight: 600;
}
.titlePop span { font-size: 1.1rem; font-weight: 400; }

.infoPopDevatis > div { width: 80%; }

.sectionImage { padding-right: .5rem; }
.sectionImage > div {
    height: 13rem;
    display: flex;
    border: .1rem solid #0886b2;
    justify-content: center;
    padding: .6rem;
}
.sectionImage > div img { object-fit: contain; }

.sectionCompra { padding-left: 0; }

.cntntCantidad {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    margin-left: 0;
}
.cntntCantidad > div {
    display: flex;
    padding: 0 .9rem;
    align-items: center;
    justify-content: space-between;
    border-radius: .2cm;
    margin-left: 1.2rem;
    width: 10rem;
}
.cntntCantidad input {
    width: 3rem;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1.2;
    text-align: center;
    height: fit-content;
    font-size: 1.2rem;
}
.cntntCantidad input[type=number]::-webkit-inner-spin-button,
.cntntCantidad input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.changeNum { font-size: 1.8rem; font-weight: 600; cursor: pointer; }

.precioPopSub { font-size: 2rem; padding-left: 0; }
.labPop { font-size: 1.5rem; font-weight: 600; }

.cntntCompraPop { margin: 1rem 0 0 0; }

.compraPopBtn {
    cursor: pointer;
    width: 100%;
    font-size: 1.15rem;
    padding: .5rem 0;
    font-weight: 600;
    text-align: center;
    border-radius: 6rem;
}

#slectMesesSub {
    width: 19rem;
    background-color: #f7f0f5;
    border-radius: .3cm;
    text-align: center;
    border: 0;
    height: 2.6rem;
    line-height: 1.2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cntntCompraPop p {
    margin: .8rem 0 .15rem;
    text-align: center;
    font-size: 1.1rem;
}

/* ---------- ≥ 500px ---------- */
@media (min-width: 500px) {
    .precioProd { margin-left: auto; }
    .cntntOpCompra {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ---------- ≥ 576px ---------- */
@media (min-width: 576px) {
    .textoBanner { font-size: 1.8rem; padding-bottom: 3rem; }
    .textTitleSuscripcion { font-size: 2.5rem; }
    .stepsSuscripcion > div { font-size: 1.5rem; }
    .cntntMensajeriasCobro > div:last-child > div { width: 35%; }

    .cntntCuadriculaProd > div { width: calc(100% / 3); }
    .cntntOpCompra {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .precioProd { margin: 0; }
}

/* ---------- ≥ 768px ---------- */
@media (min-width: 768px) {
    .stepsSuscripcion { display: flex; }
    .stepsSuscripcion > div { font-size: 1.4rem; }
    .textTitleSuscripcion { margin-bottom: 3rem; }

    .textSubSuscripcion { font-size: 2.1rem; }
    .textSubSuscripcion span { font-size: 1.8rem; }
    .textDescMensajeria { font-size: 1.5rem; }

    .cntntMensajeriasCobro { display: flex; }
    .cntntMensajeriasCobro > div { width: 50%; }
    .cntntMensajeriasCobro > div:last-child > div { width: 50%; }
    .cntntMensajeriasCobro > div:last-child { margin-top: 0; }

    .btnSub { padding: 1.05rem 3rem 1.2rem; font-size: 2.1rem; }

    .cntntOpCompra { flex-direction: row; justify-content: space-between; }
    .precioProd { margin-left: auto; }

    /* PopUp */
    .infoPopDevatis { flex-direction: row; justify-content: space-between; }
    .infoPopDevatis > div { width: 50%; }
    .sectionImage > div { height: 22rem; }
    .sectionPopUp { width: 45rem; }
    .sectionCompra { padding-left: .5rem; }
    .cntntCantidad { margin-left: 1rem; }
    .cntntCompraPop { margin: 1rem 0 0 1rem; }
    .compraPopBtn { width: 19rem; font-size: 1.5rem; padding: .6rem 0; }
    .precioPopSub { font-size: 2.5rem; padding-left: .8rem; }
    .labPop { font-size: 1.8rem; }
    .cntntCompraPop p { font-size: 1.25rem; margin: 1.3rem 0 .5rem; }
    .titlePop { font-size: 1.3rem; margin: 0 0 1.5rem; }
    .titlePop span { font-size: 1.3rem; }
}

/* ---------- ≥ 992px ---------- */
@media (min-width: 992px) {
    .btnSub { padding: 1.4rem 4rem 1.6rem; font-size: 2.8rem; }
    .preguntasTitle { font-size: 1.9rem; }
    .cntntPreguntas { display: flex; }
    .cntntPreguntas > div { width: 50%; }
    .cntntPreguntas > div:first-child { padding-right: .5rem; }
    .cntntPreguntas > div:last-child { padding-left: .5rem; }

    .cntntCuadriculaProd > div { width: calc(100% / 4); }
}

/* ---------- ≥ 1200px ---------- */
@media (min-width: 1200px) {
    .textoBanner { font-size: 2.1rem; }
    .textTitleSuscripcion { font-size: 3.5rem; }
    .stepsSuscripcion > div { font-size: 1.9rem; }
    .textSubSuscripcion { font-size: 2.5rem; }
    .textSubSuscripcion span { font-size: 2.2rem; }
    .preguntasTitle { font-size: 2.1rem; }
    .cntntPreguntas > div > div > div:first-child { font-size: 1.35rem; }
    .cntntPreguntas > div > div > div:last-child { font-size: 1.25rem; }

    .cntntCuadriculaProd > div { width: calc(100% / 5); }
}

/* ---------- ≥ 1440px ---------- */
@media (min-width: 1440px) {
   /* .textCompra { font-size: 1.3rem; }
    .precioProd { font-size: 1.65rem; }
    .btnComprar { font-size: 1.4rem; }*/
}
