/*!
Theme Name: retreat

/*--------------------------------------------------------------
/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------*/

.wpcf7-acceptance label {
    display: inline-block;
}

.wpcf7-acceptance label input {
    width: auto;
    margin: 0 .5em 0 0;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Обертка попапа */
.popup__wrapp {
    background-color: #fff;
    padding: 40px 0;
    border-radius: 8px;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	position: relative
}

.popup__content {
    max-height: 70vh;
    overflow-y: auto;
	padding: 0 20px;
}

/* Кнопка закрытия */
.popup__close {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.popup__content h2 {
    font-size: 1.5em;
    margin-top: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}


.popup__content h3 {
    font-size: 1.2em;
    margin-top: 15px;
    color: #34495e;
}


.popup__content p {
    font-size: 1em;
    margin: 10px 0;
}


.popup__content ul {
    margin: 10px 0 10px 20px;
    padding: 0;
    list-style-type: disc;
}


.popup__content ul li {
    margin: 5px 0;
    font-size: 1em;
}


.popup__content a {
    color: #2980b9;
    text-decoration: none;
}


.popup__content a:hover {
    text-decoration: underline;
}

.offer:before {
    content: '';
    background: hsl(201deg 37% 15% / 30%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.content__wrapp {
    display: flex;
    justify-content: center;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: auto; /* Ширина будет автоматически рассчитываться в зависимости от количества слайдов */
}

.reviews__slider-wrapp {
    padding: 0 60px;
    position: relative;
}

.swiper-button-next, .swiper-button-prev {
    color: #502c6a;
}

.swiper-button-prev {
    transform: translateX(-70%);
}

.swiper-button-next {
    transform: translateX(70%);
}

@media (max-width: 768px) {
    .reviews__slider-wrapp {
        padding: 0 40px;
    }
}

.header__nav {
    display: flex;
}

/* Основной контейнер */
.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    list-style: none;
}

/* Ссылки на языки */
.language-switcher a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* При наведении */
.language-switcher a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* Текущий активный язык */
.language-switcher .lang-item-active a {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* Флаги */
.language-switcher img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%; /* Круглые флаги */
}

.language-switcher .current-lang a {
    background-color: #502c6ab3;
    color: #fff;
    border-color: #502c6ab3;
    cursor: default; /* Запретить клики */
}

/* Анимация активного языка при загрузке */
.language-switcher .current-lang a {
    animation: pulse 1s infinite alternate;
}

.result {
    height: calc(100vh - 280px);
    margin: 40px 0 80px!important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result__wrapp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.result__wrapp h1 {
    font-size: clamp(2.7em, 5vw, 3em);
    margin-bottom: 30px;
    text-align: center;
}

.result__wrapp .btn {
    height: 50px;
    display: flex;
    justify-content: center;
}

.iti__selected-country {
    padding-bottom: 7px;
}
@media (max-width: 768px) {
    .language-switcher {
        flex-direction: column;
        padding-left: 20px;
    }

    .language-switcher a {
        padding: 3px 7px;
        border-radius: 15px;
    }

    .language-switcher img {
        width: 17px;
        height: 17px;
        margin-right: 7px;
    }
}

.iti__search-input {
    width: calc(100% - 20px)!important;
    margin: 10px;
    padding: 10px!important;
    border-radius: 0;
    outline: 0;
    border: 1px solid #aaa!important;
}