<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Туры в Марокко - Геккон Клуб Тур</title>
	<atom:link href="https://gekkon.club/destinations/marocco/feed/" rel="self" type="application/rss+xml" />
	<link>https://gekkon.club/destinations/marocco/</link>
	<description>Активные туры в горы</description>
	<lastBuildDate>Wed, 22 Apr 2026 16:55:25 +0000</lastBuildDate>
	<language>ru-RU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://gekkon.club/wp-content/uploads/2025/02/cropped-cropped-krasniy-beliy-logo2-4-32x32.png</url>
	<title>Туры в Марокко - Геккон Клуб Тур</title>
	<link>https://gekkon.club/destinations/marocco/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Туры в Марокко</title>
		<link>https://gekkon.club/trip/marocco-info/</link>
		
		<dc:creator><![CDATA[Михаил Мазоха]]></dc:creator>
		<pubDate>Thu, 19 Mar 2026 09:02:41 +0000</pubDate>
				<guid isPermaLink="false">https://gekkon.club/?post_type=trip&#038;p=20575</guid>

					<description><![CDATA[<p>Расписание туров в Марокко</p>
<p>Сообщение <a href="https://gekkon.club/trip/marocco-info/">Туры в Марокко</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="tout_set_items">
<h2>Маршруты туров в Марокко</h2><div class="tour_set_item">
<div class="tour_set_item_section">
<a class="img_a" href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">
<img class="tour_set_img" loading="lazy"
src="https://gekkon.club/wp-content/uploads/2025/12/Морокко_9-1290x737.jpg"
alt="Большой тур в Марокко и восхождение на Тубкаль"
onerror="this.onerror=null; this.src='https://gekkon.club/wp-content/themes/travel-booking-pro/images/zag.jpg'">
</a>

<h3><a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">Большой тур в Марокко и восхождение на Тубкаль</a></h3><div class="tour_set_destination_wrap"><a class="tour_set_destination" href="/destination/marocco"><strong>Туры в Марокко</strong></a></div><p>  Погрузитесь в завораживающий мир Марокко — страны контрастов, где золотые пески Сахары встречаются с изумрудными оазисами, а шумные базары старинных медин переплетаются с величественными...</p></div>

<div class="tour_set_item_section">


<div class="tour_set_price_days_reviews">

<div class="tour_set_days_count">
<b>15 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f557.png" alt="🕗" class="wp-smiley" style="height: 1em; max-height: 1em;" /></b><br> дней</div>

</div>

<div class="tour_sets_offers">
<div class="tour_sets_offer_item">
<div class="tour_sets_offer_dates">
<b>25.09.2026</b> — 09.10.2026</div>
<div class="tour_sets_offer-prices">
<div class="offer_set_price">

<b>2 750 $</b>

</div>


</div>
</div>

</div>

<div class="tour_set_link_wrap"><a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/"><div class="tour_set_more color">Подробнее</div></a></div>
</div>
</div>




<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Большой тур в Марокко и восхождение на Тубкаль",
"startDate": "2026-09-25",
"endDate": "2026-10-09",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"url": "https://gekkon.club/trip/tur-v-marocco-i-tubkal/", 
"image": [
"https://gekkon.club/wp-content/uploads/2025/12/Морокко_9-370x235.jpg"
],
"description": "Большой тур в Марокко и восхождение на Тубкаль", <!-- Уточнение: также используем esc_attr для описания, если это заголовок -->

"location": {
"@type": "Place",
"name": "Тур", 
"address": {
"@type": "PostalAddress",
"addressCountry": {
"@type": "Country",
"name": "Страна",
"isoCode": "code_country"
},
"addressRegion": " region_emptty "
}
},

"offers": {
"@type": "Offer",
"price": "2550.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2025-05-03",
"validThrough": "2026-09-24"
},

"organizer": {
"@type": "Organization",
"name": "Gekkon Club",
"email": "info@gekkon.club",
"url": "https://gekkon.club/",
"logo": {
"@type": "ImageObject",
"url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
}
}
}
</script>





<div class="tour_set_item">
<div class="tour_set_item_section">
<a class="img_a" href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">
<img class="tour_set_img" loading="lazy"
src="https://gekkon.club/wp-content/uploads/2026/02/6993003516_f9274ea548_b.jpg"
alt="Восхождение на Тубкаль"
onerror="this.onerror=null; this.src='https://gekkon.club/wp-content/themes/travel-booking-pro/images/zag.jpg'">
</a>

<h3><a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">Восхождение на Тубкаль</a></h3><div class="tour_set_destination_wrap"><a class="tour_set_destination" href="/destination/marocco"><strong>Туры в Марокко</strong></a></div><p>  Погрузитесь в завораживающий мир Марокко — страны контрастов, где золотые пески Сахары встречаются с изумрудными оазисами, а шумные базары старинных медин переплетаются с величественными...</p></div>

<div class="tour_set_item_section">


<div class="tour_set_price_days_reviews">

<div class="tour_set_days_count">
<b>8 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f557.png" alt="🕗" class="wp-smiley" style="height: 1em; max-height: 1em;" /></b><br> дней</div>

</div>

<div class="tour_sets_offers">
<div class="tour_sets_offer_item">
<div class="tour_sets_offer_dates">
<b>25.09.2026</b> — 02.10.2026</div>
<div class="tour_sets_offer-prices">
<div class="offer_set_price">

<b>1 750 $</b>

</div>


</div>
</div>

</div>

<div class="tour_set_link_wrap"><a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/"><div class="tour_set_more color">Подробнее</div></a></div>
</div>
</div>




<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Восхождение на Тубкаль",
"startDate": "2026-09-25",
"endDate": "2026-10-02",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"url": "https://gekkon.club/trip/voshozhdenie-na-tubkal/", 
"image": [
"https://gekkon.club/wp-content/uploads/2026/02/6993003516_f9274ea548_b-370x235.jpg"
],
"description": "Восхождение на Тубкаль", <!-- Уточнение: также используем esc_attr для описания, если это заголовок -->

"location": {
"@type": "Place",
"name": "Тур", 
"address": {
"@type": "PostalAddress",
"addressCountry": {
"@type": "Country",
"name": "Страна",
"isoCode": "code_country"
},
"addressRegion": " region_emptty "
}
},

"offers": {
"@type": "Offer",
"price": "1550.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2025-05-03",
"validThrough": "2026-09-24"
},

"organizer": {
"@type": "Organization",
"name": "Gekkon Club",
"email": "info@gekkon.club",
"url": "https://gekkon.club/",
"logo": {
"@type": "ImageObject",
"url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
}
}
}
</script>





</div>

<h2>Расписание туров в Марокко</h2>
<div class="tour-offers-container" id="tour-offers-container"><div class="tour-offer-item" 
data-gid-id="14094"  
data-gid-name="Михаил Беляев"
data-date-start="2026-09-25" 
data-date-end="2026-10-09" 
data-destination="Туры в Марокко"
data-activities="Восхождения,Экскурсионные туры"
data-post-id="19659"><script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "Event",
    "name": "Большой тур в Марокко и восхождение на Тубкаль",
    "startDate": "2026-09-25",
    "endDate": "2026-10-09",
    "eventStatus": "https://schema.org/EventScheduled",
    "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
    "url": "https://gekkon.club/trip/tur-v-marocco-i-tubkal/",
    "image": [
        "https://gekkon.club/wp-content/uploads/2025/12/Морокко_9-370x235.jpg"
    ],
    "description": "Большой тур в Марокко и восхождение на Тубкаль",
    
  "location": {
    "@type": "Place",
    "name": "Туры в Марокко", 
    "address": {
        "@type": "PostalAddress",
        "addressCountry": {
            "@type": "Country",
            "name": "Страна",
            "isoCode": "code_country"
        },
        "addressRegion": " region_emptty "
    }
},

    "offers": {
        "@type": "Offer",
        "url": "https://gekkon.club/trip/tur-v-marocco-i-tubkal/",
        "price": "2550.00",
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock",
        "validFrom": "2025-05-03",
        "validThrough": "2026-09-24"
    },
    "organizer": {
        "@type": "Organization",
        "name": "Gekkon Club",
        "email": "info@gekkon.club",
        "url": "https://gekkon.club/",
        "logo": {
            "@type": "ImageObject",
            "url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
        }
    }
}
</script>
<div class="offer_item">

<!-- изображение -->

<a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">

<img class="tour_img" loading="lazy"
src="https://gekkon.club/wp-content/uploads/2025/12/Морокко_9-370x235.jpg"
alt="Большой тур в Марокко и восхождение на Тубкаль"
onerror="this.onerror=null; this.src='https://gekkon.club/wp-content/themes/travel-booking-pro/images/zag.jpg'">
</a>


<div class="offer_item_section">


<!--  заголовок  -->
<h3><a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">Большой тур в Марокко и восхождение на Тубкаль</a></h3>

<!-- даты -->
<div class="date_offer_info">

<!-- количество дней -->


<div>
<b>15</b> дней, c&nbsp; <b>25.09.2026</b>  —  <b>09.10.2026</b>
</div>


<!-- гид -->

<div class="gid_offer padding">
<a href="https://gekkon.club/team/mikhail-belyaev/">
<img loading="lazy"
src="https://gekkon.club/wp-content/uploads/2024/06/beliakov-150x150.jpg"
alt="Аватар гида" class="gid_avatar size_corr">
</a>
<a class="offer_gid_link" href="https://gekkon.club/team/mikhail-belyaev/">
Михаил Беляев</a>
</div>

</div>

<div class="offer_price_request style">

<div class="offer_price_request_section">

<!-- цена  -->

<div class="price-info">

<!-- Блок для обычной цены (скидка отсутствует, закончилась ИЛИ группа набрана) -->
<div class="offer-detail-row">
<span class="detail-value">
<span class="regular-price no-sale">
<nobr>2 750 $</nobr></span>
</span>
</div>

</div>


<!-- места  -->


<div class="offer_places padding">
<div class="places_line">Свободных мест:  <span class="places_count">6</span></div></div>


</div>


<!-- кнопка -->

<div class="offer_button_wrap">
<button type="button"
class="request request-button"
data-tour_offers_header="Большой тур в Марокко и восхождение на Тубкаль"
data-offer_data_start="2026-09-25"
data-offer_data_stop="09.10.2026"
data-offer_places_count="6"
data-offer_price="2750.00"
data-offer_sale_price="2550.00"
data-offer_sale_price_start=""
data-offer_sale_price_stop="2026-04-30"
data-tour_currency=""
data-tour_request_type="Регистрация на тур"
data-modal-title="Регистрация на тур"
data-current-url="https://gekkon.club/destinations/marocco/feed/"
>
Заявка
</button>
</div>
</div>


<div class="tour_set_destination_wrap padding"><a class="tour_set_destination" href="/destination/marocco"><strong>Туры в Марокко</strong></a></div>



    

</div>
</div>
</div>

<div class="tour-offer-item" 
data-gid-id="14094"  
data-gid-name="Михаил Беляев"
data-date-start="2026-09-25" 
data-date-end="2026-10-02" 
data-destination="Туры в Марокко"
data-activities="Восхождения"
data-post-id="19650"><script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "Event",
    "name": "Восхождение на Тубкаль",
    "startDate": "2026-09-25",
    "endDate": "2026-10-02",
    "eventStatus": "https://schema.org/EventScheduled",
    "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
    "url": "https://gekkon.club/trip/voshozhdenie-na-tubkal/",
    "image": [
        "https://gekkon.club/wp-content/uploads/2026/02/6993003516_f9274ea548_b-370x235.jpg"
    ],
    "description": "Восхождение на Тубкаль",
    
  "location": {
    "@type": "Place",
    "name": "Туры в Марокко", 
    "address": {
        "@type": "PostalAddress",
        "addressCountry": {
            "@type": "Country",
            "name": "Страна",
            "isoCode": "code_country"
        },
        "addressRegion": " region_emptty "
    }
},

    "offers": {
        "@type": "Offer",
        "url": "https://gekkon.club/trip/voshozhdenie-na-tubkal/",
        "price": "1550.00",
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock",
        "validFrom": "2025-05-03",
        "validThrough": "2026-09-24"
    },
    "organizer": {
        "@type": "Organization",
        "name": "Gekkon Club",
        "email": "info@gekkon.club",
        "url": "https://gekkon.club/",
        "logo": {
            "@type": "ImageObject",
            "url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
        }
    }
}
</script>
<div class="offer_item">

<!-- изображение -->

<a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">

<img class="tour_img" loading="lazy"
src="https://gekkon.club/wp-content/uploads/2026/02/6993003516_f9274ea548_b-370x235.jpg"
alt="Восхождение на Тубкаль"
onerror="this.onerror=null; this.src='https://gekkon.club/wp-content/themes/travel-booking-pro/images/zag.jpg'">
</a>


<div class="offer_item_section">


<!--  заголовок  -->
<h3><a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">Восхождение на Тубкаль</a></h3>

<!-- даты -->
<div class="date_offer_info">

<!-- количество дней -->


<div>
<b>8</b> дней, c&nbsp; <b>25.09.2026</b>  —  <b>02.10.2026</b>
</div>


<!-- гид -->

<div class="gid_offer padding">
<a href="https://gekkon.club/team/mikhail-belyaev/">
<img loading="lazy"
src="https://gekkon.club/wp-content/uploads/2024/06/beliakov-150x150.jpg"
alt="Аватар гида" class="gid_avatar size_corr">
</a>
<a class="offer_gid_link" href="https://gekkon.club/team/mikhail-belyaev/">
Михаил Беляев</a>
</div>

</div>

<div class="offer_price_request style">

<div class="offer_price_request_section">

<!-- цена  -->

<div class="price-info">

<!-- Блок для обычной цены (скидка отсутствует, закончилась ИЛИ группа набрана) -->
<div class="offer-detail-row">
<span class="detail-value">
<span class="regular-price no-sale">
<nobr>1 750 $</nobr></span>
</span>
</div>

</div>


<!-- места  -->


<div class="offer_places padding">
<div class="places_line">Свободных мест:  <span class="places_count">6</span></div></div>


</div>


<!-- кнопка -->

<div class="offer_button_wrap">
<button type="button"
class="request request-button"
data-tour_offers_header="Восхождение на Тубкаль"
data-offer_data_start="2026-09-25"
data-offer_data_stop="02.10.2026"
data-offer_places_count="6"
data-offer_price="1750.00"
data-offer_sale_price="1550.00"
data-offer_sale_price_start=""
data-offer_sale_price_stop="2026-04-30"
data-tour_currency=""
data-tour_request_type="Регистрация на тур"
data-modal-title="Регистрация на тур"
data-current-url="https://gekkon.club/destinations/marocco/feed/"
>
Заявка
</button>
</div>
</div>


<div class="tour_set_destination_wrap padding"><a class="tour_set_destination" href="/destination/marocco"><strong>Туры в Марокко</strong></a></div>



    

</div>
</div>
</div>

</div>










<script>
document.addEventListener('DOMContentLoaded', function() {
// Создаем HTML разметку фильтров
createFilterHTML();

// Инициализируем фильтрацию
initializeFilters();

// Функция создания HTML разметки фильтров
function createFilterHTML() {
// Создаем контейнер для фильтров
const filterContainer = document.createElement('div');
filterContainer.className = 'tour-filters-container';
filterContainer.id = 'tour-filters-container';

// HTML разметка фильтров
let filterHTML = '';

// Проверяем количество опций для каждого селекта перед добавлением
const offers = document.querySelectorAll('.tour-offer-item');

// Собираем уникальные значения
const destinations = new Set();
const types = new Set();
const gids = new Map();
const tours = new Map();
const months = new Set();

offers.forEach(offer => {
// Направления
const destination = offer.getAttribute('data-destination');
if (destination) {
const destArray = destination.includes(',') ? destination.split(',') : [destination];
destArray.forEach(dest => {
const trimmedDest = dest.trim();
if (trimmedDest) {
    destinations.add(trimmedDest);
}
});
}

// Типы тура
const activities = offer.getAttribute('data-activities');
if (activities) {
const activityArray = activities.includes(',') ? activities.split(',') : [activities];
activityArray.forEach(activity => {
const trimmedActivity = activity.trim();
if (trimmedActivity) {
    types.add(trimmedActivity);
}
});
}

// Гиды - получаем из data-атрибутов
const gidId = offer.getAttribute('data-gid-id');
const gidName = offer.getAttribute('data-gid-name');
if (gidId && gidName) {
gids.set(gidId, gidName);
}

// Туры - получаем из data-атрибутов
const postId = offer.getAttribute('data-post-id');
const postTitle = offer.querySelector('h3 a')?.textContent || 'Тур #' + postId;
if (postId) {
tours.set(postId, postTitle);
}

// Месяцы из дат
const startDate = offer.getAttribute('data-date-start');
const endDate = offer.getAttribute('data-date-end');
if (startDate) {
const monthKey = formatDateToMonthKey(startDate);
if (monthKey) months.add(monthKey);
}
if (endDate) {
const monthKey = formatDateToMonthKey(endDate);
if (monthKey) months.add(monthKey);
}
});

// Добавляем селектбоксы только если больше 1 опции
if (destinations.size > 1) {
filterHTML += `
<div class="filter-group">
<!--  <label for="filter_tour_destination">Направление:</label>-->
<select name="filter_tour_destination" id="filter_tour_destination">
<option value="">Направления</option>
</select>
</div>`;
}

if (types.size > 1) {
filterHTML += `
<div class="filter-group">
<!--  <label for="filter_tour_type">Тип тура:</label>-->
<select name="filter_tour_type" id="filter_tour_type">
<option value="">Типы туров</option>
</select>
</div>`;
}

if (gids.size > 1) {
filterHTML += `
<div class="filter-group">
<!--  <label for="filter_tour_gid">Гид:</label>-->
<select name="filter_tour_gid" id="filter_tour_gid">
<option value="">Гиды</option>
</select>
</div>`;
}

/*
if (tours.size > 1) {
filterHTML += `
<div class="filter-group">
<label for="filter_tour_tours">Туры:</label>
<select name="filter_tour_tours" id="filter_tour_tours">
<option value="">Все туры</option>
</select>
</div>`;
}
*/

if (months.size > 1) {
filterHTML += `
<div class="filter-group">
<!-- <label for="filter_tour_month">Месяц:</label>-->
<select name="filter_tour_month" id="filter_tour_month">
<option value="">Месяцы</option>
</select>
</div>`;
}

filterContainer.innerHTML = filterHTML;

// Вставляем фильтры перед контейнером офферов
const offersContainer = document.getElementById('tour-offers-container');
if (offersContainer) {
offersContainer.parentNode.insertBefore(filterContainer, offersContainer);
}
}

// Функция инициализации фильтров
function initializeFilters() {
// Заполняем селекты данными из офферов
populateSelects();

// Добавляем обработчики событий
addEventListeners();

// Инициальная фильтрация
filterOffers();
}

// Функция заполнения селектов данными
function populateSelects() {
const offers = document.querySelectorAll('.tour-offer-item');
const destinations = new Set();
const types = new Set();
const gids = new Map();
const tours = new Map();
const months = new Set();

// Собираем уникальные значения из офферов
offers.forEach(offer => {
// Направления
const destination = offer.getAttribute('data-destination');
if (destination) {
const destArray = destination.includes(',') ? destination.split(',') : [destination];
destArray.forEach(dest => {
const trimmedDest = dest.trim();
if (trimmedDest) {
    destinations.add(trimmedDest);
}
});
}

// Типы тура
const activities = offer.getAttribute('data-activities');
if (activities) {
const activityArray = activities.includes(',') ? activities.split(',') : [activities];
activityArray.forEach(activity => {
const trimmedActivity = activity.trim();
if (trimmedActivity) {
    types.add(trimmedActivity);
}
});
}

// Гиды - получаем из data-атрибутов
const gidId = offer.getAttribute('data-gid-id');
const gidName = offer.getAttribute('data-gid-name');
if (gidId && gidName) {
gids.set(gidId, gidName);
}

// Туры - получаем из data-атрибутов
const postId = offer.getAttribute('data-post-id');
const postTitle = offer.querySelector('h3 a')?.textContent || 'Тур #' + postId;
if (postId) {
tours.set(postId, postTitle);
}

// Месяцы из дат
const startDate = offer.getAttribute('data-date-start');
const endDate = offer.getAttribute('data-date-end');
if (startDate) {
const monthKey = formatDateToMonthKey(startDate);
if (monthKey) months.add(monthKey);
}
if (endDate) {
const monthKey = formatDateToMonthKey(endDate);
if (monthKey) months.add(monthKey);
}
});

// Заполняем селекты только если они существуют
const destSelect = document.getElementById('filter_tour_destination');
if (destSelect && destinations.size > 1) {
// Сортируем направления по алфавиту
const sortedDestinations = Array.from(destinations).sort();
fillSelectFromArray('filter_tour_destination', sortedDestinations);
}

const typeSelect = document.getElementById('filter_tour_type');
if (typeSelect && types.size > 1) {
// Сортируем типы по алфавиту
const sortedTypes = Array.from(types).sort();
fillSelectFromArray('filter_tour_type', sortedTypes);
}

const gidSelect = document.getElementById('filter_tour_gid');
if (gidSelect && gids.size > 1) {
// Сортируем гидов по алфавиту
const sortedGids = new Map([...gids.entries()].sort((a, b) => a[1].localeCompare(b[1])));
fillSelectFromMap('filter_tour_gid', sortedGids);
}

const toursSelect = document.getElementById('filter_tour_tours');
if (toursSelect && tours.size > 1) {
// Сортируем туры по алфавиту
const sortedTours = new Map([...tours.entries()].sort((a, b) => a[1].localeCompare(b[1])));
fillSelectFromMap('filter_tour_tours', sortedTours);
}

const monthSelect = document.getElementById('filter_tour_month');
if (monthSelect && months.size > 1) {
// Сортируем месяцы от младших к старшим
const sortedMonths = Array.from(months).sort((a, b) => {
const [monthA, yearA] = a.split('_');
const [monthB, yearB] = b.split('_');
const dateA = new Date(parseInt(yearA), parseInt(monthA) - 1, 1);
const dateB = new Date(parseInt(yearB), parseInt(monthB) - 1, 1);
return dateA - dateB;
});
fillSelectFromArray('filter_tour_month', sortedMonths);
}
}

// Функция форматирования даты в ключ месяца
function formatDateToMonthKey(dateString) {
try {
const date = new Date(dateString);
if (isNaN(date.getTime())) return null;
const month = String(date.getMonth() + 1).padStart(2, '0');
const year = date.getFullYear();
return `${month}_${year}`;
} catch (e) {
return null;
}
}

// Функция получения названия месяца
function getMonthLabel(monthKey) {
if (!monthKey) return '';
const [month, year] = monthKey.split('_');
const monthNames = {
'01': 'Январь', '02': 'Февраль', '03': 'Март', '04': 'Апрель',
'05': 'Май', '06': 'Июнь', '07': 'Июль', '08': 'Август',
'09': 'Сентябрь', '10': 'Октябрь', '11': 'Ноябрь', '12': 'Декабрь'
};
return (monthNames[month] || month) + ' ' + year;
}

// Функция заполнения селекта из массива
function fillSelectFromArray(selectId, options) {
const select = document.getElementById(selectId);
if (select && options.length > 0) {
// Очищаем существующие опции (кроме первой)
while (select.children.length > 1) {
select.removeChild(select.lastChild);
}

// Добавляем новые опции
options.forEach(option => {
if (option) {
const opt = document.createElement('option');
opt.value = option;
if (selectId === 'filter_tour_month') {
    opt.textContent = getMonthLabel(option);
} else {
    opt.textContent = option;
}
select.appendChild(opt);
}
});
}
}

// Функция заполнения селекта из Map
function fillSelectFromMap(selectId, optionsMap) {
const select = document.getElementById(selectId);
if (select && optionsMap.size > 0) {
// Очищаем существующие опции (кроме первой)
while (select.children.length > 1) {
select.removeChild(select.lastChild);
}

// Добавляем новые опции
optionsMap.forEach((label, value) => {
const opt = document.createElement('option');
opt.value = value;
opt.textContent = label;
select.appendChild(opt);
});
}
}

// Функция добавления обработчиков событий
function addEventListeners() {
const selectors = [
'filter_tour_destination',
'filter_tour_type',
'filter_tour_gid',
'filter_tour_tours',
'filter_tour_month'
];

selectors.forEach(selectorId => {
const element = document.getElementById(selectorId);
if (element) {
element.addEventListener('change', filterOffers);
}
});
}

// Функция фильтрации офферов
function filterOffers() {
const offers = document.querySelectorAll('.tour-offer-item');
const filters = getActiveFilters();

offers.forEach(offer => {
const matches = checkOfferMatches(offer, filters);
offer.style.display = matches ? 'block' : 'none';
});
}

// Функция получения активных фильтров
function getActiveFilters() {
const filters = {};

const destination = document.getElementById('filter_tour_destination');
if (destination && destination.value) {
filters.destination = destination.value;
}

const type = document.getElementById('filter_tour_type');
if (type && type.value) {
filters.type = type.value;
}

const gid = document.getElementById('filter_tour_gid');
if (gid && gid.value) {
filters.gid = gid.value;
}

const tours = document.getElementById('filter_tour_tours');
if (tours && tours.value) {
filters.tours = tours.value;
}

const month = document.getElementById('filter_tour_month');
if (month && month.value) {
filters.month = month.value;
}

return filters;
}

// Функция проверки соответствия оффера фильтрам
function checkOfferMatches(offer, filters) {
// Если нет активных фильтров, показываем все
if (Object.keys(filters).length === 0) {
return true;
}

// Проверка по направлению
if (filters.destination) {
const offerDestination = offer.getAttribute('data-destination');
if (offerDestination) {
const destArray = offerDestination.includes(',') ? offerDestination.split(',') : [offerDestination];
const trimmedDestArray = destArray.map(dest => dest.trim());
if (!trimmedDestArray.includes(filters.destination)) {
return false;
}
} else {
return false;
}
}

// Проверка по типу тура
if (filters.type) {
const offerActivities = offer.getAttribute('data-activities');
if (offerActivities) {
const activityArray = offerActivities.includes(',') ? offerActivities.split(',') : [offerActivities];
const trimmedActivityArray = activityArray.map(activity => activity.trim());
if (!trimmedActivityArray.includes(filters.type)) {
return false;
}
} else {
return false;
}
}

// Проверка по гиду
if (filters.gid) {
const offerGidId = offer.getAttribute('data-gid-id');
if (offerGidId != filters.gid) { // != для сравнения чисел и строк
return false;
}
}

// Проверка по туру
if (filters.tours) {
const offerPostId = offer.getAttribute('data-post-id');
if (offerPostId != filters.tours) {
return false;
}
}

// Проверка по месяцу
if (filters.month) {
const offerStartDate = offer.getAttribute('data-date-start');
const offerEndDate = offer.getAttribute('data-date-end');
if (!isInMonth(offerStartDate, offerEndDate, filters.month)) {
return false;
}
}

return true;
}

// Функция проверки, попадает ли период в месяц
function isInMonth(startDate, endDate, monthFilter) {
if (!startDate || !endDate || !monthFilter) return true;

try {
const [filterMonth, filterYear] = monthFilter.split('_');
const start = new Date(startDate);
const end = new Date(endDate);

const filterStart = new Date(parseInt(filterYear), parseInt(filterMonth) - 1, 1);
const filterEnd = new Date(parseInt(filterYear), parseInt(filterMonth), 0);

return start <= filterEnd && end >= filterStart;
} catch (e) {
return true;
}
}
});
</script>






<p>Сообщение <a href="https://gekkon.club/trip/marocco-info/">Туры в Марокко</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Большой тур в Марокко и восхождение на Тубкаль</title>
		<link>https://gekkon.club/trip/tur-v-marocco-i-tubkal/</link>
		
		<dc:creator><![CDATA[Влад Андрейчук]]></dc:creator>
		<pubDate>Thu, 19 Mar 2026 08:58:26 +0000</pubDate>
				<guid isPermaLink="false">https://gekkon.club/?post_type=trip&#038;p=19659</guid>

					<description><![CDATA[<p>Сообщение <a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">Большой тур в Марокко и восхождение на Тубкаль</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-ad2f72ca wp-block-group-is-layout-flex"> <iframe src="https://yandex.ru/sprav/widget/rating-badge/48098794165?type=rating" width="150" height="50" frameborder="0"></iframe> </div>
<div> </div>
<div class="wp-block-group"><strong>Погрузитесь в завораживающий мир Марокко</strong> — страны контрастов, где золотые пески Сахары встречаются с изумрудными оазисами, а шумные базары старинных медин переплетаются с величественными дворцами и цветущими садами.Вас ждут не только ароматные рынки и изысканная кухня, но и захватывающие приключения: <strong>поднимитесь на величественный Тубкаль</strong> — самую высокую вершину Северной Африки, чтобы насладиться панорамой, которая открывается только смелым путешественникам. Марокко — это страна, где восточные легенды оживают, а каждое мгновение оставляет <strong>отпечаток в сердце навсегда.</strong></div>
<div class="wp-block-group">

    <div class="tour_offers_wrap">


<h2 id="dati_i_ceni">Стоимость тура в Марокко и Тубкаль — 2 750&nbsp;$</h2>

<style>

    .main_content h2 span {
        font-size: 18px;
        font-weight: lighter;
    }

    .main_content h2 span b {
        font-size: 18px;
        font-weight: 700 !important;
    }

</style>













<div class="tour-offers-table-container">

<table class="tour-offers-table">
<thead>
<tr>
<th>Даты</th>
<th>Гид</th>

<th>Свободные места</th> 
<th>Цена</th>

</tr>
</thead>
<tbody>


<tr>


<!-- даты -->
<td class="date_offer">
<b>25.09.2026</b>  — 09.10.2026</td>

<!-- гид  -->
<td>
<div class="gid_offer">
<a href=" https://gekkon.club/team/mikhail-belyaev/">
<img decoding="async" loading="lazy" src="https://gekkon.club/wp-content/uploads/2024/06/beliakov-150x150.jpg" alt="Аватар гида" class="gid_avatar">
</a>
<a class="offer_gid_link" href=" https://gekkon.club/team/mikhail-belyaev/">Михаил Беляев</a>
</div>
</td>

<!-- места  -->



<td class="offer_places_td">


<div class="offer_places">
<div class="mobile_header_count_places">Свободные места: </div> <span class="available_places">6</span></div>
</td>



<!-- цена  -->

<td>

<div class="offer_price_request">

<div class="price-info">

<!-- Блок для обычной цены (скидка отсутствует, закончилась ИЛИ группа набрана) -->
<div class="offer-detail-row">
<span class="detail-value">
<span class="regular-price no-sale"><nobr>
2 750&nbsp;$</nobr></span>
</span>
</div>


</div>



<!-- кнопка    -->



<button type="button"
class="request request-button js-open-modal"
data-modal="1"
data-tour_offers_header="Большой тур в Марокко и восхождение на Тубкаль"
data-offer_data_start="2026-09-25"
data-offer_data_stop="09.10.2026"
data-offer_places_count="6"
data-offer_price="2750.00"
data-offer_sale_price="2550.00"
data-offer_sale_price_start=""
data-offer_sale_price_stop="2026-04-30"
data-tour_currency="$"
data-tour_request_type="Заявка на тур"
data-modal-title="Заявка на тур"
        data-current-url="https://gekkon.club/destinations/marocco/feed/"
>
Заявка
</button>

</div>


</td>


<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Большой тур в Марокко и восхождение на Тубкаль",
"startDate": "2026-09-25",
"endDate": "2026-10-09",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"url": "https://gekkon.club/trip/tur-v-marocco-i-tubkal/",
"image": [
"https://gekkon.club/wp-content/uploads/2025/12/Морокко_9-370x235.jpg"
],
"description": "Большой тур в Марокко и восхождение на Тубкаль",

"location": {
"@type": "Place",
"name": "Тур", 
"address": {
"@type": "PostalAddress",
"addressCountry": {
"@type": "Country",
"name": "Страна",
"isoCode": "code_country"
},
"addressRegion": " region_emptty "
}
},

"offers": {
"@type": "Offer",
"url": "https://gekkon.club/trip/tur-v-marocco-i-tubkal/",
"price": "2550.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2025-05-03",
"validThrough": "2026-09-24"
},
"organizer": {
"@type": "Organization",
"name": "Gekkon Club",
"email": "info@gekkon.club",
"url": "https://gekkon.club/",
"logo": {
"@type": "ImageObject",
"url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
}
}
}
</script>

</tr>

</tbody>
</table>

</div>
</div>


</div><p>Сообщение <a href="https://gekkon.club/trip/tur-v-marocco-i-tubkal/">Большой тур в Марокко и восхождение на Тубкаль</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Восхождение на Тубкаль</title>
		<link>https://gekkon.club/trip/voshozhdenie-na-tubkal/</link>
		
		<dc:creator><![CDATA[Влад Андрейчук]]></dc:creator>
		<pubDate>Thu, 19 Mar 2026 08:47:49 +0000</pubDate>
				<guid isPermaLink="false">https://gekkon.club/?post_type=trip&#038;p=19650</guid>

					<description><![CDATA[<p> </p>
<p>Сообщение <a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">Восхождение на Тубкаль</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-ad2f72ca wp-block-group-is-layout-flex"> <iframe src="https://yandex.ru/sprav/widget/rating-badge/48098794165?type=rating" width="150" height="50" frameborder="0"></iframe></div>
<div> </div>
<div class="wp-block-group"> <strong>Погрузитесь в завораживающий мир Марокко</strong> — страны контрастов, где золотые пески Сахары встречаются с изумрудными оазисами, а шумные базары старинных медин переплетаются с величественными дворцами и цветущими садами. Вас ждут не только ароматные рынки и изысканная кухня, но и захватывающие приключения: <strong>поднимитесь на величественный Тубкаль</strong> — самую высокую вершину Северной Африки, чтобы насладиться панорамой, которая открывается только смелым путешественникам. Марокко — это страна, где восточные легенды оживают, а каждое мгновение оставляет <strong>отпечаток в сердце навсегда.</strong></div>
<div class="wp-block-group">

    <div class="tour_offers_wrap">


<h2 id="dati_i_ceni">Стоимость восхождения на Тубкаль — 1 750&nbsp;$</h2>

<style>

    .main_content h2 span {
        font-size: 18px;
        font-weight: lighter;
    }

    .main_content h2 span b {
        font-size: 18px;
        font-weight: 700 !important;
    }

</style>













<div class="tour-offers-table-container">

<table class="tour-offers-table">
<thead>
<tr>
<th>Даты</th>
<th>Гид</th>

<th>Свободные места</th> 
<th>Цена</th>

</tr>
</thead>
<tbody>


<tr>


<!-- даты -->
<td class="date_offer">
<b>25.09.2026</b>  — 02.10.2026</td>

<!-- гид  -->
<td>
<div class="gid_offer">
<a href=" https://gekkon.club/team/mikhail-belyaev/">
<img decoding="async" loading="lazy" src="https://gekkon.club/wp-content/uploads/2024/06/beliakov-150x150.jpg" alt="Аватар гида" class="gid_avatar">
</a>
<a class="offer_gid_link" href=" https://gekkon.club/team/mikhail-belyaev/">Михаил Беляев</a>
</div>
</td>

<!-- места  -->



<td class="offer_places_td">


<div class="offer_places">
<div class="mobile_header_count_places">Свободные места: </div> <span class="available_places">6</span></div>
</td>



<!-- цена  -->

<td>

<div class="offer_price_request">

<div class="price-info">

<!-- Блок для обычной цены (скидка отсутствует, закончилась ИЛИ группа набрана) -->
<div class="offer-detail-row">
<span class="detail-value">
<span class="regular-price no-sale"><nobr>
1 750&nbsp;$</nobr></span>
</span>
</div>


</div>



<!-- кнопка    -->



<button type="button"
class="request request-button js-open-modal"
data-modal="1"
data-tour_offers_header="Восхождение на Тубкаль"
data-offer_data_start="2026-09-25"
data-offer_data_stop="02.10.2026"
data-offer_places_count="6"
data-offer_price="1750.00"
data-offer_sale_price="1550.00"
data-offer_sale_price_start=""
data-offer_sale_price_stop="2026-04-30"
data-tour_currency="$"
data-tour_request_type="Заявка на тур"
data-modal-title="Заявка на тур"
        data-current-url="https://gekkon.club/destinations/marocco/feed/"
>
Заявка
</button>

</div>


</td>


<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Восхождение на Тубкаль",
"startDate": "2026-09-25",
"endDate": "2026-10-02",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"url": "https://gekkon.club/trip/voshozhdenie-na-tubkal/",
"image": [
"https://gekkon.club/wp-content/uploads/2026/02/6993003516_f9274ea548_b-370x235.jpg"
],
"description": "Восхождение на Тубкаль",

"location": {
"@type": "Place",
"name": "Тур", 
"address": {
"@type": "PostalAddress",
"addressCountry": {
"@type": "Country",
"name": "Страна",
"isoCode": "code_country"
},
"addressRegion": " region_emptty "
}
},

"offers": {
"@type": "Offer",
"url": "https://gekkon.club/trip/voshozhdenie-na-tubkal/",
"price": "1550.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2025-05-03",
"validThrough": "2026-09-24"
},
"organizer": {
"@type": "Organization",
"name": "Gekkon Club",
"email": "info@gekkon.club",
"url": "https://gekkon.club/",
"logo": {
"@type": "ImageObject",
"url": "https://gekkon.club/wp-content/uploads/2021/08/cropped-krasniy-beliy-logo2-4.png"
}
}
}
</script>

</tr>

</tbody>
</table>

</div>
</div>


</div><p>Сообщение <a href="https://gekkon.club/trip/voshozhdenie-na-tubkal/">Восхождение на Тубкаль</a> появились сначала на <a href="https://gekkon.club">Геккон Клуб Тур</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Кэширование страницы с использованием Disk: Enhanced 
CDN через N/A
Отложенная загрузка (feed)

Served from: gekkon.club @ 2026-05-03 05:48:10 by W3 Total Cache
-->