/**
* 2007-2016 WebImpacto Consulting S.L.
*
*
*  @author    WebImpacto Consulting S.L. <info@webimpacto.net>
*  @copyright 2007-2015 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/


#app_advertise_fixed{
    position: fixed;
    z-index: 100000000;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    min-height: 64px;
    border: 1px solid #e8ecef;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 44px 8px 8px;
    transition: opacity 0.22s ease, transform 0.22s ease;
    animation: app4less-slide-in 0.28s ease;
}

#app_advertise_fixed.app4less-hide {
    opacity: 0;
    transform: translateY(8px);
}

/* Solo los contenedores que deben ser flex, NO #app_text */
#app_advertise_fixed #app_advertise_fixed_inner,
#app_advertise_fixed .buttonApp,
#app_advertise_fixed #APPpopupClose {
    display: flex;
    align-items: center;
    /*font-family: 'Montserrat';*/
}
#app_advertise_fixed #app_text {
    display: block;
}
#app_advertise_fixed p{
    margin-bottom: 0px;
    /*font-family: 'Montserrat';*/
    color: #000000;
}

#app_advertise_fixed #app_image {
    flex-shrink: 0;
    cursor: pointer;
    margin-right: 8px;
}
#app_advertise_fixed #app_advertise_fixed_inner{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    min-width: 0;
}
#app_advertise_fixed .buttonApp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    min-width: 140px;
    max-width: 260px;
    padding: 0;
}
.footer-container .footer-container-inner #footer #app_advertise_fixed .buttonApp a:hover {
    color: #509E2F!important;
}
#app_advertise_fixed .buttonApp a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    font-size: 12px!important;
    color: #ffffff!important;
    letter-spacing: 0;
    background: #509E2F;
    border-radius: 999px!important;
    font-weight: 600;
    padding: 7px 20px;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
#app_advertise_fixed .buttonApp a p{
    font-size: 8px;
    text-transform: uppercase;
    color: #509E2F;
}
#app_advertise_fixed #app_image img{
    width: auto;
    height: 100%;
}

#app_advertise_fixed #app_text{
    font-size: 12px;
    color: #2b2f33;
    letter-spacing: 0;
    padding: 0px 10px;
    line-height: 1.35;
    text-align: center;
}

#app_advertise_fixed .app4less-discount {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 8px;
    border-radius: 999px;
    background: #509e2f;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) inset;
}
#app_advertise_fixed #APPpopupClose{
    position: absolute;
    top: 8px;
    display: flex;
    float: none;
    right: 8px;
    width: 28px;
    text-align: center;
    color: #4d5660;
    height: 28px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #eef2f5;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

#app_advertise_fixed #APPpopupClose:hover,
#app_advertise_fixed #APPpopupClose:focus {
    background: #e2e8ed;
    color: #222;
    outline: none;
}

#app_advertise_fixed .app4less-autoclose-track {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    border-radius: 999px;
    background: rgba(80, 158, 47, 0.18);
    overflow: hidden;
}

#app4less_autoclose_bar {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, #6bc244 0%, #3f9e2a 100%);
}

#app_advertise_fixed.app4less-autoclose-active #app4less_autoclose_bar {
    animation-name: app4less-countdown;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes app4less-countdown {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@keyframes app4less-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-top-app4less.back-top-app4less-ios a{
    display: block !important;
    position: absolute;
    z-index: 99999999999;
    bottom: 20px;
    transition: bottom 0.3s;
}

.is_app4less #header,
.is_app4less .footer-container,
.is_app4less .breadcrumb,
.is_app4less #MyCustomTrustbadge,
.is_app4less #livechat-wrapper,
.is_app4less #category-description,
.is_app4less [class*='whatsapp_'],
.is_app4less .lql-social-login,
.is_app4less .steco_social_login_box {
    display: none; 
}

@media (max-width: 350px) {
    #app_advertise_fixed p{
        font-size: 10px;
    }

    #app_advertise_fixed {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

}

@media (max-width: 767px) {
    #app_advertise_fixed {
        left: 8px;
        right: 8px;
        bottom: 8px;
        min-height: 64px;
        padding: 8px 40px 8px 8px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        row-gap: 0;
    }

    #app_advertise_fixed #app_advertise_fixed_inner {
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        gap: 6px;
        padding: 0;
    }

    #app_advertise_fixed #app_image img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    #app_advertise_fixed #app_text {
        font-size: 13px;
        padding: 0;
        line-height: 1.25;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
        text-align: center;
    }

    #app_advertise_fixed .app4less-discount {
        white-space: nowrap;
        font-size: 12px;
        padding: 2px 7px;
        margin: 0 2px;
    }

    #app_advertise_fixed .buttonApp {
        width: 80%;
        min-width: 140px;
        max-width: 260px;
        padding: 0;
    }

    #app_advertise_fixed .buttonApp a {
        min-height: 44px;
        font-size: 14px !important;
        padding: 10px 20px;
        width: 100%;
    }

    #app_advertise_fixed #APPpopupClose {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
    }

    #app_advertise_fixed .app4less-autoclose-track {
        left: 8px;
        right: 8px;
        bottom: 3px;
    }
}

/* Estilo desktop (pantallas anchas, sin móvil): botón compacto al lado */
@media (min-width: 768px) {
    #app_advertise_fixed .buttonApp{
        max-width: 120px;
    }
}
