/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

input,
input:focus {
    outline: none;
}
#tvcmsNewsLetterPopup {
    background-color: rgba(0, 0, 0, 0.2);
}
.tvcmsnewsletterpopup {
    width: 100%;
    height: 100% !important;
    background-repeat: repeat;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    vertical-align: top;
    box-shadow: 0 0px 40px 15px rgba(0, 0, 0, 0.2);
}
.tvcmsnewsletterpopup .tvnewslatter-popup-img-wrapper {
    width: 50%;
}
.tvcmsnewsletterpopup .tvnewslatter-popup-img-wrapper,
.tvcmsnewsletterpopup #newsletter_block_popup {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.tvcmsnewsletterpopup .tvnewslatter-popup-img-wrapper img {
    width: 100%;
    max-height: 100%;
    height: 100%;
}

/* ==========================================================================
   CAMBIO 1: AGRANDAR EL POP-UP PROPORCIONALMENTE PARA QUE RESPIRE
   ========================================================================== */
.tvcmsNewsLetterPopup-i {
    margin: auto;
    left: 0;
    right: 0;
    padding: 0 15px;
    max-width: 850px;     /* Aumentado de 630px a 850px para dar amplitud */
    max-height: 520px;    /* Aumentado de 470px a 520px para dar altura proporcional */
    width: 100%;
}

.tvcmsNewsLetterPopup-i .close {
    border-radius: 100%;
    font-weight: normal;
    height: 40px;
    opacity: 1;
    position: absolute;
    text-align: center;
    width: 40px;
    right: 15px;
    top: 0;
    z-index: 9;
}
.tvcmsNewsLetterPopup-i .tvnewsletterpopup-button-icon {
    background-color: #000000;
    height: 40px;
    width: 40px;
    margin: auto;
    line-height: 40px;
    border-radius: 0;
}
.tvcmsNewsLetterPopup-i .tvnewsletterpopup-button-icon i {
    color: #ffffff;
    font-size: 18px;
    line-height: 40px;
    height: 40px;
}
.tvcmsNewsLetterPopup-i button:focus {
    outline: none;
}

/* ==========================================================================
   CAMBIO 2: MÁRGENES DE LA COLUMNA DE TEXTO DERECHA
   ========================================================================== */
#newsletter_block_popup {
    width: 50%;
    padding: 30px 25px; /* Aumentado el espacio interno para desapelmazar */
    text-align: center;
}
#newsletter_block_popup .block_content {}
#newsletter_block_popup .tvnewsletter-popup-wrapper {
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-img-wrapper,
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-input-wrapper {
    display: inline-block;
}
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-img-wrapper {
    margin-right: 10px;
}
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-img-wrapper img {
    border: 2px solid #eee;
    height: 40px;
}
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-input-wrapper input {
    width: 100%;
    height: 40px;
    padding: 10px 10px;
    border: 1px solid #eee;
}
#newsletter_block_popup .block_content .newsletter_title {}
.tvcmsNewsLetterPopup {
    padding-right: 0 !important;
}
#newsletter_block_popup .block_content .newsletter_title h3 {
    font: 500 30px/normal 'Roboto', sans-serif;
    color: #333333;
    margin: 0 0 15px;
    text-transform: none;
}

/* Estilo para los bloques de texto principales */
#newsletter_block_popup .block_content .tvcmsnewsletterpopupContent {
    color: #464646;
    font: 500 14px/22px 'Roboto', sans-serif;
    margin-bottom: 16px; /* Ajuste fino de separación */
}
#newsletter_block_popup .block_content .tvcmsnewsletterpopupContent p {
    margin: 0;
}
#newsletter_block_popup .block_content .tvcmsnewsletterpopupAlert {
    font-size: 14px;
}

/* Ajustes caja input mail */
#newsletter_block_popup .block_content .inputNew {
    background-color: #fff;
    border: 1px solid #ebebeb;
    height: 38px;
    padding: 0 15px;
    width: 85%; /* Ligeramente más ancho para acompañar la escala */
    margin-bottom: 15px;
}
#newsletter_block_popup .block_content .inputNew::placeholder,
#newsletter_block_popup .tvnewsletter-popup-wrapper .tvnewsletter-popup-input-wrapper input::placeholder {
    font-size: 12px;
    color: #a8a8a8;
    font-style: italic;
}
#newsletter_block_popup .block_content .send-reqest {
    margin-bottom: 15px;
}

#newsletter_block_popup .newsletter_block_popup-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
#newsletter_block_popup .newsletter_block_popup-bottom .subscribe-bottom {
    display: inline;
    line-height: 24px;
    margin-right: 5px;
}
#newsletter_block_popup .newsletter_block_popup-bottom .tvcmsnewsletterpopup_newsletter_dont_show_again {
    color: #888888;
    font-size: 13px;
    line-height: 22px;
    margin: 0;
}
.tvnewsletterpopup-input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.tvnewsletter-social-icon {
    position: relative;
}
.tvnewsletter-social-icon li span {
    height: 40px;
    width: 40px;
    display: block;
    margin-bottom: 0;
    float: left;
}
.tvnewsletter-social-icon ul {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

@media(max-width: 770px) {
    #newsletter_block_popup .block_content .newsletter_title h3 {
        font: 500 24px/normal 'Roboto', sans-serif;
    }
    #newsletter_block_popup .block_content .tvcmsnewsletterpopupContent {
        font: 500 13px/20px 'Roboto', sans-serif;
    }
    .tvcmsNewsLetterPopup-i {
        max-width: 90%;
    }
}
@media(max-width: 575px) {
    .tvcmsNewsLetterPopup-i {
        max-height: 100%;
        max-width: 400px;
    }
    .tvall-inner-btn-cancel span,
    .tvall-inner-btn span {
        font-size: 14px;
    }
    .tvcmsnewsletterpopup .tvnewslatter-popup-img-wrapper img {
        width: 60%;
        max-height: inherit;
        height: auto;
    }
    .tvcmsnewsletterpopup .tvnewslatter-popup-img-wrapper {
        width: 100%;
        padding: 15px;
    }
    #newsletter_block_popup {
        width: 100%;
    }
    .tvcmsnewsletterpopup {
        text-align: center;
        display: inline-table;
    }
    .tvnewsletter-social-icon li span {
        width: 30px;
        height: 30px;
    }
}
.lang-rtl #newsletter_block_popup .newsletter_block_popup-bottom .subscribe-bottom {
    margin-right: 0;
    margin-left: 5px;
}
/****************catelog **********************/
@media(max-width: 575px) {
    .tvcatlog-button-wrapper {
        display: flex;
        justify-content: center;
    }
    .tvproduct-cart-catalog-btn {
        float: left;
        margin: 0 15px;
    }
}
.tvcmsnewsletterpopup {
    box-shadow: none;
    background-color: #ffffff;
    border: 10px solid #ffffff;
}

/* ==========================================================================
   CAMBIO 3: MAQUETACIÓN EXCLUSIVA DE LA PUNTUACIÓN GOOGLE (250PX)
   ========================================================================== */
.tvpopup-trust-block {
    text-align: center !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.tvpopup-img-google {
    max-width: 350px !important;
    width: 350px !important; 
    height: auto !important;
    display: inline-block !important;
    margin-bottom: 5px !important;
}

.tvpopup-texto-pequeno {
    font-size: 11px !important;
    color: #666666 !important;
    margin: 0 !important;
    margin-bottom: 15px !important; /* NUEVO: Separa la letra pequeña del texto de abajo */
    line-height: 1.4 !important;
}

/* Espaciado extra para asegurar que el cierre del popup respire */
#newsletter_block_popup .newsletter_block_popup-bottom {
    margin-top: 5px !important;
    width: 100%;
}
