/* Estilos mejorados para Select2 múltiple en formulario Contact Form 7 */

/* Contenedor principal del Select2 múltiple - width fijo para evitar cambios */
.bt_newsletter_home .select2-container--default.select2-container--below {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Selección múltiple - contenedor principal - width fijo */
.bt_newsletter_home .select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    height: 45px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease-in-out;
    position: relative;
    box-sizing: border-box;
}

/* Cuando hay selecciones: permitir scroll horizontal y mostrar chips - MANTENER HEIGHT FIJO */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    align-items: center !important;
    justify-content: flex-start;
    padding: 5px 8px;
    width: 100%;
    max-width: 100%;
    height: 45px !important; /* Mantener height fijo para scroll horizontal */
    box-sizing: border-box;
}

.bt_newsletter_home .select2-container--default .select2-selection--multiple:focus,
.bt_newsletter_home .select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: none;
}

/* Área de renderizado de las selecciones - width fijo */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Cuando hay selecciones: mostrar chips con scroll horizontal - ESPECIFICIDAD ALTA */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    box-sizing: border-box;
}

/* Ocultar los chips cuando NO hay selecciones */
.bt_newsletter_home .select2-container--default:not(.has-selections) .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: none !important;
}

/* Ocultar chips con valores vacíos o placeholder (nunca deben mostrarse) */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[title=""],
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice:empty,
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[data-select2-tag="true"] {
    display: none !important;
}

/* Mostrar los chips cuando SÍ hay selecciones (solo los válidos) */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: inline-flex !important;
    flex-shrink: 0;
}

/* Asegurar que chips con título vacío o placeholder nunca se muestren */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[title=""] {
    display: none !important;
}

/* Chips individuales de selección - estilo bonito, no se encogen */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3D3935;
    border: 1px solid #3D3935;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    flex-shrink: 0;
    flex-grow: 0;
}

.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
    background-color: #2a2724;
}

/* Texto dentro del chip */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0;
    line-height: 100%;
    color: #fff;
    cursor: default;
}

/* Botón de eliminar del chip */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 0 6px 0 4px;
    margin-right: 4px;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    line-height: 1;
    position: initial;
}

.bt_top_list_wrapper {
    overflow: hidden;
}

.bt_newsletter_home bt_top_list_wrapper--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f1617b;
}

/* Campo de búsqueda dentro del Select2 - centrado y visible por defecto */
.bt_newsletter_home .select2-container--default .select2-search--inline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Ocultar campo de búsqueda cuando hay selecciones */
.bt_newsletter_home .select2-container--default.has-selections .select2-search--inline.hidden {
    display: none !important;
}

/* Mostrar campo de búsqueda cuando NO hay selecciones */
.bt_newsletter_home .select2-container--default:not(.has-selections) .select2-search--inline {
    display: flex !important;
}

.bt_newsletter_home .select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    color: #757579;
    font-size: 12px;
    font-weight: 600;
    height: 45px;
    line-height: 45px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100% !important;
    display: block;
}

.bt_newsletter_home .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #757579;
    opacity: 0.7;
    text-align: center;
}

.bt_newsletter_home .select2-container--default .select2-search--inline .select2-search__field:focus {
    outline: none;
    text-align: center;
}

/* Dropdown del Select2 */
.bt_newsletter_home .select2-dropdown {
    border: 1px solid #d2d2d2;
    border-radius: 0;
    margin-top: 2px;
}

/* Mostrar las selecciones en el dropdown */
.bt_newsletter_home .select2-dropdown .select2-results__option[aria-selected="true"]::before {
    content: "✓ ";
    color: #3D3935;
    font-weight: bold;
    margin-right: 5px;
}

/* Opciones del dropdown */
.bt_newsletter_home .select2-container--default .select2-results__option {
    padding: 10px 12px;
    color: #959595;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.bt_newsletter_home .select2-container--default .select2-results__option--highlighted {
    background-color: #3D3935;
    color: #fff;
}

.bt_newsletter_home .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f0f0f0;
    color: #3D3935;
}

/* Contenedor de resultados */
.bt_newsletter_home .select2-results {
    max-height: 200px;
    overflow-y: auto;
}

/* Scrollbar personalizado para el dropdown */
.bt_newsletter_home .select2-results::-webkit-scrollbar {
    width: 5px;
}

.bt_newsletter_home .select2-results::-webkit-scrollbar-track {
    background-color: #f7f7f7;
}

.bt_newsletter_home .select2-results::-webkit-scrollbar-thumb {
    background-color: #3D3935;
    border-radius: 0;
}

/* Scrollbar personalizado para el contenedor de selección - scroll horizontal cuando hay chips */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple::-webkit-scrollbar {
    height: 5px;
    width: auto;
}

.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple::-webkit-scrollbar-track {
    background-color: #f7f7f7;
}

.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple::-webkit-scrollbar-thumb {
    background-color: #3D3935;
    border-radius: 0;
}

/* Asegurar que el contenedor esté centrado y con width fijo */
.bt_newsletter_home .nl-field .select2-container {
    border: none;
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Placeholder - solo visible cuando NO hay selecciones */
.bt_newsletter_home .select2-container--default:not(.has-selections) .select2-selection--multiple .select2-selection__placeholder {
    color: #959595;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

/* Ocultar placeholder cuando hay selecciones */
.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__placeholder {
    display: none !important;
}

/* Asegurar que las opciones vacías o placeholder no aparezcan como chips seleccionados */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__choice[title=""] {
    display: none !important;
}

/* Botón de limpiar todas las selecciones */
.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__clear {
    color: #959595;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    padding: 0 4px;
    transition: color 0.2s ease-in-out;
}

.bt_newsletter_home .select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    color: #3D3935;
}

/* Placeholder - solo visible cuando NO hay selecciones */
.bt_newsletter_home .select2-container--default:not(.has-selections) .select2-selection--multiple .select2-selection__placeholder {
    color: #959595;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__placeholder {
    display: none;
}

/* Responsive - ajustes para móviles */
@media (max-width: 768px) {
    /* Contenedor Select2 - asegurar width fijo en móvil */
    .bt_newsletter_home .select2-container--default {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .bt_newsletter_home .select2-container--default .select2-selection--multiple {
        height: 45px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .bt_newsletter_home .select2-container--default .select2-search--inline .select2-search__field {
        font-size: 11px;
    }
    
    .bt_newsletter_home .select2-container--default.has-selections .select2-selection--multiple .select2-selection__choice {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    /* Select2 simple (país) en móvil */
    .bt_newsletter_home .select2-container--default .select2-selection--single {
        height: 45px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 11px;
        line-height: 45px;
    }
}

/* ============================================
   ESTILOS PARA SELECT2 SIMPLE (PAÍS)
   ============================================ */

/* Contenedor principal del Select2 simple - width fijo */
.bt_newsletter_home .select2-container--default.select2-container--below:not(.select2-container--open) {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Selección simple - contenedor principal */
.bt_newsletter_home .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    height: 45px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease-in-out;
    position: relative;
    box-sizing: border-box;
}

.bt_newsletter_home .select2-container--default .select2-selection--single:focus,
.bt_newsletter_home .select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
}

/* Área de renderizado de la selección simple */
.bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 12px;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    color: #757579;
    font-size: 12px;
    font-weight: 600;
    line-height: 45px;
    text-align: center;
}

/* Placeholder del select simple */
.bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757579;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
}

/* Flecha del dropdown */
.bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px;
    position: absolute;
    right: 8px;
    top: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #757579 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    transition: border-color 0.2s ease-in-out;
}

.bt_newsletter_home .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #757579 transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -2px;
}

/* Dropdown del Select2 simple */
.bt_newsletter_home .select2-dropdown {
    border: 1px solid #d2d2d2;
    border-radius: 0;
    margin-top: 2px;
}

/* Opciones del dropdown para select simple */
.bt_newsletter_home .select2-container--default .select2-results__option {
    padding: 10px 12px;
    color: #757579;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    text-align: center;
}

.bt_newsletter_home .select2-container--default .select2-results__option--highlighted {
    background-color: #3D3935;
    color: #fff;
}

.bt_newsletter_home .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f0f0f0;
    color: #3D3935;
}

/* Contenedor de resultados para select simple */
.bt_newsletter_home .select2-results {
    max-height: 200px;
    overflow-y: auto;
}

/* Asegurar que el contenedor del país esté centrado y con width fijo */
.bt_newsletter_home .nl-field select[name*="pais"] + .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    border: none;
}

/* Responsive para select simple */
@media (max-width: 768px) {
    .bt_newsletter_home .select2-container--default .select2-selection--single {
        height: 45px;
    }
    
    .bt_newsletter_home .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 11px;
    }
}

/* ============================================
   ESTILOS PARA MENSAJES DE ERROR CONTACT FORM 7
   ============================================ */

.bt_newsletter_home .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* En pantallas mayores a 1024px: formulario en una sola línea */
@media (min-width: 1024px) {
    .bt_newsletter_home .wpcf7 form .nl-row {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    .bt_newsletter_home .wpcf7 form .nl-row .nl-field {
        width: calc((100% / 4) - (12px * 3 / 4));
    }
}

.bt_newsletter_home .wpcf7-not-valid-tip {
    font-size: 10px !important;
    font-weight: bold !important;
    color: #f1617b !important;
    margin-top: 4px;
    display: block;
}

.bt_newsletter_home .nl-actions p {
    height: 100%;
    position: relative;
}

.bt_newsletter_home .wpcf7-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    right: 10px;
}

.bt_newsletter_home .wpcf7-response-output {
    margin: 0 !important;
    padding: 12px 16px !important;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
}

/* ============================================
   ESTILOS PARA FORMULARIO NEWSLETTER SIDEBAR (.bt_newsletter)
   ============================================ */

/* Contenedor principal del Select2 múltiple - width fijo para evitar cambios */
.bt_newsletter .select2-container--default.select2-container--below {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Selección múltiple - contenedor principal - width fijo */
.bt_newsletter .select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    height: 45px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease-in-out;
    position: relative;
    box-sizing: border-box;
}

/* Cuando hay selecciones: permitir wrap y aumentar height */
.bt_newsletter .select2-container--default.has-selections .select2-selection--multiple {
    overflow: visible;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5px 8px;
    width: 100%;
    max-width: 100%;
    min-height: 45px;
    height: auto;
    box-sizing: border-box;
}

.bt_newsletter .select2-container--default .select2-selection--multiple:focus,
.bt_newsletter .select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: none;
}

/* Área de renderizado de las selecciones - width fijo */
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Cuando hay selecciones: mostrar chips con wrap y permitir crecimiento vertical */
.bt_newsletter .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    align-items: flex-start;
}

/* Ocultar los chips cuando NO hay selecciones */
.bt_newsletter .select2-container--default:not(.has-selections) .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: none !important;
}

/* Ocultar chips con valores vacíos o placeholder */
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[title=""],
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice:empty,
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[data-select2-tag="true"] {
    display: none !important;
}

/* Mostrar los chips cuando SÍ hay selecciones */
.bt_newsletter .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: inline-flex !important;
    flex-shrink: 0;
}

.bt_newsletter .select2-container--default.has-selections .select2-selection--multiple .select2-selection__rendered .select2-selection__choice[title=""] {
    display: none !important;
}

/* Chips individuales de selección */
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3D3935;
    border: 1px solid #3D3935;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    flex-shrink: 0;
    flex-grow: 0;
}

.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
    background-color: #2a2724;
}

/* Texto dentro del chip */
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0;
    line-height: 100%;
    color: #fff;
    cursor: default;
}

/* Botón de eliminar del chip */
.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 0 6px 0 4px;
    margin-right: 4px;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    line-height: 1;
    position: initial;
}

.bt_newsletter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f1617b;
}

/* Campo de búsqueda dentro del Select2 */
.bt_newsletter .select2-container--default .select2-search--inline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.bt_newsletter .select2-container--default.has-selections .select2-search--inline.hidden {
    display: none !important;
}

.bt_newsletter .select2-container--default:not(.has-selections) .select2-search--inline {
    display: flex !important;
}

.bt_newsletter .select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    color: #757579;
    font-size: 12px;
    font-weight: 600;
    height: 45px;
    line-height: 45px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100% !important;
    display: block;
}

.bt_newsletter .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #757579;
    opacity: 0.7;
    text-align: center;
}

.bt_newsletter .select2-container--default .select2-search--inline .select2-search__field:focus {
    outline: none;
    text-align: center;
}

/* Dropdown del Select2 */
.bt_newsletter .select2-dropdown {
    border: 1px solid #d2d2d2;
    border-radius: 0;
    margin-top: 2px;
}

/* Opciones del dropdown */
.bt_newsletter .select2-container--default .select2-results__option {
    padding: 10px 12px;
    color: #959595;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.bt_newsletter .select2-container--default .select2-results__option--highlighted {
    background-color: #3D3935;
    color: #fff;
}

.bt_newsletter .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f0f0f0;
    color: #3D3935;
}

/* Contenedor de resultados */
.bt_newsletter .select2-results {
    max-height: 200px;
    overflow-y: auto;
}

/* Scrollbar personalizado */
.bt_newsletter .select2-results::-webkit-scrollbar {
    width: 5px;
}

.bt_newsletter .select2-results::-webkit-scrollbar-track {
    background-color: #f7f7f7;
}

.bt_newsletter .select2-results::-webkit-scrollbar-thumb {
    background-color: #3D3935;
    border-radius: 0;
}

/* No se necesita scrollbar en sidebar ya que usa wrap */

/* Contenedor centrado */
.bt_newsletter .nl-field .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    border: none;
}

/* Placeholder */
.bt_newsletter .select2-container--default:not(.has-selections) .select2-selection--multiple .select2-selection__placeholder {
    color: #959595;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.bt_newsletter .select2-container--default.has-selections .select2-selection--multiple .select2-selection__placeholder {
    display: none !important;
}

/* Select2 simple (país) */
.bt_newsletter .select2-container--default.select2-container--below:not(.select2-container--open) {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.bt_newsletter .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    height: 45px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease-in-out;
    position: relative;
    box-sizing: border-box;
}

.bt_newsletter .select2-container--default .select2-selection--single:focus,
.bt_newsletter .select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
}

.bt_newsletter .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 12px;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    color: #757579;
    font-size: 12px;
    font-weight: 600;
    line-height: 45px;
    text-align: center;
}

.bt_newsletter .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757579;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
}

.bt_newsletter .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px;
    position: absolute;
    right: 8px;
    top: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt_newsletter .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #757579 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    transition: border-color 0.2s ease-in-out;
}

.bt_newsletter .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #757579 transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -2px;
}

.bt_newsletter select[name*="pais"] + .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    border: none;
}

/* Formulario */
.bt_newsletter .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bt_newsletter .wpcf7-not-valid-tip {
    font-size: 10px !important;
    font-weight: bold !important;
    color: #f1617b !important;
    margin-top: 4px;
    display: block;
}

.bt_newsletter .nl-actions p {
    height: 100%;
    position: relative;
}

.bt_newsletter .wpcf7-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    right: 10px;
}

.bt_newsletter .wpcf7-response-output {
    margin: 0 !important;
    padding: 12px 16px !important;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
}

/* Responsive para sidebar */
@media (max-width: 768px) {
    .bt_newsletter .select2-container--default .select2-selection--multiple {
        height: 45px;
    }
    
    .bt_newsletter .select2-container--default .select2-search--inline .select2-search__field {
        font-size: 11px;
    }
    
    .bt_newsletter .select2-container--default.has-selections .select2-selection--multiple .select2-selection__choice {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .bt_newsletter .select2-container--default .select2-selection--single {
        height: 45px;
    }
    
    .bt_newsletter .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 11px;
    }
}
