/* Language Switcher Select2 Styles */

/* Основной контейнер переключателя языков */
.elementor-widget-container .select2-container--default {
    display: block !important;
    max-width: 54px!important;
    width: 54px;
}
.elementor-widget-container .select2-container--open .select2-dropdown{
    max-width: 100%;
    border: none!important;
    background: none;
}
.force-stretched-header .select2{
    position: relative;
    z-index: 99999;
}

/* Основная кнопка Select2 для переключателя языков */
.force-stretched-header .elementor-widget-container .select2-container--default .select2-selection--single {
    background-color: #F96F49;
    border-radius: 13px;
    height: auto;
    min-height: 28px;
    padding: 5px 12px 2px 11px;
    font-size: 14px;
    line-height: 1.4;
    font-family:  "Inter", sans-serif;
    border: none;
}
.force-stretched-header .elementor-widget-container .select2-container--default .select2-selection--single .language-selected{
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.force-stretched-header .select2-container--default .select2-results>.select2-results__options{
    overflow: visible;
}


/* Стрелка раскрытия */
.elementor-widget-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 3px;
    top: 0;
}
.force-stretched-header .select2-results__options{
    padding: 0!important;
    background-color: #F9DAC2!important;
    padding-top: 28px !important;
    margin-top: -28px;
    border-radius: 13px;
    padding-left: 11px!important;
    padding-right: 11px!important;
    padding-bottom: 2px!important;
}

.force-stretched-header .select2-results__options li{
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    padding: 7px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #E3BFA4;
    font-family:  "Inter", sans-serif;
}
.force-stretched-header .select2-results__options li .language-option{
    color: #403C3A;
}
.force-stretched-header .select2-results__options li:last-child{
    border-bottom: none;
}

li.select2-results__option--selected{
    display: none;
}

.elementor-widget-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    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;
}

/* Открытое состояние стрелки */
.elementor-widget-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background: url(../images/arrow-lang.svg) no-repeat center center;
    background-size: 100% 100%;
    width: 8px;
    height: 5px;
    border: none;
}

/* Текст выбранного языка */
.elementor-widget-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: unset;
    padding-left: 0;
}





/* Ховер эффект для элементов списка */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f8f9fa;
    color: #333;
}

/* Выбранный элемент */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #007cba;
    color: #fff;
}

/* Стили для языковых опций */
.language-option,
.language-selected {
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
    font-family:  "Inter", sans-serif;
    font-size: 14px;
    
}

/* Скрытие оригинального select */
.pll-switcher-select {
    display: none !important;
}

/* Скрытие screen-reader текста если не нужен */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

