/*----------------------------------*/
/* -------------------------------------------------*/
/* Card vertical */


 .Card__vertical__img {
    position: relative;
    width: 100%;
}

 .Card__vertical .Card__vertical__img .image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
}

 .Card__vertical .Card__vertical__img .logo {
    position: absolute;
    width: 115px;
    height: 45px;
    padding: 5px;
    object-fit: contain;
    background-color: var(--color--neutral--0);
    border-radius: 0 10px 10px 0;
    left: 0;
    bottom: 25px;
}


 .Card__vertical__txt {
    position: relative;
}


 .Card__vertical__txt h3 {
    margin-bottom: 10px;
}




/* -------------------------------------------------*/
/* seccion beneficios (privilegios) */
 .grid-contenedor--beneficio {
    display: flex;
    justify-content: space-evenly;

}

 #beneficios-privilegios .Card--horizontal--beneficio {
    width: 30%;
    text-align: left;
    padding: 20px;

}


 .categorias-destacadas__img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 350px;
    object-fit: cover;
    z-index: 1;
}

 .Card--horizontal--beneficios--especial {
    background: var(--gradiants-y-linear-gradiant-boton, linear-gradient(180deg, var(--color--principal-rojo-oscuro) 0%, var(--color--main) 100%));
    color: var(--color--neutral--0);

}

 .Card--horizontal--beneficios--especial__a {
    text-decoration: underline;
    color: var(--color--neutral--0);
    font-weight: 700;
}

 .Card--horizontal--beneficios--especial p {

    color: var(--color--neutral--0);

}

/* -------------------------------------------------*/
/* categorias (privilegios) */
 .grid-contenedor--categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

 .grid-contenedor--categorias a {
    width: 15%;
    margin: 10px 10px;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color--neutral--100);
}

 .grid-contenedor--categorias a:hover {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
}

 .grid-contenedor--categorias a:hover p {
    font-weight: var(--font--weight--bold);
}

 .grid-contenedor--categorias a p {
    font-size: 14px;
    font-weight: var(--font--weight--medium);
}

/* Carrousel  descuentos*/
 .carrousel-descuentos .Card__vertical {
        height: auto;
    }


/* -------------------------------------------------*/
/* Categorías destacadas (privilegios)*/
 .categorias-destacadas {
    height: 410px;
    display: grid;
    grid-template-columns: 36% 32% 30%;
    grid-template-rows: 50% 50%;
    gap: 15px;
}

 .categorias-destacada__contenedor {
    border-radius: 15px;
    padding: 35px 30px 0 30px;
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
}

 .categorias-destacadas div:nth-child(1) {
    grid-row-start: 1;
    grid-row-end: 3;
}

 .categorias-destacadas div:nth-child(2) {
    grid-row-start: 1;
    grid-row-end: 2;
}

 .categorias-destacadas h3,
 .categorias-destacadas a {
    position: relative;
    z-index: 2;
}

 .categorias-destacadas div:nth-child(2) h3,
 .categorias-destacadas div:nth-child(2) a {
    float: right;
    text-align: right;
}

 .categorias-destacadas div:nth-child(2) h3,
 .categorias-destacadas div:nth-child(3) h3 {
    width: 75%;
}

 .categorias-destacadas div:nth-child(2) img {
    left: 0;
    max-height: 200px;
    object-fit: contain;
}

 .categorias-destacadas div:nth-child(4) {
    grid-row-start: 1;
    grid-row-end: 3;
}

 .categorias-destacadas div:nth-child(3) img {
    max-height: 200px;
    object-fit: contain;
}

 .categorias-destacadas h3 {
    color: var(--color--neutral--100);;
    width: 85%;
    margin-bottom: 10px;
    margin-left: 0;
}

 .categorias-destacadas .button {
    color: var(--color--neutral--100);
    float: left;
}


 .categorias-destacadas .button--texto--icono {
    padding: 12px 0;
}

/* -------------------------------------------------*/
/* Enlaces de interes y programas especiales (privilegios)*/
 .Card__carrusel__interes .Cont__carrusel img {
    object-fit: cover;
    object-position: right;
    height: 215px;
    width: 200px;
}

/* -------------------------------------------------*/
/* Marcas aliadas (privilegios)*/
 .aliados {
    padding-top: 40px;
}

 .aliados .swiper-slide {
    display: flex;
}

 .aliados .etiqueta-nuevo {
    height: 50px;
    background: var(--color--principal-amarillo);
    color: var(--color--neutral--0);
    font-weight: var(--font--weight--semibold);
    font-size: 0.8em;
    padding: 3px;
    position: relative;
    top: 0px;
    left: 0px;
    border-radius: 10px 0px 0 10px;
    transform: rotateZ(180deg);
    writing-mode: vertical-lr;
}

 .aliados .logos-aliados img {
    width: 170px;
    height: 60px;
    object-fit: contain;
}

/* -------------------------------------------------*/
/* Calendario de eventos (privilegios) */

 .eventos .swiper-wrapper {
    padding: 20px;
}

 .eventos .swiper-slide>div {
    background-color: var(--color--background--azulclaro2);
    border-radius: 15px;
    padding: 20px 25px;
    width: 90%;
    text-align: left;
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 7px 5px rgba(0, 0, 0, 0.1);
}

 .eventos .swiper-slide h3 {
    text-align: left;
    margin-left: 0;
}

 .eventos .swiper-slide p {
    font-size: 0.86em;
    font-weight: var(--font--weight--semibold);
    margin: 0;
}

 .eventos .swiper-slide .descripcion {
    font-weight: var(--font--weight--regular);
}

/* -------------------------------------------------*/
/* Ferias (privilegios)*/

 .ferias {
    margin-top: 50px;
}

 .ferias__contenedor {
    display: flex;
    justify-content: space-evenly;
}

 .ferias__contenedor__ficha {
    width: 30%;
    text-align: left;
    padding: 30px 30px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    height: 390px;
    flex-direction: column;
    justify-content: space-between;
}

 .ferias__contenedor__ficha--escolar {
    background-color: var(--color--main);
}

 .ferias__contenedor__ficha--ruedas {
    background-color: var(--color--adicional--azul--oscuro);
}

 .ferias__contenedor__ficha--casa {
    background-color: var(--color--adicional--morado--oscuro);
}

 .ferias__contenedor__ficha__img {
    margin: 0 auto;
    display: block;
}

 .ferias__contenedor__ficha h3 {
    color: var(--color--neutral--0);
}

 .ferias__contenedor__ficha__fecha p {
    color: var(--color--neutral--0);
    margin: 0;
}

 .ferias__contenedor__ficha a {
    text-align: left;
    display: block;
    padding: 0;
    margin: 0;
    color: var(--color--neutral--0);
}

 .ferias__contenedor__ficha a:hover {
    text-decoration: underline;
    color: var(--color--neutral--0);
}


/* -------------------------------------------------*/
/* Laptops */
@media screen and (max-width: 1024px) {

    
     .grid-contenedor__text-intro>p {
        padding: 0 10px;
    }

     #beneficios-privilegios .Card--horizontal--beneficio {
        align-items: flex-start;
    }

     .grid-contenedor--categorias a {
        width: 14%;
    }

    /* -------------------------------------------------*/
    /* Beneficios */

     .grid-contenedor--beneficio {
        flex-wrap: wrap;
    }

     #beneficios-privilegios .Card--horizontal--beneficio {
        width: 47%;
        margin-top: 20px;
    }

    /* -------------------------------------------------*/
    /* Categorias*/


     .categorias-destacadas {
        height: 300px;
    }

     .categorias-destacada__contenedor {
        padding: 20px;
    }

     .categorias-destacadas div:nth-child(1) img,
     .categorias-destacadas div:nth-child(4) img {
        height: 200px;
    }

     .categorias-destacadas div:nth-child(2) img,
     .categorias-destacadas div:nth-child(3) img {
        height: 140px;
    }

     .categorias-destacadas h3 {
        width: 70%;
        margin-bottom: 0px;
    }

     .paso {
        padding: 50px 20px;
    }

     .paso .active-content {
        height: auto;
        border-radius: 15px;
        flex-direction: column;
    }

     .paso .active-content div {
        width: 100%;
        align-content: end;
        padding: 30px 30px 00px 30px;
    }

     .paso .active-content img {
        width: 60%;
        height: 330px;
        margin: auto;
    }

     .paso a {
        margin-top: 25px;
    }

    /* -------------------------------------------------*/
    /* Enlaces de interes*/
     .Cont2__interes .swiper {
        padding: 10px 15px 25px;
    }

     .Card__carrusel__interes {
        display: block;
        margin: 0px;
        padding: 24px 16px;
    }

     .Card__carrusel__interes .Cont__carrusel img {
        height: auto;
    }

     .Card__carrusel__interes .Cont__carrusel img {
        margin-bottom: 15px;
        width: 100%;
    }


     .Card__carrusel__interes .Cont__carrusel:nth-child(2) {
        padding-left: 0px;
    }

    /* -------------------------------------------------*/
    /* Ferias y Eventos*/

     .ferias {
        margin-top: 30px;
    }

     .ferias__contenedor {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding: 20px 0;

    }

     .ferias__contenedor__ficha__img {
        object-fit: contain;
        height: 130px;
    }

     .ferias__contenedor__ficha {
        min-width: 40%;
        margin-right: 15px;
        height: 330px;
        padding: 20px;
        flex-wrap: nowrap;

    }


}

/* -------------------------------------------------*/
/* Tablet */
@media screen and (max-width: 768px) {


     .grid-contenedor__text-intro {
        padding: 0 20px;
    }

    
    /* -------------------------------------------------*/
    /* Beneficios */

     .grid-contenedor--beneficio {

        flex-wrap: wrap;
    }

     #beneficios-privilegios .Card--horizontal--beneficio {
        justify-content: flex-start;

    }



     #beneficios-privilegios .Card--horizontal--beneficio {
        width: 80%;
        margin-top: 20px;

    }

    /* -------------------------------------------------*/
    /* Categorias*/

     .grid-contenedor--categorias a {
        width: 20%;
    }

     .categorias-destacadas {
        height: 300px;
    }



     .categorias-destacada__contenedor {
        padding: 20px;

    }

     .categorias-destacadas {

        grid-template-rows: auto auto;

    }

     .categorias-destacadas div:nth-child(1) img,
     .categorias-destacadas div:nth-child(4) img {
        height: 180px;
    }


     .categorias-destacadas div:nth-child(2) img,
     .categorias-destacadas div:nth-child(3) img {
        display: none;
    }

     .categorias-destacadas h3 {
        width: 100%;
        margin-bottom: 0px;
    }

     .categorias-destacadas div:nth-child(2) h3,
     .categorias-destacadas div:nth-child(3) h3 {
        width: 100%;
    }

    /* -------------------------------------------------*/
    /*Enlaces de interes */

     .Card__carrusel__interes .Cont__carrusel img {

        height: 215px;
        max-width: 100%;
        object-position: right;
        object-fit: cover;
    }

     .Card__vertical .Card__vertical__img .image {
        height: 170px;
    }

    /* -------------------------------------------------*/
    /* Ferias y Eventos*/

     .ferias {
        margin-top: 30px;
    }

     .ferias__contenedor {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding: 20px 0;

    }

     .ferias__contenedor__ficha__img {
        object-fit: contain;
        height: 120px;
    }

     .ferias__contenedor__ficha {
        min-width: 47%;
        margin-right: 15px;
        height: 330px;
        padding: 20px;
        flex-wrap: nowrap;

    }


}

/* -------------------------------------------------*/
/* Mobile*/
@media screen and (max-width: 576px) {


     .grid-contenedor__text-intro {
        padding: 0 20px;
        margin-bottom: 20px;
    }

     #beneficios-privilegios .Card--horizontal--beneficio {
        width: 100%;
        margin-top: 25px;
    }



   
    /* -------------------------------------------------*/
    /* Categorias */

     .grid-contenedor--categorias {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-y: auto;
    }

     .grid-contenedor--categorias a {
        width: 40%;
        min-width: 40%;
        padding: 10px 0;
    }

     .grid-contenedor--categorias::-webkit-scrollbar,
     .ferias__contenedor::-webkit-scrollbar {
        height: 7px;
        border-radius: 4px;
        background: #efefef;
    }

     .grid-contenedor--categorias::-webkit-scrollbar-thumb,
     .ferias__contenedor::-webkit-scrollbar-thumb {
        background: var(--color--main);
        border-radius: 4px;
    }

     .carrousel-descuentos__img__producto {
        height: auto !important;
        width: 100% !important;

    }

    
    /* -------------------------------------------------*/
    /* Categorias destacadas */

     .grid-contenedor .carrousel-descuentos .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
        bottom: 70px;
    }

     .categorias-destacadas {
        height: auto;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        gap: 15px;
    }

     .categorias-destacadas div:nth-child(1) {
        grid-row-start: 1;
        grid-row-end: 1;
    }

     .categorias-destacadas div:nth-child(2) {
        grid-row-start: 2;
        grid-row-end: 3;
    }

     .categorias-destacadas div:nth-child(4) {
        grid-row-start: 4;
        grid-row-end: 4;
    }

     .categorias-destacada__contenedor {
        padding: 20px;
        height: min-content;
    }

     .categorias-destacadas h3 {
        width: 60%;
        margin-bottom: 0;
    }

     .categorias-destacadas div:nth-child(2) img,
     .categorias-destacadas div:nth-child(3) img {
        display: block;
    }

     .categorias-destacadas div:nth-child(1) img,
     .categorias-destacadas div:nth-child(4) img {
        height: 150px;
    }

     .categorias-destacadas div:nth-child(2) h3,
     .categorias-destacadas div:nth-child(3) h3 {
        width: 75%;
    }

    
    /* -------------------------------------------------*/
    /* Enlaces de interes*/
     .Cont2__interes .swiper {
        padding: 10px 15px 25px;
    }

     .Card__carrusel__interes {
        display: block;
        margin: 0px;
        padding: 24px 16px;
    }

     .Card__carrusel__interes .Cont__carrusel img {
        margin-bottom: 15px;
        width: 100%;
    }


     .Card__carrusel__interes .Cont__carrusel:nth-child(2) {
        padding-left: 0px;
    }

    /* -------------------------------------------------*/
    /* Ferias y Eventos*/
     .eventos .swiper-slide>div {
        height: fit-content;
    }

     .ferias {
        margin-top: 30px;
    }

     .ferias__contenedor {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding: 20px 0;
    }

     .ferias__contenedor__ficha__img {
        object-fit: contain;
        height: 120px;
    }

     .ferias__contenedor__ficha {
        min-width: 90%;
        margin-right: 15px;
        height: 290px;
        padding: 20px;
        flex-wrap: nowrap;
    }

     .ferias__contenedor__ficha h3 {
        margin-bottom: 0;
    }

}