/* Start custom CSS for html, class: .elementor-element-ec92d58 *//* FRACCIONA TU PAGO */

#fraccionaTuPago {
    font-weight: 300;
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    text-align: center;
}

#fraccionaTuPago>p {
    display: block;
    width: 100%;
}

#fraccionaTuPago>.itemsFracciona {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.itemsFracciona>.fracciona {
    min-width: calc(100%/3);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
}

.itemsFracciona button {
    margin: 10px 0;
}

.itemsFracciona>.fracciona>img {
    margin: 0 10px;
    height: 80px;
    width: auto;
    align-self: flex-start;
}

.itemsFracciona>.fracciona>div {
    align-self: baseline;
}

.itemsFracciona>.fracciona>div>p:first-of-type {
    text-transform: uppercase;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-a240a99 *//* SLIDER */

#slider {
    width: 100%;
    position: relative;
    object-fit: contain;
    overflow: hidden;
}

#slider a {
    width: 100%;
    display: block;
}

#slider img {
    width: 100%;
    height: auto;
}

#slider button.left {
    position: absolute;
    left: 5%;
    top: 40%;
}

#slider button.right {
    position: absolute;
    right: 5%;
    top: 40%;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-fd5ab02 *//* DESTACADOS */

#destacados {
    font-weight: 300;
    margin: 20px 0;
    height: 250px;
    display: flex;
    flex-direction: row;
}

#destacados article {
    width: calc(100%/3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 8px;
}

#destacados .precio {
    margin: 10px 0;
}


#destacados article div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 100%;
}

#destacados article img {
    width: 40%;
}

#destacados article h3 {
    white-space: normal;
}

#destacados article:nth-child(1) {
    background-color: #DFFDFD;
}

#destacados article:nth-child(2) {
    background-color: #F8E9FC;
}

#destacados article:nth-child(3) {
    background-color: #FDF1DF;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-482eaab *//* ARTICULOS */

#articulos h1 {
    width: 100%;
    text-align: center;
    display: block;
}


/* REJILLA DE ITEMS */

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.grid article {
    width: 25%;
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: box-shadow .2s linear;
    border-radius: 8px;
}

.grid article img {
    transition: border-radius .2s linear;
}

.grid article:hover {
    transform-origin: 50% 50%;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .23)
}

.grid article:hover img {
    border-radius: 4px;
}

.grid article img {
    width: 90%;
    height: auto;
}

.grid.marcas article img {
    width: 100%;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-36a81aa *//* CARRUSEL */

#carrusel {
    margin: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#carrusel div.imagenesCarrusel {
    overflow-y: hidden;
    overflow-x: scroll;
    height: auto;
    width: 80%;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#carrusel div.imagenesCarrusel img {
    display: inline-block;
    width: 180px;
    height: auto;
    margin-right: 180px;
    padding-right: 20px;
}


#slider button,
#carrusel button,
#quote button {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    top: 50%;
}

#carrusel button.prev {
    left: 10%;
}

#carrusel button.next {
    right: 10%;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-76a15cb *//* MARCAS */

#marcas h2 {
    width: 100%;
    text-align: center;
    display: block;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-33a0274 *//* QUOTE */

#quote {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: scroll;
}

#quote>div {
    font-weight: 300;
    padding: 20px;
    border-radius: 20px;
    white-space: normal;
    background-color: #47EABB;
    border: 1px solid white;
    min-width: 100%;
    min-height: 95%;
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#quote>div>p {
    text-align: center;
    color: white;
    font-weight: 400;
    font-size: 1.3em;
}

#quote>div>h3 {
    color: white;
}

#quote span {
    font-size: .8em;
    color: #505958;
}

#quote>div>* {
    margin: 10px 0;
}

#quote img:first-of-type {
    opacity: .4;
}

#quote img {
    height: 50px;
    width: auto;
}

#quote img:last-of-type {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #505958;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-83451d1 *//* COLUMNS */

section.columns a {
    color: #47EABB
}

section.columns {
    width: 100%;
    margin: 20px auto;
}

section.columns h3 {
    width: 100%;
    text-align: center;
}

section.columns>div {
    display: flex;
    justify-content: space-evenly;
}

section.columns>div>section {
    padding: 20px;
}

section.columns p {
    margin-bottom: 1em;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2a441d5 *//* POPUP */
#popup{
    height: 100vh;
    width: 100vw;
    position: fixed;
    top:0;
    left: 0;
    z-index: 99;
}
#popup h3{
    color: #179874;
    margin-top: 10px;
}
#popup .overlay{
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
#popup .contenido{
    background-color: white;
    min-height: 440px;
    width: 320px;
    border-radius: 10px;
    font-weight: 300;
    position: relative;
}
#popup .contenido > div{
    padding: 10px;
}
#popup .contenido > div:first-of-type{
    background-color: #179874;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    color:white;
}
#popup .contenido > div:not(:first-of-type){
    text-align: center;
    padding-top: 10px;
    height: 100%;
    padding: 0;
}

#popup .contenido ol{
    max-width: 80%;
    margin: 10px auto;
    text-align: left;
    color: #179874;
}
#popup .contenido ol li{
    margin: 10px;
}
#popup .contenido ol li span{
    color: black;
}
#popup .contenido p{
    padding: 25px;
    width: 320px;
    display: block;
    background-color: lightgray;
}
#popup .contenido button{
    display: inline-block;
    margin-bottom: 10px;
    right: 10px;
    bottom: 10px;
}/* End custom CSS */
/* Start custom CSS for page-settings *//* FORMATEANDO ENLACES */

.elementor-19177 a {
    text-decoration: none;
    color: black;
    transition: color .2s linear;
}

.elementor-19177 a:hover {
    color: #47EABB
}

/* BOTONES */

#babybutton {
    text-transform: uppercase;
    background-color: transparent;
    border-color: #47EABB;
    border: solid 2px;
    color: #47EABB;
    border-radius: 20px;
    outline: transparent;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, .2);
    transition: all .2s;
    font-size: .9em;
}

#babybutton:hover {
    opacity: .7;
    box-shadow: none;
}

/* --- RESPONSIVE --- */

@media screen and (max-width: 1140px) {
    body {
        width: 100%;
    }
    header {
        width: 100%;
    }
}


/* MEDIA QUERIES */

@media screen and (max-width: 1140px) {
    nav.menuSuperior {
        grid-column: menu-start / middle-end;
    }
    .telefono span,
    .email span {
        display: none;
    }
}


/* EVITAR QUE SE ROMPA EL MENÚ */


/* A PARTIR DE AQUÍ MOSTRAR HAMBURGER*/

@media screen and (max-width: 660px) {
    header div.botonMenu {
        display: flex;
        grid-row: middle-start / bottom-start;
        grid-column: menu-start / menu-end;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    header div.botonMenu img {
        height: 24px;
        width: auto;
        position: absolute;
        left: 30%
    }
    nav.menuMovil {
        grid-column: menu-start / info-end;
        grid-row: unset;
        background-color: white;
        display: block;
        width: 100%;
        height: calc(100% - 200px);
        position: fixed;
        top: 200px;
        overflow: scroll;
        padding: 0 5%;
    }
    ul.menu {
        display: block;
        width: 100%;
        text-align: left;
    }
    ul.submenu {
        position: static;
        display: block;
        margin-left: 10px;
        margin-top: 0px;
    }
    ul.menu>li {
        display: block;
        padding: 0;
        margin: 10px 0;
        height: auto;
    }
    /* MENUS Y SUBMENUS ACTIVOS EN MOVIL */
    nav.menuMovil>.menu>li>a {
        position: relative;
        display: block;
        width: 90%;
        z-index: 200;
    }
    nav.menuMovil>.menu>li>a::after {
        position: absolute;
        content: "+";
        left: 105%;
        pointer-events: none;
        color: #47EABB;
    }
    nav.menuMovil>ul>li>ul {
        opacity: 1;
        max-height: 0px;
        overflow: hidden;
        transition: max-height .5s ease-in-out;
    }
    nav.menuMovil>ul>li.activo>ul {
        max-height: 600px;
        visibility: visible;
    }
    ul.submenu li a {
        pointer-events: all;
    }
    .submenu li a:hover {
        color: #47EABB;
    }
}

@media screen and (max-width: 660px) {
    body {
        width: 100%;
    }
    header {
        width: 100%;
        grid-template-rows: [top-start] 1fr [middle-start] 1fr [bottom-start] 1fr [bottom-end];
        height: 200px;
    }
    /* REPOSICIONANDO ELEMENTOS HEADER */
    .imagenCabecera img {
        width: 60%;
        height: auto;
    }
    nav.menuSuperior {
        display: none;
    }
    section.info {
        grid-column: menu-start / middle-start;
        grid-row: top-start / middle-start;
        justify-content: space-around;
        align-items: center;
    }
    div.iconos {
        grid-column: middle-start/info-end;
        grid-row: top-start / middle-start;
        justify-content: space-around;
    }
    div.iconos>a {
        margin: 10px 20px;
        padding: 0;
    }
    section.info>div {
        margin: 0;
    }
    section.info .acceder {
        display: none;
    }
    .barraBusqueda {
        grid-column: menu-start / info-end;
        grid-row: bottom-start / bottom-end;
        padding: 0;
    }
    a.imagenCabecera {
        grid-column: menu-start / info-end;
        grid-row: middle-start / bottom-start;
        text-align: center;
    }
    nav.menuInferior {
        display: none;
    }
    /* MAIN */
    main {
        margin-top: 200px;
    }
    /* REPOSICIONANDO ITEMS FRACCIONA */
    .itemsFracciona {
        overflow: scroll;
    }
    .itemsFracciona .fracciona {
        text-align: center;
        overflow: hidden;
        justify-content: center;
    }
    .itemsFracciona .fracciona img {
        height: 80px;
        width: auto;
    }
    .itemsFracciona div {
        display: none;
    }
    /* REPOSICIONANDO DESTACADOS */
    section#destacados {
        display: flex;
        flex-direction: row;
        overflow-y: hidden;
        overflow-x: scroll;
        justify-content: space-between;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    section#destacados>article {
        display: flex;
        min-width: 100%;
        height: 80%;
        justify-content: space-around;
        margin-top: 20px;
        margin-right: 4px;
    }
    section#destacados>article>div {
        margin: 0;
    }
    /* REPOSICIONANDO ELEMENTOS GRID */
    .grid article {
        width: 50%;
        height: auto;
        overflow: hidden;
        margin: 10px 0;
        padding: 10px;
    }
    .grid img {
        width: 90%;
        height: auto;
    }
    .grid.marcas img {
        width: 100%;
    }
    /* REDIMENSIONANDO QUOTE */
    section#quote {
        min-height: 200px;
        padding: 20px auto;
    }
    section#quote img {
        height: 40px;
        width: auto;
    }
    /* REPOSICIONANDO COLUMNAS */
    section.columns>div {
        display: block;
    }
    section.columns>div>section>p {
        margin: 10px 0;
    }
    /* REPOSICIONANDO ELEMENTOS FOOTER */
    footer section.topFooter {
        flex-direction: column;
    }
    footer section.topFooter>section {
        width: 100%;
    }
    footer {
        height: auto;
        text-align: center;
    }
    footer ul {
        margin: 20px;
    }
    footer section.topFooter img {
        width: 50%;
        height: auto;
    }
    footer section.subFooter>*:not(hr) {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    footer>* {
        margin: 10px;
    }
}/* End custom CSS */