#footer {
    background-color: rgba(247, 247, 252, 1) !important;
    margin-bottom: -20px !important;
}

/* Social Links */
#footer .row:first-of-type > :first-child .wpb_wrapper .share-links > * {
    border: 1px solid rgba(217, 219, 233, 1) !important;
    background-color: rgba(247, 247, 252, 1) !important;
    width: 28px !important;
    height: 28px !important;
}

/* Descripcion Formas de pago */
#footer > .porto-block > .container-fluid > .vc_row-has-fill .row > :first-child .porto-u-main-heading > div {
    font-weight: 400 !important;
}

/* Iconos de Formas de pago */
#footer > .porto-block > .container-fluid > .vc_row-has-fill .wpb_raw_code .payment-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
}
#footer > .porto-block > .container-fluid > .vc_row-has-fill .wpb_raw_code .payment-icons svg {
    margin-right: 0 !important;
}
#footer > .porto-block > .container-fluid > .vc_row-has-fill .wpb_raw_code {
    margin-top: 0 !important;
}

@media (max-width: 567px) {
    #footer > .porto-block > .container-fluid > .vc_row-has-fill {
        /* 48px + (60px menu bottom) */
        padding-bottom: 108px !important;
    }
}

@media (max-width: 768px) {
    #footer .row:first-of-type > :first-child {
        width: 100% !important;
    }
    #footer .row:first-of-type > :nth-child(-n+3):not(:first-child) {
        width: 50% !important;
    }

    /* Footer Top Container */
    #footer > .porto-block > .container-fluid > div:first-of-type {
        padding-top: 48px !important;
    }

    /* Contacto */
    #footer .row:first-of-type > :nth-child(4) .wpb_raw_code {
        margin-top: 16px !important;
        margin-bottom: 0 !important;
    }
    #footer .row:first-of-type > :nth-child(4) .wpb_raw_code p:first-child {
        margin-bottom: 8px !important;
    }
    #footer .row:first-of-type > :nth-child(4) .wpb_raw_code p:last-child {
        margin-bottom: 0 !important;
    }
    /* Soporte, Conoce más */
    #footer .row:first-of-type > :nth-child(2) .wpb_wrapper .vc_custom_heading:nth-child(2),
    #footer .row:first-of-type > :nth-child(3) .wpb_wrapper .vc_custom_heading:nth-child(2) {
        margin-top: 16px !important;
    }

    /* Titulos de las columnas Footer Top */
    #footer .row:first-of-type > :nth-child(-n+4):not(:first-child) > .vc_column-inner > h4,
    #footer .row:first-of-type > :nth-child(-n+4):not(:first-child) > .vc_column-inner > h2 {
        margin-bottom: 16px !important;
    }
    #footer .row:first-of-type > :nth-child(-n+4):not(:first-child) > .vc_column-inner > div {
        margin-top: 8px !important;
    }

    /*Logo div*/
    #footer .row:first-of-type > :nth-child(1) > .wpb_wrapper > h4 {
        margin-bottom: 16px !important;
    }
    #footer .row:first-of-type > :nth-child(1) > .wpb_wrapper > .wpb_single_image {
        margin: 16px 0 !important;
    }
    #footer .row:first-of-type > :nth-child(1) > .wpb_wrapper > .porto-u-heading > div > div {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px !important;
        text-align: left !important;
        text-underline-position: from-font !important;
        text-decoration-skip-ink: none !important;
    }
    /* Social Links */
    #footer .row:first-of-type > :first-child .wpb_wrapper .share-links > * {
        margin-top: 0 !important;
    }

    /* Formas de pago Container */
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .wpb_raw_code {
        margin-left: 0 !important;
    }
    
    /* Titulo Formas de pago */
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .row .vc_column_container h4 {
        margin: 0 !important;
        margin-top: 24px !important;
        text-align: left !important;
    }
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .row .vc_column_container .wpb_content_element {
        margin-top: 0 !important;
    }
    #footer .payment-icons svg {
        margin-right: 16px !important;
    }
}

#footer .row:first-of-type > :nth-child(4) .wpb_raw_code p,
#footer .row:first-of-type > :nth-child(4) .wpb_raw_code p span {
    font-size: 12px !important;
    line-height: 16px !important;
    text-align: left !important;
    font-family: 'Inter' !important;
    text-underline-position: from-font !important;
    text-decoration-skip-ink: none !important;
}
#footer .row:first-of-type > :nth-child(4) .wpb_raw_code p:not(:first-child),
#footer .row:first-of-type > :nth-child(4) .wpb_raw_code p span:not(:first-child) {
    margin-top: 1rem !important;
}
@media (max-width: 768px) {
    #footer .row:first-of-type > :nth-child(4) .wpb_raw_code p:not(:first-child),
    #footer .row:first-of-type > :nth-child(4) .wpb_raw_code p span:not(:first-child) {
        margin-top: 0.5rem !important;
    }
}

@media (min-width: 769px) {
    /* Titulo Formas de pago */
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .row .vc_column_container h4 {
        text-align: right !important;
        margin-bottom: 0 !important;
    }
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .wpb_raw_code .payment-icons {
        justify-content: flex-end !important;
    }
    /* Descripcion Formas de pago */
    #footer > .porto-block > .container-fluid > .vc_row-has-fill .row > :first-child {
        display: flex !important;
        align-items: center !important;
    }
}

/* Linea de separación mobile y desktop */
#footer > .porto-block > .container-fluid > .vc_row-has-fill {
    padding-top: 0px !important;
    border-top: none !important;
}
#footer > .porto-block > .container-fluid > .vc_row-has-fill > div > .row {
    padding-top: 20px !important;
    border-top: 1px solid #e7e7e7 !important;
    margin: 0 !important;
}
#footer > .porto-block > .container-fluid > .vc_row-has-fill > div > .row > * {
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    #footer > .porto-block > .container-fluid > .vc_row-has-fill > div > .row {
        padding-top: 0px !important;
        border-top: none !important;
    }

    #footer > .porto-block > .container-fluid > .vc_row-has-fill > div > .row > :first-child > div {
        padding-top: 25px !important;
        border-top: 1px solid #e7e7e7 !important;
    }
}
/* -- Linea de separación mobile y desktop*/